AbdealiJK
fc2089af32
colorconv: Add rgba2rgb()
...
rgba2rgb() is a conversion function which takes in a background RGB
color which is used to alpha blend with an RGBA image in the foreground.
The default value for this background is white (255, 255, 255).
2016-07-14 21:06:52 +05:30
AbdealiJK
860eb399ef
color.colorconv: Fix documentation of rgb2gray()
...
The working of rgb2gray() has been modified, and it now works
with both 3D and 4D arrays and appropriately finds the luminance
image of the given image. The documnetation does not mention the
4D array support and this commit modifies the documentation to
mention this.
2016-06-23 09:25:51 +05:30
Egor Panfilov
dfafc5045e
Add colorspaces: YUV, YIQ, YPbPr, YCbCr ( #2060 )
...
Add YUV, YIQ, YPbPr, YCbCr colorspaces
2016-05-08 20:03:49 +03:00
Alex Izvorski
88bd0c4864
Wrap long lines
2016-05-01 14:37:17 -07:00
Alex Izvorski
c9e8356cf6
Speed up _convert
2016-05-01 13:53:30 -07:00
Alex Izvorski
8abe357972
Fix one more transpose
2016-04-30 23:50:18 -07:00
Alex Izvorski
d0bf9d614f
Add to authors in file
2016-04-30 23:35:15 -07:00
Alex Izvorski
aad78f7ad3
Fix conversion matrixes shouldn't be transposed
2016-04-30 03:19:28 -07:00
Alex Izvorski
dc552f03aa
Change notes in the docs
2016-04-30 02:51:17 -07:00
Alex Izvorski
1a6cff4f72
Minor changes to docs and formatting
2016-04-30 02:44:02 -07:00
Alex Izvorski
8dc4d3509e
Add colorspaces: YUV, YIQ, YPbPr, YCbCr
2016-04-30 00:58:34 -07:00
Rodrigo Benenson
362b68c055
rgb2grey -> grey2rgb
...
Simply added `grey2rgb = gray2rgb` to match the existing rgb2grey.
2016-03-08 15:56:26 +01:00
Johannes Schönberger
4e5c4d3c4d
Fix rgb2grey for alpha channel
2016-01-31 21:50:56 +01:00
Johannes Schönberger
f4e0370bc2
Make sure rgb2gray output is contiguous
2016-01-31 19:35:53 +01:00
Johannes Schönberger
65a29071fe
Speedup rgb2gray and return congiguous array
2016-01-31 19:21:03 +01:00
Pratap Vardhan
aadb2cd0ff
MNT: Remove never attained return case under gray2rgb
2015-11-16 12:05:33 +05:30
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
Rebecca
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