Skip to content
Snippets Groups Projects
Commit 5dd03f7b authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ENH: Bug in extract segment test & warnings

parent 656e0087
Branches
Tags
No related merge requests found
......@@ -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);
}
......
......@@ -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 -------------
......
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment