Click or drag to resize

NoiseGenerator Class

Summary description for NoiseGenerator.
Creates a new image containing noise.
Inheritance Hierarchy
SystemObject
  Atalasoft.Imaging.ImageProcessingNoiseGenerator

Namespace:  Atalasoft.Imaging.ImageProcessing
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
[SerializableAttribute]
public class NoiseGenerator : ISerializable

The NoiseGenerator type exposes the following members.

Constructors
  NameDescription
Public methodNoiseGenerator
Initializes a new instance of the NoiseGenerator class.
Public methodNoiseGenerator(Size)
Initializes a new instance of NoiseGenerator specifying the resulting image size.
Public methodNoiseGenerator(Size, Double)
Initializes a new instance of NoiseGenerator specifying the resulting image size and scale.
Protected methodNoiseGenerator(SerializationInfo, StreamingContext)
Initializes a new instance of NoiseGenerator.
Public methodNoiseGenerator(Size, Double, NoiseGeneratorMode)
Initializes a new instance of NoiseGenerator specifying the resulting image size, scale and mode.
Public methodNoiseGenerator(Size, Double, NoiseGeneratorMode, Color)
Initializes a new instance of NoiseGenerator specifying the resulting image size, scale, mode and base color.
Top
Properties
  NameDescription
Public propertyBaseColor
Gets or sets the base color of the noise.
Public propertyImageSize
Gets or sets the size of the resulting image.
Public propertyMode
Gets or sets the type of noise to generate.
Public propertyScale
Gets or sets the size of the noise.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGenerateImage
Generates a new AtalaImage containing the noise.
Public methodGenerateImage(Double)
Generates a new AtalaImage containing the noise.
Public methodGenerateImage(Int32, Double)
Generates a new AtalaImage containing the noise.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
This function has many uses. One is to generate Perlin or Hugo noise, resize it large, and then use that as random clouds. There are many different types of noise you can generate.
See Also