9 Commits

Author SHA1 Message Date
Julien Lengrand-Lambert
cce1449a9a Adds 16 bits support to histogram calculation
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>
2011-12-29 12:08:03 +01:00
Julien Lengrand-Lambert
8d650b57dd Removes all .pyc just inserted by error . . . 2011-12-19 14:53:35 +01:00
Julien Lengrand-Lambert
fe6ac64b4b Adds histogram support to 3 channels images
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>
2011-12-19 14:48:24 +01:00
Julien Lengrand-Lambert
4d142c6075 Merge branch 'master' of https://github.com/jlengrand/Tippy
Conflicts:
	examples/histogram_display.py
	tippy/statistics.py
	tippy/tests/test_statistics.py
2011-12-19 14:47:26 +01:00
Julien Lengrand-Lambert
3b2c8a9b84 Adds histogram support to 3 channels images
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>
2011-12-19 14:40:58 +01:00
Julien Lengrand-Lambert
335108ecf6 Adds histogram support to 3 channels images
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>
2011-12-16 17:49:19 +01:00
Julien Lengrand-Lambert
1892bd6945 Adds Histogram calculation support.
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
2011-12-15 17:04:13 +01:00
Julien Lengrand-Lambert
18d90b8f7e Adds run example target in Ant 2011-12-06 13:40:35 +01:00
Julien Lengrand-Lambert
c8361cfb46 Moves examples to a more logical position
Signed-off-by: Julien Lengrand-Lambert <julien@lengrandlambert.fr>
2011-12-05 22:06:00 +01:00