Fix input of bfTvPolygonizationRasterization_WGS84
Mantis Issue 526, reported by jmalik, assigned to jmalik, created: 2012-02-24
The test WGS84 takes too long :
Test project /home/jmalik/Projets/otb/build/OTB Start 1063: bfTvPolygonizationRasterization_UTM 1/4 Test #1063 (closed): bfTvPolygonizationRasterization_UTM ........... Passed 0.29 sec Start 1064: bfTvPolygonizationRasterization_WGS84 2/4 Test #1064 (closed): bfTvPolygonizationRasterization_WGS84 ......... Passed 10.60 sec Start 1065: bfTvPolygonizationRasterization_SensorModel 3/4 Test #1065 (closed): bfTvPolygonizationRasterization_SensorModel ... Passed 0.27 sec Start 1066: bfTvPolygonizationRasterization_Index 4/4 Test #1066 (closed): bfTvPolygonizationRasterization_Index ......... Passed 0.29 sec
The input is a reprojection of the label image in float -> non integer input -> lots of polygons -> better reproject the input vector image and segment after
converting the float image to int does not work (still 26973 features)
1330178114 - julienmreprojecting the utm input with nearest neighbor interpolation does the trick :
Test project /home/jmalik/Projets/otb/build/OTB Start 1063: bfTvPolygonizationRasterization_UTM 1/4 Test #1063 (closed): bfTvPolygonizationRasterization_UTM ........... Passed 0.30 sec Start 1064: bfTvPolygonizationRasterization_WGS84 2/4 Test #1064 (closed): bfTvPolygonizationRasterization_WGS84 ......... Passed 0.30 sec Start 1065: bfTvPolygonizationRasterization_SensorModel 3/4 Test #1065 (closed): bfTvPolygonizationRasterization_SensorModel ... Passed 0.27 sec Start 1066: bfTvPolygonizationRasterization_Index 4/4 Test #1066 (closed): bfTvPolygonizationRasterization_Index ......... Passed 0.30 sec
1330178138 - julienmfixed in http://hg.orfeo-toolbox.org/OTB-Data/rev/6b3c8470a07d