Commit Graph

4853 Commits

Author SHA1 Message Date
Himanshu Mishra a2d75de834 Add expected_warnings to the tests using threshold_otsu 2016-01-15 10:34:26 +05:30
Himanshu Mishra 296438d08e Raise a warning if the image is not grayscale 2016-01-15 10:06:43 +05:30
Himanshu Mishra f034081650 Document the input image type 2016-01-14 13:49:17 +05:30
Stefan van der Walt 2487681272 Merge pull request #1866 from sergiopasra/deprecate-lena
Add deprecation warning to `data.lena`
2016-01-13 06:45:49 -08:00
Sergio Pascual 49eb2f3a54 Suggest 'skimage.data.astronaut' as alternative test image 2016-01-13 11:10:13 +01:00
Vighnesh Birodkar 22bf68d9b4 removed failing doctest line 2016-01-08 21:49:01 -05:00
Vighnesh Birodkar 753c8caf4e correct variable name mistake 2016-01-08 14:11:56 -05:00
Juan Nunez-Iglesias 802214d5ac Hold pixel count in mean boundary RAG edges
This value is needed to combine edges when merging nodes.
2016-01-08 22:11:31 +11:00
Juan Nunez-Iglesias 30145ab7f4 Use function to update graph edges from CSR 2016-01-08 22:10:20 +11:00
Juan Nunez-Iglesias f9dfa1d81d Make mean boundary RAG testing more robust 2016-01-08 17:25:10 +11:00
Sergio Pascual c6c8ff9359 Add deprecation warning to 'data.lena()' 2016-01-08 00:05:45 +01:00
Vighnesh Birodkar ea18fcb99b use as strided 2016-01-06 16:23:43 -05:00
Vighnesh Birodkar a5f6db59cb doc example 2016-01-06 15:42:10 -05:00
Vighnesh Birodkar 422dfc6c22 cleanup 2016-01-06 15:17:48 -05:00
Vighnesh Birodkar e8f2805d64 changed to eosion/dilation logic 2016-01-06 15:07:35 -05:00
Vighnesh Birodkar a95c0bdddc passing selem argument 2016-01-06 15:07:35 -05:00
Vighnesh Birodkar 4c05e65670 changed logic to use erosion/dilation 2016-01-06 15:07:35 -05:00
Vighnesh Birodkar caba3041d1 indentation correction 2016-01-06 15:06:18 -05:00
Vighnesh Birodkar 1769cdddcf added boundary rag construction 2016-01-06 15:06:18 -05:00
Emmanuelle Gouillart 8f2839e1b3 Merge pull request #1747 from JGoutin/OptimizeLevel2Compilation-patch
Import fail if python is running with -OO
2015-12-30 23:14:03 +01:00
Emmanuelle Gouillart 33a2182e06 Merge pull request #1705 from deledalle/ref_nlmeans
DOC : add ref to nlmeans
2015-12-30 22:06:19 +01:00
Emmanuelle Gouillart 732df5fc55 Merge pull request #1850 from jwiggins/fix/potential-bilateral-leak
FIX: Move a argument check to avoid leaking malloc'd arrays.
2015-12-30 21:43:18 +01:00
emmanuelle 6c9325aadf Minor fixes: errant indent, functools.wraps and python3 style 2015-12-28 21:13:22 +01:00
John Wiggins 72f542100e Use np.empty() instead of malloc/free in _denoise_bilateral. 2015-12-27 23:29:59 -06:00
John Wiggins e528d47d5b FIX: Move a argument check to avoid leaking malloc'd arrays. 2015-12-26 10:55:28 -06:00
emmanuelle fab4265f47 Removed @property decorator, that made _install_properties_doc crash 2015-12-25 12:37:41 +01:00
emmanuelle add3352284 Euler number is only2d 2015-12-25 11:38:23 +01:00
Juan Nunez-Iglesias 9317b7be34 Make area a cached property; use np.sum 2015-12-24 19:02:15 +01:00
Juan Nunez-Iglesias d8cc148d8c Replace individual errors by 2D decorator 2015-12-24 19:00:43 +01:00
emmanuelle 0359284623 Modified some methods in _RegionProperties class to make them
dimension-agnostic. Removed the NotImplementedError for 3-D images in
regionprops function.
2015-12-24 18:56:49 +01:00
emmanuelle e1751f91e2 Some PEP8 in test module 2015-12-24 18:52:57 +01:00
Emmanuelle Gouillart d4b3aeeed3 Merge pull request #1846 from arokem/hull-docs
DOC: Small one. The input to this one needs to be 2D.
2015-12-24 10:34:00 +01:00
Emmanuelle Gouillart 6740ef9849 Merge pull request #1842 from jni/1840
Specify 2D images in denoise bilateral docstring
2015-12-24 09:59:11 +01:00
arokem 9fb5f1333d TST: Test both functions(!). 2015-12-23 15:36:35 -08:00
Stefan van der Walt cc8c3b7687 Merge pull request #1847 from emmanuelle/remove_label_from_morphology
Remove deprecated label function from morphology module in preparation for 0.12 release
2015-12-23 15:01:46 -08:00
arokem 436d0e8ca3 TST: Test error handling in convex_hull, convex_hull_object.
Also, a few PEP8 fixes in both module and tests.
2015-12-23 14:57:44 -08:00
arokem 227211fec7 DOC: Small one. The input to this one needs to be 2D. 2015-12-23 14:24:52 -08:00
emmanuelle 0b61b8f46f Removed deprecated label function from morphology module in preparation
for 0.12 release.
2015-12-23 23:24:22 +01:00
Emmanuelle Gouillart 4509338aac Merge pull request #1777 from stevendbrown/rp_intensity_check
Added label vs. intensity shape checking to regionprops
2015-12-23 22:34:59 +01:00
Johannes Schönberger c5f9fffaad Merge pull request #1844 from emmanuelle/fix_euler
Fix euler
2015-12-23 21:56:46 +01:00
Gregory R. Lee 3f5aa73eb4 Update tests to also use reasonable weights for TV denoising 2015-12-23 12:30:12 -05:00
Gregory R. Lee f143f4b39e Change default weight for denoise_tv_chambolle to a value that is reasonable for float images scaled to the [0, 1] range 2015-12-23 12:29:37 -05:00
emmanuelle d62524f103 Mentioned Euler characteristic (instead of Euler number) in docstring of
regionprops.
2015-12-23 16:26:23 +01:00
emmanuelle a56c6071c2 Corrected bug in the computation of the Euler characteristic. 2015-12-23 16:09:13 +01:00
Emmanuelle Gouillart d6105a0fe4 Merge pull request #1782 from pratapvardhan/clncython
BUG: Buffer dtype mismatch, expected 'Py_ssize_t' but got 'long'
2015-12-23 15:35:05 +01:00
Juan Nunez-Iglesias e102011098 Specify 2D images in denoise bilateral docstring
Addresses #1840
2015-12-23 23:57:22 +11:00
Emmanuelle Gouillart ea9ed9ccd9 Merge pull request #1826 from jni/rag-generic
Allow construction of simple RAGs from label images
2015-12-22 17:37:02 +01:00
Steven Silvester a4d0ac85cc Merge pull request #1603 from michaelpacer/draw_coords
Fixed variable names to accord with r, c naming convention
2015-12-21 12:11:16 -06:00
Emmanuelle Gouillart f0eec46e5c Merge pull request #1783 from ivoflipse/fix_hog
Fixing Cythonized version of HOG
2015-12-19 17:37:24 +01:00
Juan Nunez-Iglesias 14095de291 Merge pull request #1830 from scottsievert/fftconvolve
Clean up richardson-lucy deconvolution function
2015-12-16 14:42:24 +11:00