ITK
4.4.0
Insight Segmentation and Registration Toolkit
|
#include <itkGaussianRandomSpatialNeighborSubsampler.h>
A subsampler that randomly selects points according to a gaussian distribution within the specified radius of the query point.
This class derives from UniformRandomNeighborSubsampler and overrides the GetIntegerVariate method to randomly select points according to a gaussian distribution within the Radius given by SetRadius(radius) as long as that point is also within the RegionConstraint. Use SetVariance(variance) to provide the variance of the gaussian distribution.
Definition at line 45 of file itkGaussianRandomSpatialNeighborSubsampler.h.
Public Types | |
typedef Superclass::Baseclass | Baseclass |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::ImageHelperType | ImageHelperType |
typedef Superclass::IndexType | IndexType |
typedef Superclass::InstanceIdentifier | InstanceIdentifier |
typedef Superclass::InstanceIdentifierHolder | InstanceIdentifierHolder |
typedef Superclass::MeasurementVectorType | MeasurementVectorType |
typedef SmartPointer< Self > | Pointer |
typedef Superclass::RadiusType | RadiusType |
typedef Superclass::RandomGeneratorType | RandomGeneratorType |
typedef Superclass::RandomIntType | RandomIntType |
typedef double | RealType |
typedef Superclass::RegionType | RegionType |
typedef Superclass::SampleConstPointer | SampleConstPointer |
typedef Superclass::SampleType | SampleType |
typedef Superclass::SearchSizeType | SearchSizeType |
typedef GaussianRandomSpatialNeighborSubsampler < TSample, TRegion > | Self |
typedef Superclass::SizeType | SizeType |
typedef Superclass::SubsampleConstIterator | SubsampleConstIterator |
typedef Superclass::SubsamplePointer | SubsamplePointer |
typedef Superclass::SubsampleType | SubsampleType |
typedef UniformRandomSpatialNeighborSubsampler < TSample, TRegion > | Superclass |
Public Types inherited from itk::Statistics::UniformRandomSpatialNeighborSubsampler< TSample, TRegion > | |
typedef Superclass::Baseclass | Baseclass |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::ImageHelperType | ImageHelperType |
typedef Superclass::IndexType | IndexType |
typedef Superclass::IndexValueType | IndexValueType |
typedef Superclass::InstanceIdentifier | InstanceIdentifier |
typedef Superclass::InstanceIdentifierHolder | InstanceIdentifierHolder |
typedef Superclass::MeasurementVectorType | MeasurementVectorType |
typedef SmartPointer< Self > | Pointer |
typedef Superclass::RadiusType | RadiusType |
typedef itk::Statistics::MersenneTwisterRandomVariateGenerator | RandomGeneratorType |
typedef unsigned int | RandomIntType |
typedef Superclass::RegionType | RegionType |
typedef Superclass::SampleConstPointer | SampleConstPointer |
typedef Superclass::SampleType | SampleType |
typedef unsigned long | SearchSizeType |
typedef Baseclass::SeedType | SeedType |
typedef UniformRandomSpatialNeighborSubsampler < TSample, TRegion > | Self |
typedef Superclass::SizeType | SizeType |
typedef Superclass::SubsampleConstIterator | SubsampleConstIterator |
typedef Superclass::SubsamplePointer | SubsamplePointer |
typedef Superclass::SubsampleType | SubsampleType |
typedef SpatialNeighborSubsampler < TSample, TRegion > | Superclass |
Public Types inherited from itk::Statistics::SpatialNeighborSubsampler< TSample, TRegion > | |
typedef Superclass::Baseclass | Baseclass |
typedef SmartPointer< const Self > | ConstPointer |
typedef ImageHelper < itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension)> | ImageHelperType |
typedef Superclass::IndexType | IndexType |
typedef Superclass::IndexValueType | IndexValueType |
typedef Superclass::InstanceIdentifier | InstanceIdentifier |
typedef Superclass::InstanceIdentifierHolder | InstanceIdentifierHolder |
typedef Superclass::MeasurementVectorType | MeasurementVectorType |
typedef SmartPointer< Self > | Pointer |
typedef RegionType::SizeType | RadiusType |
typedef Superclass::RegionType | RegionType |
typedef Superclass::SampleConstPointer | SampleConstPointer |
typedef Superclass::SampleType | SampleType |
typedef SpatialNeighborSubsampler < TSample, TRegion > | Self |
typedef Superclass::SizeType | SizeType |
typedef Superclass::SubsampleConstIterator | SubsampleConstIterator |
typedef Superclass::SubsamplePointer | SubsamplePointer |
typedef Superclass::SubsampleType | SubsampleType |
typedef RegionConstrainedSubsampler < TSample, TRegion > | Superclass |
Public Types inherited from itk::Statistics::RegionConstrainedSubsampler< TSample, TRegion > | |
typedef Superclass::Baseclass | Baseclass |
typedef SmartPointer< const Self > | ConstPointer |
typedef RegionType::IndexType | IndexType |
typedef IndexType::IndexValueType | IndexValueType |
typedef TSample::InstanceIdentifier | InstanceIdentifier |
typedef SubsampleType::InstanceIdentifierHolder | InstanceIdentifierHolder |
typedef TSample::MeasurementVectorType | MeasurementVectorType |
typedef SmartPointer< Self > | Pointer |
typedef TRegion | RegionType |
typedef SampleType::ConstPointer | SampleConstPointer |
typedef TSample | SampleType |
typedef RegionConstrainedSubsampler < TSample, TRegion > | Self |
typedef RegionType::SizeType | SizeType |
typedef SubsampleType::ConstIterator | SubsampleConstIterator |
typedef SubsampleType::Pointer | SubsamplePointer |
typedef Subsample< TSample > | SubsampleType |
typedef SubsamplerBase< TSample > | Superclass |
Public Types inherited from itk::Statistics::SubsamplerBase< TSample > | |
typedef Self | Baseclass |
typedef SmartPointer< const Self > | ConstPointer |
typedef TSample::InstanceIdentifier | InstanceIdentifier |
typedef SubsampleType::InstanceIdentifierHolder | InstanceIdentifierHolder |
typedef TSample::MeasurementVectorType | MeasurementVectorType |
typedef SmartPointer< Self > | Pointer |
typedef SampleType::ConstPointer | SampleConstPointer |
typedef TSample | SampleType |
typedef unsigned int | SeedType |
typedef SubsamplerBase | Self |
typedef SubsampleType::ConstIterator | SubsampleConstIterator |
typedef SubsampleType::Pointer | SubsamplePointer |
typedef Subsample< TSample > | SubsampleType |
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 |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
virtual RealType | GetVariance () const |
virtual void | SetVariance (RealType _arg) |
Public Member Functions inherited from itk::Statistics::UniformRandomSpatialNeighborSubsampler< TSample, TRegion > | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual SearchSizeType | GetNumberOfResultsRequested () const |
virtual bool | GetUseClockForSeed () const |
virtual void | Search (const InstanceIdentifier &query, SubsamplePointer &results) |
virtual void | SetNumberOfResultsRequested (const SearchSizeType &numberRequested) |
virtual void | SetSeed (const SeedType seed) |
virtual void | SetUseClockForSeed (const bool &useClock) |
virtual void | UseClockForSeedOff () |
virtual void | UseClockForSeedOn () |
Public Member Functions inherited from itk::Statistics::SpatialNeighborSubsampler< TSample, TRegion > | |
virtual const RadiusType & | GetRadius () |
virtual const bool & | GetRadiusInitialized () |
void | SetRadius (const RadiusType &radius) |
void | SetRadius (unsigned int radius) |
Public Member Functions inherited from itk::Statistics::RegionConstrainedSubsampler< TSample, TRegion > | |
virtual const RegionType & | GetRegionConstraint () |
virtual const bool & | GetRegionConstraintInitialized () |
virtual const RegionType & | GetSampleRegion () |
virtual const bool & | GetSampleRegionInitialized () |
void | SetRegionConstraint (const RegionType ®ion) |
void | SetSampleRegion (const RegionType ®ion) |
Public Member Functions inherited from itk::Statistics::SubsamplerBase< TSample > | |
itkCloneMacro (Self) | |
virtual void | SetSample (const SampleType *_arg) |
virtual const SampleType * | GetSample () const |
virtual void | SetCanSelectQuery (bool _arg) |
virtual const bool & | GetCanSelectQuery () |
virtual void | CanSelectQueryOn () |
virtual void | CanSelectQueryOff () |
virtual const SeedType & | GetSeed () |
virtual void | RequestMaximumNumberOfResults () |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary (void) |
const MetaDataDictionary & | GetMetaDataDictionary (void) const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Statistics::UniformRandomSpatialNeighborSubsampler< TSample, TRegion > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Statistics::SpatialNeighborSubsampler< TSample, TRegion > | |
static Pointer | New () |
Static Public Attributes | |
static const RealType | DefaultVariance = 900 |
Protected Attributes | |
RealType | m_Variance |
Protected Attributes inherited from itk::Statistics::UniformRandomSpatialNeighborSubsampler< TSample, TRegion > | |
SearchSizeType | m_NumberOfResultsRequested |
RandomGeneratorType::Pointer | m_RandomNumberGenerator |
bool | m_UseClockForSeed |
Protected Attributes inherited from itk::Statistics::SpatialNeighborSubsampler< TSample, TRegion > | |
RadiusType | m_Radius |
bool | m_RadiusInitialized |
Protected Attributes inherited from itk::Statistics::RegionConstrainedSubsampler< TSample, TRegion > | |
RegionType | m_RegionConstraint |
bool | m_RegionConstraintInitialized |
RegionType | m_SampleRegion |
bool | m_SampleRegionInitialized |
Protected Attributes inherited from itk::Statistics::SubsamplerBase< TSample > | |
bool | m_CanSelectQuery |
bool | m_RequestMaximumNumberOfResults |
SampleConstPointer | m_Sample |
SeedType | m_Seed |
Private Member Functions | |
GaussianRandomSpatialNeighborSubsampler (const Self &) | |
void | operator= (const Self &) |
Additional Inherited Members | |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
typedef Superclass::Baseclass itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >::Baseclass |
Definition at line 51 of file itkGaussianRandomSpatialNeighborSubsampler.h.
typedef SmartPointer<const Self> itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >::ConstPointer |
Definition at line 53 of file itkGaussianRandomSpatialNeighborSubsampler.h.
typedef Superclass::ImageHelperType itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >::ImageHelperType |
Definition at line 80 of file itkGaussianRandomSpatialNeighborSubsampler.h.
typedef Superclass::IndexType itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >::IndexType |
Definition at line 78 of file itkGaussianRandomSpatialNeighborSubsampler.h.
typedef Superclass::InstanceIdentifier itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >::InstanceIdentifier |
Definition at line 66 of file itkGaussianRandomSpatialNeighborSubsampler.h.
typedef Superclass::InstanceIdentifierHolder itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >::InstanceIdentifierHolder |
Definition at line 71 of file itkGaussianRandomSpatialNeighborSubsampler.h.
typedef Superclass::MeasurementVectorType itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >::MeasurementVectorType |
Definition at line 65 of file itkGaussianRandomSpatialNeighborSubsampler.h.
typedef SmartPointer<Self> itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >::Pointer |
Definition at line 52 of file itkGaussianRandomSpatialNeighborSubsampler.h.
typedef Superclass::RadiusType itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >::RadiusType |
typedefs related to image region
Definition at line 76 of file itkGaussianRandomSpatialNeighborSubsampler.h.
typedef Superclass::RandomGeneratorType itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >::RandomGeneratorType |
Definition at line 84 of file itkGaussianRandomSpatialNeighborSubsampler.h.
typedef Superclass::RandomIntType itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >::RandomIntType |
Definition at line 74 of file itkGaussianRandomSpatialNeighborSubsampler.h.
typedef double itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >::RealType |
Definition at line 82 of file itkGaussianRandomSpatialNeighborSubsampler.h.
typedef Superclass::RegionType itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >::RegionType |
Definition at line 77 of file itkGaussianRandomSpatialNeighborSubsampler.h.
typedef Superclass::SampleConstPointer itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >::SampleConstPointer |
Definition at line 64 of file itkGaussianRandomSpatialNeighborSubsampler.h.
typedef Superclass::SampleType itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >::SampleType |
typedef alias for the source data container
Definition at line 60 of file itkGaussianRandomSpatialNeighborSubsampler.h.
typedef Superclass::SearchSizeType itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >::SearchSizeType |
Definition at line 73 of file itkGaussianRandomSpatialNeighborSubsampler.h.
typedef GaussianRandomSpatialNeighborSubsampler<TSample, TRegion> itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >::Self |
Standard class typedefs
Definition at line 49 of file itkGaussianRandomSpatialNeighborSubsampler.h.
typedef Superclass::SizeType itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >::SizeType |
Definition at line 79 of file itkGaussianRandomSpatialNeighborSubsampler.h.
typedef Superclass::SubsampleConstIterator itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >::SubsampleConstIterator |
Definition at line 70 of file itkGaussianRandomSpatialNeighborSubsampler.h.
typedef Superclass::SubsamplePointer itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >::SubsamplePointer |
Definition at line 69 of file itkGaussianRandomSpatialNeighborSubsampler.h.
typedef Superclass::SubsampleType itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >::SubsampleType |
Definition at line 68 of file itkGaussianRandomSpatialNeighborSubsampler.h.
typedef UniformRandomSpatialNeighborSubsampler<TSample, TRegion> itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >::Superclass |
Definition at line 50 of file itkGaussianRandomSpatialNeighborSubsampler.h.
|
protected |
|
inlineprotectedvirtual |
Definition at line 103 of file itkGaussianRandomSpatialNeighborSubsampler.h.
|
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.
|
protectedvirtual |
method to randomly generate an integer in the closed range [0, upperBound] usign a gaussian selection method.
|
virtual |
Run-time type information (and related methods)
Reimplemented from itk::Statistics::UniformRandomSpatialNeighborSubsampler< TSample, TRegion >.
|
virtual |
Get the variance
|
protectedvirtual |
Clone the current subsampler. This does a complete copy of the subsampler state to the new subsampler
Reimplemented from itk::Statistics::UniformRandomSpatialNeighborSubsampler< TSample, TRegion >.
|
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::Statistics::UniformRandomSpatialNeighborSubsampler< TSample, TRegion >.
|
virtual |
Set the variance
|
static |
Default sampling variance
Definition at line 86 of file itkGaussianRandomSpatialNeighborSubsampler.h.
|
protected |
Definition at line 114 of file itkGaussianRandomSpatialNeighborSubsampler.h.