From d9c8c6e6c759655fc24d05d47b962d2ba574b95d Mon Sep 17 00:00:00 2001 From: tbaudier Date: Thu, 17 Jan 2019 16:34:32 +0100 Subject: [PATCH] Correct roi name into DicomRTStruct 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/clitkImage2DicomRTStructFilter.txx b/common/clitkImage2DicomRTStructFilter.txx index 7325b69..17757c8 100644 --- a/common/clitkImage2DicomRTStructFilter.txx +++ b/common/clitkImage2DicomRTStructFilter.txx @@ -242,7 +242,7 @@ void clitk::Image2DicomRTStructFilter::Update() writer->InitializeRTStructSet(m_DicomFolder, reader->GetRTStructSetProperties()->GetStructureSetLabel(), reader->GetRTStructSetProperties()->GetStructureSetName(), - roiNames, roiAlgorithms, roiTypes); + roiTypes, roiAlgorithms, roiTypes); writer->Write(); reader->Delete(); roiNames->Delete(); -- 2.45.0