|
|
|
|
@@ -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);
|
|
|
|
|
attAvailable = true;
|
|
|
|
|
sosAvailable = true;
|
|
|
|
|
//exporter.exportDICOM(transmissionResult.recoSOS, DICOMExporter::SOS);
|
|
|
|
|
//exporter.exportDICOM(transmissionResult.recoATT, DICOMExporter::ATT);
|
|
|
|
|
writer.setMatrix(transmissionResult.recoSOS, "sos");
|
|
|
|
|
writer.setMatrix(transmissionResult.recoATT, "att");
|
|
|
|
|
exporter.exportDICOM(transmissionResult.recoSOS, DICOMExporter::SOS);
|
|
|
|
|
exporter.exportDICOM(transmissionResult.recoATT, DICOMExporter::ATT);
|
|
|
|
|
// writer.setMatrix(transmissionResult.recoSOS, "sos");
|
|
|
|
|
// writer.setMatrix(transmissionResult.recoATT, "att");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(reflectParams::runReflectionReco)
|
|
|
|
|
@@ -256,10 +256,10 @@ int Recon::startReconstructions(const std::string& aDataPath, const std::string&
|
|
|
|
|
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);
|
|
|
|
|
writer.setMatrix(env, "reflect");
|
|
|
|
|
//exporter.exportDICOM(env, Recon::DICOMExporter::REFL);
|
|
|
|
|
exporter.exportDICOM(env, Recon::DICOMExporter::REFL);
|
|
|
|
|
// Recon::notifyProgress(99);
|
|
|
|
|
}
|
|
|
|
|
writer.write();
|
|
|
|
|
// writer.write();
|
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
|
|
}
|