Click or drag to resize

Quantizer Class

Defines an abstract class for Quantization. The code is from Morgan Skinner's article on optimizing color quantization at http://msdn2.microsoft.com/en-us/library/aa479306.aspx.
Inheritance Hierarchy

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public abstract class Quantizer

The Quantizer type exposes the following members.

Constructors
  NameDescription
Protected methodQuantizer
Construct the quantizer
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.)
Protected methodFirstPass
Execute the first pass through the pixels in the image
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetPalette
Retrieve the palette for the quantized image
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInitialQuantizePixel
Override this to process the pixel in the first pass of the algorithm
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodQuantize
Quantize an image and return the resulting output bitmap
Protected methodQuantizePixel
Override this to process the pixel in the second pass of the algorithm
Protected methodSecondPass
Execute a second pass through the bitmap
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also