#include <EMMPM/EmMpmMaster.h>
Protected Member Functions | |
| EmMpmMaster (const std::string &mxaFileName, const std::string &dataRecordName, const std::string &outputFileName, const std::string &segmentedRecordName, EmMpmInputs::Pointer inputs, int sliceStart, int sliceEnd, int maxThreads, bool debug=false) | |
| Constructor. | |
| int | _copyAllMetaData (hid_t inFile, const std::string &inPath, hid_t outFile, const std::string &outPath) |
| Copies all the meta data from the input mxa file to the output MXA file. | |
| EmMpmMaster::EmMpmMaster | ( | const std::string & | mxaFileName, | |
| const std::string & | dataRecordName, | |||
| const std::string & | outputFileName, | |||
| const std::string & | segmentedRecordName, | |||
| EmMpmInputs::Pointer | inputs, | |||
| int | sliceStart, | |||
| int | sliceEnd, | |||
| int | maxThreads, | |||
| bool | debug = false | |||
| ) | [protected] |
Constructor.
| mxaFileName | The name/path to the input mxa file | |
| dataRecordName | The Name of the Data Record that holds the images to be segmented | |
| outputFileName | The name of the MXA file that will be generated with the results | |
| segmentedRecordName | The name of the Data Record that will hold the segmented images | |
| inputs | The inputs to the algorithm | |
| sliceStart | The starting slice | |
| sliceEnd | The Ending slice | |
| maxThreads | The maximum number of threads to use. Note that this is on a per file basis, in other words, if you select 6 threads, then 6 images will be processed in parallel. | |
| debug | Print debug statements to the log file |
| int EmMpmMaster::_copyAllMetaData | ( | hid_t | inFile, | |
| const std::string & | inPath, | |||
| hid_t | outFile, | |||
| const std::string & | outPath | |||
| ) | [protected] |
Copies all the meta data from the input mxa file to the output MXA file.
| inFile | The hdf file_id of the input file | |
| inPath | The path to the input file | |
| outFile | The hdf file_id of the output file | |
| outPath | THe path to the output file |
1.5.2