Egor Panfilov
66102ad91a
Merge pull request #1895 from OrkoHunter/denoise_bilateral
...
Raise warning for 3D images in denoise_bilateral
2016-02-05 17:22:04 +03:00
Himanshu Mishra
7014d04327
Remove useless multichannel=True kwarg from tests
2016-02-05 14:38:13 +05:30
Himanshu Mishra
b40d028550
Add tests for warnings in denoise_bilateral
2016-02-05 08:05:58 +05:30
Joshua Warner
ab7f0774aa
FIX: Pass arguments from deprecated function, update examples.
2016-02-01 13:57:56 -07:00
Himanshu Mishra
63b893d4c6
Fix test and doctest for multichannel kwarg in denoise_bilateral
2016-01-29 17:47:31 +05:30
Gregory R. Lee
682f0895e7
TST: add test for constent TV weighting across number of image dimensions for Chambolle algorithm
2016-01-24 12:27:10 -05:00
Gregory R. Lee
53742be9c6
fix axis bug in multichannel case and add a corresponding test
2016-01-24 02:24:37 -05:00
Gregory R. Lee
e6a1a19337
update default weight to reflect the bugfix from hardcoded 0.5 to 1/(2*ndim)
...
use the default weight in all the tests as well.
2016-01-23 11:01:48 -05:00
Gregory R. Lee
4a0ad77780
update tests for denoise_tv_chambolle
2016-01-23 10:59:32 -05:00
Egor Panfilov
3ae2f1236b
TST, DOC: Added test for 3D spatial data, cleaned up gallery example
2016-01-16 20:02:24 +03:00
Egor Panfilov
89784631e7
ENH: Massively reworked code to enable nD-support
2015-12-30 22:45:27 +03:00
Egor
92f3114c9e
FIX: Fixed test for biharmonic in accordance to new kernel for edges
2015-12-24 20:35:32 +03:00
Egor
add5b8b4d6
FIX/TST: Fixed bug with defected bounding frame, added testcase
2015-12-24 20:35:32 +03:00
Egor Panfilov
1f3721fcbe
ENH: Inpainting with biharmonic equation
2015-12-24 20:35:32 +03:00
Gregory R. Lee
3f5aa73eb4
Update tests to also use reasonable weights for TV denoising
2015-12-23 12:30:12 -05:00
Stefan van der Walt
e084c5fd50
Rename nl_means_denoising to denoise_nl_means
2015-08-27 13:19:02 -07:00
Stefan van der Walt
83d5ff9001
Consistently use relative imports
2015-07-11 15:41:37 -05:00
Juan Nunez-Iglesias
0d134987f9
Harmonize all ndimage usage across the library
...
Only two forms remain in use:
- `from scipy import ndimage as ndi`
- `from scipy.ndimage import function`
2015-06-09 15:18:37 +10:00
Johannes Schönberger
0c69cdc5e7
Fix out-of-bounds access in color LUT for NaN values
2015-05-10 13:47:42 -04:00
Josh Warner
4644bdd347
Merge pull request #874 from emmanuelle/nlm_denoise
...
FEAT: NL-means denoising
2015-02-19 16:53:58 -06:00
emmanuelle
4697d66c85
[ENH] Removed eps parameter that was not needed.
...
Added a test for the case when no denoising at all is performed when h is
very small.
Corrected a bug in looping range in the classical algorithm.
2015-01-26 22:06:38 +01:00
emmanuelle
2e0b37b11d
Changed variable names for coordinates for better consistency with
...
skimage conventions. Moved some code to inline functions to improve
clarity.
2015-01-25 19:21:23 +01:00
Jonathan Helmus
8eebb17bac
No SegFault when unwrapping a 3D fully masked array
...
The unwrap_phase function no longer causes a Segmentation fault when passed
a 3D array in which all elements are masked.
Closes #1347
2015-01-21 16:45:23 -06:00
Jonathan Helmus
d3024b5c73
No SegFault when unwrapping a 2D fully masked array
...
The unwrap_phase function no longer causes a Segmentation fault when passed
a 2D array in which all elements are masked.
2015-01-21 16:36:58 -06:00
Jonathan Helmus
de01ea56ae
unwrap_phase returns masked array when image is masked
...
With commit e3b84ed the unwrap_phase function would always return an ndarray
even when image was masked. This restores the pre-e3b84ed behavior of
returning a masked array when the image is masked.
2015-01-21 16:23:50 -06:00
Jonathan Helmus
eef3734bfe
Remove end of line whitespace in test_unwrap.py
2015-01-21 16:03:18 -06:00
Jonathan Helmus
8ebe073ad5
BUG: unwrap_phase on compressed masked array
...
unwrap_phase works on masked arrays with a compressed mask (no elements masked)
Closes #1346
2015-01-21 16:01:13 -06:00
emmanuelle
60d0c81aed
Changed type of error returned for image dimension strictly greater than 3.
2015-01-20 22:11:24 +01:00
emmanuelle
dd9030d44c
Implemented fast algorithm also for 3-D and 2D-RGB images. Changed API so
...
that there is only one function for fast and classic algorithms.
2015-01-18 22:18:29 +01:00
emmanuelle
ecaa959195
Implemented asymmetric distance computation to save speed factor of 2
2015-01-10 16:40:43 +01: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
0debedd82c
Handle more warnings and reset io plugins as needed
...
Reset plugins prior to running collections test
Handle warnings in morphology pkg
Add __init__ for morpohology tests
Handle warnings for novice pkg
Handle warnings for restoration pkg
Handle warnings for segmentation pkg
Handle warnings for _shared pkg
Handle warnings for transform pkg
Handle warnings for util pkg
Handle warnings in viewer module
2014-12-23 16:48:16 -06:00
Johannes Schönberger
03be934e6d
Set seed for test cases
2014-12-16 16:38:01 +01:00
emmanuelle
4004f048ef
Faster version of non-local means denoising for 2D greyscale images
2014-12-07 12:02:05 +01:00
emmanuelle
2e91b0db95
Moved non-local means denoising to restoration submodule
2014-12-06 13:16:40 +01:00
Stefan van der Walt
034a7adab3
Use equal_nulp for more robust test comparison
2014-11-07 16:04:54 +02:00
Rebecca
1b217f971e
replacing lena in examples and most tests
2014-11-07 16:01:23 +02:00
Stefan van der Walt
8bba07a7f2
Merge pull request #1171 from jjhelmus/unwrap_phase_3d_bug
...
BUG: segmentation fault when unwrapping 3d image
2014-11-07 13:39:18 +02:00
Jonathan Helmus
25653dc288
TST: Unit test to check for 3d unwrap seg fault
...
Added a unit test to check for bug in unwrap_phase which causes
a segmentation fault when the middle dimension is connected.
2014-11-06 21:03:14 -06:00
Juan Nunez-Iglesias
d50afed18e
Add test for preserving image shape in deconv
...
I can confirm that this test does not pass in the current master.
2014-09-26 19:13:33 +10:00
Juan Nunez-Iglesias
214613c2a8
Run restoration test suite when run as main
2014-09-26 19:13:33 +10:00
Johannes Schönberger
3b3bb01270
Fix denoise tests
2014-08-08 08:27:57 -04:00
blink1073
5677dafe41
Move away from random.random in favor of random.rand
2014-07-19 18:18:23 -05:00
Johannes Schönberger
e8ab5559d5
Test invalid input for unwrap_phase
2014-05-10 10:47:52 -04:00
Johannes Schönberger
ef63523ab0
Move denoise functions to restoration submodule
2014-03-13 19:39:54 -04:00
Johannes Schönberger
107f1d607c
Move phase unwrapping algorithms to restoration submodule
2014-03-13 18:50:39 -04:00
François Orieux
e0bb826e9e
Update test file because of the new clip param default to True
2013-12-10 23:30:46 +01:00