ITK
6.0.0
Insight 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 45 of file itkGaussianImageSource.h.
Public Types | |
using | ArrayType = FixedArray< double, Self::NDimensions > |
using | ConstPointer = SmartPointer< const Self > |
using | DirectionType = typename TOutputImage::DirectionType |
using | OutputImagePixelType = typename TOutputImage::PixelType |
using | OutputImageRegionType = typename TOutputImage::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | PointType = typename TOutputImage::PointType |
using | Self = GaussianImageSource |
using | SizeType = typename TOutputImage::SizeType |
using | SizeValueType = typename TOutputImage::SizeValueType |
using | SpacingType = typename TOutputImage::SpacingType |
using | Superclass = ParametricImageSource< TOutputImage > |
Public Types inherited from itk::ParametricImageSource< TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectPointer = DataObject::Pointer |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageType = TOutputImage |
using | ParametersType = Array< ParametersValueType > |
using | ParametersValueType = double |
using | Pointer = SmartPointer< Self > |
using | Self = ParametricImageSource |
using | Superclass = GenerateImageSource< TOutputImage > |
Public Types inherited from itk::GenerateImageSource< TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | DirectionType = typename OutputImageType::DirectionType |
using | IndexType = typename OutputImageType::IndexType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageType = TOutputImage |
using | PixelType = typename OutputImageType::PixelType |
using | Pointer = SmartPointer< Self > |
using | PointType = typename OutputImageType::PointType |
using | ReferenceImageBaseType = ImageBase< TOutputImage::ImageDimension > |
using | RegionType = typename OutputImageType::RegionType |
using | Self = GenerateImageSource |
using | SizeType = typename TOutputImage::SizeType |
using | SizeValueType = typename TOutputImage::SizeValueType |
using | SpacingType = typename OutputImageType::SpacingType |
using | Superclass = ImageSource< TOutputImage > |
Public Types inherited from itk::ImageSource< TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = Superclass::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = ImageSource |
using | Superclass = ProcessObject |
Public Types inherited from itk::ProcessObject | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArray = std::vector< DataObjectPointer > |
using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
using | MultiThreaderType = MultiThreaderBase |
using | NameArray = std::vector< DataObjectIdentifierType > |
using | Pointer = SmartPointer< Self > |
using | Self = ProcessObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
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 val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | NDimensions = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ParametricImageSource< TOutputImage > | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::GenerateImageSource< TOutputImage > | |
static constexpr unsigned int | NDimensions = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Attributes | |
ArrayType | m_Mean {} |
bool | m_Normalized { false } |
double | m_Scale { 255.0 } |
ArrayType | m_Sigma {} |
Additional Inherited Members | |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
Static Protected Member Functions inherited from itk::ProcessObject | |
template<typename TSourceObject > | |
static void | MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs) |
static constexpr float | progressFixedToFloat (uint32_t fixed) |
static uint32_t | progressFloatToFixed (float f) |
Protected Attributes inherited from itk::ImageSource< TOutputImage > | |
bool | m_DynamicMultiThreading { true } |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime {} |
bool | m_Updating {} |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount {} |
using itk::GaussianImageSource< TOutputImage >::ArrayType = FixedArray<double, Self::NDimensions> |
Type used to store Gaussian parameters.
Definition at line 81 of file itkGaussianImageSource.h.
using itk::GaussianImageSource< TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 54 of file itkGaussianImageSource.h.
using itk::GaussianImageSource< TOutputImage >::DirectionType = typename TOutputImage::DirectionType |
Direction type alias support The direction is the direction cosines of the image.
Definition at line 75 of file itkGaussianImageSource.h.
using itk::GaussianImageSource< TOutputImage >::OutputImagePixelType = typename TOutputImage::PixelType |
Typedef for the output image PixelType.
Definition at line 60 of file itkGaussianImageSource.h.
using itk::GaussianImageSource< TOutputImage >::OutputImageRegionType = typename TOutputImage::RegionType |
Typedef to describe the output image region type.
Definition at line 63 of file itkGaussianImageSource.h.
using itk::GaussianImageSource< TOutputImage >::OutputImageType = TOutputImage |
Typedef for the output image type.
Definition at line 57 of file itkGaussianImageSource.h.
using itk::GaussianImageSource< TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 53 of file itkGaussianImageSource.h.
using itk::GaussianImageSource< TOutputImage >::PointType = typename TOutputImage::PointType |
Origin type alias support The origin is the geometric coordinates of the index (0,0).
Definition at line 71 of file itkGaussianImageSource.h.
using itk::GaussianImageSource< TOutputImage >::Self = GaussianImageSource |
Standard class type aliases.
Definition at line 51 of file itkGaussianImageSource.h.
using itk::GaussianImageSource< TOutputImage >::SizeType = typename TOutputImage::SizeType |
Size type matches that used for images
Definition at line 84 of file itkGaussianImageSource.h.
using itk::GaussianImageSource< TOutputImage >::SizeValueType = typename TOutputImage::SizeValueType |
Definition at line 85 of file itkGaussianImageSource.h.
using itk::GaussianImageSource< TOutputImage >::SpacingType = typename TOutputImage::SpacingType |
Spacing type alias support Spacing holds the size of a pixel. The spacing is the geometric distance between image samples.
Definition at line 67 of file itkGaussianImageSource.h.
using itk::GaussianImageSource< TOutputImage >::Superclass = ParametricImageSource<TOutputImage> |
Definition at line 52 of file itkGaussianImageSource.h.
|
protected |
|
overrideprotecteddefault |
|
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 DynamicThreadedGenerateData(). 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 can be threaded, it should NOT provide a GenerateData() method but should provide a DynamicThreadedGenerateData() instead.
Reimplemented from itk::ImageSource< TOutputImage >.
|
virtual |
Set/Get the mean in each direction.
|
overridevirtual |
Reimplemented from itk::ImageSource< 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.
|
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::ImageSource< 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.
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.
|
private |
Definition at line 149 of file itkGaussianImageSource.h.
|
private |
Definition at line 153 of file itkGaussianImageSource.h.
|
private |
Definition at line 151 of file itkGaussianImageSource.h.
|
private |
Definition at line 147 of file itkGaussianImageSource.h.
|
staticconstexpr |
Dimensionality of the output image
Definition at line 78 of file itkGaussianImageSource.h.