C# Class SimplePaletteQuantizer.ColorCaches.LocalitySensitiveHash.LshColorCache

Inheritance: BaseColorCache
Afficher le fichier Open project: RHY3756547/FreeSO

Méthodes publiques

Méthode Description
LshColorCache ( ) : System

Initializes a new instance of the LshColorCache class.

LshColorCache ( ColorModel colorModel, Byte quality ) : System

Initializes a new instance of the LshColorCache class.

Prepare ( ) : void

See BaseColorCache.Prepare for more details.

Méthodes protégées

Méthode Description
OnCachePalette ( IList palette ) : void

See BaseColorCache.OnCachePalette for more details.

OnGetColorPaletteIndex ( Color color, Int32 &paletteIndex ) : void

See BaseColorCache.OnGetColorPaletteIndex for more details.

Private Methods

Méthode Description
GetBucket ( Color color ) : BucketInfo
GetColorBucketIndex ( Color color ) : System.Int64

Method Details

LshColorCache() public méthode

Initializes a new instance of the LshColorCache class.
public LshColorCache ( ) : System
Résultat System

LshColorCache() public méthode

Initializes a new instance of the LshColorCache class.
public LshColorCache ( ColorModel colorModel, Byte quality ) : System
colorModel ColorModel The color model.
quality Byte The quality.
Résultat System

OnCachePalette() protected méthode

See BaseColorCache.OnCachePalette for more details.
protected OnCachePalette ( IList palette ) : void
palette IList
Résultat void

OnGetColorPaletteIndex() protected méthode

See BaseColorCache.OnGetColorPaletteIndex for more details.
protected OnGetColorPaletteIndex ( Color color, Int32 &paletteIndex ) : void
color Color
paletteIndex System.Int32
Résultat void

Prepare() public méthode

See BaseColorCache.Prepare for more details.
public Prepare ( ) : void
Résultat void