Hi,

foutpos is actually an image of the spatial position to which each pixel mode converges. This is a useful information that can be included in the downtream steps of LSMS. You might want to try: - foutpos /home/user/GIS/CanopyHealthMonitoring/PWN/segmentation_result/E2370110_220612_FILTERED_SPATIAL_010.tif

Regards,

Julien

Le 20/11/2014 18:33, [email protected] a écrit :
Hi

I want to reproduce this work flow http://www.orfeo-toolbox.org/CookBook/CookBooksu42.html in a python script. My tentative (only step 1 and 2 implemented so far) is here https://titanpad.com/A9SCzelK9m

This script doesn't work and gives me something like:

E2370110_220612
sh: 1: /usr/bin/otbcli_MeanShiftSmoothing -in /home/user/GIS/CanopyHealthMonitoring/PWN/imagery/Orto_2012/E2370110_220612.tif -spatialr 5 -ranger 15 -thres 0.1 -maxiter 100 -rangeramp 0 -modesearch false -fout /home/user/GIS/CanopyHealthMonitoring/PWN/segmentation_result/E2370110_220612_FILTERED_RANGE_010.tif -foutpos 0 : not found
E2370210_220612
sh: 1: /usr/bin/otbcli_MeanShiftSmoothing -in /home/user/GIS/CanopyHealthMonitoring/PWN/imagery/Orto_2012/E2370210_220612.tif -spatialr 5 -ranger 15 -thres 0.1 -maxiter 100 -rangeramp 0 -modesearch false -fout /home/user/GIS/CanopyHealthMonitoring/PWN/segmentation_result/E2370210_220612_FILTERED_RANGE_010.tif -foutpos 0 : not found

 [.. and so on]

However, if I run
/usr/bin/otbcli_MeanShiftSmoothing -in /home/user/GIS/CanopyHealthMonitoring/PWN/imagery/Orto_2012/E2370110_220612.tif -spatialr 5 -ranger 15 -thres 0.1 -maxiter 100 -rangeramp 0 -modesearch false -fout /home/user/GIS/CanopyHealthMonitoring/PWN/segmentation_result/E2370110_220612_FILTERED_RANGE_010.tif -foutpos 0
it goes ahead.

What am I missing?

Thank you in advance,
Margherita
--
--
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] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.


--
Julien MICHEL
CNES - DCT/SI/AP - BPI 1219
18, avenue Edouard Belin
31401 Toulouse Cedex 09 - France
Tel: +33 561 282 894 - Fax: +33 561 283 109

--
--
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/d/optout.

Reply via email to