Seg3D
2.4
Seg3D is a free volume segmentation and processing tool developed by the NIH Center for Integrative Biomedical Computing at the University of Utah Scientific Computing and Imaging (SCI) Institute.
|
Compute min. max, variance and mean of an Image. More...
#include <itkStatisticsImageFilterWithMask.h>
Public Types | |
typedef StatisticsImageFilterWithMask | Self |
typedef ImageToImageFilter< TInputImage, TInputImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage::Pointer | InputImagePointer |
typedef TInputImage::RegionType | RegionType |
typedef TInputImage::SizeType | SizeType |
typedef TInputImage::IndexType | IndexType |
typedef TInputImage::PixelType | PixelType |
typedef TInputImage::PointType | PointType |
typedef NumericTraits< PixelType >::RealType | RealType |
typedef DataObject::Pointer | DataObjectPointer |
typedef SimpleDataObjectDecorator< RealType > | RealObjectType |
typedef SimpleDataObjectDecorator< PixelType > | PixelObjectType |
typedef SpatialObject< TInputImage::ImageDimension > | ImageMaskType |
typedef ImageMaskType::Pointer | ImageMaskPointer |
Public Member Functions | |
itkNewMacro (Self) | |
itkTypeMacro (StatisticsImageFilterWithMask, ImageToImageFilter) | |
itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension) | |
itkSetObjectMacro (ImageMask, ImageMaskType) | |
itkGetConstObjectMacro (ImageMask, ImageMaskType) | |
PixelType | GetMinimum () const |
PixelObjectType * | GetMinimumOutput () |
const PixelObjectType * | GetMinimumOutput () const |
PixelType | GetMaximum () const |
PixelObjectType * | GetMaximumOutput () |
const PixelObjectType * | GetMaximumOutput () const |
RealType | GetMean () const |
RealObjectType * | GetMeanOutput () |
const RealObjectType * | GetMeanOutput () const |
RealType | GetSigma () const |
RealObjectType * | GetSigmaOutput () |
const RealObjectType * | GetSigmaOutput () const |
RealType | GetVariance () const |
RealObjectType * | GetVarianceOutput () |
const RealObjectType * | GetVarianceOutput () const |
RealType | GetSum () const |
RealObjectType * | GetSumOutput () |
const RealObjectType * | GetSumOutput () const |
virtual DataObjectPointer | MakeOutput (unsigned int idx) |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | AllocateOutputs () |
void | BeforeThreadedGenerateData () |
void | AfterThreadedGenerateData () |
void | ThreadedGenerateData (const RegionType &outputRegionForThread, ThreadIdType threadId) |
void | GenerateInputRequestedRegion () |
void | EnlargeOutputRequestedRegion (DataObject *data) |
Compute min. max, variance and mean of an Image.
StatisticsImageFilterWithMask computes the minimum, maximum, sum, mean, variance sigma of an image. The filter needs all of its input image. It behaves as a filter with an input and output. Thus it can be inserted in a pipline with other filters and the statistics will only be recomputed if a downstream filter changes.
The filter passes its input through unmodified. The filter is threaded. It computes statistics in each thread then combines them in its AfterThreadedGenerate method.
typedef DataObject::Pointer itk::StatisticsImageFilterWithMask< TInputImage >::DataObjectPointer |
Smart Pointer type to a DataObject.
typedef SpatialObject<TInputImage::ImageDimension> itk::StatisticsImageFilterWithMask< TInputImage >::ImageMaskType |
Type for the mask of the fixed image. Only pixels that are "inside" this mask will be considered for the computation of the metric
typedef TInputImage::Pointer itk::StatisticsImageFilterWithMask< TInputImage >::InputImagePointer |
Image related typedefs.
typedef SimpleDataObjectDecorator<RealType> itk::StatisticsImageFilterWithMask< TInputImage >::RealObjectType |
Type of DataObjects used for scalar outputs
typedef NumericTraits<PixelType>::RealType itk::StatisticsImageFilterWithMask< TInputImage >::RealType |
Type to use for computations.
typedef StatisticsImageFilterWithMask itk::StatisticsImageFilterWithMask< TInputImage >::Self |
Standard Self typedef
|
protected |
Do final mean and variance computation from data accumulated in threads.
|
protected |
Pass the input through unmodified. Do this by Grafting in the AllocateOutputs method.
|
protected |
Initialize some accumulators before the threads run.
|
inline |
Return the computed Maximum.
|
inline |
Return the computed Mean.
|
inline |
Return the computed Minimum.
|
inline |
Return the computed Standard Deviation.
|
inline |
Return the compute Sum.
|
inline |
Return the computed Variance.
itk::StatisticsImageFilterWithMask< TInputImage >::itkNewMacro | ( | Self | ) |
Method for creation through the object factory.
itk::StatisticsImageFilterWithMask< TInputImage >::itkSetObjectMacro | ( | ImageMask | , |
ImageMaskType | |||
) |
Set/Get the image mask.
itk::StatisticsImageFilterWithMask< TInputImage >::itkStaticConstMacro | ( | ImageDimension | , |
unsigned | int, | ||
TInputImage::ImageDimension | |||
) |
Image related typedefs.
itk::StatisticsImageFilterWithMask< TInputImage >::itkTypeMacro | ( | StatisticsImageFilterWithMask< TInputImage > | , |
ImageToImageFilter | |||
) |
Runtime information support.
|
virtual |
Make a DataObject of the correct type to be used as the specified output.
|
protected |
Multi-thread version GenerateData.