Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::Statistics::NeighborhoodSampler< TSample > Class Template Reference

generates a Subsample that is sampled from the input sample using a spherical kernel. More...

#include <itkNeighborhoodSampler.h>

Inheritance diagram for itk::Statistics::NeighborhoodSampler:

Inheritance graph
[legend]
Collaboration diagram for itk::Statistics::NeighborhoodSampler< TSample >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef NeighborhoodSampler Self
typedef SampleAlgorithmBase<
TSample > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TSample SampleType
typedef TSample::MeasurementVectorType MeasurementVectorType
typedef TSample::MeasurementType MeasurementType
typedef TSample::FrequencyType FrequencyType
typedef TSample::InstanceIdentifier InstanceIdentifier
typedef Superclass::InputSampleType InputSampleType
typedef Subsample< TSample > SubsampleType
typedef double RadiusType
typedef FixedArray< double,
itkGetStaticConstMacro(MeasurementVectorSize) 
CenterType )
typedef SubsampleType OutputType

Public Methods

virtual const char * GetClassName () const
 itkStaticConstMacro (MeasurementVectorSize, unsigned int, TSample::MeasurementVectorSize)
CenterTypeGetCenter ()
RadiusTypeGetRadius ()
OutputTypeGetOutput ()
void SetCenter (CenterType *center)
void SetRadius (RadiusType *radius)

Static Public Methods

Pointer New ()

Protected Methods

 NeighborhoodSampler ()
virtual ~NeighborhoodSampler ()
virtual void PrintSelf (std::ostream &os, Indent indent) const
void GenerateData ()

Detailed Description

template<class TSample>
class itk::Statistics::NeighborhoodSampler< TSample >

generates a Subsample that is sampled from the input sample using a spherical kernel.

The resulting Subsample has measurement vectors that falls in a hyper-sphere that is defined by a center and a radius. To set the center, use SetCenter method, and to set radius, use SetRadius method. The distance metric is Euclidean one.

Definition at line 41 of file itkNeighborhoodSampler.h.


Member Typedef Documentation

template<class TSample>
typedef FixedArray< double, itkGetStaticConstMacro(MeasurementVectorSize) itk::Statistics::NeighborhoodSampler< TSample >::CenterType)
 

Type of the array of the radii

Definition at line 77 of file itkNeighborhoodSampler.h.

template<class TSample>
typedef SmartPointer< const Self > itk::Statistics::NeighborhoodSampler< TSample >::ConstPointer
 

Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >.

Definition at line 48 of file itkNeighborhoodSampler.h.

template<class TSample>
typedef TSample::FrequencyType itk::Statistics::NeighborhoodSampler< TSample >::FrequencyType
 

Definition at line 64 of file itkNeighborhoodSampler.h.

template<class TSample>
typedef Superclass::InputSampleType itk::Statistics::NeighborhoodSampler< TSample >::InputSampleType
 

typedefs from the superclass

Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >.

Definition at line 68 of file itkNeighborhoodSampler.h.

template<class TSample>
typedef TSample::InstanceIdentifier itk::Statistics::NeighborhoodSampler< TSample >::InstanceIdentifier
 

Definition at line 65 of file itkNeighborhoodSampler.h.

template<class TSample>
typedef TSample::MeasurementType itk::Statistics::NeighborhoodSampler< TSample >::MeasurementType
 

Definition at line 63 of file itkNeighborhoodSampler.h.

template<class TSample>
typedef TSample::MeasurementVectorType itk::Statistics::NeighborhoodSampler< TSample >::MeasurementVectorType
 

Definition at line 62 of file itkNeighborhoodSampler.h.

template<class TSample>
typedef SubsampleType itk::Statistics::NeighborhoodSampler< TSample >::OutputType
 

Output of this algorithm

Definition at line 110 of file itkNeighborhoodSampler.h.

template<class TSample>
typedef SmartPointer< Self > itk::Statistics::NeighborhoodSampler< TSample >::Pointer
 

Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >.

Definition at line 47 of file itkNeighborhoodSampler.h.

template<class TSample>
typedef double itk::Statistics::NeighborhoodSampler< TSample >::RadiusType
 

Type of the array of the radii

Definition at line 74 of file itkNeighborhoodSampler.h.

template<class TSample>
typedef TSample itk::Statistics::NeighborhoodSampler< TSample >::SampleType
 

MeasurementVector typedef support

Definition at line 57 of file itkNeighborhoodSampler.h.

template<class TSample>
typedef NeighborhoodSampler itk::Statistics::NeighborhoodSampler< TSample >::Self
 

Standard class typedefs

Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >.

Definition at line 45 of file itkNeighborhoodSampler.h.

template<class TSample>
typedef Subsample< TSample > itk::Statistics::NeighborhoodSampler< TSample >::SubsampleType
 

Type of the output subsample object

Definition at line 71 of file itkNeighborhoodSampler.h.

template<class TSample>
typedef SampleAlgorithmBase< TSample > itk::Statistics::NeighborhoodSampler< TSample >::Superclass
 

Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >.

Definition at line 46 of file itkNeighborhoodSampler.h.


Constructor & Destructor Documentation

template<class TSample>
itk::Statistics::NeighborhoodSampler< TSample >::NeighborhoodSampler   [protected]
 

template<class TSample>
virtual itk::Statistics::NeighborhoodSampler< TSample >::~NeighborhoodSampler   [inline, protected, virtual]
 

Definition at line 117 of file itkNeighborhoodSampler.h.

References HardConnectedComponentImageFilter::GenerateData().


Member Function Documentation

template<class TSample>
void itk::Statistics::NeighborhoodSampler< TSample >::GenerateData   [protected, virtual]
 

Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >.

template<class TSample>
CenterType* itk::Statistics::NeighborhoodSampler< TSample >::GetCenter void    [inline]
 

Gets the center

Definition at line 91 of file itkNeighborhoodSampler.h.

template<class TSample>
virtual const char* itk::Statistics::NeighborhoodSampler< TSample >::GetClassName   const [virtual]
 

Run-time type information (and related methods)

Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >.

template<class TSample>
OutputType* itk::Statistics::NeighborhoodSampler< TSample >::GetOutput  
 

Gets the Subsample

template<class TSample>
RadiusType* itk::Statistics::NeighborhoodSampler< TSample >::GetRadius   [inline]
 

Gets the radius

Definition at line 106 of file itkNeighborhoodSampler.h.

template<class TSample>
itk::Statistics::NeighborhoodSampler< TSample >::itkStaticConstMacro MeasurementVectorSize   ,
unsigned    int,
TSample::MeasurementVectorSize   
 

Enums and typedefs from the TSample

template<class TSample>
Pointer itk::Statistics::NeighborhoodSampler< TSample >::New   [static]
 

Method for creation through the object factory.

Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >.

template<class TSample>
virtual void itk::Statistics::NeighborhoodSampler< TSample >::PrintSelf std::ostream &    os,
Indent    indent
const [protected, virtual]
 

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::Statistics::SampleAlgorithmBase< TSample >.

template<class TSample>
void itk::Statistics::NeighborhoodSampler< TSample >::SetCenter CenterType   center [inline]
 

Sets the center of the spherical kernel

Definition at line 80 of file itkNeighborhoodSampler.h.

template<class TSample>
void itk::Statistics::NeighborhoodSampler< TSample >::SetRadius RadiusType   radius [inline]
 

Sets the radius of the kernel

Definition at line 95 of file itkNeighborhoodSampler.h.


The documentation for this class was generated from the following file:
Generated at Wed Mar 12 01:22:49 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000