Commit Graph
19 Commits
Author SHA1 Message Date
Stefan van der Walt 7de454178b ENH: Add rgb2grey. 2010-11-05 14:59:54 +02:00
Ralf Gommers 04f01ffce4 Add note on assumed data range. 2009-10-23 15:06:27 +02:00
Ralf Gommers 91b0d63800 Remove explicit checks of image type and NaN, and correct dtype descriptor. 2009-10-23 10:48:15 +02:00
Ralf Gommers caede7762b Add a function to convert from any color space directly to any other space. 2009-10-22 11:45:57 +02:00
Ralf Gommers d7b49ef950 Remove NTSC color space.
Reason: it was not clear exactly what this was and what it was for. The color
space used for NTSC video is YIQ, not RGB NTSC.
2009-10-22 01:18:02 +02:00
Ralf Gommers 64f65e0160 Clean up the colorconv module docstring. 2009-10-22 01:14:02 +02:00
Ralf Gommers 57b73a5f53 Add NTSC color space.
Also a typo in rgbcie fixed.
2009-10-21 18:30:09 +02:00
Ralf Gommers cf37916022 Convert matrix lists to arrays, add RGB CIE color space. 2009-10-20 13:12:18 +02:00
Ralf Gommers 94f5eeac25 Add description of the API to the module docstring.
This is not all implemented yet, mostly a description of what I want it to look
like in the end. This required figuring out the right matrices based on some of
the random ones in Travis' code. Should not be too difficult.
2009-10-20 12:10:33 +02:00
Ralf Gommers 5de5014589 Add docstrings for rgb2xyz and xyz2rgb. 2009-10-19 19:39:00 +02:00
Ralf Gommers 1a4ae96024 Add RGB to XYZ bidi conversion. 2009-10-19 18:57:31 +02:00
Ralf Gommers 844f14bca0 Extract the type and shape checks into a common function. 2009-10-19 15:14:21 +02:00
Ralf Gommers 6097565337 Add note on loss of precision. 2009-10-19 14:48:12 +02:00
Ralf Gommers 1657a4d1b8 Implement hsv2rgb. 2009-10-19 14:34:00 +02:00
Ralf Gommers 6c80fa6a55 Add documentation for rgb2hsv. 2009-10-19 10:48:09 +02:00
Ralf Gommers 032d0cd785 Change import to form used everywhere else. 2009-10-19 10:38:44 +02:00
Stefan van der Walt 09b4808b6f Fix paths in colorconv. 2009-08-22 23:51:32 -07:00
nich2oandStefan van der Walt ac9394f1bb updated __init__.py in color 2009-08-22 23:48:37 -07:00
nich2oandStefan van der Walt bad888634b added rgb2hsv color conversion 2009-08-22 23:47:37 -07:00