feat: Add more Study Information to dicom export
This commit is contained in:
@@ -31,12 +31,12 @@
|
||||
using namespace Recon;
|
||||
using namespace Aurora;
|
||||
|
||||
int Recon::startReconstructions(const std::string& aDataPath, const std::string& aDataRefPath, const std::string& aOutputPath)
|
||||
int Recon::startReconstructions( const std::string& aDataPath, const std::string& aDataRefPath, const std::string& aOutputPath)
|
||||
{
|
||||
MatlabWriter writer(aOutputPath);
|
||||
// MatlabWriter writer(aOutputPath);
|
||||
Parser dataParser(aDataPath);
|
||||
Parser refParser(aDataRefPath);
|
||||
Recon::DICOMExporter exporter(dataParser.getPatientData());
|
||||
Recon::DICOMExporter exporter(dataParser.getPatientData(), dataParser.getMetaData());
|
||||
exporter.setExportBasePath(aOutputPath);
|
||||
if(!dataParser.getShotList()->isValid())
|
||||
{
|
||||
@@ -255,9 +255,9 @@ int Recon::startReconstructions(const std::string& aDataPath, const std::string&
|
||||
//Recon::notifyProgress(25);
|
||||
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");
|
||||
// writer.setMatrix(env, "reflect");
|
||||
exporter.exportDICOM(env, Recon::DICOMExporter::REFL);
|
||||
// Recon::notifyProgress(99);
|
||||
//Recon::notifyProgress(99);
|
||||
}
|
||||
// writer.write();
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user