Modifies code to accept any encoding depth.
Updates tests to fit with code modifications.
Adds example in order to present a strange case with different encoding
depth and actual pixel values.
Adds an image that fits with the example
Reported-by: Julien Lengrand-Lambert
Signed-off-by: Julien Lengrand-Lambert <julien@lengrandlambert.fr>
Finishes support for 3 channels images.
Adds a function allowing to extract only one desired channel
Updates the example to extract all channels.
Support for 16 and 32 bits images should be tested.
Function for 3c to 1c to be added quickly!
Reported-by: Julien Lengrand-Lambert <julien@lengrand.fr>
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr>
Finishes support for 3 channels images.
Adds a function allowing to extract only one desired channel
Updates the example to extract all channels.
Support for 16 and 32 bits images should be tested.
Function for 3c to 1c to be added quickly!
Reported-by: Julien Lengrand-Lambert <julien@lengrand.fr>
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr>
compute_histogram support is available.
hist2table support is available
hist2image still to be performed.
Function for 3c to 1c to be added quickly!
Reported-by: Julien Lengrand-Lambert <julien@lengrand.fr>
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr>
A new Histogram class has been designed in order to ease development and
simplify functions. The class contains input image information, which
are finally used to create an output image.
For now, only grayscale images are supported. But color images support
should be added soon (like in very soon).
It still only has a small design interrogation about several channels
support.
In addition, a new example has been designed so that users can test
their functions.
be
added