Hi,

I think you can use otbcli_EdgeExtraction 
-----------------------------------------------------
This is the EdgeExtraction application, version 4.0.0
Computes edge features on every pixel of the input image selected channel

Complete documentation: 
http://www.orfeo-toolbox.org/Applications/EdgeExtraction.html

Parameters: 
        -progress             <boolean>        Report progress 
MISSING -in                   <string>         Input Image  (mandatory)
        -channel              <int32>          Selected Channel  (mandatory, 
default value is 1)
        -ram                  <int32>          Available RAM (Mb)  (optional, 
off by default, default value is 122)
        -filter               <string>         Edge feature 
[gradient/sobel/touzi] (mandatory, default value is gradient)
        -filter.touzi.xradius <int32>          The X Radius  (mandatory, 
default value is 1)
        -filter.touzi.yradius <int32>          The Y Radius  (mandatory, 
default value is 1)
MISSING -out                  <string> [pixel] Feature Output Image  
[pixel=uint8/uint16/int16/uint32/int32/float/double] (default value is float) 
(mandatory)
        -inxml                <string>         Load otb application from xml 
file  (optional, off by default)

Examples: 
otbcli_EdgeExtraction -in qb_RoadExtract.tif -channel 1 -out Edges.tif
-----------------------------------------------------

and after that threshold using otbcli_BandMath 
-----------------------------------------------------
This is the BandMath application, version 4.0.0
Perform a mathematical operation on monoband images

Complete documentation: http://www.orfeo-toolbox.org/Applications/BandMath.html

Parameters: 
        -progress <boolean>        Report progress 
MISSING -il       <string list>    Input image list  (mandatory)
MISSING -out      <string> [pixel] Output Image  
[pixel=uint8/uint16/int16/uint32/int32/float/double] (default value is float) 
(mandatory)
        -ram      <int32>          Available RAM (Mb)  (optional, off by 
default, default value is 122)
MISSING -exp      <string>         Expression  (mandatory)
        -inxml    <string>         Load otb application from xml file  
(optional, off by default)

Examples: 
otbcli_BandMath -il verySmallFSATSW_r.tif verySmallFSATSW_nir.tif 
verySmallFSATSW.tif -out apTvUtBandMathOutput.tif -exp 
"cos(im1b1)+im2b1*im3b1-im3b2+ndvi(im3b3, im3b4)"
-----------------------------------------------------

The expression for the thresholding could be (where X is the value of the 
threshold):

if(im1b1>X,1,0) or depending on the muParser version that you have it can be 
(im1b1>X)?1:0


Jordi


Lucile VergĂ© <[email protected]> wrote:
> 
> We use Monteverdi to extract automaticaly hedges and forests from RVB 
> orthophoto. For that we use the "Edge extraction" and "Threshold" functions 
> into Monteverdi. To apply the process to the whole orthophoto we want to use 
> the otb's
> applications of the OSGeo4W shell.
>
> Unfortunately, we don't find the applications (otbcli or otbgui) 
> corresponding to the functions "Edge extraction" and "Threshold" of 
> Monteverdi.
>
> Please could you tell us if these functions exist and if so where could we 
> find them?
>
> Thanks a lot.
>
> --
> --
> Check the OTB FAQ at
> http://www.orfeo-toolbox.org/FAQ.html
>  
> You received this message because you are subscribed to the Google
> Groups "otb-users" group.
> To post to this group, send email to 
> otb-users-/[email protected]
> To unsubscribe from this group, send email to
> otb-users+unsubscribe-/[email protected]
> For more options, visit this group at
> http://groups.google.com/group/otb-users?hl=en
> ---
> You received this message because you are subscribed to the Google Groups 
> "otb-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to 
> otb-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to