ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkGaussianImageSource.h>
Generate an n-dimensional image of a Gaussian.
GaussianImageSource generates an image of a Gaussian. m_Normalized determines whether or not the Gaussian is normalized (whether or not the sum over infinite space is 1.0) When creating an image, it is preferable to not normalize the Gaussian m_Scale scales the output of the Gaussian to span a range larger than 0->1, and is typically set to the maximum value of the output data type (for instance, 255 for uchars)
The output image may be of any dimension.
Definition at line 44 of file itkGaussianImageSource.h.
Public Types | |
typedef FixedArray< double, itkGetStaticConstMacro(NDimensions) > | ArrayType |
typedef SmartPointer< const Self > | ConstPointer |
typedef TOutputImage::DirectionType | DirectionType |
typedef TOutputImage::PixelType | OutputImagePixelType |
typedef TOutputImage::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef Superclass::ParametersType | ParametersType |
typedef Superclass::ParametersValueType | ParametersValueType |
typedef SmartPointer< Self > | Pointer |
typedef TOutputImage::PointType | PointType |
typedef GaussianImageSource | Self |
typedef TOutputImage::SizeType | SizeType |
typedef TOutputImage::SizeValueType | SizeValueType |
typedef TOutputImage::SpacingType | SpacingType |
typedef ParametricImageSource < TOutputImage > | Superclass |
Public Types inherited from itk::ParametricImageSource< TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::Pointer | DataObjectPointer |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef TOutputImage | OutputImageType |
typedef Array < ParametersValueType > | ParametersType |
typedef double | ParametersValueType |
typedef SmartPointer< Self > | Pointer |
typedef ParametricImageSource | Self |
typedef GenerateImageSource < TOutputImage > | Superclass |
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 | NDimensions = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ParametricImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = 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 |
Private Attributes | |
ArrayType | m_Mean |
bool | m_Normalized |
double | m_Scale |
ArrayType | m_Sigma |
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< double, itkGetStaticConstMacro(NDimensions) > itk::GaussianImageSource< TOutputImage >::ArrayType |
Type used to store Gaussian parameters.
Definition at line 79 of file itkGaussianImageSource.h.
typedef SmartPointer< const Self > itk::GaussianImageSource< TOutputImage >::ConstPointer |
Definition at line 52 of file itkGaussianImageSource.h.
typedef TOutputImage::DirectionType itk::GaussianImageSource< TOutputImage >::DirectionType |
Direction typedef support. The direction is the direction cosines of the image.
Definition at line 73 of file itkGaussianImageSource.h.
typedef TOutputImage::PixelType itk::GaussianImageSource< TOutputImage >::OutputImagePixelType |
Typedef for the output image PixelType.
Definition at line 58 of file itkGaussianImageSource.h.
typedef TOutputImage::RegionType itk::GaussianImageSource< TOutputImage >::OutputImageRegionType |
Typedef to describe the output image region type.
Definition at line 61 of file itkGaussianImageSource.h.
typedef TOutputImage itk::GaussianImageSource< TOutputImage >::OutputImageType |
Typedef for the output image type.
Definition at line 55 of file itkGaussianImageSource.h.
typedef Superclass::ParametersType itk::GaussianImageSource< TOutputImage >::ParametersType |
Definition at line 87 of file itkGaussianImageSource.h.
typedef Superclass::ParametersValueType itk::GaussianImageSource< TOutputImage >::ParametersValueType |
Types for parameters.
Definition at line 86 of file itkGaussianImageSource.h.
typedef SmartPointer< Self > itk::GaussianImageSource< TOutputImage >::Pointer |
Definition at line 51 of file itkGaussianImageSource.h.
typedef TOutputImage::PointType itk::GaussianImageSource< TOutputImage >::PointType |
Origin typedef support. The origin is the geometric coordinates of the index (0,0).
Definition at line 69 of file itkGaussianImageSource.h.
typedef GaussianImageSource itk::GaussianImageSource< TOutputImage >::Self |
Standard class typedefs.
Definition at line 49 of file itkGaussianImageSource.h.
typedef TOutputImage::SizeType itk::GaussianImageSource< TOutputImage >::SizeType |
Size type matches that used for images
Definition at line 82 of file itkGaussianImageSource.h.
typedef TOutputImage::SizeValueType itk::GaussianImageSource< TOutputImage >::SizeValueType |
Definition at line 83 of file itkGaussianImageSource.h.
typedef TOutputImage::SpacingType itk::GaussianImageSource< TOutputImage >::SpacingType |
Spacing typedef support. Spacing holds the size of a pixel. The spacing is the geometric distance between image samples.
Definition at line 65 of file itkGaussianImageSource.h.
typedef ParametricImageSource< TOutputImage > itk::GaussianImageSource< TOutputImage >::Superclass |
Definition at line 50 of file itkGaussianImageSource.h.
|
protected |
|
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.
|
overrideprotectedvirtual |
A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.
Reimplemented from itk::ImageSource< TOutputImage >.
|
virtual |
Set/Get the mean in each direction.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ParametricImageSource< TOutputImage >.
|
virtual |
Set/Get whether or not to normalize the Gaussian. Default is false.
|
overridevirtual |
Get the number of parameters for this image source. When this source is templated over an N-dimensional output image type, the number of parameters is 2*N+1.
Implements itk::ParametricImageSource< TOutputImage >.
|
overridevirtual |
Set/Get the parameters for this source. When this source is templated over an N-dimensional output image type, the first N values in the parameter array are the Sigma parameters in each dimension, the next N values are the Mean parameters in each dimension, and the last value is the Scale.
Implements itk::ParametricImageSource< TOutputImage >.
|
virtual |
Gets and sets for Gaussian parameters Set/Get the scale factor to multiply the true value of the Gaussian.
|
virtual |
Set/Get the standard deviation in each direction.
|
static |
Method for creation through the object factory.
|
virtual |
Set/Get whether or not to normalize the Gaussian. Default is false.
|
virtual |
Set/Get whether or not to normalize the Gaussian. Default is false.
|
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::ParametricImageSource< TOutputImage >.
|
virtual |
Set/Get the mean in each direction.
|
virtual |
Set/Get whether or not to normalize the Gaussian. Default is false.
|
overridevirtual |
Set/Get the parameters for this source. When this source is templated over an N-dimensional output image type, the first N values in the parameter array are the Sigma parameters in each dimension, the next N values are the Mean parameters in each dimension, and the last value is the Scale.
|
virtual |
Gets and sets for Gaussian parameters Set/Get the scale factor to multiply the true value of the Gaussian.
|
virtual |
Set/Get the standard deviation in each direction.
|
private |
Definition at line 144 of file itkGaussianImageSource.h.
|
private |
Definition at line 148 of file itkGaussianImageSource.h.
|
private |
Definition at line 146 of file itkGaussianImageSource.h.
|
private |
Definition at line 140 of file itkGaussianImageSource.h.
|
static |
Dimensionality of the output image
Definition at line 76 of file itkGaussianImageSource.h.