colorext.gsf

  Download

More scripts: GeoFormula

Syntax Highlighing:

comments, key words, predefined symbols, class members & methods, functions & classes
            
[GeoFormula]
Script__11=else Red
Script__10=Highlight
Script__9=    (Blue  > BlueValue))
Script__8=    (Green > GreenValue) and
Script__7=if ((Red   > RedValue)   and
Script__6=#
Value3_Default=0.00000000
Value3_Name=Highlight
Value2_Default=128.00000000
Value2_Name=BlueValue
Value1_Default=128.00000000
Value1_Name=GreenValue
Value0_Default=128.00000000
Value0_Name=RedValue
Object2_ContUseTable=No
Object2_ContType=0
Object2_interpmode=0
Object2_DataType=0
Object2_ValMode=0
Object2_Type=3
Object2_Name=Blue
Object1_ContUseTable=No
Object1_ContType=0
Object1_interpmode=0
Object1_DataType=0
Object1_ValMode=0
Object1_Type=3
Object1_Name=Green
Object0_ContUseTable=No
Object0_ContType=0
Object0_interpmode=0
Object0_DataType=0
Object0_ValMode=0
Object0_Type=3
Object0_Name=Red
ExtentsMode=2
Type=0
Script__5=# (there are better tools; this is an exercise)
Script__4=# to highlight some colors
Script__3=# Adjust RedValue, GreenValue, and BlueValue
Script__2=# RGB 3-raster input     
Script=# Color Extraction      
NumValues=4
NumObjects=3