QuantizerWu class

Implemented types

Constructors

QuantizerWu()

Properties

cubes List<Box>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
moments List<double>
getter/setter pair
momentsB List<int>
getter/setter pair
momentsG List<int>
getter/setter pair
momentsR List<int>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
weights List<int>
getter/setter pair

Methods

computeMoments() → void
constructHistogram(Map<int, int> pixels) → void
createBoxes(int maxColorCount) CreateBoxesResult
createResult(int colorCount) List<int>
cut(Box one, Box two) bool
maximize(Box cube, Direction direction, int first, int last, int wholeR, int wholeG, int wholeB, int wholeW) MaximizeResult
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
quantize(Iterable<int> pixels, int colorCount) Future<QuantizerResult>
override