Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
interimage:creating_operators [2009/10/08 12:48]
tkorting
interimage:creating_operators [2009/12/03 17:35] (current)
gilson
Line 1: Line 1:
-====== Creating an operator ======+[[interimage:​|InterIMAGE wiki]]  
 +====== ​InterIMAGE: ​Creating an operator ======
  
 TerraAIDA project aims to build InterIMAGE operators using the TerraLib library following the GNU LGLP license model. More information at http://​www.dpi.inpe.br/​terraaida/​. TerraAIDA project aims to build InterIMAGE operators using the TerraLib library following the GNU LGLP license model. More information at http://​www.dpi.inpe.br/​terraaida/​.
Line 20: Line 21:
 Download source-code {{interimage:​ta_threshold.zip|here}}. Download source-code {{interimage:​ta_threshold.zip|here}}.
  
 +===== Operator .op file =====
 +
 +The following code represents the .op file to be loaded into InterIMAGE GUI.
 +
 +<code xml>
 +<​operator type=topdown class=gis name=TerraAIDA_Threshold
 +  cmd="​ta_threshold \"​@geoWest@\"​ \"​@geoNorth@\"​ \"​@geoEast@\"​ \"​@geoSouth@\"​ \"​@output@\"​ \"​@class@\"​ \"​@tmpdir@\"​ \"​@mask_file@\"​ \"​@image_name@\"​ \"​@image_channel@\"​ \"​@threshold_min@\"​ \"​@threshold_max@\"​ \"​@reliability@\"​ "
 +  runglobal=false tip="​Threshold one image by min and max values"​ >
 +  <​attribute name=image_name type=file ext="​tif;​jpg"​ label="​Input Image">​
 +  <​attribute name=image_channel label="​Image channel/​band"​ type=int value=0>
 +  <​attribute name=threshold_min label="​Threshold Min" type=double value=0 >
 +  <​attribute name=threshold_max label="​Threshold Max" type=double value=255 >
 +  <​attribute name=reliability label="​Reliability"​ type=double value=1.0>​
 +</​operator>​
 +</​code>​
 +
 +The resultant set of parameters will appear in InterIMAGE like the next figure.
 +
 +{{interimage:​op_parameters.png|}}
  
 ===== Operator Main File ===== ===== Operator Main File =====

Navigation