Hi everybody, I try to use otb library in python for orthorectify Pleiades images. With the following command line everything works fine on OTB 6.4.0:
*otbcli_HomologousPointsExtraction* -in1 %PANSHARP% -in2 %IMGREF% -algorithm sift -mode geobins -mode.geobins.binstep 512 -mode.geobins.binsize 512 -mfilter 1 -precision 20 -2wgs84 1 -threshold 0.6 -out %OUT%\HOMOLOGOUS_POINTS_SIFT.txt -outvector %OUT%\HOMOLOGOUS_POINTS_SIFT.shp -elev.dem %DEM% -elev.geoid %GEOID% But with python, tie points output and vector output are both empty. No errors messages are generated. My slave image refer to a vrt. There is my python function: def homologuespoints(bundleinput, imgref, algo, outpts_txt, outpts_shp, dem, geoid): HomologousPointsExtraction = otbApplication.Registry.CreateApplication("HomologousPointsExtraction") HomologousPointsExtraction.SetParameterString("in1", bundleinput) HomologousPointsExtraction.SetParameterString("in2", imgref) HomologousPointsExtraction.SetParameterString("algorithm", algo) HomologousPointsExtraction.SetParameterString("mode", 'geobins') HomologousPointsExtraction.SetParameterInt("mode.geobins.binstep", 512) HomologousPointsExtraction.SetParameterInt("mode.geobins.binsize", 512) HomologousPointsExtraction.SetParameterFloat("threshold", 0.6) HomologousPointsExtraction.SetParameterString("2wgs84", '1') HomologousPointsExtraction.SetParameterString("mfilter", '1') HomologousPointsExtraction.SetParameterString("out", outpts_txt) HomologousPointsExtraction.SetParameterString("outvector", outpts_shp) HomologousPointsExtraction.SetParameterString("elev.geoid", geoid) HomologousPointsExtraction.SetParameterString("elev.dem", dem) Also, i faces with antoher problem with OTB 6.6.0. The previous command line (*otbcli_HomologousPointsExtraction*) dosen't works on this latest version. Again, no error are detected but my output image don't want to open in QGIS and her size is way less bigger than expected: 12 000 ko rather than 2 Go expected. If Anyone encounter the same issue. Thank you for you help. Sade -- -- 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@googlegroups.com To unsubscribe from this group, send email to otb-users+unsubscr...@googlegroups.com 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.