The LatticeFilterFilter option changes the type of filter applied to a function lattice. The OptionValue is a value defined by the following: Value is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28
Value |
0=Average (Rectangular) |
1=Average (Spherical) |
2=Bounding |
3=Brightness & Contrast |
4=Central Moment |
5=Coeffiecient of Variation |
6=Distance |
7=Distance (inverse) |
8=Distance 'Inf Norm' |
9=Gamma Correction |
10=Gauss |
11=Histogram Equalization |
12=Interquartile Range |
13=Laplacian Edge Detect |
14=Maximum (dilation) |
15=Mean Removal |
16=Median |
17=Median Difference, |
18=Minimum (erosion) |
19=Prewitt |
20=Quartile (lower) |
21=Quartile (upper) |
22=Range |
23=Rank |
24=Sobel Max |
25=Sobel Norm |
26=Standard Deviation |
27=Threshold Averaging |
28=Threshold Crossing |
29=Unsharp Mask |
30=Zero Crossing |
Syntax
object.Construct(“ModifyModule”)
object.Option(“Module”, “Filter”)
object.Option(“LatticeFilterFilter”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example shows how to change the filter type to the unsharp mask for the function lattice.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "Filter")
CommandApi.Option ("LatticeFilterFilter", "29")
CommandApi.Do()
Used by: LatticeFilter
See Also