Commit Graph
83 Commits
Author SHA1 Message Date
Stefan van der Walt 8cb409bcb0 Add alpha layer support to gray2rgb 2015-08-21 15:36:23 -07:00
Steven Silvester 371d46ecf5 Remove unnecessary option and update test 2015-02-09 14:37:11 -06:00
blink1073 8042dc2cd9 Fix holes in lab conversions and add tests
Fix holes in lab conversions and add tests

Fix holes in lab conversions and add tests

Add saturation protection and error raising by default

Trigger travis rebuild after error

Raise warning by default, change parameter name
2015-02-05 21:47:17 -06:00
Pratap Vardhan b72a960670 DOC: Misc spell corrections 2014-12-16 11:41:24 +05:30
Johannes Schönberger 3a1079a180 Misc PEP8 fixes 2014-12-14 02:56:14 +01:00
RebeccaandStefan van der Walt 1b217f971e replacing lena in examples and most tests 2014-11-07 16:01:23 +02:00
Stefan van der Walt 28df57edc8 Merge pull request #1130 from capitanbatata/more-illuminants
Add more illuminants to color conversion
2014-10-01 01:46:16 +02:00
capitanbatata b44d4f7f45 Added Johannes' comments. 2014-09-30 08:32:48 +02:00
capitanbatata 27fcb81f74 Incorporated Stefan's comments. 2014-09-11 18:23:55 +02:00
capitanbatata 272e9310d2 Added Stephan comments.
Syntax is now checked using `flake8`.
2014-09-05 13:35:35 +02:00
capitanbatata 4c3c49558d Corrected code to conform to Python coding conventions (PEP 8).
Added test code for handling exceptions.

Corrected test code to use the full path to the test data.
2014-09-03 09:13:34 +02:00
Rebecca 812b23d41f making in-place addition modification suggested in issue #1089 2014-08-31 11:37:35 +01:00
capitanbatata c8f3a66225 Added tests for the new functionality. 2014-08-08 14:22:27 +02:00
capitanbatata 95f18c71da Added support for different illuminants. 2014-08-08 10:43:57 +02:00
Maximilian Albert adbc2efbfa Fix copy/paste error in docstring. 2014-05-17 18:20:10 +01:00
Juan Nunez-Iglesias fdc2b8dc93 Remove is_gray and is_rgb 2014-04-09 19:41:50 +10:00
Stefan van der Walt 3dd1bc1794 Format color conversion docstrings. 2013-10-27 22:06:16 +02:00
Matthew Trentacoste 888ef05b63 Adding note for Luv colorspace to top docstring 2013-10-23 22:23:26 -07:00
Matthew Trentacoste c05d18a010 docstring changes to correctly format input/output, clarifying XYZ and reference white 2013-10-23 22:21:15 -07:00
Matthew Trentacoste 44580817fc Cleaning up docstrings 2013-10-23 12:42:40 -07:00
Matthew Trentacoste df6a112bc5 flake8-compliant formatting 2013-10-23 00:07:00 -07:00
Matthew Trentacoste 9d9d16d2a4 renaming machineEps to eps to match convention 2013-10-22 23:52:12 -07:00
Matthew Trentacoste 36e56e2639 Removing unneeded division checking code 2013-10-22 23:33:38 -07:00
Matthew Trentacoste 57eb69465c Adding references regarding Lab and Luv spaces to docstring 2013-10-22 23:29:51 -07:00
Matthew Trentacoste 8093999731 Luv colorspace conversions
Adding XYZ <--> Luv, RGB <-->
Adding test functions to mirror Lab tests
2013-10-22 23:26:49 -07:00
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