diff --git a/src/common/DICOMExporter.cpp b/src/common/DICOMExporter.cpp index 30f1405..55aeef8 100644 --- a/src/common/DICOMExporter.cpp +++ b/src/common/DICOMExporter.cpp @@ -130,6 +130,7 @@ namespace Recon } exportDCM(path, reflectParams::imageStartpoint.getData(), reflectParams::imageEndpoint.getData(), XYZ, aMatrix.getData(), type); + RECON_INFO("Save DICOM to Path:{0}, type:{1}==================>",path,(int)type); } void DICOMExporter::exportDCM(string path, float * startPoint, float* endPoint, int* imageXYZ,float* data, int type) @@ -157,7 +158,7 @@ namespace Recon "InstName":mPatientData.getInstituationName().data()); dataset->putAndInsertString(DCM_InstitutionAddress, mPatientData.getInstituationAddress().empty()? "default addr":mPatientData.getInstituationAddress().data()); - dataset->putAndInsertString(DCM_ReferringPhysicianName,mPatientData.getOperatorName().empty()? + dataset->putAndInsertString(DCM_ReferringPhysicianName,mPatientData.getReferringPhysicianName().empty()? "ReferringPhysician": mPatientData.getOperatorName().data()); dataset->putAndInsertString(DCM_PatientName, mPatientData.getPatientName().empty()? "TestPatient":mPatientData.getPatientName().data());