]> Creatis software - clitk.git/blobdiff - tools/clitkDicomRTStructInfo.cxx
convert a DicomStruct into a binary image
[clitk.git] / tools / clitkDicomRTStructInfo.cxx
diff --git a/tools/clitkDicomRTStructInfo.cxx b/tools/clitkDicomRTStructInfo.cxx
new file mode 100644 (file)
index 0000000..e449348
--- /dev/null
@@ -0,0 +1,36 @@
+/*=========================================================================
+  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://oncora1.lyon.fnclcc.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 "clitkDicomRT_StructureSet.h"
+#include "clitkDicomRTStructInfo_ggo.h"
+
+//--------------------------------------------------------------------
+int main(int argc, char * argv[]) {
+
+  // Init command line
+  GGO(clitkDicomRTStructInfo, args_info);
+
+  // Read and display information
+  clitk::DicomRT_StructureSet s;
+  s.Read(args_info.input_arg);
+  s.Print(std::cout);
+
+  // This is the end my friend 
+  return 0;
+}