Perlin method (ILEADRasterProcess)

Visual Basic example

Visual C++ example

 

Syntax

short Perlin(ILEADRaster * pRaster, long lSeed, long lFrequency, long lDensity, long lOpacity, OLE_COLOR crBackColor, OLE_COLOR crPerlinColor, long lxCircle, long lyCircle, long lFreqLayout, long lDenLayout, long lFlags);

Overview

Refer to Applying Artistic Effects.

Remarks

(Raster Pro and above only) Uses a pseudo-random number generator in order to create a Perlin noise, and then procedurally transforms that noise into a texture.

This texture depends on the flags that are set. The texture can be saved as a bitmap by itself, or the texture can be combined with another bitmap. For more information, refer to Using the Perlin method.

This method is similar to the Clouds method in that they both use Perlin equations to generate pseudo-random noise, but each method applies different equations to the noise to produce the texture.

Use the AddNoise method in order to add random noise to a bitmap.

This method supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale and 48 and 64 bit color images is available only in the Document/Medical toolkits.

This method does not support signed data images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image is passed to this method.

See Also

Elements:

AddNoise method, Sharpen method, Posterize method, Mosaic method, Emboss method, Average method, Median method, IntensityDetect method, SpatialFilter method, BinaryFilter method, MaxFilter method, MinFilter method, Oilify method, Solarize method, WindowLevel method, BumpMap method, Cubism method, DrawStar method, Dry method, FreePlaneBend method, FreeRadBend method, GlassEffect method, GlowFilter method, LensFlare method, Light method, Ocean method, PlaneBend method, Plane method, SampleTarget method, Tunnel method, Bending method, Cylindrical method, FreeHandShear method, FreeHandWave method, Impressionist method, Pixelate method, Polar method, Punch method, RadialBlur method, RadWave method, Ripple method, Spherize method, Swirl method, Wave method, Wind method, ZoomBlur method, ZoomWave method, AddShadow method, RevEffect method, Aging method, DiceEffect method, FunctionalLight method, PuzzleEffect method, RingEffect method, TextureAlphaBlend method

Topics:

Raster Images: Filtering Images.