18 #ifndef itkRegionConstrainedSubsampler_h
19 #define itkRegionConstrainedSubsampler_h
25 namespace Statistics {
50 template <
typename TSample,
typename TRegion >
85 void SetSampleRegion(
const RegionType& region);
88 itkGetConstReferenceMacro( SampleRegion,
RegionType );
91 itkGetConstReferenceMacro(SampleRegionInitialized,
bool);
95 void SetRegionConstraint(
const RegionType& region);
98 itkGetConstReferenceMacro( RegionConstraint,
RegionType );
101 itkGetConstReferenceMacro(RegionConstraintInitialized,
bool);
122 void PrintSelf(std::ostream& os,
Indent indent)
const override;
133 #ifndef ITK_MANUAL_INSTANTIATION
134 #include "itkRegionConstrainedSubsampler.hxx"
typename SampleType::ConstPointer SampleConstPointer
typename TSample::InstanceIdentifier InstanceIdentifier
Light weight base class for most itk classes.
std::vector< InstanceIdentifier > InstanceIdentifierHolder
RegionType m_SampleRegion
typename Superclass::Baseclass Baseclass
This class stores a subset of instance identifiers from another sample object. You can create a subsa...
typename IndexType::IndexValueType IndexValueType
typename TSample::MeasurementVectorType MeasurementVectorType
typename SubsampleType::Pointer SubsamplePointer
ImageBaseType::SizeType SizeType
RegionType m_RegionConstraint
ImageBaseType::IndexType IndexType
This an abstract subsampler that constrains subsamples to be contained within a given image region...
signed long IndexValueType
bool m_RegionConstraintInitialized
Control indentation during Print() invocation.
typename SubsampleType::InstanceIdentifierHolder InstanceIdentifierHolder
typename RegionType::IndexType IndexType
bool m_SampleRegionInitialized
typename SubsampleType::ConstIterator SubsampleConstIterator
This is the base subsampler class which defines the subsampler API.
typename RegionType::SizeType SizeType