Commit Graph

4714 Commits

Author SHA1 Message Date
emmanuelle bff2ce0bc4 Missing line 2015-12-08 12:27:24 +11:00
emmanuelle bb64e8cfcb Added test for slic segmentation: case where more segments than pixels
are asked for.
2015-12-08 12:27:24 +11:00
Gael Varoquaux 12c173908f BUX: in _slic.pyx slice can has steps=None
int(None) fails, and slice.steps == None is valid. It is equivalent to 1.
2015-12-08 12:27:24 +11:00
Josh Warner 6f016c9087 Merge pull request #1771 from noahtreb/fix-correct_mesh_orientation
FIX: Fix `correct_mesh_orientation` for spacing != (1,1,1)
2015-12-05 12:22:18 -06:00
Josh Warner f25b46c9bb Merge pull request #1799 from ahojnnes/linemodelnd
FIX: Fix LineModelND test cases and linalg.norm axis error
2015-12-05 11:48:26 -06:00
Steven Silvester 219d08ad7b Fix errant docstring 2015-12-05 10:35:11 -06:00
Johannes Schönberger 50f2a0b4ed Create helper function to compute norm along axis 2015-12-04 23:11:19 -05:00
Johannes Schönberger f88694e5a3 Fix LineModelND test cases 2015-12-04 23:05:59 -05:00
Johannes Schönberger 198ce0250b Merge pull request #1764 from glemaitre/geometric_mean
Geometric mean
2015-12-04 18:02:44 -05:00
Johannes Schönberger 99484e3a77 Merge pull request #1795 from kevin-keraudren/ransac-linemodel3D
Adding LineModel3D for RANSAC, unit test and example.
2015-12-04 17:58:52 -05:00
Kevin Keraudren 0bdf4251c6 documentation updates; added "3D" to example title 2015-12-04 22:25:13 +00:00
Guillaume Lemaitre 0c1fc76f4b Update the reference 2015-12-04 19:27:44 +01:00
Guillaume Lemaitre 54043de4b4 Change the import of round function to be compatible with visual studio compiler 2015-12-04 19:26:38 +01:00
Guillaume Lemaitre 3a2acb2adf Update the documentation with spelling error 2015-12-04 19:26:37 +01:00
Guillaume Lemaitre 4bc1c587ed Add local geometric mean filter
Add the filter in cython with a specific kernnel.
The implementatio is based on the log-average method.
The test were added the npz.
2015-12-04 19:26:37 +01:00
Kevin Keraudren 6f9a55c987 added deprecation warning for LineModel and added note in TODO.txt 2015-12-04 08:48:08 +00:00
Kevin Keraudren 61b7c20e03 cleaned tests and documentation, added deprecation note in doc for LineModel. 2015-12-03 22:16:56 +00:00
Kevin Keraudren 6a2961fdee we now have the old LineModel with params (dist, theta), and the new LineModelND with params (origin, direction). 2015-12-03 22:03:10 +00:00
Kevin Keraudren 040a53456d Merged LineModel3D with LineModel in order to form a unified model.
- model.params holds the legacy params (2D representation),
 - model.new_params holds the true ND line representation.

The proposed LineModel behaves identically as the implementation in master in the 2D case. In the 3D case, it behaves similarly to the previously proposed LineModel3D, as long as new_params is used instead of params. This implementation thus takes advantage that the 2D case is a special case of the ND general model.
2015-12-02 08:58:16 +00:00
Kshitij Saraogi 428db535cd added support for boolean types in segementation 2015-12-02 10:57:07 +05:30
Kevin Keraudren 5bb206233d fixed typo and added blank line 2015-12-01 15:18:57 +00:00
Kevin Keraudren c1c0d18ba1 reformatting code to wrap at 80 characters per line 2015-12-01 14:32:25 +00:00
Kevin Keraudren a606a53875 Adding LineModel3D for RANSAC, unit test and example. 2015-12-01 12:17:22 +00:00
Juan Nunez-Iglesias 3b525987f5 Merge pull request #1787 from ahojnnes/rpropsfix
Various fixes and improvements
2015-11-19 15:16:16 +11:00
Johannes Schönberger ba3c0c02cd Fix circular import loop 2015-11-18 09:02:02 -05:00
Johannes Schönberger 9d3a7b4ecd Remove redundant type conversion 2015-11-18 08:58:01 -05:00
Juan Nunez-Iglesias 015c57c307 Merge pull request #1689 from oew1v07/remove_small_holes
Remove small holes
2015-11-18 22:36:33 +11:00
Johannes Schönberger a63b746e6c Move import test to top of function and import outside of function 2015-11-17 10:25:05 -05:00
Johannes Schönberger 6e644c4aa6 Remove single author from header, fix typo
Functions in this file are from multiple authors, the original
author is attributed in the contributors section and the Git history.
2015-11-17 10:22:44 -05:00
Johannes Schönberger 1278b02161 Fix circular import between regionprops and convex_hull_image 2015-11-17 10:19:09 -05:00
Johannes Schönberger 3437eb89b0 Fix deprecated filter module import 2015-11-17 10:09:42 -05:00
Johannes Schönberger 1a598be98e Fix region props deprecation problem with label function 2015-11-17 10:07:29 -05: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
Noah Trebesch 851b1be627 Fixed correct_mesh_orientation for when spacing!=(1,1,1). 2015-11-05 19:01:15 -06:00
Guillaume Lemaitre ed55226dfb Correct bug inside the test 2015-10-27 16:35:15 +01:00
Guillaume Lemaitre 41875cf59a Generalize Laplce operator + testing
Reuse the function skimage.restoration.uft.laplacian() to create the kernel
Improve the testing for a specific case
2015-10-27 15:17:07 +01:00
Guillaume Lemaitre 5d209a68a9 Added the Laplacian operator 2015-10-27 01:23:29 +01:00
Juan Nunez-Iglesias eb2a23107a Merge pull request #1762 from blink1073/fix-clip-histogram
Fix clip histogram infinite loop
2015-10-26 20:24:21 +11:00
Johannes Schönberger 0a48c320b8 Merge pull request #1758 from JDWarner/hough_test
TST/STY: Hough transform regression test & Cython wrappers
2015-10-26 00:11:01 -04:00
Steven Silvester aabf2de96a Prevent infinite loop in adapthist for low clip_limit
Prevent infinite loop in adapthist

Add a test that exposed the infinite loop

Use better check to prevent endless loop
2015-10-25 20:17:19 -05:00
Josh Warner (Mac) a3356194c8 TSTFIX: Fix imports in hough_ellipse doctest 2015-10-25 14:34:53 -05:00
Josh Warner (Mac) 159c9f4e9e TST/STY: Hough tf regression test & Cython wrappers 2015-10-24 23:50:53 -05:00
Stefan van der Walt 3c3a636e03 Merge pull request #1750 from jni/slic-param-scan
Refine docstring for 'compactness' kwarg in SLIC
2015-10-20 14:44:43 -07:00
Steven Silvester 85d5e7c584 Merge pull request #1734 from sumitbinnani/RenamingFilter
Refactoring gaussian_filter and gabor_filter (Ref: #1647)
2015-10-20 12:56:02 -05:00
Steven Silvester 41159f3fd2 Fix adapthist mask logic
Use minlength in bincount

Fix mask logic
2015-10-20 08:04:05 -05:00
Juan Nunez-Iglesias 7212fe3e82 Replace semicolon with full stop 2015-10-18 11:41:54 +11:00
Juan Nunez-Iglesias 4816d2ed0f Refine docstring for 'compactness' kwarg in SLIC
Addresses #1745
2015-10-17 13:16:39 +11:00
Josh Warner a2d74e5260 Merge pull request #1421 from hohlraum/hough_fix
FIX: Fix missing peaks in hough_line_peaks.
2015-10-08 18:48:48 -07:00
Olivia Wilson 2045c44d1f Removed trailing whitespace 2015-10-07 11:30:20 +01:00