#include <itkGaussianImageSource.h>
Inheritance diagram for itk::GaussianImageSource:
Public Types | |
typedef GaussianImageSource | Self |
typedef ImageSource< TOutputImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TOutputImage::PixelType | OutputImagePixelType |
typedef TOutputImage::RegionType | OutputImageRegionType |
typedef FixedArray< double, itkGetStaticConstMacro(NDimensions) | ArrayType ) |
Public Methods | |
itkStaticConstMacro (NDimensions, unsigned int, TOutputImage::ImageDimension) | |
virtual const char * | GetClassName () const |
virtual void | SetSize (const unsigned long values[NDimensions]) |
virtual const unsigned long * | GetSize () const |
virtual const double * | GetSpacing () const |
virtual const double * | GetOrigin () const |
virtual void | SetSpacing (const float values[NDimensions]) |
virtual void | SetSpacing (const double values[NDimensions]) |
virtual void | SetOrigin (const float values[NDimensions]) |
virtual void | SetOrigin (const double values[NDimensions]) |
virtual void | SetScale (double _arg) |
virtual double | GetScale () |
virtual void | SetNormalized (bool _arg) |
virtual bool | GetNormalized () |
virtual void | SetSigma (ArrayType _arg) |
virtual ArrayType | GetSigma () |
virtual void | SetMean (ArrayType _arg) |
virtual ArrayType | GetMean () |
Static Public Methods | |
Pointer | New () |
Protected Methods | |
GaussianImageSource () | |
~GaussianImageSource () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | GenerateData () |
virtual void | GenerateOutputInformation () |
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 42 of file itkGaussianImageSource.h.
|
Type used to store gaussian parameters. Definition at line 61 of file itkGaussianImageSource.h. |
|
Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 49 of file itkGaussianImageSource.h. |
|
Typedef for the output image PixelType. Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 52 of file itkGaussianImageSource.h. |
|
Typedef to describe the output image region type. Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 55 of file itkGaussianImageSource.h. |
|
Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 48 of file itkGaussianImageSource.h. |
|
Standard class typedefs. Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 46 of file itkGaussianImageSource.h. |
|
Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 47 of file itkGaussianImageSource.h. |
|
|
|
|
|
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 >. |
|
Generate the information decribing the output data. The default implementation of this method will copy information from the input to the output. A filter may override this method if its output will have different information than its input. For instance, a filter that shrinks an image will need to provide an implementation for this method that changes the spacing of the pixels. Such filters should call their superclass' implementation of this method prior to changing the information values they need (i.e. GenerateOutputInformation() should call Superclass::GenerateOutputInformation() prior to changing the information. Reimplemented from itk::ProcessObject. |
|
Run-time type information (and related methods). Reimplemented from itk::ImageSource< TOutputImage >. |
|
Gets and sets for gaussian parameters |
|
Gets and sets for gaussian parameters |
|
Get the origin of the output image. |
|
Gets and sets for gaussian parameters |
|
Gets and sets for gaussian parameters |
|
Get the size of the output image. |
|
Get the spacing of the output image. |
|
Dimensionality of the output image |
|
Method for creation through the object factory. Reimplemented from itk::ImageSource< TOutputImage >. |
|
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::ProcessObject. |
|
Gets and sets for gaussian parameters |
|
Gets and sets for gaussian parameters |
|
Specify the origin of the output image. |
|
Specify the origin of the output image. |
|
Gets and sets for gaussian parameters |
|
Gets and sets for gaussian parameters |
|
Specify the size of the output image. |
|
Specify the spacing of the output image. |
|
Specify the spacing of the output image. |