X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkImage2DicomRTStruct.cxx;h=264eb05c6bdba56199f07081a43efe8969307a3f;hb=8d1daac3018c3ccbbaa087c0acf457a33ed1f90b;hp=d71491ba8d12ea5e6ef26a6f45316a4b8fb44a73;hpb=c4de479fec231c7d53555dcd21d308f06aad17ec;p=clitk.git diff --git a/tools/clitkImage2DicomRTStruct.cxx b/tools/clitkImage2DicomRTStruct.cxx deleted file mode 100644 index d71491b..0000000 --- a/tools/clitkImage2DicomRTStruct.cxx +++ /dev/null @@ -1,47 +0,0 @@ -/*========================================================================= - Program: vv http://www.creatis.insa-lyon.fr/rio/vv - Main authors : XX XX XX - - Authors belongs to: - - University of LYON http://www.universite-lyon.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 - the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - PURPOSE. See the copyright notices for more information. - - It is distributed under dual licence - - BSD http://www.opensource.org/licenses/bsd-license.php - - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html - - =========================================================================*/ - -#include "clitkImage2DicomRTStructFilter.h" -#include "clitkDicomRT_StructureSet.h" -#include "clitkImage2DicomRTStruct_ggo.h" - -//-------------------------------------------------------------------- -int main(int argc, char * argv[]) { - - // Init command line - GGO(clitkImage2DicomRTStruct, args_info); - - // Read initial 3D image - typedef float PixelType; - typedef itk::Image ImageType; - ImageType::Pointer input = clitk::readImage(args_info.input_arg, true); - - // Create a filter to convert image into dicomRTStruct - clitk::Image2DicomRTStructFilter filter; - filter.SetInput(input); - filter.Update(); - - // Write result - clitk::DicomRT_StructureSet::Pointer s = filter.GetDicomRTStruct(); - // s->Write(args_info.output_arg); - - // This is the end my friend - return 0; -} -//--------------------------------------------------------------------