21class DicomMessageCollector;
22class DirectDicomImport;
25class FileReaderPluginsBase;
116 void _appendMLImageFileProperties(
const std::string &
fileName,
128 bool _appendLoaderPluginFileProperties(
const std::string &
fileName,
142 std::string _appendImgFileReaderProperties(
const std::string &
fileName,
154 void _appendItkImageFileReaderProperties(
const std::string &
fileName,
159 enum ComposeOtherFilesModes {
160 COMPOSE_OTHER_FILES_SINGLE = 0,
161 COMPOSE_OTHER_FILES_HEAP,
163 NUM_COMPOSE_OTHER_FILES_MODES
167 static const char *
const composeOtherFilesModesStrings[NUM_COMPOSE_OTHER_FILES_MODES];
181 std::vector< std::string > _silentTrialFileTypes;
186 Module *_mlItkImageFileReader;
Project global and OS specific declarations.
#define MLDIRECTDICOMIMPORT_EXPORT
Only for diagnostic purposes.
Class to collect messages and errors related to a given frame handle.
Base importer class for the DirectDicomImport module.
Derived importer to import non DICOM files into DirectDicomImport.
DirectDicomImportOtherImporter(DirectDicomImport &ddiOp)
Constructor using a DirectDicomImport instance associated with.
virtual void _appendNewDirectVolumeReferenceFromFilePropHelper(const _FilePropHelper &fileProp, const FileListTools::FileList &fileList, DicomMessageCollector &dcmMsgCollector)
Creates and append a new DirectDicomVolumeReference with settings from a _FilePropHelper.
virtual void _determineProperties(const FileListTools::FileList &fileList, std::vector< _FilePropHelper > &filePropVec, float progressStart, float progressEnd)
Determine a vector of image properties and file names of loadable files.
virtual void _appendMetaData(ImagePropertyExtensionContainer &imgPropContainer, const std::string &metaData, const std::string &fileName)
Append tag dump (and file name for entry when it's created) to an ImagePropertyExtension entry.
void appendFields(FieldContainer &fieldContainer) override
Creates and appends all parameter fields for this importer. To be called in constructor.
virtual size_t _composeAndAppendVolumes(const std::vector< _FilePropHelper > &filePropVec, const FileListTools::FileList &fileList, DicomMessageCollector &dcmMsgCollector)
Compose same sized images with same voxel type of entries in filePropVec to volumes and append those ...
virtual void _postProcessVolumes(size_t lastNumVolumesToProcess)
Some settings can be set up best after full composition of the volumes, for example storing the image...
void handleNotification(Field &field) override
Handles changes of fields added by appendFields.
virtual void _propertySort(std::vector< _FilePropHelper > &filePropVec)
Sort filePropVec according image extent and file name given by the vector entries.
~DirectDicomImportOtherImporter() override
Destructor.
Imports image files directly from DICOM or other file types without an intermediate representation.
Field to encapsulate an enumerated value.
Defines the class FieldContainer to encapsulate a vector of fields for (see class Field).
Base class for all fields used in the ML.
This class is a container for extended image properties derived from ImagePropertyExtension.
Base class for an image processing module of the ML.
Field to encapsulate a string value.
Base importer class for the DirectDicomImport module.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.