module StumpyJPEG::ColorModel
Defined in:
stumpy_jpeg/color_model.crClass Method Summary
-
.from_number_of_components(n)
Returns a ColorModel corresponding to n components
Instance Method Summary
-
#compose_canvas(matrices : Array(Matrix))
Composes a Canvas using each matrix as a component
-
#decompose_canvas(canvas : Canvas)
Decomposes a Canvas into component matrices
-
#number_of_components
Returns the number of components used for this ColorModel
Class Method Detail
Instance Method Detail
abstract
def compose_canvas(matrices : Array(Matrix))
#
Composes a Canvas using each matrix as a component