diff --git a/Code/Common/otbUnaryFunctorNeighborhoodWithOffsetImageFilter.txx b/Code/Common/otbUnaryFunctorNeighborhoodWithOffsetImageFilter.txx index e22755604331e510d27e5571c7557d5995a53e07..7a2d52092baa3ec69e629134da72c8ce3e27bad3 100644 --- a/Code/Common/otbUnaryFunctorNeighborhoodWithOffsetImageFilter.txx +++ b/Code/Common/otbUnaryFunctorNeighborhoodWithOffsetImageFilter.txx @@ -50,7 +50,7 @@ UnaryFunctorNeighborhoodWithOffsetImageFilter<TInputImage,TOutputImage,TFunction { Superclass::BeforeThreadedGenerateData(); - for (unsigned int i =0; i<static_cast<unsigned int>(this->GetNumberOfThreads()); i++) + for (int i =0; i<this->GetNumberOfThreads(); i++) { m_FunctorList.push_back(m_Functor); } diff --git a/Testing/Code/FeatureExtraction/CMakeLists.txt b/Testing/Code/FeatureExtraction/CMakeLists.txt index a4dd84ccb574ecd933190e658314c4213008ba89..3262c5858e5a09e9df19bfc8651a4f383d2a33a5 100644 --- a/Testing/Code/FeatureExtraction/CMakeLists.txt +++ b/Testing/Code/FeatureExtraction/CMakeLists.txt @@ -434,7 +434,7 @@ ADD_TEST(feTvExtractSegments ${FEATUREEXTRACTION_TESTS6} ${INPUTDATA}/ImageLine_hd.bsq.hdr ${INPUTDATA}/ImageLineDir.bsq.hdr ${TEMP}/feFiltreExtractSegments_ImageLine.hdr - 2 0.3 20 20 2 10 0.5) + 10 0.3 10 10 3 10 0.5) # ------- otb::ForwardFourierMellinTransformImageFilter ------------- diff --git a/Testing/Code/FeatureExtraction/otbExtractSegments.cxx b/Testing/Code/FeatureExtraction/otbExtractSegments.cxx index 15a4dba6254d75fecc3c14a73999a5c63e6167be..08871de80b3839b7b9bf0531089c7e5eda275a24 100644 --- a/Testing/Code/FeatureExtraction/otbExtractSegments.cxx +++ b/Testing/Code/FeatureExtraction/otbExtractSegments.cxx @@ -90,7 +90,7 @@ int otbExtractSegments( int argc, char * argv[] ) RescalerType::Pointer rescaler = RescalerType::New(); rescaler->SetOutputMinimum(0); - rescaler->SetOutputMaximum(1); + rescaler->SetOutputMaximum(255); reader1->SetFileName( inputFilename1 ); reader2->SetFileName( inputFilename2 );