From c9e212f04ab071294c24e215190024046ecd070b Mon Sep 17 00:00:00 2001 From: Otmane Lahlou <otmane.lahlou@c-s.fr> Date: Thu, 4 Dec 2008 11:13:48 +0100 Subject: [PATCH] ENH : surf detector warning suppressed --- .../otbImageToSURFKeyPointSetFilter.txx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Code/FeatureExtraction/otbImageToSURFKeyPointSetFilter.txx b/Code/FeatureExtraction/otbImageToSURFKeyPointSetFilter.txx index d44a9b370e..9066bb43ae 100644 --- a/Code/FeatureExtraction/otbImageToSURFKeyPointSetFilter.txx +++ b/Code/FeatureExtraction/otbImageToSURFKeyPointSetFilter.txx @@ -136,8 +136,8 @@ namespace otb <<m_determinantImage->GetLargestPossibleRegion().GetSize() ); - /** For each octave, we fill the imageList for the extremum search*/ - m_ImageList->PushBack(m_determinantImage); + /** For each octave, we fill the imageList for the extremum search*/ + m_ImageList->PushBack(m_determinantImage); } /*----------------------------------------------------*/ @@ -280,10 +280,10 @@ namespace otb while (i!=(int)neigh.Size()){ if(i != centerIndex ){ - if( centerValue> neigh[i] & flag_max == 0) max = true; + if( centerValue> neigh[i] && flag_max == 0) max = true; else { max = false; flag_max = 1; } - if(centerValue < neigh[i] & flag_min == 0 & centerValue <0) min = true; + if(centerValue < neigh[i] && flag_min == 0 && centerValue <0) min = true; else { min = false; flag_min = 1; } } ++i; @@ -307,10 +307,10 @@ namespace otb while (i!=(int)neigh.Size()){ - if( CenterValue> neigh[i] & flag_max == 0) max = true; + if( CenterValue> neigh[i] && flag_max == 0) max = true; else { max = false; flag_max = 1; } - if(CenterValue < neigh[i] & flag_min == 0) min = true; + if(CenterValue < neigh[i] && flag_min == 0) min = true; else { min = false; flag_min = 1; } ++i; -- GitLab