From: David Sarrut Date: Mon, 25 Jul 2011 07:37:31 +0000 (+0200) Subject: Rename clitkDicomRTStruct2BinaryImage in clitkDicomRTStruct2Image X-Git-Tag: v1.3.0~271 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=d90dd976c7ddbc78a397575f049a49a47cb031bb;p=clitk.git Rename clitkDicomRTStruct2BinaryImage in clitkDicomRTStruct2Image --- diff --git a/tools/clitkDicomRTStruct2BinaryImage.cxx b/tools/clitkDicomRTStruct2Image.cxx similarity index 90% rename from tools/clitkDicomRTStruct2BinaryImage.cxx rename to tools/clitkDicomRTStruct2Image.cxx index 97eff97..228ca0b 100644 --- a/tools/clitkDicomRTStruct2BinaryImage.cxx +++ b/tools/clitkDicomRTStruct2Image.cxx @@ -17,15 +17,15 @@ =========================================================================*/ -#include "clitkDicomRT_ROI_ConvertToImageFilter.h" +#include "clitkDicomRTStruct2ImageFilter.h" #include "clitkDicomRT_StructureSet.h" -#include "clitkDicomRTStruct2BinaryImage_ggo.h" +#include "clitkDicomRTStruct2Image_ggo.h" //-------------------------------------------------------------------- int main(int argc, char * argv[]) { // Init command line - GGO(clitkDicomRTStruct2BinaryImage, args_info); + GGO(clitkDicomRTStruct2Image, args_info); // Read and display information clitk::DicomRT_StructureSet::Pointer s = clitk::DicomRT_StructureSet::New(); @@ -35,7 +35,7 @@ int main(int argc, char * argv[]) { } // New filter to convert to binary image - clitk::DicomRT_ROI_ConvertToImageFilter filter; + clitk::DicomRTStruct2ImageFilter filter; filter.SetCropMaskEnabled(args_info.crop_flag); filter.SetImageFilename(args_info.image_arg); // Used to get spacing + origin if (args_info.roi_arg != -1) { @@ -45,7 +45,7 @@ int main(int argc, char * argv[]) { } else { for(unsigned int i=0; iGetListOfROI().size(); i++) { - clitk::DicomRT_ROI_ConvertToImageFilter filter; + clitk::DicomRTStruct2ImageFilter filter; filter.SetCropMaskEnabled(args_info.crop_flag); filter.SetImageFilename(args_info.image_arg); // Used to get spacing + origin std::string name = s->GetListOfROI()[i]->GetName(); diff --git a/tools/clitkDicomRTStruct2BinaryImage.ggo b/tools/clitkDicomRTStruct2Image.ggo similarity index 100% rename from tools/clitkDicomRTStruct2BinaryImage.ggo rename to tools/clitkDicomRTStruct2Image.ggo