otbVectorRescaleIntensityImageFilter.h wrong test case
Mantis Issue 143, reported by cmoisy, assigned to echristophe, created: 2010-01-19
In the otbVectorRescaleIntensityImageFilter.h file, I think there is a wrong test : (line 144) // consistency checking if ( result.GetSize()!=m_OutputMaximum.GetSize() || result.GetSize() != m_OutputMaximum.GetSize() || result.GetSize() != m_InputMinimum.GetSize() || result.GetSize() != m_InputMaximum.GetSize()) {
m_OutputMaximum.GetSize() is used twice shouldn't there be m_OutputMaximum.GetSize() and m_OutputMinimum.GetSize() ?
1263973262 - christopThanks, fixed by http://hg.orfeo-toolbox.org/OTB/rev/974e904f9129 and in other locations by http://hg.orfeo-toolbox.org/OTB/rev/0d679667476b