ClassesClasses | | Operators

gauss_distributionT_gauss_distributionGaussDistributionGaussDistribution (Operator)

Name

gauss_distributionT_gauss_distributionGaussDistributionGaussDistribution — Generate a Gaussian noise distribution.

Signature

gauss_distribution( : : Sigma : Distribution)

Herror T_gauss_distribution(const Htuple Sigma, Htuple* Distribution)

void GaussDistribution(const HTuple& Sigma, HTuple* Distribution)

static HTuple HMisc::GaussDistribution(double Sigma)

static void HOperatorSet.GaussDistribution(HTuple sigma, out HTuple distribution)

static HTuple HMisc.GaussDistribution(double sigma)

Description

gauss_distributiongauss_distributionGaussDistributionGaussDistributionGaussDistribution generates a Gaussian noise distribution. The parameter SigmaSigmaSigmaSigmasigma determines the noise's standard deviation. Usually, the result DistributionDistributionDistributionDistributiondistribution is used as input for the operator add_noise_distributionadd_noise_distributionAddNoiseDistributionAddNoiseDistributionAddNoiseDistribution.

Execution Information

Parameters

SigmaSigmaSigmaSigmasigma (input_control)  real HTupleHTupleHtuple (real) (double) (double) (double)

Standard deviation of the Gaussian noise distribution.

Default value: 2.0

Suggested values: 1.5, 2.0, 3.0, 5.0, 10.0

Typical range of values: 0.0 ≤ Sigma Sigma Sigma Sigma sigma ≤ 100.0

Minimum increment: 0.1

Recommended increment: 1.0

DistributionDistributionDistributionDistributiondistribution (output_control)  distribution.values-array HTupleHTupleHtuple (real) (double) (double) (double)

Resulting Gaussian noise distribution.

Number of elements: 513

Example (HDevelop)

read_image(Image,'fabrik')
dev_display (Image)
gauss_distribution(30,Dist)
add_noise_distribution(Image,ImageNoise,Dist)
dev_display (ImageNoise)

Example (C)

read_image(&Image,"fabrik");
disp_image(Image,WindowHandle);
set_d(Sigma,30.0,0);
T_gauss_distribution(Sigma,&Dist);
T_add_noise_distribution(Image,&ImageNoise,Dist);
disp_image(ImageNoise,WindowHandle);

Example (HDevelop)

read_image(Image,'fabrik')
dev_display (Image)
gauss_distribution(30,Dist)
add_noise_distribution(Image,ImageNoise,Dist)
dev_display (ImageNoise)

Example (HDevelop)

read_image(Image,'fabrik')
dev_display (Image)
gauss_distribution(30,Dist)
add_noise_distribution(Image,ImageNoise,Dist)
dev_display (ImageNoise)

Example (HDevelop)

read_image(Image,'fabrik')
dev_display (Image)
gauss_distribution(30,Dist)
add_noise_distribution(Image,ImageNoise,Dist)
dev_display (ImageNoise)

Possible Successors

add_noise_distributionadd_noise_distributionAddNoiseDistributionAddNoiseDistributionAddNoiseDistribution

Alternatives

sp_distributionsp_distributionSpDistributionSpDistributionSpDistribution, noise_distribution_meannoise_distribution_meanNoiseDistributionMeanNoiseDistributionMeanNoiseDistributionMean

See also

sp_distributionsp_distributionSpDistributionSpDistributionSpDistribution, add_noise_whiteadd_noise_whiteAddNoiseWhiteAddNoiseWhiteAddNoiseWhite, noise_distribution_meannoise_distribution_meanNoiseDistributionMeanNoiseDistributionMeanNoiseDistributionMean

Module

Foundation


ClassesClasses | | Operators