ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkImageToNeighborhoodSampleAdaptor.h>
Classes | |
class | ConstIterator |
Const Iterator
. More... | |
class | Iterator |
Iterator
. More... |
Static Public Member Functions | |
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 () | |
virtual | ~ListSample () |
Protected Member Functions inherited from itk::Statistics::Sample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > > | |
Sample () | |
virtual | ~Sample () |
Protected Member Functions inherited from itk::DataObject | |
virtual void | PropagateResetPipeline () |
DataObject () | |
~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 &) |
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.
typedef Superclass::AbsoluteFrequencyType itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::AbsoluteFrequencyType |
Frequency value type
Reimplemented from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
Definition at line 100 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef SmartPointer<const Self> itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::ConstPointer |
Reimplemented from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
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 |
InstanceIdentifier typedef. This identifier is a unique sequential id for each measurement vector in a Sample subclass.
Reimplemented from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
Definition at line 103 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef ValueType itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::MeasurementType |
ValueType of a measurement (ValueType of a component of the MeasurementVector
Reimplemented from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
Definition at line 98 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef Superclass::MeasurementVectorSizeType itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::MeasurementVectorSizeType |
Typedef for the length of each measurement vector
Reimplemented from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
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
Reimplemented from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
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 |
Reimplemented from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
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
Reimplemented from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
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 |
Reimplemented from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
Definition at line 60 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef Superclass::TotalAbsoluteFrequencyType itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::TotalAbsoluteFrequencyType |
Total frequency type
Reimplemented from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
Definition at line 101 of file itkImageToNeighborhoodSampleAdaptor.h.
typedef MeasurementVectorType::value_type itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::ValueType |
Value type of a measurement (component of the measurement vector)
Reimplemented from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
Definition at line 97 of file itkImageToNeighborhoodSampleAdaptor.h.
|
protected |
|
inlineprotectedvirtual |
Definition at line 307 of file itkImageToNeighborhoodSampleAdaptor.h.
|
private |
|
inline |
returns an iterator that points to the beginning of the container
Reimplemented from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
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
Reimplemented from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
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::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
|
inline |
returns an iterator that points to the end of the container
Reimplemented from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
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
Reimplemented from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
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
Reimplemented from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
const TImage* itk::Statistics::ImageToNeighborhoodSampleAdaptor< TImage, TBoundaryCondition >::GetImage | ( | ) | const |
Method to get the image
|
virtual |
method to return measurement vector for a specified id
Reimplemented from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
|
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
Reimplemented from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
|
virtual |
Method to get UseImageRegion flag
|
static |
Method for creation through the object factory.
Reimplemented from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
|
private |
|
protectedvirtual |
Method for grafting the content of one data object into another one. This method is intended to be overloaded by derived classes. Each one of them should use dynamic_casting in order to verify that the grafted object is actually of the same type as the class on which the Graft() method was invoked.
Reimplemented from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
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
Reimplemented from itk::Statistics::ListSample< std::vector< ConstNeighborhoodIterator< TImage, TBoundaryCondition > > >.
|
virtual |
|
virtual |
Convenience methods to turn on/off the UseImageRegion flag
|
private |
Definition at line 314 of file itkImageToNeighborhoodSampleAdaptor.h.
|
mutableprivate |
Definition at line 316 of file itkImageToNeighborhoodSampleAdaptor.h.
|
mutableprivate |
Definition at line 315 of file itkImageToNeighborhoodSampleAdaptor.h.
|
mutableprivate |
Definition at line 317 of file itkImageToNeighborhoodSampleAdaptor.h.
|
private |
Definition at line 321 of file itkImageToNeighborhoodSampleAdaptor.h.
|
private |
Definition at line 318 of file itkImageToNeighborhoodSampleAdaptor.h.
|
private |
Definition at line 319 of file itkImageToNeighborhoodSampleAdaptor.h.
|
private |
Definition at line 320 of file itkImageToNeighborhoodSampleAdaptor.h.