Fix DICOM export bug
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user