C# Class Accord.Imaging.Filters.GrayWorld

Gray World filter for color normalization.

The grey world normalization makes the assumption that changes in the lighting spectrum can be modeled by three constant factors applied to the red, green and blue channels of color[2]. More specifically, a change in illuminated color can be modeled as a scaling α, β and γ in the R, G and B color channels and as such the grey world algorithm is invariant to illumination color variations.

References: Wikipedia Contributors, "Color normalization". Available at http://en.wikipedia.org/wiki/Color_normalization Jose M. Buenaposada; Luis Baumela. Variations of Grey World for face tracking (Report).

Inheritance: BaseInPlaceFilter
Mostrar archivo Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
GrayWorld ( ) : System.Collections.Generic

Initializes a new instance of the GrayWorld class.

Protected Methods

Method Description
ProcessFilter ( UnmanagedImage image ) : void

Process the filter on the specified image.

Method Details

GrayWorld() public method

Initializes a new instance of the GrayWorld class.
public GrayWorld ( ) : System.Collections.Generic
return System.Collections.Generic

ProcessFilter() protected method

Process the filter on the specified image.
protected ProcessFilter ( UnmanagedImage image ) : void
image Accord.Imaging.UnmanagedImage Source image data.
return void