ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkGridImageSource.h>
Generate an n-dimensional image of a grid.
GridImageSource generates an image of a grid. From the abstract... "Certain classes of images find disparate use amongst members of the ITK community for such purposes as visualization, simulation, testing, etc. Currently there exists two derived classes from the ImageSource class used for generating specific images for various applications, viz. RandomImageSource and GaussianImageSource. We propose to add to this set with the class GridImageSource which, obviously enough, produces a grid image. Such images are useful for visualizing deformation when used in conjunction with the WarpImageFilter, simulating magnetic resonance tagging images, or creating optical illusions with which to amaze your friends."
The output image may be of any dimension.
This implementation was taken from the Insight Journal paper: https://hdl.handle.net/1926/475
Definition at line 57 of file itkGridImageSource.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef TOutputImage::DirectionType | DirectionType |
typedef TOutputImage::RegionType | ImageRegionType |
typedef TOutputImage | ImageType |
typedef KernelFunctionBase < double > | KernelFunctionType |
typedef TOutputImage::PointType | OriginType |
typedef TOutputImage::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef double | RealType |
typedef GridImageSource | Self |
typedef TOutputImage::SizeType | SizeType |
typedef TOutputImage::SpacingType | SpacingType |
typedef GenerateImageSource < TOutputImage > | Superclass |
typedef FixedArray< RealType, itkGetStaticConstMacro(ImageDimension) > | ArrayType |
typedef FixedArray< bool, itkGetStaticConstMacro(ImageDimension) > | BoolArrayType |
typedef vnl_vector< RealType > | PixelArrayType |
typedef VectorContainer < SizeValueType, PixelArrayType > | PixelArrayContainerType |
Public Types inherited from itk::GenerateImageSource< TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef OutputImageType::DirectionType | DirectionType |
typedef OutputImageType::IndexType | IndexType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef OutputImageType::PointType | PointType |
typedef ImageBase < TOutputImage::ImageDimension > | ReferenceImageBaseType |
typedef OutputImageType::RegionType | RegionType |
typedef GenerateImageSource | Self |
typedef TOutputImage::SizeType | SizeType |
typedef TOutputImage::SizeValueType | SizeValueType |
typedef OutputImageType::SpacingType | SpacingType |
typedef ImageSource< TOutputImage > | Superclass |
Public Types inherited from itk::ImageSource< TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef ImageSource | Self |
typedef ProcessObject | Superclass |
Public Types inherited from itk::ProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
typedef MultiThreader | MultiThreaderType |
typedef std::vector < DataObjectIdentifierType > | NameArray |
typedef SmartPointer< Self > | Pointer |
typedef ProcessObject | Self |
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 |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::GenerateImageSource< TOutputImage > | |
static const unsigned int | NDimensions = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Additional Inherited Members | |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef FixedArray< RealType, itkGetStaticConstMacro(ImageDimension) > itk::GridImageSource< TOutputImage >::ArrayType |
Other convenient types.
Definition at line 91 of file itkGridImageSource.h.
typedef FixedArray< bool, itkGetStaticConstMacro(ImageDimension) > itk::GridImageSource< TOutputImage >::BoolArrayType |
Other convenient types.
Definition at line 93 of file itkGridImageSource.h.
typedef SmartPointer< const Self > itk::GridImageSource< TOutputImage >::ConstPointer |
Definition at line 65 of file itkGridImageSource.h.
typedef TOutputImage::DirectionType itk::GridImageSource< TOutputImage >::DirectionType |
Definition at line 85 of file itkGridImageSource.h.
typedef TOutputImage::RegionType itk::GridImageSource< TOutputImage >::ImageRegionType |
Definition at line 81 of file itkGridImageSource.h.
typedef TOutputImage itk::GridImageSource< TOutputImage >::ImageType |
Typedef for the output image types.
Definition at line 80 of file itkGridImageSource.h.
typedef KernelFunctionBase<double> itk::GridImageSource< TOutputImage >::KernelFunctionType |
Definition at line 88 of file itkGridImageSource.h.
typedef TOutputImage::PointType itk::GridImageSource< TOutputImage >::OriginType |
Definition at line 84 of file itkGridImageSource.h.
typedef VectorContainer< SizeValueType, PixelArrayType > itk::GridImageSource< TOutputImage >::PixelArrayContainerType |
Other convenient types.
Definition at line 95 of file itkGridImageSource.h.
typedef vnl_vector< RealType > itk::GridImageSource< TOutputImage >::PixelArrayType |
Other convenient types.
Definition at line 94 of file itkGridImageSource.h.
typedef TOutputImage::PixelType itk::GridImageSource< TOutputImage >::PixelType |
Definition at line 82 of file itkGridImageSource.h.
typedef SmartPointer< Self > itk::GridImageSource< TOutputImage >::Pointer |
Definition at line 64 of file itkGridImageSource.h.
typedef double itk::GridImageSource< TOutputImage >::RealType |
Definition at line 71 of file itkGridImageSource.h.
typedef GridImageSource itk::GridImageSource< TOutputImage >::Self |
Standard class typedefs.
Definition at line 62 of file itkGridImageSource.h.
typedef TOutputImage::SizeType itk::GridImageSource< TOutputImage >::SizeType |
Definition at line 86 of file itkGridImageSource.h.
typedef TOutputImage::SpacingType itk::GridImageSource< TOutputImage >::SpacingType |
Definition at line 83 of file itkGridImageSource.h.
typedef GenerateImageSource< TOutputImage > itk::GridImageSource< TOutputImage >::Superclass |
Definition at line 63 of file itkGridImageSource.h.
|
protected |
|
overrideprotectedvirtual |
If an imaging filter needs to perform processing after the buffer has been allocated but before threads are spawned, the filter can can provide an implementation for BeforeThreadedGenerateData(). The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.
Reimplemented from itk::ImageSource< TOutputImage >.
|
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.
|
virtual |
Set/Get the grid offset.
|
virtual |
Set/Get the grid spacing of the peaks.
|
virtual |
Set/Get kernel function used to create the grid.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::GenerateImageSource< TOutputImage >.
|
virtual |
Set/Get the scale factor to multiply the true value of the grid.
|
virtual |
Set/Get the standard deviation of the Gaussians or width of the box functions.
|
virtual |
Set/Get the dimensions which are gridded.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
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::GenerateImageSource< TOutputImage >.
|
virtual |
Set/Get the grid offset.
|
virtual |
Set/Get the grid spacing of the peaks.
|
virtual |
Set/Get kernel function used to create the grid.
|
virtual |
Set/Get the scale factor to multiply the true value of the grid.
|
virtual |
Set/Get the standard deviation of the Gaussians or width of the box functions.
|
virtual |
Set/Get the dimensions which are gridded.
|
overrideprotectedvirtual |
|
static |
Dimensionality of the output image
Definition at line 77 of file itkGridImageSource.h.
|
private |
Definition at line 152 of file itkGridImageSource.h.
|
private |
Definition at line 150 of file itkGridImageSource.h.
|
private |
Definition at line 146 of file itkGridImageSource.h.
|
private |
Internal variable to speed up the calculation of pixel values.
Definition at line 141 of file itkGridImageSource.h.
|
private |
Definition at line 156 of file itkGridImageSource.h.
|
private |
Definition at line 148 of file itkGridImageSource.h.
|
private |
Definition at line 154 of file itkGridImageSource.h.