gauss_distributionT_gauss_distributionGaussDistributionGaussDistributiongauss_distribution (Operator)

Name

gauss_distributionT_gauss_distributionGaussDistributionGaussDistributiongauss_distribution — 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)

def gauss_distribution(sigma: float) -> Sequence[float]

Description

gauss_distributiongauss_distributionGaussDistributionGaussDistributionGaussDistributiongauss_distribution generates a Gaussian noise distribution. The parameter SigmaSigmaSigmaSigmasigmasigma determines the noise's standard deviation. Usually, the result DistributionDistributionDistributionDistributiondistributiondistribution is used as input for the operator add_noise_distributionadd_noise_distributionAddNoiseDistributionAddNoiseDistributionAddNoiseDistributionadd_noise_distribution.

Execution Information

Parameters

SigmaSigmaSigmaSigmasigmasigma (input_control)  real HTuplefloatHTupleHtuple (real) (double) (double) (double)

Standard deviation of the Gaussian noise distribution.

Default: 2.0

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

Value range: 0.0 ≤ Sigma Sigma Sigma Sigma sigma sigma ≤ 100.0

Minimum increment: 0.1

Recommended increment: 1.0

DistributionDistributionDistributionDistributiondistributiondistribution (output_control)  distribution.values-array HTupleSequence[float]HTupleHtuple (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_distributionAddNoiseDistributionAddNoiseDistributionAddNoiseDistributionadd_noise_distribution

Alternatives

sp_distributionsp_distributionSpDistributionSpDistributionSpDistributionsp_distribution, noise_distribution_meannoise_distribution_meanNoiseDistributionMeanNoiseDistributionMeanNoiseDistributionMeannoise_distribution_mean

See also

sp_distributionsp_distributionSpDistributionSpDistributionSpDistributionsp_distribution, add_noise_whiteadd_noise_whiteAddNoiseWhiteAddNoiseWhiteAddNoiseWhiteadd_noise_white, noise_distribution_meannoise_distribution_meanNoiseDistributionMeanNoiseDistributionMeanNoiseDistributionMeannoise_distribution_mean

Module

Foundation