You are here: Start » FIL.NET » Invoke.AddNoiseToImage

Invoke.AddNoiseToImage

Adds random noise to the image.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void AddNoiseToImage
(
	Fil.RandomState ioState,
	Fil.Image inImage,
	float inMinValue,
	float inMaxValue,
	float inNoiseStrength,
	bool inColorNoise,
	Optional<int> inSeed,
	Fil.Image outImage
)

Parameters

Name Type Range Default Description
ioStateFil.RandomStateState of generator.
inImageFil.ImageInput image.
inMinValuefloat0.0fMinimum value of noise pixel, inclusive. Default value: 0.0f.
inMaxValuefloat256.0fMaximum value of noise pixel, exclusive. Default value: 256.0f.
inNoiseStrengthfloat<0.0f, 1.0f>0.5fNoise strength. Default value: 0.5f.
inColorNoiseboolIf 'True', noise will be generated separately for each channel.
inSeedFtl.Optional<int>Random seed used to generate noise. Default value: ftl::NIL.
outImageFil.ImageOutput image.

See also