ITK
4.8.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.
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 |
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 |
itk::RegionCompetitionImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::EqualityComparable< OutputImagePixelType > | ) |
Begin concept checking This class requires OutputEqualityComparableCheck in the form of (Concept::EqualityComparable<OutputImagePixelType>)
itk::RegionCompetitionImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::EqualityComparable< InputImagePixelType > | ) |
This class requires InputEqualityComparableCheck in the form of (Concept::EqualityComparable<InputImagePixelType>)
itk::RegionCompetitionImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::Convertible< InputImagePixelType, OutputImagePixelType > | ) |
This class requires InputConvertibleToOutputCheck in the form of (Concept::Convertible<InputImagePixelType, OutputImagePixelType>)
itk::RegionCompetitionImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::SameDimension< InputImageDimension, OutputImageDimension > | ) |
This class requires SameDimensionCheck in the form of (Concept::SameDimension<InputImageDimension, OutputImageDimension>)
itk::RegionCompetitionImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::Convertible< int, InputImagePixelType > | ) |
This class requires IntConvertibleToInputCheck in the form of (Concept::Convertible<int, InputImagePixelType>)
itk::RegionCompetitionImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::OStreamWritable< OutputImagePixelType > | ) |
This class requires OutputOStreamWritableCheck in the form of (Concept::OStreamWritable<OutputImagePixelType>)
|
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.