Johannes Schönberger
17f202b013
Add __all__ to color package
2013-04-28 23:18:51 +02:00
Johannes Schönberger
5f06652648
Fix dtype bug in color tests for python 3
2013-04-28 11:29:45 +02:00
Ankit Agrawal
f1529aef8e
Reverting the changes
2013-04-27 11:12:13 +05:30
Ankit Agrawal
2992ca7ade
Deprecating is_rgb()
2013-04-24 05:13:34 +05:30
Xavier Moles Lopez
d0a15a7cf9
FIX: Example in combine_stains docstring.
2013-03-13 15:14:39 +01:00
Xavier Moles Lopez
b75776cc2e
ENH: Updated stain separation function docstrings and added matrices to __all__
2013-03-13 14:35:16 +01:00
spotter
74acdc9fa9
FIX: changed unicode dash in docstrings.
2013-03-12 17:09:17 +01:00
spotter
6f7158046f
FIX: combine_stains docstring.
2013-03-12 16:41:02 +01:00
spotter
b3e557b550
FIX: using the new stain separation functions for the special case of hed.
2013-03-12 16:19:51 +01:00
spotter
c43986d6d6
ENH: Adding tests for new stain separation functions.
2013-03-12 16:15:41 +01:00
spotter
f48097c5ca
FIX: fixed docstrings. ENH: Added new stain separation matrices.
2013-03-12 16:06:32 +01:00
spotter
20f27345c3
FIX: rgb2hed and hed2rgb can work with both signed and unsigned image.
2013-03-12 14:22:53 +01:00
spotter
5b25e7e961
FIX: Replaced non-ascii double quotes in Ruifrok reference.
2013-03-09 13:23:36 +01:00
spotter
7c371e1662
FIX: img_as_ubyte function threw ValueError due to floating point errors in hed2rgb function.
...
Clipping the output of the hed2rgb function between 0 and 1 seems to correct
the bug without affecting the conversion quality.
2013-03-08 12:58:22 +01:00
spotter
7439fe96e8
FIX: Testing for ubyte and float images. Input dtypes are converted beforehand.
2013-03-07 00:14:06 +01:00
Xavier Moles Lopez
0a6b72bfe4
FIX: Fixed test_hed_rgb_roundtrip.
2013-03-04 12:15:35 +01:00
Xavier Moles Lopez
7f5b331f22
FIX: import rgb2hed and hed2rgb in the test_colorconv script.
2013-03-04 12:04:44 +01:00
Xavier Moles Lopez
40e7aee4de
FIX: Ran autopep8 on colorconv.py FIX: modified color.data.ihc function FIX: smaller ihc.jpg image
2013-03-04 10:50:17 +01:00
spotter
85b1795cdb
FIX: Removed unused dependency
2013-03-01 12:17:15 +01:00
spotter
3e6e690590
ENH: Added a short test to validate rgb2hed and hed2rgb conversion
2013-03-01 11:50:10 +01:00
spotter
b065580c0a
FIX: Simplified deconvolution equations
2013-03-01 11:49:23 +01:00
spotter
74b37dbb05
ENH: Added rgb2hed and hed2rgb to __all__ list
2013-02-28 16:26:57 +01:00
spotter
997870ce23
FIX: the rgb2hed function. Legal issues regarding the ihc image. ENH: added the hed2rgb function.
2013-02-28 16:15:15 +01:00
spotter
ae685075e1
ENH: Adding color deconvolution method to convert to an Haematoxylin-Eosin-DAB colorspace
2013-02-26 16:25:42 +01:00
Sergey Karayev
6953785eab
added rgb2lab test
2012-12-02 22:51:16 -08:00
Sergey Karayev
43eb33d26b
flake8 on colorconv.py and removed unneeded .copy()
2012-11-30 01:30:59 -08:00
Sergey Karayev
5108d8c346
Fixed RGB<->XYZ conversion.
...
Now correctly follows the algorithm from EasyRGB.
Also fixed a XYZ<->Lab conversion issue by adding
a .copy().
2012-11-29 12:06:01 -08:00
Stefan van der Walt
4a0564a769
Add is_rgb and is_gray.
2012-10-17 00:05:36 -07:00
Stefan van der Walt
120571b079
BUG: Allow RGB images to be passed to grey2rgb.
2012-10-17 00:05:36 -07:00
tonysyu
8b544f2f69
Merge pull request #230 from dharhas/dharhas-lab-color-space
...
xyz <--> lab color space conversions
2012-08-01 07:02:38 -07:00
Andreas Mueller
f74ca8685b
MISC minor cleanup in doctests / examples
2012-07-31 22:00:32 +01:00
Dharhas Pothina
b54817c5b3
minor cleanup of comments & move ref_white to global lab_ref_white
2012-07-30 10:07:33 -05:00
Andreas Mueller
3448e419b3
ENH slight cleanup, fixed *1000 bug, added test and rgb2lab convenience.
2012-07-26 22:44:02 +01:00
Dharhas Pothina
8cd912a894
tests added for xyz2lab and lab2xyz
2012-07-21 09:10:05 -05:00
Dharhas Pothina
fedad0d826
fixed array being modified in place. lab2xyz working
2012-07-20 18:45:56 -05:00
Matt McCormick
bb1add8abd
BUG: Ignore colorconv RuntimeWarning:invalid value encountered in true_divide.
...
Sometimes zero divided by zero can occur in this code. Saturation was already
explicitly set to zero when 'delta' is zero. According to Wikipedia, hue is
undefined when 'delta' here is zero, so explicitly set to zero.
2012-07-20 18:33:41 -04:00
Dharhas Pothina
46f6733fc9
added xyz2lab, lab2xyz not quite working
2012-07-20 17:00:36 -05:00
Stefan van der Walt
4d1809a63c
BUG: Allow rgb2grey to be called on grey-level images.
2012-07-08 17:49:17 -07:00
Andreas Mueller
9f34c84f1a
COSMIT don't let pep8 make your matrices ugly.
2012-06-29 11:27:23 +02:00
Andreas Mueller
f7b3d8062c
COSMIT pep8
2012-06-29 11:27:23 +02:00
Stefan van der Walt
e99f18be5a
BUG: Fix imports for Python 3.2.
2012-03-03 11:18:16 -08:00
Stefan van der Walt
9c7752eecf
DOC: Fix outdated docstring.
2012-02-09 20:45:23 -08:00
Stefan van der Walt
f4330db90d
ENH: Add grey2rgb.
2012-02-08 19:58:26 -08:00
Stefan van der Walt
ec8f62ef5f
ENH: Fix dtype conversion before hsv2rgb and rgb2hsv.
2012-02-08 19:56:00 -08:00
Neil Yager
d56ae9631c
Bug fix: Ignore alpha channel when opening RGBA image as grayscale
2011-10-25 08:52:13 +01:00
Nelle Varoquaux
114cf44c77
Renamed scikits.image to skimage
2011-10-18 21:12:27 +02:00