RTK
2.6.0
Reconstruction Toolkit
|
#include <rtkAdditiveGaussianNoiseImageFilter.h>
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
void | GenerateData () override |
float | GetMean () const |
InputImagePixelType | GetOutputMaximum () |
InputImagePixelType | GetOutputMinimum () |
float | GetStandardDeviation () const |
virtual const char * | GetNameOfClass () const |
void | SetMean (float mean) |
void | SetStandardDeviation (float stddev) |
void | SetSeed (unsigned long seed) |
void | SetOutputMinimum (InputImagePixelType min) |
void | SetOutputMaximum (InputImagePixelType max) |
Public Member Functions inherited from ImageSource< TInputImage > | |
OutputImageType * | GetOutput (unsigned int idx) |
const OutputImageType * | GetOutput () const |
OutputImageType * | GetOutput () |
const OutputImageType * | GetOutput () const |
OutputImageType * | GetOutput () |
virtual void | GraftNthOutput (unsigned int idx, DataObject *graft) |
virtual void | GraftNthOutput (unsigned int idx, DataObject *graft) |
virtual void | GraftOutput (const DataObjectIdentifierType &key, DataObject *graft) |
virtual void | GraftOutput (DataObject *graft) |
virtual void | GraftOutput (DataObject *graft) |
virtual void | GraftOutput (const DataObjectIdentifierType &key, DataObject *graft) |
ProcessObject::DataObjectPointer | MakeOutput (const ProcessObject::DataObjectIdentifierType &) override |
ProcessObject::DataObjectPointer | MakeOutput (const ProcessObject::DataObjectIdentifierType &) override |
ProcessObject::DataObjectPointer | MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override |
ProcessObject::DataObjectPointer | MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from ImageSource< TInputImage > | |
static constexpr unsigned int | OutputImageDimension |
Protected Member Functions | |
AdditiveGaussianNoiseImageFilter () | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
Protected Member Functions inherited from ImageSource< TInputImage > | |
virtual void | AfterThreadedGenerateData () |
virtual void | AllocateOutputs () |
virtual void | BeforeThreadedGenerateData () |
void | ClassicMultiThread (ThreadFunctionType callbackFunction) |
virtual void | DynamicMultiThreadingOn () |
virtual void | DynamicMultiThreadingOn () |
virtual void | DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread) |
virtual void | DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread) |
virtual bool | GetDynamicMultiThreading () const |
virtual bool | GetDynamicMultiThreading () const |
virtual const ImageRegionSplitterBase * | GetImageRegionSplitter () const |
ImageSource () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetDynamicMultiThreading (bool _arg) |
virtual void | SetDynamicMultiThreading (bool _arg) |
virtual unsigned int | SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion) |
virtual void | ThreadedGenerateData (const OutputImageRegionType ®ion, ThreadIdType threadId) |
virtual void | ThreadedGenerateData (const OutputImageRegionType ®ion, ThreadIdType threadId) |
~ImageSource () override=default | |
Private Attributes | |
NoiseFilterType::Pointer | m_NoiseFilter |
Additional Inherited Members | |
Static Protected Member Functions inherited from ImageSource< TInputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
Protected Attributes inherited from ImageSource< TInputImage > | |
bool | m_DynamicMultiThreading |
Adds Gaussian noise to the input image.
Adds noise to the input image according to a Gaussian normal variate distribution. The user supplies the mean \(\bar{x}\) and standard deviation \(\sigma\), such that the output is given by:
\[ v_{out} = v_{in} + \bar{x} + \sigma * G(d) \]
where G() is the Gaussian generator and d is the seed. A particular seed can be specified in order to perform repeatable tests.
Definition at line 171 of file rtkAdditiveGaussianNoiseImageFilter.h.
using rtk::AdditiveGaussianNoiseImageFilter< TInputImage >::ConstPointer = itk::SmartPointer<const Self> |
Definition at line 180 of file rtkAdditiveGaussianNoiseImageFilter.h.
using rtk::AdditiveGaussianNoiseImageFilter< TInputImage >::InputImageConstPointer = typename InputImageType::ConstPointer |
Definition at line 200 of file rtkAdditiveGaussianNoiseImageFilter.h.
using rtk::AdditiveGaussianNoiseImageFilter< TInputImage >::InputImagePixelType = typename InputImageType::PixelType |
Definition at line 202 of file rtkAdditiveGaussianNoiseImageFilter.h.
using rtk::AdditiveGaussianNoiseImageFilter< TInputImage >::InputImagePointer = typename InputImageType::Pointer |
Definition at line 199 of file rtkAdditiveGaussianNoiseImageFilter.h.
using rtk::AdditiveGaussianNoiseImageFilter< TInputImage >::InputImageRegionType = typename InputImageType::RegionType |
Definition at line 201 of file rtkAdditiveGaussianNoiseImageFilter.h.
using rtk::AdditiveGaussianNoiseImageFilter< TInputImage >::InputImageType = TInputImage |
Some convenient type alias.
Definition at line 198 of file rtkAdditiveGaussianNoiseImageFilter.h.
using rtk::AdditiveGaussianNoiseImageFilter< TInputImage >::InputPixelType = typename InputImageType::PixelType |
Definition at line 203 of file rtkAdditiveGaussianNoiseImageFilter.h.
using rtk::AdditiveGaussianNoiseImageFilter< TInputImage >::NoiseFilterType = itk::UnaryFunctorImageFilter<InputImageType, InputImageType, NormalVariateNoiseFunctor<typename InputImageType::PixelType> > |
Definition at line 322 of file rtkAdditiveGaussianNoiseImageFilter.h.
using rtk::AdditiveGaussianNoiseImageFilter< TInputImage >::OutputImagePointer = typename Superclass::OutputImagePointer |
Definition at line 195 of file rtkAdditiveGaussianNoiseImageFilter.h.
using rtk::AdditiveGaussianNoiseImageFilter< TInputImage >::OutputImageRegionType = typename Superclass::OutputImageRegionType |
Superclass type alias.
Definition at line 194 of file rtkAdditiveGaussianNoiseImageFilter.h.
using rtk::AdditiveGaussianNoiseImageFilter< TInputImage >::Pointer = itk::SmartPointer<Self> |
Definition at line 179 of file rtkAdditiveGaussianNoiseImageFilter.h.
using rtk::AdditiveGaussianNoiseImageFilter< TInputImage >::Self = AdditiveGaussianNoiseImageFilter |
Standard class type alias.
Definition at line 177 of file rtkAdditiveGaussianNoiseImageFilter.h.
using rtk::AdditiveGaussianNoiseImageFilter< TInputImage >::Superclass = itk::ImageToImageFilter<TInputImage, TInputImage> |
Definition at line 178 of file rtkAdditiveGaussianNoiseImageFilter.h.
|
protected |
|
virtual |
Reimplemented from itk::Object.
|
overridevirtual |
Reimplemented from itk::ImageSource< TOutputImage >.
|
inline |
Returns the average noise added to the image per pixel. The default is 0.
Definition at line 232 of file rtkAdditiveGaussianNoiseImageFilter.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageSource< TOutputImage >.
|
inline |
Get the maximum output value.
Definition at line 308 of file rtkAdditiveGaussianNoiseImageFilter.h.
|
inline |
Get the minimum output value.
Definition at line 288 of file rtkAdditiveGaussianNoiseImageFilter.h.
|
inline |
Returns the standard deviation of the noise added to the image. The default is 1.
Definition at line 254 of file rtkAdditiveGaussianNoiseImageFilter.h.
|
static |
Method for creation through the object factory
|
overrideprotectedvirtual |
Reimplemented from itk::ImageSource< TOutputImage >.
|
inline |
Specifies the average noise added to the image per pixel. The default is 0.
Definition at line 220 of file rtkAdditiveGaussianNoiseImageFilter.h.
|
inline |
Set the maximum output value.
Definition at line 295 of file rtkAdditiveGaussianNoiseImageFilter.h.
|
inline |
Set the minimum output value.
Definition at line 275 of file rtkAdditiveGaussianNoiseImageFilter.h.
|
inline |
Specifies the seed for the normal variate generator. The same seed will produce the same pseduo-random sequence, which can be used to reproduce results. For a higher dose of entropy, initialise with the current system time (in ms).
Definition at line 266 of file rtkAdditiveGaussianNoiseImageFilter.h.
|
inline |
Specifies the standard deviation of the noise added to the image. The default is 1.
Definition at line 242 of file rtkAdditiveGaussianNoiseImageFilter.h.
|
static |
ImageDimension constants
Definition at line 206 of file rtkAdditiveGaussianNoiseImageFilter.h.
|
private |
Definition at line 325 of file rtkAdditiveGaussianNoiseImageFilter.h.