X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FclitkRelativePositionDataBaseAnalyzerFilter.txx;h=68d2a2bc34f71ca2d6b179459a83bbaee6fcc20b;hb=595624eb4297e747630105d45017de69733caef2;hp=6aa5f3adcb8019131a682b5ca8d5dc22973e3024;hpb=6ce8b7b14aa86942f0fa47347e452db65c34ab0d;p=clitk.git diff --git a/itk/clitkRelativePositionDataBaseAnalyzerFilter.txx b/itk/clitkRelativePositionDataBaseAnalyzerFilter.txx index 6aa5f3a..68d2a2b 100644 --- a/itk/clitkRelativePositionDataBaseAnalyzerFilter.txx +++ b/itk/clitkRelativePositionDataBaseAnalyzerFilter.txx @@ -56,21 +56,21 @@ Update() // Loop over objects std::vector m_ListOfThresholds; - for(int i=0; i m_ListOfOrientations; - db.GetListOfOrientations(GetStationName(), index.object, m_ListOfOrientations); + // Get the list of direction + std::vector m_ListOfDirections; + db.GetListOfDirections(GetStationName(), index.object, m_ListOfDirections); - // Loop over orientation - for(int j=0; j & ListOfPatients = db.GetListOfPatients(index); // DD(ListOfPatients.size()); - // index.orientation.Println(); + // index.direction.Println(); - // For a given station, object, orientation + // For a given station, object, direction bool stop=false; - int i=0; - if (index.orientation.notFlag) threshold = 0.0; + unsigned int i=0; + if (index.direction.notFlag) threshold = 0.0; else threshold = 1.0; while (!stop && (i