NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Public Types | |
typedef UCLLabelVotingImageFilter | Self |
typedef ImageToImageFilter < TInputImage, TOutputImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TOutputImage::PixelType | OutputPixelType |
typedef TInputImage::PixelType | InputPixelType |
typedef TInputImage | InputImageType |
typedef TOutputImage | OutputImageType |
typedef InputImageType::ConstPointer | InputImagePointer |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
Public Member Functions | |
virtual const char * | GetClassName () const |
itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension) | |
itkStaticConstMacro (ImageDimension, unsigned int, TOutputImage::ImageDimension) | |
virtual void | SetLabelForUndecidedPixels (const OutputPixelType l) |
virtual OutputPixelType | GetLabelForUndecidedPixels () const |
virtual void | UnsetLabelForUndecidedPixels () |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
UCLLabelVotingImageFilter () | |
virtual | ~UCLLabelVotingImageFilter () |
virtual InputPixelType | ComputeMaximumInputValue () |
virtual void | BeforeThreadedGenerateData () |
virtual void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) |
Protected Attributes | |
OutputPixelType | m_LabelForUndecidedPixels |
bool | m_HasLabelForUndecidedPixels |
InputPixelType | m_TotalLabelCount |
UCLLabelVotingImageFilter: just copied from LabelVotingImageFilter with added option to pick a random label when votes are equal.
typedef SmartPointer<const Self> itk::UCLLabelVotingImageFilter< TInputImage, TOutputImage >::ConstPointer |
typedef InputImageType::ConstPointer itk::UCLLabelVotingImageFilter< TInputImage, TOutputImage >::InputImagePointer |
typedef TInputImage itk::UCLLabelVotingImageFilter< TInputImage, TOutputImage >::InputImageType |
Image typedef support
typedef TInputImage::PixelType itk::UCLLabelVotingImageFilter< TInputImage, TOutputImage >::InputPixelType |
typedef OutputImageType::Pointer itk::UCLLabelVotingImageFilter< TInputImage, TOutputImage >::OutputImagePointer |
typedef Superclass::OutputImageRegionType itk::UCLLabelVotingImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Superclass typedefs.
typedef TOutputImage itk::UCLLabelVotingImageFilter< TInputImage, TOutputImage >::OutputImageType |
typedef TOutputImage::PixelType itk::UCLLabelVotingImageFilter< TInputImage, TOutputImage >::OutputPixelType |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
typedef SmartPointer<Self> itk::UCLLabelVotingImageFilter< TInputImage, TOutputImage >::Pointer |
typedef UCLLabelVotingImageFilter itk::UCLLabelVotingImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::UCLLabelVotingImageFilter< TInputImage, TOutputImage >::Superclass |
|
inlineprotected |
Constructor.
|
inlineprotectedvirtual |
Destructor.
|
protectedvirtual |
House-keeping before going into the threads.
|
protectedvirtual |
Compute the max value in the input images.
|
virtual |
Run-time type information (and related methods)
|
inlinevirtual |
Get label value used for undecided pixels. After updating the filter, this function returns the actual label value used for undecided pixels in the current output. Note that this value is overwritten when SetLabelForUndecidedPixels is called and the new value only becomes effective upon the next filter update.
itk::UCLLabelVotingImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro | ( | InputImageDimension | , |
unsigned | int, | ||
TInputImage::ImageDimension | |||
) |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
itk::UCLLabelVotingImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro | ( | ImageDimension | , |
unsigned | int, | ||
TOutputImage::ImageDimension | |||
) |
|
static |
Method for creation through the object factory.
|
inlinevirtual |
Set label value for undecided pixels.
|
protectedvirtual |
Override to add randomness.
|
inlinevirtual |
Unset label value for undecided pixels and turn on automatic selection.
|
protected |
Used label for decided voxels?
|
protected |
Label for undecided voxels. Use 240 for random label.
|
protected |
Total number of labels.