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
1da3d4d23a
Add one more set of unit tests for rgb 0,1,0
2016-04-30 23:30:58 -07:00
Alex Izvorski
0bc241dbb8
Fix tests, more tests
2016-04-30 03:19:46 -07:00
Alex Izvorski
aad78f7ad3
Fix conversion matrixes shouldn't be transposed
2016-04-30 03:19:28 -07:00
Alex Izvorski
53bbfe64ad
Add imports
2016-04-30 03:18:47 -07:00
Alex Izvorski
dc552f03aa
Change notes in the docs
2016-04-30 02:51:17 -07:00
Alex Izvorski
1c0d0efdd1
YUV colorspace unit tests
2016-04-30 02:44:20 -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
23cfaec724
Follow-up of PR #1989
...
exposing grey2rgb at the module level.
2016-03-08 17:01:00 +01: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
Steven Silvester
b710bd21d2
Use a stacklevel of 2 by default for all warnings
2016-01-30 08:57:46 -06:00
Pratap Vardhan
bb3bd34686
TST: Aseert check values for older test_gray2rgb case
2015-11-16 12:49:27 +05:30
Pratap Vardhan
aadb2cd0ff
MNT: Remove never attained return case under gray2rgb
2015-11-16 12:05:33 +05:30
sumitbinnani
811b6895cf
Refactoring ``skimage.filters.gabor_filter` to `skimage.filters.gabor``
...
Refactoring ```skimage.filters.gaussian_filter``` to ```skimage.filters.gaussian```
2015-10-04 00:15:53 +05:30
Stefan van der Walt
8cb409bcb0
Add alpha layer support to gray2rgb
2015-08-21 15:36:23 -07:00
Stefan van der Walt
83d5ff9001
Consistently use relative imports
2015-07-11 15:41:37 -05:00
Steven Silvester
371d46ecf5
Remove unnecessary option and update test
2015-02-09 14:37:11 -06:00
Steven Silvester
1af0edbb02
Update test to reflect new error behaviour
2015-02-05 21:53:57 -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
Johannes Schönberger
ee5c6fbeb2
Use relative imports in skimage files
2015-01-22 07:36:48 -05:00
Juan Nunez-Iglesias
eab2168846
Add test to ensure default bg_color in label2rgb
2015-01-14 10:05:22 +11:00
Juan Nunez-Iglesias
9438b96774
Add default bg_color to label2rgb
2015-01-14 09:59:15 +11:00
Steven Silvester
f898bd0209
Style fixes
2014-12-26 11:26:30 -06:00
Steven Silvester
c0a0490eed
Fix handling of multiple warnings and update tests
...
Fix handling of multiple warnings
Update all test __init__ files
Update segmentation pkg
Update the color pkg
Update the exposure pkg
Update the filters pkg
Update the io pkg
Update the measure pkg
Update morphology package
Restructure test setup function
Add expected_warnings to __all__
Update restoration pkg.
Remove explicit filter check since it is done elsewhere
Fix the image test helpers
Update the transform pkg
Fix util pkg
Update viewer pkg
2014-12-23 16:51:06 -06:00
Steven Silvester
4680f30466
Add a test setup helper function
...
Add a function to set up a skimage test
Switch to new test helper function
Import local packages that raise warnings in test setup function
More fixes to doctests
Fix regionprops doc test
Try and fix the test_rank failure.
Remove no longer needed RectangleSelector shim
Skip more doctests in _regionprops
Try importing another scipy subpackage
2014-12-23 16:49:20 -06:00
Steven Silvester
f72882fbd2
Import scipy before turning on warnings
2014-12-23 16:49:19 -06:00
Steven Silvester
874d68ba3f
# This is a combination of 7 commits.
...
# The first commit's message is:
Add a known_warning decorator and suppress warnings in color pkg
# This is the 2nd commit message:
Use the existing all_warnings context manager
# This is the 3rd commit message:
Raise warnings in data
# This is the 4th commit message:
Raise warnings in draw
# This is the 5th commit message:
Raise warnings in exposure
# This is the 6th commit message:
Suppress warnings in exposure tests
# This is the 7th commit message:
Add comments about warning suppressions
2014-12-23 16:46:24 -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 and Stefan 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
f078bcf779
Removed the print statements from the test code.
2014-09-11 11:09:27 +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
capitanbatata
ceae401d33
The format strings were updated to include numbers.
2014-09-02 13:53:11 +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
ba664df275
Added new tests. The support for a wider range of illuminants is now tested.
2014-08-08 13:28:45 +02:00
capitanbatata
95f18c71da
Added support for different illuminants.
2014-08-08 10:43:57 +02:00
Juan Nunez-Iglesias
85a5cea533
Merge pull request #1054 from blink1073/add_test_seeds
...
Add random seeds to tests per #1044
Additionally, change all `np.random.random` to `np.random.rand` calls, as the former are not affected by `np.random.seed`.
2014-07-20 07:48:49 -05:00