Skip to content
Snippets Groups Projects
Commit e93162af authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

WRG: commented unused variables in otbViewerModel, fixed tests apTvDmStereSensorModel...

parent 66441ebe
No related branches found
No related tags found
No related merge requests found
...@@ -142,7 +142,7 @@ ViewerModel ...@@ -142,7 +142,7 @@ ViewerModel
// If jpeg2000, add the selected resolution at the end of the file name // If jpeg2000, add the selected resolution at the end of the file name
if( isJPEG2000 ) if( isJPEG2000 )
{ {
unsigned int resolution = 0; // unsigned int resolution = 0;
otbFilepath += ":"; otbFilepath += ":";
std::ostringstream ossRes; std::ostringstream ossRes;
ossRes << id; ossRes << id;
...@@ -174,8 +174,8 @@ ViewerModel ...@@ -174,8 +174,8 @@ ViewerModel
} }
//// If not jpeg2000 or trouble in jpeg2000 quicloock, use a //// If not jpeg2000 or trouble in jpeg2000 quicloock, use a
//// streaming shrink image filter //// streaming shrink image filter
unsigned int maxSize = std::max( reader->GetOutput()->GetLargestPossibleRegion().GetSize()[0], // unsigned int maxSize = std::max( reader->GetOutput()->GetLargestPossibleRegion().GetSize()[0],
reader->GetOutput()->GetLargestPossibleRegion().GetSize()[1] ); // reader->GetOutput()->GetLargestPossibleRegion().GetSize()[1] );
if (quicklook.IsNull()) if (quicklook.IsNull())
{ {
typedef otb::StreamingShrinkImageFilter<ImageType> StreamingShrinkImageFilterType; typedef otb::StreamingShrinkImageFilter<ImageType> StreamingShrinkImageFilterType;
......
...@@ -15,7 +15,7 @@ OTB_TEST_APPLICATION(NAME apTvDmStereoSensorModelToElevationMapTest ...@@ -15,7 +15,7 @@ OTB_TEST_APPLICATION(NAME apTvDmStereoSensorModelToElevationMapTest
-step 1.0 -step 1.0
-elev dem -elev dem
-elev.dem.path ${INPUTDATA}/DEM/srtm_directory/ -elev.dem.path ${INPUTDATA}/DEM/srtm_directory/
-geoid ${INPUTDATA}/DEM/egm96.grd -elev.dem.geoid ${INPUTDATA}/DEM/egm96.grd
VALID --compare-image ${EPSILON_10} VALID --compare-image ${EPSILON_10}
${BASELINE}/apTvDmStereoSensorModelToElevationMapTest.tif ${BASELINE}/apTvDmStereoSensorModelToElevationMapTest.tif
${TEMP}/apTvDmStereoSensorModelToElevationMapTest.tif) ${TEMP}/apTvDmStereoSensorModelToElevationMapTest.tif)
...@@ -33,7 +33,7 @@ OTB_TEST_APPLICATION(NAME apTvDmStereoSensorModelToElevationMapWithSmoothing ...@@ -33,7 +33,7 @@ OTB_TEST_APPLICATION(NAME apTvDmStereoSensorModelToElevationMapWithSmoothing
-step 1.0 -step 1.0
-elev dem -elev dem
-elev.dem.path ${INPUTDATA}/DEM/srtm_directory/ -elev.dem.path ${INPUTDATA}/DEM/srtm_directory/
-geoid ${INPUTDATA}/DEM/egm96.grd -elev.dem.geoid ${INPUTDATA}/DEM/egm96.grd
-rgs 2.0 -rgs 2.0
-sgs 2.0 -sgs 2.0
VALID --compare-image ${EPSILON_10} VALID --compare-image ${EPSILON_10}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment