A Beta version of Orfeo Toolbox SNAP Adapters is available for tests. These adapters allow to launch from SNAP some of the main OTB tools (4 Segmentation tools, 3 Pan-Sharpening tools, SFS Texture Extraction and Multivariate Alteration Detector)
To install them is first required to set-up a new update center. From SNAP, go to tools/plugins then click on the Settings tab and press the “Add” Button to add a new update center. Put the name of your choice and http://step.esa.int/updatecenter/experimental/otb/updates.xml.gz in the URL field. The OTB Adapter will appear in “Available plugins”. Select the module and press the “Install” button to install them.
OTB Tool needs to be installed separately from the adapters. For more information you can read the dedicated SNAP Help page under “Sentinel Toolbox Application/Optical/Orfero Toolbox”.
Once the adapters are integrated in SNAP/Sentinel-2 Toolbox the specific update centre will be suppressed.
We hope to get many feedbacks to improve these adapters.
Segmentation create shp files that are not opened directly by SNAP. The shp file is created by default in /tmp (C:\tmp or D:\tmp under windows). You can change that by changing the “Output vector file”, but the file should be a “.shp”.
Once the file is created, after opening an image from the SNAP Layer Manager you can add the layer as an ESRI shapefile.
Error reporting was greatly improved in SNAP with resolution of SNAP-448 but these changes are not published yet. For the moment you can look at the logs in the following file from your home directory: AppData\Roaming\SNAP\var\log\messages.log. Could you send us this file? What product do you use as input?
I had a try with a 681KB tif file coming from a RapidEye product, launching segmentation-cc with your parameters. It took 4 second, segmentation-cc.shp file was created in D:\Tmp, I could add this shp as a layer of the tif image and result looked ok.
If no file is created on your side we have to look for the differences between our configurations. Did you update to the latest version of SNAP? How did you install OTB? What OS are you using? Thanks in advance.
I just wanted to tell that I tested it on another computer and it works. I can’t tell the difference at the moment and the results are not as expected but that mainly depends on the input data and the parameters.
So thank you for implementing! I’ll give you news in here when I received good results.
Does anyone have experience with sementation of SAR images?