ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkRegionCompetitionImageFilter.h>
Perform front-propagation from different starting labeled regions.
The filter expects two inputs: One gray-scale image and a labeled image. The labels will be used as initial regions from which the fronts will be propagated until they collide with other labeled regions. Each labeled front will compete for pixels against other labels.
Definition at line 41 of file itkRegionCompetitionImageFilter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::IndexType | IndexType |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef InputImageType::SizeType | InputSizeType |
typedef InputImageType::OffsetValueType | OffsetValueType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef RegionCompetitionImageFilter | Self |
typedef ImageToImageFilter < TInputImage, TOutputImage > | Superclass |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef SmartPointer< Self > | Pointer |
typedef ImageToImageFilter | Self |
typedef ImageSource< TOutputImage > | Superclass |
Public Types inherited from itk::ImageSource< TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef ImageSource | Self |
typedef ProcessObject | Superclass |
Public Types inherited from itk::ProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
typedef MultiThreader | MultiThreaderType |
typedef std::vector < DataObjectIdentifierType > | NameArray |
typedef SmartPointer< Self > | Pointer |
typedef ProcessObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Types | |
typedef itk::Neighborhood < InputImagePixelType, InputImageDimension > | NeighborhoodType |
typedef std::vector < OffsetValueType > | NeighborOffsetArrayType |
typedef std::vector< IndexType > | SeedArrayType |
typedef SeedMaskImageType::Pointer | SeedMaskImagePointer |
typedef itk::Image< unsigned char, InputImageDimension > | SeedMaskImageType |
typedef std::vector < OutputImagePixelType > | SeedNewValuesArrayType |
Private Member Functions | |
void | AllocateFrontsWorkingMemory () |
void | AllocateOutputImageWorkingMemory () |
void | ClearSecondSeedArray () |
void | ComputeArrayOfNeighborhoodBufferOffsets () |
void | ComputeBirthThreshold () |
void | ComputeNumberOfInputLabels () |
void | FindAllPixelsInTheBoundaryAndAddThemAsSeeds () |
virtual const IndexType & | GetCurrentPixelIndex () const |
void | InitializeNeighborhood () |
void | IterateFrontPropagations () |
void | operator= (const Self &) |
void | PasteNewSeedValuesToOutputImage () |
void | PutCurrentPixelNeighborsIntoSeedArray () |
RegionCompetitionImageFilter (const Self &) | |
virtual void | SetCurrentPixelIndex (IndexType _arg) |
void | SwapSeedArrays () |
bool | TestForAvailabilityAtCurrentPixel () const |
void | VisitAllSeedsAndTransitionTheirState () |
Private Attributes | |
unsigned int | m_CurrentIterationNumber |
IndexType | m_CurrentPixelIndex |
const InputImageType * | m_InputImage |
const OutputImageType * | m_inputLabelsImage |
InputImageRegionType | m_InternalRegion |
unsigned int | m_MaximumNumberOfIterations |
NeighborOffsetArrayType | m_NeighborBufferOffset |
NeighborhoodType | m_Neighborhood |
unsigned int | m_NumberOfLabels |
unsigned int | m_NumberOfPixelsChangedInLastIteration |
OffsetValueType | m_OffsetTable [InputImageDimension+1] |
OutputImageType * | m_OutputImage |
SeedArrayType * | m_SeedArray1 |
SeedArrayType * | m_SeedArray2 |
SeedMaskImagePointer | m_SeedsMask |
SeedNewValuesArrayType * | m_SeedsNewValues |
unsigned int | m_TotalNumberOfPixelsChanged |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer<const Self> itk::RegionCompetitionImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 49 of file itkRegionCompetitionImageFilter.h.
typedef InputImageType::IndexType itk::RegionCompetitionImageFilter< TInputImage, TOutputImage >::IndexType |
Definition at line 63 of file itkRegionCompetitionImageFilter.h.
typedef InputImageType::ConstPointer itk::RegionCompetitionImageFilter< TInputImage, TOutputImage >::InputImageConstPointer |
Definition at line 59 of file itkRegionCompetitionImageFilter.h.
typedef InputImageType::PixelType itk::RegionCompetitionImageFilter< TInputImage, TOutputImage >::InputImagePixelType |
Definition at line 62 of file itkRegionCompetitionImageFilter.h.
typedef InputImageType::Pointer itk::RegionCompetitionImageFilter< TInputImage, TOutputImage >::InputImagePointer |
Definition at line 58 of file itkRegionCompetitionImageFilter.h.
typedef InputImageType::RegionType itk::RegionCompetitionImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Definition at line 60 of file itkRegionCompetitionImageFilter.h.
typedef TInputImage itk::RegionCompetitionImageFilter< TInputImage, TOutputImage >::InputImageType |
Definition at line 55 of file itkRegionCompetitionImageFilter.h.
typedef InputImageType::SizeType itk::RegionCompetitionImageFilter< TInputImage, TOutputImage >::InputSizeType |
Definition at line 61 of file itkRegionCompetitionImageFilter.h.
|
private |
Definition at line 189 of file itkRegionCompetitionImageFilter.h.
|
private |
Definition at line 172 of file itkRegionCompetitionImageFilter.h.
typedef InputImageType::OffsetValueType itk::RegionCompetitionImageFilter< TInputImage, TOutputImage >::OffsetValueType |
Definition at line 64 of file itkRegionCompetitionImageFilter.h.
typedef OutputImageType::PixelType itk::RegionCompetitionImageFilter< TInputImage, TOutputImage >::OutputImagePixelType |
Definition at line 69 of file itkRegionCompetitionImageFilter.h.
typedef OutputImageType::Pointer itk::RegionCompetitionImageFilter< TInputImage, TOutputImage >::OutputImagePointer |
Definition at line 67 of file itkRegionCompetitionImageFilter.h.
typedef OutputImageType::RegionType itk::RegionCompetitionImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Definition at line 68 of file itkRegionCompetitionImageFilter.h.
typedef TOutputImage itk::RegionCompetitionImageFilter< TInputImage, TOutputImage >::OutputImageType |
Definition at line 66 of file itkRegionCompetitionImageFilter.h.
typedef SmartPointer<Self> itk::RegionCompetitionImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 48 of file itkRegionCompetitionImageFilter.h.
|
private |
Definition at line 146 of file itkRegionCompetitionImageFilter.h.
|
private |
Definition at line 185 of file itkRegionCompetitionImageFilter.h.
|
private |
Definition at line 184 of file itkRegionCompetitionImageFilter.h.
|
private |
Definition at line 155 of file itkRegionCompetitionImageFilter.h.
typedef RegionCompetitionImageFilter itk::RegionCompetitionImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 46 of file itkRegionCompetitionImageFilter.h.
typedef ImageToImageFilter<TInputImage,TOutputImage> itk::RegionCompetitionImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 47 of file itkRegionCompetitionImageFilter.h.
|
protected |
Begin concept checking End concept checking
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
private |
|
protectedvirtual |
A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.
Reimplemented from itk::ImageSource< TOutputImage >.
|
virtual |
Returned the number of iterations used so far.
|
privatevirtual |
|
virtual |
Set/Get the maximum number of iterations that will be applied to the propagating front
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Returned the number of pixels changed in total.
|
private |
|
private |
|
static |
Method for creation through the object factory.
|
private |
|
private |
|
protectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
private |
|
privatevirtual |
void itk::RegionCompetitionImageFilter< TInputImage, TOutputImage >::SetInputLabels | ( | const TOutputImage * | inputLabelImage | ) |
Input Labels
|
virtual |
Set/Get the maximum number of iterations that will be applied to the propagating front
|
private |
|
private |
|
private |
|
static |
Image dimension constants
Definition at line 73 of file itkRegionCompetitionImageFilter.h.
|
private |
Definition at line 159 of file itkRegionCompetitionImageFilter.h.
|
private |
Definition at line 164 of file itkRegionCompetitionImageFilter.h.
|
private |
Definition at line 180 of file itkRegionCompetitionImageFilter.h.
|
private |
Definition at line 181 of file itkRegionCompetitionImageFilter.h.
|
private |
Definition at line 153 of file itkRegionCompetitionImageFilter.h.
|
private |
Definition at line 160 of file itkRegionCompetitionImageFilter.h.
|
private |
Definition at line 174 of file itkRegionCompetitionImageFilter.h.
|
private |
Definition at line 191 of file itkRegionCompetitionImageFilter.h.
|
mutableprivate |
Definition at line 193 of file itkRegionCompetitionImageFilter.h.
|
private |
Definition at line 161 of file itkRegionCompetitionImageFilter.h.
|
private |
Definition at line 170 of file itkRegionCompetitionImageFilter.h.
|
private |
Definition at line 182 of file itkRegionCompetitionImageFilter.h.
|
private |
Definition at line 150 of file itkRegionCompetitionImageFilter.h.
|
private |
Definition at line 151 of file itkRegionCompetitionImageFilter.h.
|
private |
Definition at line 187 of file itkRegionCompetitionImageFilter.h.
|
private |
Definition at line 157 of file itkRegionCompetitionImageFilter.h.
|
private |
Definition at line 162 of file itkRegionCompetitionImageFilter.h.
|
static |
Image dimension constants
Definition at line 74 of file itkRegionCompetitionImageFilter.h.