13 #ifndef mitkMRNormLinearStatisticBasedFilter_h
14 #define mitkMRNormLinearStatisticBasedFilter_h
39 itkFactorylessNewMacro(Self);
65 itkGetConstMacro(IgnoreOutlier,
bool);
66 itkSetMacro(IgnoreOutlier,
bool);
68 itkGetConstMacro(TargetValue,
double);
69 itkSetMacro(TargetValue,
double);
71 itkGetConstMacro(TargetWidth,
double);
72 itkSetMacro(TargetWidth,
double);
86 template <
typename TPixel,
unsigned int VImageDimension >
#define MITKCLMRUTILITIES_EXPORT
Superclass of all classes having one or more Images as input and generating Images as output.
Image class for storing multi-dimensional medical image data.
Normalizes MR images using linear scaling based on statistical measures within a mask region.
~MRNormLinearStatisticBasedFilter() override
NormalizationBase
Enumeration for the statistical measure used as normalization center.
@ MODE
Use the histogram mode as center.
@ MEAN
Use the arithmetic mean as center.
NormalizationBase m_CenterMode
void InternalComputeMask(itk::Image< TPixel, VImageDimension > *itkImage)
Internal templated implementation that computes statistics and normalizes the image.
mitkClassMacro(MRNormLinearStatisticBasedFilter, ImageToImageFilter)
void GenerateInputRequestedRegion() override
MRNormLinearStatisticBasedFilter()
void GenerateOutputInformation() override
void GenerateData() override
const mitk::Image * GetMask() const
Get the mask image used for computing statistics.
void SetMask(const mitk::Image *mask)
Set the mask image defining the region used for computing statistics.
Find image slices visible on a given plane.