Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


  >  Docs Center  >  ENVI API  >  Processing  >  ENVIGaussianHighPassKernelTask

ENVIGaussianHighPassKernelTask

ENVIGaussianHighPassKernelTask

This task returns a Gaussian high pass kernel for use with convolution filtering.

Example


; Start the application
e = ENVI(/HEADLESS)
 
; Get the task from the catalog of ENVITasks
Task = ENVITask('GaussianHighPassKernel')
 
; Define inputs
Task.kernel_size = [3,5]
 
; Run the task
Task.Execute
 
; Print the resulting kernel
print, Task.output_kernel

IDL prints:

-0.000102984  -0.00360521 -0.000102984
-0.00479140    -0.167734  -0.00479140
-0.0172329     0.396722   -0.0172329
 -0.00479140    -0.167734  -0.00479140
-0.000102984  -0.00360521 -0.000102984

Syntax


Result = ENVITask('GaussianHighPassKernel')

Input properties (Set, Get): KERNEL_SIZE

Output properties (Get only): OUTPUT_KERNEL

Properties marked as "Set" are those that you can set to specific values. You can also retrieve their current values any time. Properties marked as "Get" are those whose values you can retrieve but not set.

Methods


This task inherits the following methods from ENVITask:

AddParameter

Execute

Parameter

ParameterNames

RemoveParameter

Properties


This task inherits the following properties from ENVITask:

COMMUTE_ON_DOWNSAMPLE

COMMUTE_ON_SUBSET

DESCRIPTION

DISPLAY_NAME

NAME

REVISION

This task also contains the following properties:

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 value is [3,3].

OUTPUT_KERNEL

This is the Gaussian high pass kernel output.

Version History


ENVI 5.3

Introduced

API Version


3.2

See Also


ENVITask, ENVITask::Parameter, ENVIDirectionalFilterTask, ENVIGaussianHighPassFilterTask, ENVIGaussianLowPassKernelTask, ENVIGaussianLowPassFilterTask,ENVIHighPassFilterTask, ENVIHighPassKernelTask, ENVILaplacianFilterTask, ENVILaplacianKernelTask, ENVILowPassFilterTask, ENVILowPassKernelTask, ENVIMedianFilterTask, ENVIRasterConvolutionTask, ENVISobelFilterTask, ENVIRobertsFilterTask



© 2018 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us