7 #ifndef Tomato_OXIMAGECALCULATOR_H 8 #define Tomato_OXIMAGECALCULATOR_H 10 #include "tomatolib_export.h" 11 #include "CmakeConfigForTomato.h" 12 #ifndef TOMATO_USES_CXX_STANDARD_98 21 template<
typename MeasureType>
29 void setUseThreads(
bool useThreads);
30 void setNThreads(
int nThreads);
31 void setNCols(
int nCols);
32 void setNRows(
int nRows);
33 void setNSamples(
int nSamples);
34 void setInvTimes(
const MeasureType *invTimes);
35 void setEchoTimes(
const MeasureType *echoTimes);
36 void setImageMag(
const MeasureType *imageMag);
37 void setImagePha(
const MeasureType *imagePha);
38 void setImageResultsArray(MeasureType *imageResultsArray);
39 void setImageResultsMap(std::map<std::string, MeasureType *> *imageResultsMap);
44 MeasureType *getImageResultsArray()
const;
45 std::map<std::string, MeasureType *> *getImageResultsMap()
const;
47 bool isUseThreads()
const;
48 unsigned getNThreads()
const;
51 virtual int calculate();
52 virtual int calculateOneThread(
int posStart,
int posStop);
63 const MeasureType* _invTimes;
64 const MeasureType* _echoTimes;
65 const MeasureType* _imageMag;
66 const MeasureType* _imagePha;
69 MeasureType* _imageResultsArray;
70 std::map<std::string, MeasureType*> * _imageResultsMap;
77 #ifndef TOMATOLIB_COMPILED 79 #endif //TOMATOLIB_COMPILED 81 #endif //Tomato_OXIMAGECALCULATOR_H
Definition: OxCalculator.h:28
Definition: OxImageCalculator.h:22
Definition: OxCalculator.h:19