Main Page
Groups
Namespace List
Class Hierarchy
Alphabetical List
Compound List
File
List
Namespace Members
Compound Members
File Members
Concepts
itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage > Class Template Reference
corrects 3D MRI bias field.
More...
#include <itkMRIBiasFieldCorrectionFilter.h>
Inheritance diagram for itk::MRIBiasFieldCorrectionFilter:
[legend]Collaboration diagram for itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >:
[legend]List of all members.
Public Types |
typedef MRIBiasFieldCorrectionFilter | Self |
typedef ImageToImageFilter<
TInputImage, TOutputImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const
Self > | ConstPointer |
typedef TOutputImage | OutputImageType |
typedef TInputImage | InputImageType |
typedef TOutputImage::Pointer | OutputImagePointer |
typedef TOutputImage::IndexType | OutputImageIndexType |
typedef TOutputImage::PixelType | OutputImagePixelType |
typedef TOutputImage::SizeType | OutputImageSizeType |
typedef TOutputImage::RegionType | OutputImageRegionType |
typedef TInputImage::Pointer | InputImagePointer |
typedef TInputImage::IndexType | InputImageIndexType |
typedef TInputImage::PixelType | InputImagePixelType |
typedef TInputImage::SizeType | InputImageSizeType |
typedef TInputImage::RegionType | InputImageRegionType |
typedef TMaskImage | ImageMaskType |
typedef ImageMaskType::Pointer | ImageMaskPointer |
typedef ImageMaskType::RegionType | ImageMaskRegionType |
typedef MRASlabIdentifier<
InputImageType > | MRASlabIdentifierType |
typedef MRASlabIdentifierType::SlabRegionVectorType | SlabRegionVectorType |
typedef SlabRegionVectorType::iterator | SlabRegionVectorIteratorType |
typedef MultivariateLegendrePolynomial | BiasFieldType |
typedef MRIBiasEnergyFunction<
InternalImageType, ImageMaskType,
BiasFieldType > | EnergyFunctionType |
typedef EnergyFunctionType::Pointer | EnergyFunctionPointer |
typedef Statistics::NormalVariateGenerator | NormalVariateGeneratorType |
typedef OnePlusOneEvolutionaryOptimizer | OptimizerType |
|
typedef Image< float, itkGetStaticConstMacro(ImageDimension) | InternalImageType ) |
typedef InternalImageType::PixelType | InternalImagePixelType |
typedef InternalImageType::Pointer | InternalImagePointer |
typedef InternalImageType::RegionType | InternalImageRegionType |
Public Methods |
virtual const char * | GetClassName () const |
| itkStaticConstMacro (ImageDimension, unsigned int, TOutputImage::ImageDimension) |
void | SetOutputMask (ImageMaskPointer outputMask) |
virtual ImageMaskType * | GetOutputMask () |
void | IsBiasFieldMultiplicative (bool flag) |
bool | IsBiasFieldMultiplicative () |
virtual void | SetUsingInterSliceIntensityCorrection (bool _arg) |
virtual void | SetUsingSlabIdentification (bool _arg) |
virtual void | SetUsingBiasFieldCorrection (bool _arg) |
virtual void | SetGeneratingOutput (bool _arg) |
virtual void | SetSlicingDirection (int _arg) |
virtual int | GetNoOfBiasFieldCoefficients () |
virtual BiasFieldType::DomainSizeType | GetBiasFieldDomainSize () |
void | SetInitialBiasFieldCoefficients (const BiasFieldType::CoefficientArrayType &coefficients) |
virtual BiasFieldType::CoefficientArrayType | GetEstimatedBiasFieldCoefficients () |
void | SetTissueClassStatistics (const Array< double > &means, const Array< double > &sigmas) throw (ExceptionObject) |
virtual void | SetOptimizerShrinkFactor (double _arg) |
virtual double | GetOptimizerShrinkFactor () |
void | Initialize () throw (ExceptionObject) |
void | EstimateBiasField (BiasFieldType *bias, InputImageRegionType region) |
void | CorrectImage (BiasFieldType *bias, InputImageRegionType region) |
void | CorrectInterSliceIntensityInhomogeneity (InputImageRegionType region) |
|
void | SetInputMask (ImageMaskPointer inputMask) |
virtual ImageMaskType * | GetInputMask () |
|
virtual void | SetBiasFieldDegree (int _arg) |
virtual int | GetBiasFieldDegree () |
|
virtual void | SetVolumeCorrectionMaximumIteration (int _arg) |
virtual int | GetVolumeCorrectionMaximumIteration () |
virtual void | SetInterSliceCorrectionMaximumIteration (int _arg) |
virtual int | GetInterSliceCorrectionMaximumIteration () |
|
void | SetOptimizerInitialRadius (double initRadius) |
double | GetOptimizerInitialRadius () |
|
virtual void | SetOptimizerGrowthFactor (double _arg) |
virtual double | GetOptimizerGrowthFactor () |
Static Public Methods |
Pointer | New () |
Protected Methods |
| MRIBiasFieldCorrectionFilter () |
virtual | ~MRIBiasFieldCorrectionFilter () |
bool | CheckMaskImage (ImageMaskPointer mask) |
void | Log1PImage (InternalImagePointer source, InternalImagePointer target) |
void | ExpImage (InternalImagePointer source, InternalImagePointer target) |
void | GetBiasFieldSize (InputImageRegionType region, BiasFieldType::DomainSizeType &domainSize) |
void | AdjustSlabRegions (SlabRegionVectorType &slabs, OutputImageRegionType requestedRegion) |
void | GenerateData () |
Detailed Description
template<class TInputImage, class TOutputImage, class TMaskImage>
class itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >
corrects 3D MRI bias field.
This class is templated over the type of the input image (TInputImage) and the type of the output image (TOutputImage).
In MRI images, intensity inhomogenieties which are caused by magnetic settings, patients' postion, and other factors are not unusual. The main purpose of this filter is to reduce such bias field. To estimate the bias field, we use Legendre polynomials. The 1+1 evolutionary optimizer searches for the best paramters of a Legendre polynomial (bias field estimate) which minimizes the total energy value of each image after bias field is eleminated.
There are three major processes in the whole bias correction scheme: slab identification, inter-slice intensity correction, and actual bias correction process. Users can turn on and off each process within the whole bias correction scheme using SetUsingSlabIdentification(bool), SetUsingInterSliceIntensityCorrection(bool), and SetUsingBiasFieldCorrection(bool) member function.
The bias field correction method was initially developed and implemented by Martin Styner, Univ. of North Carolina at Chapel Hill, and his colleagues.
For more details. refer to the following articles. "Parametric estimate of intensity inhomogeneities applied to MRI" Martin Styner, G. Gerig, Christian Brechbuehler, Gabor Szekely, IEEE TRANSACTIONS ON MEDICAL IMAGING; 19(3), pp. 153-165, 2000, (http://www.cs.unc.edu/~styner/docs/tmi00.pdf)
"Evaluation of 2D/3D bias correction with 1+1ES-optimization" Martin Styner, Prof. Dr. G. Gerig (IKT, BIWI, ETH Zuerich), TR-197 (http://www.cs.unc.edu/~styner/docs/StynerTR97.pdf)
Definition at line 198 of file itkMRIBiasFieldCorrectionFilter.h.
Member Typedef Documentation
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef MultivariateLegendrePolynomial itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::BiasFieldType
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef SmartPointer<const Self> itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::ConstPointer
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef EnergyFunctionType::Pointer itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::EnergyFunctionPointer
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef ImageMaskType::Pointer itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::ImageMaskPointer
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef ImageMaskType::RegionType itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::ImageMaskRegionType
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef TMaskImage itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::ImageMaskType
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef TInputImage::IndexType itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::InputImageIndexType
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef TInputImage::PixelType itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::InputImagePixelType
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef TInputImage::Pointer itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::InputImagePointer
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef TInputImage::RegionType itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::InputImageRegionType
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef TInputImage::SizeType itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::InputImageSizeType
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef TInputImage itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::InputImageType
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef InternalImageType::PixelType itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::InternalImagePixelType
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef InternalImageType::Pointer itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::InternalImagePointer
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef InternalImageType::RegionType itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::InternalImageRegionType
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef Image< float, itkGetStaticConstMacro(ImageDimension) itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::InternalImageType)
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef MRASlabIdentifier<InputImageType> itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::MRASlabIdentifierType
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef Statistics::NormalVariateGenerator itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::NormalVariateGeneratorType
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef OnePlusOneEvolutionaryOptimizer itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::OptimizerType
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef TOutputImage::IndexType itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::OutputImageIndexType
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef TOutputImage::PixelType itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::OutputImagePixelType
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef TOutputImage::Pointer itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::OutputImagePointer
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef TOutputImage::RegionType itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::OutputImageRegionType
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef TOutputImage::SizeType itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::OutputImageSizeType
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef TOutputImage itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::OutputImageType
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef SmartPointer<Self> itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::Pointer
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef MRIBiasFieldCorrectionFilter itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::Self
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef SlabRegionVectorType::iterator itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::SlabRegionVectorIteratorType
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef MRASlabIdentifierType::SlabRegionVectorType itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::SlabRegionVectorType
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::Superclass
|
|
Constructor & Destructor Documentation
template<class TInputImage, class TOutputImage, class TMaskImage> |
itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::MRIBiasFieldCorrectionFilter |
( |
|
) |
[protected] |
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
virtual itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::~MRIBiasFieldCorrectionFilter |
( |
|
) |
[protected, virtual] |
|
Member Function Documentation
template<class TInputImage, class TOutputImage, class TMaskImage> |
void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::AdjustSlabRegions |
( |
SlabRegionVectorType & |
slabs, |
|
|
OutputImageRegionType |
requestedRegion |
|
) |
[protected] |
|
|
Find overlapping regions between the slab regions and the output image's requested region. And then replace the original slab regions with the resulting overlapping regions. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
bool itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::CheckMaskImage |
( |
ImageMaskPointer |
mask |
) |
[protected] |
|
|
Checks if the mask image's dimensionality and size matches with those of the input image |
template<class TInputImage, class TOutputImage, class TMaskImage> |
void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::CorrectImage |
( |
BiasFieldType * |
bias, |
|
|
InputImageRegionType |
region |
|
) |
|
|
|
Correct the internal image using the bias field estimate created by EstimateBiasField() member function and the internal image data that are in the specified region. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::CorrectInterSliceIntensityInhomogeneity |
( |
InputImageRegionType |
region |
) |
|
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::EstimateBiasField |
( |
BiasFieldType * |
bias, |
|
|
InputImageRegionType |
region |
|
) |
|
|
|
Optimizes the bias field only using the image data that are in the specified region. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::ExpImage |
( |
InternalImagePointer |
source, |
|
|
InternalImagePointer |
target |
|
) |
[protected] |
|
|
Converts image data from source to target applying exp(pixel) - 1 to all pixels. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::GenerateData |
( |
|
) |
[protected, virtual] |
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
virtual int itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::GetBiasFieldDegree |
( |
|
) |
[virtual] |
|
|
Set/Get the degree of the bias field estimate. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
virtual BiasFieldType::DomainSizeType itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::GetBiasFieldDomainSize |
( |
|
) |
[virtual] |
|
|
Get the bias field domain size. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::GetBiasFieldSize |
( |
InputImageRegionType |
region, |
|
|
BiasFieldType::DomainSizeType & |
domainSize |
|
) |
[protected] |
|
|
Converts ImageRegion type (region) to DomainSize type (std::vector) NOTE: if the size of the last dimension of the image region is one, then the dimension of the resulting domain size will be one less than that of he image region |
template<class TInputImage, class TOutputImage, class TMaskImage> |
virtual const char* itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::GetClassName |
( |
|
) |
const [virtual] |
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
virtual BiasFieldType::CoefficientArrayType itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::GetEstimatedBiasFieldCoefficients |
( |
|
) |
[virtual] |
|
|
Get the result bias field coefficients after the bias field estimation (does not apply to the inter-slice intensity correction) |
template<class TInputImage, class TOutputImage, class TMaskImage> |
virtual ImageMaskType* itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::GetInputMask |
( |
|
) |
[virtual] |
|
|
Set/Get the input mask image pointer Without this mask, this filter calculates the energy value using all pixels in the input image. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
virtual int itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::GetInterSliceCorrectionMaximumIteration |
( |
|
) |
[virtual] |
|
|
Set/Get the maximum iteration termination condition parameter. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
virtual int itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::GetNoOfBiasFieldCoefficients |
( |
|
) |
[virtual] |
|
|
Gets the number of the bias field coefficients. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
virtual double itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::GetOptimizerGrowthFactor |
( |
|
) |
[virtual] |
|
|
Set/Get the search radius grow factor. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
double itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::GetOptimizerInitialRadius |
( |
|
) |
[inline] |
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
virtual double itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::GetOptimizerShrinkFactor |
( |
|
) |
[virtual] |
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
virtual ImageMaskType* itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::GetOutputMask |
( |
|
) |
[virtual] |
|
|
Gets the output mask image pointer. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
virtual int itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::GetVolumeCorrectionMaximumIteration |
( |
|
) |
[virtual] |
|
|
Set/Get the maximum iteration termination condition parameter. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::Initialize |
( |
|
) |
throw (ExceptionObject) |
|
|
Initializes the energy function object and optimizer objects and creates the internal image object copying the input image data to it. Also, if the bias field is multiplicative, applies logarithm to pixel intensity values, tissue classes' statistics values and the optimizer's initial radius NOTE: If the tissue class statistics values (mean and sigma values) then it will throw exception. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
bool itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::IsBiasFieldMultiplicative |
( |
|
) |
[inline] |
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::IsBiasFieldMultiplicative |
( |
bool |
flag |
) |
[inline] |
|
|
If you set this true, this filter assumes the bias field is multiplicative and internally uses log intensity values for every calculation.
Definition at line 281 of file itkMRIBiasFieldCorrectionFilter.h. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::itkStaticConstMacro |
( |
ImageDimension |
, |
|
|
unsigned |
int, |
|
|
TOutputImage::ImageDimension |
|
|
) |
|
|
|
The dimension of the image. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::Log1PImage |
( |
InternalImagePointer |
source, |
|
|
InternalImagePointer |
target |
|
) |
[protected] |
|
|
Converts image data from source to target applying log(pixel + 1) to all pixels. If the source pixel has negative value, it sets the value of the corresponding pixel in the targe image as zero. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
Pointer itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::New |
( |
|
) |
[static] |
|
|
Method for creation through the object factory.
Reimplemented from itk::Object. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
virtual void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::SetBiasFieldDegree |
( |
int |
_arg |
) |
[virtual] |
|
|
Set/Get the degree of the bias field estimate. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
virtual void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::SetGeneratingOutput |
( |
bool |
_arg |
) |
[virtual] |
|
|
Sets the flag, If the flag is true, the output image (corrected image) will be created when this filter is updated. default - true |
template<class TInputImage, class TOutputImage, class TMaskImage> |
void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::SetInitialBiasFieldCoefficients |
( |
const BiasFieldType::CoefficientArrayType & |
coefficients |
) |
[inline] |
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::SetInputMask |
( |
ImageMaskPointer |
inputMask |
) |
|
|
|
Set/Get the input mask image pointer Without this mask, this filter calculates the energy value using all pixels in the input image. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
virtual void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::SetInterSliceCorrectionMaximumIteration |
( |
int |
_arg |
) |
[virtual] |
|
|
Set/Get the maximum iteration termination condition parameter. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
virtual void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::SetOptimizerGrowthFactor |
( |
double |
_arg |
) |
[virtual] |
|
|
Set/Get the search radius grow factor. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::SetOptimizerInitialRadius |
( |
double |
initRadius |
) |
[inline] |
|
template<class TInputImage, class TOutputImage, class TMaskImage> |
virtual void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::SetOptimizerShrinkFactor |
( |
double |
_arg |
) |
[virtual] |
|
|
Set/Get the search radius shrink factor. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::SetOutputMask |
( |
ImageMaskPointer |
outputMask |
) |
|
|
|
Sets the out mask image pointer. Without this mask, this filter corrects every pixel in the input image. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
virtual void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::SetSlicingDirection |
( |
int |
_arg |
) |
[virtual] |
|
|
Sets the direction of slicing. 0 - x axis, 1 - y axis, 2 - z axis |
template<class TInputImage, class TOutputImage, class TMaskImage> |
void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::SetTissueClassStatistics |
( |
const Array< double > & |
means, |
|
|
const Array< double > & |
sigmas |
|
) |
throw (ExceptionObject) |
|
|
Set the tissue class statistics for energy function initialization If the numbers of elements in the means and the sigmas are not equal it will throw exception |
template<class TInputImage, class TOutputImage, class TMaskImage> |
virtual void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::SetUsingBiasFieldCorrection |
( |
bool |
_arg |
) |
[virtual] |
|
|
Set the bias correction flag. If the flag is true, bias field correction runs. This flag sounds odd. But if users want to use only the inter-slice intensity correction without actual bias correction, disabling bias field correction would be an useful option. default - true. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
virtual void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::SetUsingInterSliceIntensityCorrection |
( |
bool |
_arg |
) |
[virtual] |
|
|
Sets the intensity correction flag. if the flag is true, inter-slice intensity correction will be applied before bias field correction. default - true (3D input image), false (2D input image). |
template<class TInputImage, class TOutputImage, class TMaskImage> |
virtual void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::SetUsingSlabIdentification |
( |
bool |
_arg |
) |
[virtual] |
|
|
Sets the slab correction flag. If the flag is true, inter-slice intensity correction and bias field correction will be performed slab by slab which is identified by the slab identifier. default - false NOTE: if users want to slab identification, all the input image data should be buffered. |
template<class TInputImage, class TOutputImage, class TMaskImage> |
virtual void itk::MRIBiasFieldCorrectionFilter< TInputImage, TOutputImage, TMaskImage >::SetVolumeCorrectionMaximumIteration |
( |
int |
_arg |
) |
[virtual] |
|
|
Set/Get the maximum iteration termination condition parameter. |
The documentation for this class was generated from the following file:
Generated at Fri May 21 01:47:21 2004 for ITK by
1.2.15 written by Dimitri van Heesch,
© 1997-2000