Commit Graph

21 Commits

Author SHA1 Message Date
Julien Lengrand-Lambert
e9bdac2f15 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:49:35 +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
8ee24289a7 Small updates on statistics.
Corrects a bug in computehistogram. 

Starts tests on hist2table.
2011-12-14 14:15:01 +01:00
Julien Lengrand-Lambert
45faeda52d Adds simple histogram calculation.
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>
2011-12-12 23:50:16 +01:00
Julien Lengrand-Lambert
dafc526277 Adds Ant usage for compilation and to run all tests at once.
TODO : 
Find how to generate doc using Ant. 

Signed-off-by: Julien Lengrand-Lambert <julien@lengrandlambert.fr>
2011-12-05 21:58:48 +01:00
Julien Lengrand-Lambert
e2ce95d27e Adds 8-connectivity support in simple_region_growing function
Signed-off-by: Julien Lengrand-Lambert <julien@lengrandlambert.fr>
2011-12-04 19:17:08 +01:00
Julien Lengrand-Lambert
f6d9b0b047 Adds mouse_point function to library
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>
2011-11-27 23:05:41 +01:00
Julien Lengrand-Lambert
2a6dc49ff3 Finishes simple_region_growing insertion
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>
2011-11-27 21:10:06 +01:00
Julien Lengrand-Lambert
5ecc745143 Forgot segmentation files 2011-11-26 23:20:09 +01:00
Julien Lengrand-Lambert
cbc9bde6f8 Works on region growing function.
Tests finshed. 
Errors on TypeErrors.

To be checked in my bed ^^
2011-11-26 23:18:33 +01:00
Julien Lengrand-Lambert
b9a993bb75 Simple Name change 2011-11-25 14:13:33 +01:00
Julien Lengrand-Lambert
03cc6b0e20 Lambda functions allow assertRaises without errors.
Implemented display_single_image function. 

Searching for a way to run all tests at the same time.
2011-11-24 17:19:22 +01:00
Julien Lengrand-Lambert
04262918cb Creates tests for display_single_image
Enhances tests for create_same_image

Problem with assertRaises
2011-11-24 14:44:08 +01:00
Julien Lengrand-Lambert
98a886de4b Code coverage integration 2011-11-23 13:27:52 +01:00
Julien Lengrand-Lambert
e0c6090475 Creates create_same_image function.
Initiates unittest. 
Some tasks to be done in code. (Errors handling and so on). 

Insertion of TODO file. 
Eclipse errors while using opencv functions.
2011-11-21 20:02:49 +01:00
Julien Lengrand-Lambert
7570a7b3fe Sample commit test 2011-11-08 23:56:41 +01:00
Julien Lengrand-Lambert
9bd3aa6ce6 creates structures, removes redundant readmes 2011-10-27 14:02:51 +02:00
Julien Lengrand-Lambert
1899e95b3a Creates README files 2011-09-30 17:06:50 +02:00