X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=segmentation%2FclitkExtractAirwaysTreeInfoFilter.txx;h=65b6343e90c8141755fc5351881bf8936e891920;hb=e3dfdd2305abb337638468aaca3d9b20718b5026;hp=da32e04bd8003b12602548c9244c54560bf20d9e;hpb=5e2af376544fce0c6dc46bb3c3227d35b501c1f1;p=clitk.git diff --git a/segmentation/clitkExtractAirwaysTreeInfoFilter.txx b/segmentation/clitkExtractAirwaysTreeInfoFilter.txx index da32e04..65b6343 100644 --- a/segmentation/clitkExtractAirwaysTreeInfoFilter.txx +++ b/segmentation/clitkExtractAirwaysTreeInfoFilter.txx @@ -3,7 +3,7 @@ Authors belong to: - University of LYON http://www.universite-lyon.fr/ - - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even @@ -14,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html - ======================================================================-====*/ + ===========================================================================**/ #ifndef CLITKEXTRACTAIRWAYSTREEINFOSFILTER_TXX #define CLITKEXTRACTAIRWAYSTREEINFOSFILTER_TXX @@ -62,22 +62,6 @@ SetInput(const ImageType * image) //-------------------------------------------------------------------- -//-------------------------------------------------------------------- -template -template -void -clitk::ExtractAirwaysTreeInfoFilter:: -SetArgsInfo(ArgsInfoType mArgsInfo) -{ - SetVerboseOption_GGO(mArgsInfo); - SetVerboseStep_GGO(mArgsInfo); - SetWriteStep_GGO(mArgsInfo); - SetVerboseWarningOff_GGO(mArgsInfo); - SetAFDBFilename_GGO(mArgsInfo); -} -//-------------------------------------------------------------------- - - //-------------------------------------------------------------------- template void @@ -183,7 +167,7 @@ GenerateData() StopCurrentStep(); // Reput FG instead of label in the skeleton image - skeleton = clitk::SetBackground(skeleton, skeleton, label, GetForegroundValue()); + skeleton = clitk::SetBackground(skeleton, skeleton, label, GetForegroundValue(), true); // Debug typename StructuralTreeType::iterator sit = mStructuralSkeletonTree.begin(); @@ -400,7 +384,7 @@ GenerateData() carina_position); // Set and save Carina position - if (GetVerboseStep()) { + if (GetVerboseStepFlag()) { std::cout << "\t Found carina at " << carina_position << " mm" << std::endl; } GetAFDB()->SetPoint3D("carina", carina_position);