]> Creatis software - clitk.git/commitdiff
Correct roi name into DicomRTStruct
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Thu, 17 Jan 2019 15:34:32 +0000 (16:34 +0100)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Thu, 17 Jan 2019 15:34:32 +0000 (16:34 +0100)
Replace RoiName by RoiType because into the DicomRTStruct, before, it displayed the RoiName (name of the file) instead of the name of the ROI (RoiType)

common/clitkImage2DicomRTStructFilter.txx

index 7325b69edfc81fd9bafb3d297ed09b40e51c7092..17757c8fc008e1c2560b2cde09b0d0a4117c8070 100644 (file)
@@ -242,7 +242,7 @@ void clitk::Image2DicomRTStructFilter<PixelType>::Update()
   writer->InitializeRTStructSet(m_DicomFolder,
                                 reader->GetRTStructSetProperties()->GetStructureSetLabel(),
                                 reader->GetRTStructSetProperties()->GetStructureSetName(),
-                                roiNames, roiAlgorithms, roiTypes);  
+                                roiTypes, roiAlgorithms, roiTypes);
   writer->Write();
   reader->Delete();
   roiNames->Delete();