19 std::string meansubMethodStr(
int method )
21 if(method ==
imageMean)
return "imageMean";
22 else if(method ==
imageMedian)
return "imageMedian";
23 else if(method ==
imageMode)
return "imageMode";
24 else if(method ==
meanImage)
return "meanImage";
25 else if(method ==
medianImage)
return "medianImage";
26 else return "UNKNOWN";
29 int meansubMethodFmStr(
const std::string & method )
31 if(method ==
"imageMean")
return imageMean;
32 else if(method ==
"imageMedian")
return imageMedian;
33 else if(method ==
"imageMode")
return imageMode;
34 else if(method ==
"meanImage")
return meanImage;
35 else if(method ==
"medianImage")
return medianImage;
39 std::string excludeMethodStr(
int method)
44 else if(method ==
excludeImno)
return "excludeImno";
45 else return "UNKNOWN";
48 int excludeMethodFmStr(
const std::string & method)
53 else if(method ==
"excludeImno")
return excludeImno;
57 std::string includeMethodStr(
int method )
60 else if(method ==
includeCorr)
return "includeCorr";
61 else if(method ==
includeTime)
return "includeTime";
63 else if(method ==
includeImno)
return "includeImno";
64 else return "UNKNOWN";
67 int includeMethodFmStr(
const std::string & method )
70 else if(method ==
"includeCorr")
return includeCorr;
71 else if(method ==
"includeTime")
return includeTime;
73 else if(method ==
"includeImno")
return includeImno;
78 template<
typename realT>
class ADIDerotator;
80 template struct KLIPreduction<float, ADIDerotator<float>,
float>;
81 template struct KLIPreduction<float, ADIDerotator<float>,
double>;
82 template struct KLIPreduction<double, ADIDerotator<double>,
double>;
Defines a generic ADI derotator class.
Declarations and definitions for an implementation of the Karhunen-Loeve Image Processing (KLIP) algo...
@ includeImno
include images which are closest in imno to the target
@ includeTime
include images which are closest in time to the target
@ includeAngle
include images which are closest in angle to the target
@ includeAll
include all images
@ includeCorr
include images which are most correlated with the target
@ imageMode
The mode of each image (within the search region) is subtracted from itself.
@ imageMean
The mean of each image (within the search region) is subtracted from itself.
@ imageMedian
The median of each image (within the search region) is subtracted from itself.
@ meanImage
The mean image of the data is subtracted from each image.
@ medianImage
The median image of the data is subtracted from each image.
@ excludePixel
Exclude by pixels of rotation.
@ excludeAngle
Exclude by angle of roration.
@ excludeImno
Exclude by number of images.
@ excludeNone
Exclude no images.