divfilter
Apply a spatial high pass filter to a cube (divide)
This program divides the pixel being processed by a low pass filter. This has the general effect of highlighting the edges of grouped contrasted DN values in the image, and therefore, feature changes will be emphasized. Predominant changes will be emphasized with larger boxcars, and smaller changes can be searched for using smaller boxcars.
This is done by convolving an NxM boxcar through the data, where N and M are odd integers. In other words, the average DN value of the boxcar is divided into its middle pixel DN value. Please refer to the following diagram:
Thus, P(output) = P(input) / lowPassFilter, or P(s,l) = P(s,l) / average(s,l,N,M) where P is the target pixel, s and l are the sample and line position in the boxcar, N and M are the size of the boxcar (in this case 3x3) and average(s,l,N,M) is the average of the NxM centered box.
For details on the box filtering see the following references:
M. J. McDonnell, Box-Filtering Techniques, Computer Graphics and Image Processing, Vol. 17, 1981, pages 65-70 E. M. Eliason and L. A. Soderblom, An Array Processing System for Lunar Geochemical and Geophysical Data, Porc. Lunar Sci. Conf. (8th) , 1977, pages 1163-1170.
Categories
Related Applications to Previous Versions of ISIS
This program replaces the following application existing in previous versions of ISIS:- boxfilter
Related Objects and Documents
Applications
History
Eric Eliason | 1988-05-20 | Original version |
Tracie Sucharski | 2002-08-12 | Ported to Isis 3.0 |
K Teal Thompson | 2003-04-10 | Add example. |
Kim Sides | 2003-05-13 | Added application test |
Stuart Sides | 2003-05-16 | Modified schema location from astogeology... to isis.astrogeology..." |
Jeff Anderson | 2003-06-03 | Updated application test to fix errors |
Stuart Sides | 2003-07-29 | Modified filename parameters to be cube parameters where necessary |
Brendan George | 2006-03-20 | Added Minopt parameter |
Jac Shinaman | 2007-02-22 | Updated xml documentation with examples and new GUI configuration |
Parameters
Files
Type | cube |
---|---|
File Mode | input |
Filter | *.cub |
Type | cube |
---|---|
File Mode | output |
Pixel Type | real |
Boxcar Size
Type | integer |
---|---|
Minimum | 1 (inclusive) |
Odd | This value must be an odd number |
Type | integer |
---|---|
Minimum | 1 (inclusive) |
Odd | This value must be an odd number |
Boxcar Restrictions
Type | double |
---|---|
Internal Default | Use all pixels |
Less Than | HIGH |
Type | double |
---|---|
Internal Default | Use all pixels |
Greater Than | LOW |
Type | string | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Default | COUNT | |||||||||
Option List: |
|
Type | integer |
---|---|
Default | 1 |
Minimum | 1 (inclusive) |
Special Pixels
Type | boolean |
---|---|
Default | TRUE |
Example 1
101x101
Command Line
divfilter f=peaks.cub:4 t=divfilter s=101 li=101
GUI Screenshot
Example Gui
Divfilter GuiScreenshot of GUI with parameters filled in to perform a divide filter of the input image with a boxcar of 101x101.
Input Image
Input image for divfilter
Input image
Parameter Name:
FROM
This is the input image for the divfilter example.