ITK
4.4.0
Insight Segmentation and Registration Toolkit
|
#include <itkImageToNeighborhoodSampleAdaptor.h>
This class provides ListSample interface to ITK Image.
After calling SetImage( const Image * ) method to plug in the image object, users can use Sample interfaces to access Image neighborhoods. The resulting data are a list of measurement vectors where each measurement vector has one element, an itkConstNeighborhoodIterator.
This class handles images with scalar, fixed array or variable length vector pixel types.
Definition at line 52 of file itkImageToNeighborhoodSampleAdaptor.h.
Classes | |
class | ConstIterator |
class | Iterator |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > > | |
static Pointer | New () |
Protected Member Functions | |
ImageToNeighborhoodSampleAdaptor () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~ImageToNeighborhoodSampleAdaptor () |
Protected Member Functions inherited from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > > | |
ListSample () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~ListSample () |
Protected Member Functions inherited from itk::Statistics::Sample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > > | |
void | PrintSelf (std::ostream &os, Indent indent) const |
Sample () | |
virtual | ~Sample () |
Protected Member Functions inherited from itk::DataObject | |
DataObject () | |
virtual void | PropagateResetPipeline () |
~DataObject () | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Member Functions | |
ImageToNeighborhoodSampleAdaptor (const Self &) | |
void | operator= (const Self &) |
Additional Inherited Members | |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
Protected Attributes inherited from itk::LightObject | |
InternalReferenceCountType | m_ReferenceCount |
SimpleFastMutexLock | m_ReferenceCountLock |
typedef Superclass::AbsoluteFrequencyType itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::AbsoluteFrequencyType |
Definition at line 100 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef SmartPointer<const Self> itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::ConstPointer |
Definition at line 63 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef ImageType::ConstPointer itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::ImageConstPointer |
Definition at line 74 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef ImageRegionIteratorWithIndex< TImage > itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::ImageIteratorType |
Definition at line 83 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef ImageType::Pointer itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::ImagePointer |
Definition at line 73 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef TImage itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::ImageType |
Image typedefs
Definition at line 69 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef ImageType::IndexType itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::IndexType |
Definition at line 75 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef Superclass::InstanceIdentifier itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::InstanceIdentifier |
Definition at line 103 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef ValueType itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::MeasurementType |
Definition at line 98 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef Superclass::MeasurementVectorSizeType itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::MeasurementVectorSizeType |
Definition at line 102 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::MeasurementVectorType |
Superclass typedefs for Measurement vector, measurement, Instance Identifier, frequency, size, size element value
Definition at line 96 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef NeighborhoodIteratorType::IndexType itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::NeighborhoodIndexType |
Definition at line 90 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef ConstNeighborhoodIterator< TImage, TBoundaryCondition > itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::NeighborhoodIteratorType |
Neighborhood Iterator typedef support
Definition at line 86 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef NeighborhoodIteratorType::RadiusType itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::NeighborhoodRadiusType |
Definition at line 89 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef NeighborhoodIteratorType::SizeType itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::NeighborhoodSizeType |
Definition at line 91 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef NeighborhoodIteratorType::NeighborhoodType itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::NeighborhoodType |
Definition at line 88 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef NeighborhoodIterator< TImage, TBoundaryCondition > itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::NonConstNeighborhoodIteratorType |
Definition at line 87 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef RegionType::OffsetTableType itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::OffsetTableType |
Definition at line 81 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef ImageType::OffsetType itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::OffsetType |
Definition at line 76 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef ImageType::OffsetValueType itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::OffsetValueType |
Definition at line 77 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef ImageType::PixelContainerConstPointer itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::PixelContainerConstPointer |
Definition at line 79 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef ImageType::PixelType itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::PixelType |
Definition at line 78 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef SmartPointer< Self > itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::Pointer |
Definition at line 62 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef ImageType::RegionType itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::RegionType |
Definition at line 80 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef ImageToNeighborhoodSampleAdaptor itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::Self |
Standard class typedefs
Definition at line 57 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef ImageType::SizeType itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::SizeType |
Definition at line 82 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > > itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::Superclass |
Definition at line 60 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef Superclass::TotalAbsoluteFrequencyType itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::TotalAbsoluteFrequencyType |
Definition at line 101 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef MeasurementVectorType::value_type itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::ValueType |
Definition at line 97 of file itkImageToNeighborhoodSampleAdaptor.h.
|
protected |
|
inlineprotectedvirtual |
Definition at line 306 of file itkImageToNeighborhoodSampleAdaptor.h.
|
private |
|
inline |
returns an iterator that points to the beginning of the container
Definition at line 264 of file itkImageToNeighborhoodSampleAdaptor.h.
References itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GoToBegin().
Referenced by itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::ConstIterator::ConstIterator().
|
inline |
returns an iterator that points to the beginning of the container
Definition at line 285 of file itkImageToNeighborhoodSampleAdaptor.h.
References itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GoToBegin().
|
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.
|
inline |
returns an iterator that points to the end of the container
Definition at line 274 of file itkImageToNeighborhoodSampleAdaptor.h.
References itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GoToEnd().
|
inline |
returns an iterator that points to the end of the container
Definition at line 295 of file itkImageToNeighborhoodSampleAdaptor.h.
References itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GoToEnd().
AbsoluteFrequencyType itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::GetFrequency | ( | InstanceIdentifier | id | ) | const |
method to return frequency for a specified id
const TImage* itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::GetImage | ( | ) | const |
Method to get the image
|
virtual |
method to return measurement vector for a specified id
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
NeighborhoodRadiusType itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::GetRadius | ( | ) | const |
Method to get the radius
RegionType itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::GetRegion | ( | ) | const |
Method to get the region
|
virtual |
method to return the total frequency
Implements itk::Statistics::Sample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
|
virtual |
Method to get UseImageRegion flag
|
static |
Method for creation through the object factory.
|
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::DataObject.
void itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::SetImage | ( | const TImage * | image | ) |
Method to set the image
void itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::SetRadius | ( | const NeighborhoodRadiusType & | radius | ) |
Method to set the radius
void itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::SetRegion | ( | const RegionType & | region | ) |
Method to set the region
void itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::SetUseImageRegion | ( | const bool & | flag | ) |
|
virtual |
returns the number of measurement vectors in this container
Implements itk::Statistics::Sample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
|
virtual |
|
virtual |
Convenience methods to turn on/off the UseImageRegion flag
|
private |
Definition at line 313 of file itkImageToNeighborhoodSampleAdaptor.h.
|
mutableprivate |
Definition at line 315 of file itkImageToNeighborhoodSampleAdaptor.h.
|
mutableprivate |
Definition at line 314 of file itkImageToNeighborhoodSampleAdaptor.h.
|
mutableprivate |
Definition at line 316 of file itkImageToNeighborhoodSampleAdaptor.h.
|
private |
Definition at line 320 of file itkImageToNeighborhoodSampleAdaptor.h.
|
private |
Definition at line 317 of file itkImageToNeighborhoodSampleAdaptor.h.
|
private |
Definition at line 318 of file itkImageToNeighborhoodSampleAdaptor.h.
|
private |
Definition at line 319 of file itkImageToNeighborhoodSampleAdaptor.h.