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
Support for 3 channel / diverse encoding image should be added soon.
Other functions to be integrated:
-histogram to numpy table
-histogram image creation
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr>
Implements mouse_pos function
Implements corresponding tests
Two modes included, single and multiple.
TODO:
How to tests functions needing user inputs?
Signed-off-by: Julien Lengrand-Lambert <julien@lengrandlambert.fr>
Some errors corrected in function code.
Adds "real life" tests with an image an non zero pixels count.
Examples to be added soon, with mouse value operations.
Signed-off-by: Julien Lengrand-Lambert <julien@lengrandlambert.fr>