3.5.2 Edge extraction
This application Computes edge features on every pixel in the selected channel of the input
image.
The EdgeExtraction application has the following input parameters:
- -in the input image to compute the features on
- -channel the selected channel index in the input image to be processed (default value is 1)
- -filter the choice of edge detection method (gradient/sobel/touzi) (default value is gradient)
- (-filter.touzi.xradius) the X Radius of the Touzi processing neighborhood (only if
filter==touzi) (default value is 1 pixel)
- (-filter.touzi.yradius) the Y Radius of the Touzi processing neighborhood (only if
filter==touzi) (default value is 1 pixel)
- -out the output mono band image containing the edge features
The application can be used like this:
otbcli_EdgeExtraction -in InputImage
-channel 1
-filter sobel
-out OutputImage
or like this if filter==touzi:
otbcli_EdgeExtraction -in InputImage
-channel 1
-filter touzi
-filter.touzi.xradius 2
-filter.touzi.yradius 2
-out OutputImage