feat: Enable DICOM export
This commit is contained in:
@@ -224,10 +224,10 @@ int Recon::startReconstructions(const std::string& aDataPath, const std::string&
|
|||||||
transmissionResult = startTransmissionReconstruction(mp_inter, mpRef_inter, slList_inter, snList_inter, rlList_inter, rnList_inter, temp, tempRef, geom, geomRef, expInfo, expInfoRef, preComputes, &dataParser, &refParser);
|
transmissionResult = startTransmissionReconstruction(mp_inter, mpRef_inter, slList_inter, snList_inter, rlList_inter, rnList_inter, temp, tempRef, geom, geomRef, expInfo, expInfoRef, preComputes, &dataParser, &refParser);
|
||||||
attAvailable = true;
|
attAvailable = true;
|
||||||
sosAvailable = true;
|
sosAvailable = true;
|
||||||
//exporter.exportDICOM(transmissionResult.recoSOS, DICOMExporter::SOS);
|
exporter.exportDICOM(transmissionResult.recoSOS, DICOMExporter::SOS);
|
||||||
//exporter.exportDICOM(transmissionResult.recoATT, DICOMExporter::ATT);
|
exporter.exportDICOM(transmissionResult.recoATT, DICOMExporter::ATT);
|
||||||
writer.setMatrix(transmissionResult.recoSOS, "sos");
|
// writer.setMatrix(transmissionResult.recoSOS, "sos");
|
||||||
writer.setMatrix(transmissionResult.recoATT, "att");
|
// writer.setMatrix(transmissionResult.recoATT, "att");
|
||||||
}
|
}
|
||||||
|
|
||||||
if(reflectParams::runReflectionReco)
|
if(reflectParams::runReflectionReco)
|
||||||
@@ -256,10 +256,10 @@ int Recon::startReconstructions(const std::string& aDataPath, const std::string&
|
|||||||
RECON_INFO("Start reflectionRecostruction.");
|
RECON_INFO("Start reflectionRecostruction.");
|
||||||
Matrix env = startReflectionReconstruction(&dataParser, preProcessData.saftMode, mp_inter, slList_inter, snList_inter, rlList_inter, rnList_inter, geom, preProcessData.transRecos, expInfo, preComputes);
|
Matrix env = startReflectionReconstruction(&dataParser, preProcessData.saftMode, mp_inter, slList_inter, snList_inter, rlList_inter, rnList_inter, geom, preProcessData.transRecos, expInfo, preComputes);
|
||||||
writer.setMatrix(env, "reflect");
|
writer.setMatrix(env, "reflect");
|
||||||
//exporter.exportDICOM(env, Recon::DICOMExporter::REFL);
|
exporter.exportDICOM(env, Recon::DICOMExporter::REFL);
|
||||||
// Recon::notifyProgress(99);
|
// Recon::notifyProgress(99);
|
||||||
}
|
}
|
||||||
writer.write();
|
// writer.write();
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user