Johannes Schönberger
c3d40447f8
Remove call to deprecated is_gray function
2013-10-02 16:58:32 +02:00
Matt Terry
a84388ccdb
doc cleanup
2013-08-06 06:38:50 -07:00
Matt Terry
efe51c92a9
tuples are valid inputs
2013-08-05 12:43:42 -07:00
Matt Terry
dc692dddcc
code cleanup
2013-08-05 12:18:32 -07:00
Matt Terry
6585efb763
lab2lch/lch2lab for N-D images (w/tests)
2013-07-30 14:20:55 -07:00
Matt Terry
364ebd7418
copy editing
2013-07-30 10:50:43 -07:00
Matt Terry
e848ba1e61
copy editing docs
2013-07-25 15:17:11 -07:00
Matt Terry
1cd918e5c0
pep8 math operators
2013-07-24 07:54:56 -07:00
Matt Terry
499141cd2b
docs
2013-07-23 21:32:49 -07:00
Matt Terry
65d655e3ec
cleaner lch implementations
2013-07-22 15:46:20 -07:00
Matt Terry
e866696d5d
add color distance functions, ciede2000 tests
2013-07-21 16:33:18 -07:00
Juan Nunez-Iglesias
dab831b72b
Bug fix: map returns iterator in Py3k
2013-07-02 20:13:09 +02:00
Juan Nunez-Iglesias
f0d586a32f
Revert change to is_rgb
2013-07-02 13:22:13 +02:00
Juan Nunez-Iglesias
1c116a9905
Add function to guesstimate number of spatial dimensions
2013-07-02 13:22:13 +02:00
Juan Nunez-Iglesias
30636428db
Add more descriptive error message to _prepare_colorarray
2013-07-02 13:22:12 +02:00
Juan Nunez-Iglesias
0132998ca1
Make more colorconv functions 3D aware
2013-07-02 13:21:17 +02:00
Juan Nunez-Iglesias
19f264bc8b
Make color functions used by SLIC 3D-aware
2013-07-02 13:21:16 +02:00
Ankit Agrawal
d1a7a90a59
Deprecating is_rgb and is_gray
2013-05-21 02:00:06 +08:00
Ankit Agrawal
dc3ecf58ad
Removing redundant imports used in previous commits
2013-05-16 00:56:54 +08:00
Ankit Agrawal
7dfea72ec3
Removing is_gray() and is_rgb()
2013-05-16 00:52:51 +08:00
Ankit Agrawal
4cb251bbe6
Deprecating is_gray and replacing it with is_gray_2d
2013-04-30 18:44:42 +05:30
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
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
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
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
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