|
|
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkImageSamplerBase.h>
This class is a base class for any image sampler.
(ImageSampler "Random") Definition at line 42 of file itkImageSamplerBase.h.
Inheritance diagram for itk::ImageSamplerBase< TInputImage >:Public Member Functions | |
| virtual const char * | GetClassName () const |
| virtual const InputImageRegionType & | GetCroppedInputImageRegion () |
| virtual const InputImageRegionType & | GetInputImageRegion (unsigned int pos) const |
| virtual const InputImageRegionType & | GetInputImageRegion (void) const |
| virtual const MaskType * | GetMask (unsigned int pos) const |
| virtual const MaskType * | GetMask (void) const |
| virtual unsigned int | GetNumberOfInputImageRegions () const |
| virtual unsigned int | GetNumberOfMasks () const |
| virtual unsigned long | GetNumberOfSamples () const |
| itkStaticConstMacro (InputImageDimension, unsigned int, InputImageType::ImageDimension) | |
| virtual bool | SelectingNewSamplesOnUpdateSupported (void) const |
| virtual bool | SelectNewSamplesOnUpdate (void) |
| virtual void | SetInputImageRegion (const InputImageRegionType _arg, unsigned int pos) |
| virtual void | SetInputImageRegion (const InputImageRegionType _arg) |
| virtual void | SetMask (const MaskType *_arg, unsigned int pos) |
| virtual void | SetMask (const MaskType *_arg) |
| virtual void | SetNumberOfInputImageRegions (const unsigned int _arg) |
| virtual void | SetNumberOfMasks (const unsigned int _arg) |
| virtual void | SetUseMultiThread (bool _arg) |
Public Member Functions inherited from itk::ImageToVectorContainerFilter< TInputImage, VectorDataContainer< unsigned long, ImageSample< TInputImage > > > | |
| virtual void | GenerateData (void) |
| const InputImageType * | GetInput (void) |
| const InputImageType * | GetInput (unsigned int idx) |
| OutputVectorContainerType * | GetOutput (void) |
| DataObject::Pointer | MakeOutput (unsigned int idx) |
| void | SetInput (unsigned int idx, const InputImageType *input) |
| void | SetInput (const InputImageType *input) |
| virtual unsigned int | SplitRequestedRegion (const ThreadIdType &threadId, const ThreadIdType &numberOfSplits, InputImageRegionType &splitRegion) |
| virtual void | ThreadedGenerateData (const InputImageRegionType &inputRegionForThread, ThreadIdType threadId) |
Public Member Functions inherited from itk::VectorContainerSource< VectorDataContainer< unsigned long, ImageSample< TInputImage > > > | |
| OutputVectorContainerType * | GetOutput (void) |
| OutputVectorContainerType * | GetOutput (unsigned int idx) |
| virtual void | GraftNthOutput (unsigned int idx, DataObject *output) |
| virtual void | GraftOutput (DataObject *output) |
Static Public Member Functions | |
| static Pointer | New () |
Static Public Member Functions inherited from itk::ImageToVectorContainerFilter< TInputImage, VectorDataContainer< unsigned long, ImageSample< TInputImage > > > | |
| static Pointer | New () |
| static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Static Public Member Functions inherited from itk::VectorContainerSource< VectorDataContainer< unsigned long, ImageSample< TInputImage > > > | |
| static Pointer | New () |
Protected Member Functions | |
| virtual void | AfterThreadedGenerateData (void) |
| virtual void | BeforeThreadedGenerateData (void) |
| virtual bool | CheckInputImageRegions (void) |
| void | CropInputImageRegion (void) |
| virtual void | GenerateInputRequestedRegion (void) |
| ImageSamplerBase () | |
| virtual bool | IsInsideAllMasks (const InputImagePointType &point) const |
| void | PrintSelf (std::ostream &os, Indent indent) const |
| virtual void | UpdateAllMasks (void) |
| virtual | ~ImageSamplerBase () |
Protected Member Functions inherited from itk::ImageToVectorContainerFilter< TInputImage, VectorDataContainer< unsigned long, ImageSample< TInputImage > > > | |
| ImageToVectorContainerFilter () | |
| void | PrintSelf (std::ostream &os, Indent indent) const |
| virtual | ~ImageToVectorContainerFilter () |
Protected Member Functions inherited from itk::VectorContainerSource< VectorDataContainer< unsigned long, ImageSample< TInputImage > > > | |
| void | PrintSelf (std::ostream &os, Indent indent) const |
| VectorContainerSource () | |
| virtual | ~VectorContainerSource () |
Protected Attributes | |
| unsigned long | m_NumberOfSamples |
| std::vector< ImageSampleContainerPointer > | m_ThreaderSampleContainer |
| bool | m_UseMultiThread |
Private Member Functions | |
| ImageSamplerBase (const Self &) | |
| void | operator= (const Self &) |
| typedef SmartPointer< const Self > itk::ImageSamplerBase< TInputImage >::ConstPointer |
Definition at line 54 of file itkImageSamplerBase.h.
| typedef Superclass::DataObjectPointer itk::ImageSamplerBase< TInputImage >::DataObjectPointer |
Typedefs inherited from the superclass.
Definition at line 60 of file itkImageSamplerBase.h.
| typedef ImageSampleContainerType::Pointer itk::ImageSamplerBase< TInputImage >::ImageSampleContainerPointer |
Definition at line 79 of file itkImageSamplerBase.h.
| typedef VectorDataContainer< unsigned long, ImageSampleType > itk::ImageSamplerBase< TInputImage >::ImageSampleContainerType |
Definition at line 78 of file itkImageSamplerBase.h.
| typedef ImageSample< InputImageType > itk::ImageSamplerBase< TInputImage >::ImageSampleType |
Other typdefs.
Definition at line 77 of file itkImageSamplerBase.h.
| typedef ImageSampleType::RealType itk::ImageSamplerBase< TInputImage >::ImageSampleValueType |
Definition at line 84 of file itkImageSamplerBase.h.
| typedef Superclass::InputImageConstPointer itk::ImageSamplerBase< TInputImage >::InputImageConstPointer |
Definition at line 68 of file itkImageSamplerBase.h.
| typedef InputImageType::IndexType itk::ImageSamplerBase< TInputImage >::InputImageIndexType |
Definition at line 81 of file itkImageSamplerBase.h.
| typedef Superclass::InputImagePixelType itk::ImageSamplerBase< TInputImage >::InputImagePixelType |
Definition at line 70 of file itkImageSamplerBase.h.
| typedef Superclass::InputImagePointer itk::ImageSamplerBase< TInputImage >::InputImagePointer |
Definition at line 67 of file itkImageSamplerBase.h.
| typedef InputImageType::PointType itk::ImageSamplerBase< TInputImage >::InputImagePointType |
Definition at line 82 of file itkImageSamplerBase.h.
| typedef InputImagePointType::ValueType itk::ImageSamplerBase< TInputImage >::InputImagePointValueType |
Definition at line 83 of file itkImageSamplerBase.h.
| typedef Superclass::InputImageRegionType itk::ImageSamplerBase< TInputImage >::InputImageRegionType |
Definition at line 69 of file itkImageSamplerBase.h.
| typedef std::vector< InputImageRegionType > itk::ImageSamplerBase< TInputImage >::InputImageRegionVectorType |
Definition at line 89 of file itkImageSamplerBase.h.
| typedef InputImageType::SizeType itk::ImageSamplerBase< TInputImage >::InputImageSizeType |
Definition at line 80 of file itkImageSamplerBase.h.
| typedef Superclass::InputImageType itk::ImageSamplerBase< TInputImage >::InputImageType |
Definition at line 66 of file itkImageSamplerBase.h.
| typedef MaskType::ConstPointer itk::ImageSamplerBase< TInputImage >::MaskConstPointer |
Definition at line 87 of file itkImageSamplerBase.h.
| typedef MaskType::Pointer itk::ImageSamplerBase< TInputImage >::MaskPointer |
Definition at line 86 of file itkImageSamplerBase.h.
| typedef SpatialObject< Self::InputImageDimension > itk::ImageSamplerBase< TInputImage >::MaskType |
Definition at line 85 of file itkImageSamplerBase.h.
| typedef std::vector< MaskConstPointer > itk::ImageSamplerBase< TInputImage >::MaskVectorType |
Definition at line 88 of file itkImageSamplerBase.h.
| typedef Superclass::OutputVectorContainerPointer itk::ImageSamplerBase< TInputImage >::OutputVectorContainerPointer |
Definition at line 65 of file itkImageSamplerBase.h.
| typedef Superclass::OutputVectorContainerType itk::ImageSamplerBase< TInputImage >::OutputVectorContainerType |
Definition at line 64 of file itkImageSamplerBase.h.
| typedef SmartPointer< Self > itk::ImageSamplerBase< TInputImage >::Pointer |
Definition at line 53 of file itkImageSamplerBase.h.
| typedef ImageSamplerBase itk::ImageSamplerBase< TInputImage >::Self |
Standard ITK-stuff.
Definition at line 49 of file itkImageSamplerBase.h.
| typedef ImageToVectorContainerFilter< TInputImage, VectorDataContainer< unsigned long, ImageSample< TInputImage > > > itk::ImageSamplerBase< TInputImage >::Superclass |
Definition at line 52 of file itkImageSamplerBase.h.
|
protected |
The constructor.
|
inlineprotectedvirtual |
The destructor.
Definition at line 179 of file itkImageSamplerBase.h.
|
private |
The private constructor.
|
protectedvirtual |
|
protectedvirtual |
Multi-threaded function that does the work.
Reimplemented from itk::ImageToVectorContainerFilter< TInputImage, VectorDataContainer< unsigned long, ImageSample< TInputImage > > >.
Reimplemented in itk::ImageRandomCoordinateSampler< TInputImage >, itk::ImageRandomCoordinateSampler< elx::ImageSamplerBase< TElastix >::InputImageType >, itk::ImageRandomSamplerSparseMask< TInputImage >, itk::ImageRandomSamplerSparseMask< elx::ImageSamplerBase< TElastix >::InputImageType >, itk::ImageRandomSamplerBase< TInputImage >, and itk::ImageRandomSamplerBase< elx::ImageSamplerBase< TElastix >::InputImageType >.
|
protectedvirtual |
Checks if the InputImageRegions are a subregion of the LargestPossibleRegions.
|
protected |
Compute the intersection of the InputImageRegion and the bounding box of the mask.
|
protectedvirtual |
GenerateInputRequestedRegion.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageToVectorContainerFilter< TInputImage, VectorDataContainer< unsigned long, ImageSample< TInputImage > > >.
Reimplemented in elastix::MultiInputRandomCoordinateSampler< TElastix >, elastix::RandomCoordinateSampler< TElastix >, elastix::RandomSamplerSparseMask< TElastix >, elastix::RandomSampler< TElastix >, elastix::GridSampler< TElastix >, elastix::FullSampler< TElastix >, itk::ImageGridSampler< TInputImage >, itk::ImageGridSampler< elx::ImageSamplerBase< TElastix >::InputImageType >, itk::ImageRandomCoordinateSampler< TInputImage >, itk::MultiInputImageRandomCoordinateSampler< TInputImage >, itk::ImageRandomCoordinateSampler< elx::ImageSamplerBase< TElastix >::InputImageType >, itk::MultiInputImageRandomCoordinateSampler< elx::ImageSamplerBase< TElastix >::InputImageType >, itk::ImageRandomSampler< TInputImage >, itk::ImageRandomSampler< elx::ImageSamplerBase< TElastix >::InputImageType >, itk::ImageRandomSamplerSparseMask< TInputImage >, itk::ImageRandomSamplerSparseMask< elx::ImageSamplerBase< TElastix >::InputImageType >, itk::ImageFullSampler< TInputImage >, itk::ImageFullSampler< elx::ImageSamplerBase< TElastix >::InputImageType >, itk::ImageRandomSamplerBase< TInputImage >, and itk::ImageRandomSamplerBase< elx::ImageSamplerBase< TElastix >::InputImageType >.
|
virtual |
Get a handle to the cropped InputImageregion.
|
virtual |
Get the input image regions.
|
inlinevirtual |
Get the first input image region.
Definition at line 137 of file itkImageSamplerBase.h.
|
virtual |
Get the masks.
|
inlinevirtual |
Get the first mask.
Definition at line 109 of file itkImageSamplerBase.h.
|
virtual |
Get the number of input image regions.
|
virtual |
Get the number of masks.
|
virtual |
Get the number of samples.
|
protectedvirtual |
IsInsideAllMasks.
| itk::ImageSamplerBase< TInputImage >::itkStaticConstMacro | ( | InputImageDimension | , |
| unsigned | int, | ||
| InputImageType::ImageDimension | |||
| ) |
The input image dimension.
|
static |
Method for creation through the object factory.
|
private |
The private copy constructor.
|
protected |
PrintSelf.
|
inlinevirtual |
Returns whether the sampler supports SelectNewSamplesOnUpdate()
Reimplemented in itk::ImageGridSampler< TInputImage >, itk::ImageGridSampler< elx::ImageSamplerBase< TElastix >::InputImageType >, itk::ImageFullSampler< TInputImage >, and itk::ImageFullSampler< elx::ImageSamplerBase< TElastix >::InputImageType >.
Definition at line 158 of file itkImageSamplerBase.h.
|
virtual |
******************** Other ******************** SelectNewSamplesOnUpdate. When this function is called, the sampler will generate a new sample set after calling Update(). The return bool is false when this feature is not supported by the sampler.
Reimplemented in itk::ImageGridSampler< TInputImage >, itk::ImageGridSampler< elx::ImageSamplerBase< TElastix >::InputImageType >, itk::ImageFullSampler< TInputImage >, and itk::ImageFullSampler< elx::ImageSamplerBase< TElastix >::InputImageType >.
|
virtual |
******************** Regions ******************** Set the region over which the samples will be taken.
|
inlinevirtual |
Set the region over which the samples will be taken.
Definition at line 127 of file itkImageSamplerBase.h.
|
virtual |
******************** Masks ******************** Set the masks.
|
inlinevirtual |
Set the first mask. NB: the first mask is used to compute a bounding box in which samples are considered.
Definition at line 99 of file itkImageSamplerBase.h.
|
virtual |
Set the number of input image regions.
|
virtual |
Set the number of masks.
|
virtual |
|
protectedvirtual |
UpdateAllMasks.
|
private |
Definition at line 228 of file itkImageSamplerBase.h.
|
private |
Definition at line 229 of file itkImageSamplerBase.h.
|
private |
Definition at line 224 of file itkImageSamplerBase.h.
|
private |
Definition at line 225 of file itkImageSamplerBase.h.
|
private |
Member variables.
Definition at line 221 of file itkImageSamplerBase.h.
|
private |
Definition at line 222 of file itkImageSamplerBase.h.
|
private |
Definition at line 226 of file itkImageSamplerBase.h.
|
private |
Definition at line 223 of file itkImageSamplerBase.h.
|
protected |
Definition at line 207 of file itkImageSamplerBase.h.
|
protected |
Definition at line 208 of file itkImageSamplerBase.h.
|
protected |
Definition at line 211 of file itkImageSamplerBase.h.
Generated on OURCE_DATE_EPOCH for elastix by 1.8.13 |