This task returns a high pass kernel of a specified size for use with convolution filtering. ENVI’s high pass kernel consists of a high central value, surrounded by negative weights. The default kernel size is 3x3.
Example
e = ENVI()
Task = ENVITask('HighPassKernel')
Task.KERNEL_SIZE = [3,5]
Task.Execute
print, Task.OUTPUT_KERNEL
IDL prints:
-1.00000 -1.00000 -1.00000
-1.00000 -1.00000 -1.00000
-1.00000 14.0000 -1.00000
-1.00000 -1.00000 -1.00000
-1.00000 -1.00000 -1.00000
Syntax
Result = ENVITask('LowPassKernel')
Input parameters (Set, Get): KERNEL_SIZE
Output parameters (Get only): OUTPUT_KERNEL
Parameters marked as "Set" are those that you can set to specific values. You can also retrieve their current values any time. Parameters marked as "Get" are those whose values you can retrieve but not set.
Input Parameters
KERNEL_SIZE (optional)
Specify a two-element array [n,m] as the kernel size, where n is the number of columns and m is the number of rows. The default kernel size is [3,3].
Output Parameters
OUTPUT_KERNEL
This is the low pass kernel output.
Methods
Execute
Parameter
ParameterNames
Properties
DESCRIPTION
DISPLAY_NAME
NAME
REVISION
TAGS
Version History
See Also
ENVITask, DirectionalFilter Task, DirectionalKernel Task, HighPassFilter Task, LaplacianFilter Task, LaplacianKernel Task, LowPassFilter Task, LowPassKernel Task, MedianFilter Task, RasterConvolution Task, SobelFilter Task, RobertsFilter Task