gauss_distributionT_gauss_distributionGaussDistributionGaussDistributiongauss_distribution (Operator)
gauss_distributionT_gauss_distributionGaussDistributionGaussDistributiongauss_distribution
— Generate a Gaussian noise distribution.
Signature
def gauss_distribution(sigma: float) -> Sequence[float]
Description
gauss_distributiongauss_distributionGaussDistributionGaussDistributiongauss_distribution
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_distributionAddNoiseDistributionAddNoiseDistributionadd_noise_distribution
.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
SigmaSigmaSigmasigmasigma
(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
≤
100.0
Minimum increment:
0.1
Recommended increment:
1.0
DistributionDistributionDistributiondistributiondistribution
(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)
Possible Successors
add_noise_distributionadd_noise_distributionAddNoiseDistributionAddNoiseDistributionadd_noise_distribution
Alternatives
sp_distributionsp_distributionSpDistributionSpDistributionsp_distribution
,
noise_distribution_meannoise_distribution_meanNoiseDistributionMeanNoiseDistributionMeannoise_distribution_mean
See also
sp_distributionsp_distributionSpDistributionSpDistributionsp_distribution
,
add_noise_whiteadd_noise_whiteAddNoiseWhiteAddNoiseWhiteadd_noise_white
,
noise_distribution_meannoise_distribution_meanNoiseDistributionMeanNoiseDistributionMeannoise_distribution_mean
Module
Foundation