Свойство | Тип | Описание | |
---|---|---|---|
Reduce | void |
Метод | Описание | |
---|---|---|
AddColor ( ImageProcessor.Imaging.Colors.Color32 pixel ) : void |
Add a given color value to the Octree
|
|
GetPaletteIndex ( ImageProcessor.Imaging.Colors.Color32 pixel ) : int |
Get the palette index for the passed color
|
|
Octree ( int maxColorBits ) : System |
Initializes a new instance of the Octree class.
|
|
Palletize ( int colorCount ) : |
Convert the nodes in the Octree to a palette with a maximum of colorCount colors
|
Метод | Описание | |
---|---|---|
TrackPrevious ( OctreeNode node ) : void |
Keep track of the previous node that was quantized
|
Метод | Описание | |
---|---|---|
Reduce ( ) : void |
Reduce the depth of the tree
|
public AddColor ( ImageProcessor.Imaging.Colors.Color32 pixel ) : void | ||
pixel | ImageProcessor.Imaging.Colors.Color32 |
/// The |
Результат | void |
public GetPaletteIndex ( ImageProcessor.Imaging.Colors.Color32 pixel ) : int | ||
pixel | ImageProcessor.Imaging.Colors.Color32 |
/// The |
Результат | int |
public Octree ( int maxColorBits ) : System | ||
maxColorBits | int | /// The maximum number of significant bits in the image /// |
Результат | System |
public Palletize ( int colorCount ) : |
||
colorCount | int | /// The maximum number of colors /// |
Результат |
protected TrackPrevious ( OctreeNode node ) : void | ||
node | OctreeNode | /// The node last quantized /// |
Результат | void |