Commit Graph

562 Commits

Author SHA1 Message Date
Stefan van der Walt 83d5ff9001 Consistently use relative imports 2015-07-11 15:41:37 -05:00
Josh Warner 7a2b0a70f5 Merge pull request #1459 from vighneshbirodkar/seam_carving
FEAT: Seam Carving
2015-06-18 12:32:19 -05:00
Vighnesh Birodkar 85946c8eed Changed return type to bint and improved code comments 2015-06-16 19:48:14 +05:30
Vighnesh Birodkar fee667b35c preallocated seam_buffer and added noil 2015-06-15 20:49:26 +05:30
Vighnesh Birodkar e247e3bacc Precomputation optimizations and docstring changes 2015-06-15 20:19:52 +05:30
Dhruv Jawali 55fc07edb9 removed reduntant continue, added Cython flags and fixed negative indexing 2015-06-13 23:25:36 +05:30
Juan Nunez-Iglesias 56d62b39be Split scipy.ndimage & spatial into different lines
This improves the readability of the import code and is in line with
PEP8 recommendations.
2015-06-11 11:36:48 +10:00
Vighnesh Birodkar 557354668e removed debug print in test 2015-06-11 01:04:46 +05:30
Vighnesh Birodkar 5a869dc70e Added code comments 2015-06-11 00:51:52 +05:30
Vighnesh Birodkar 3f9c800514 Modfied test to use new API and added code to remove remaining seams if any 2015-06-11 00:47:13 +05:30
Vighnesh Birodkar 06220903a1 Formatting changes 2015-06-11 00:20:09 +05:30
Vighnesh Birodkar ae35dcceb4 docstring updates 2015-06-10 22:28:09 +05:30
Vighnesh Birodkar eac5663251 Changed signatures to use energy map 2015-06-10 21:39:09 +05:30
Vighnesh Birodkar 49037f69b0 added removal function 2015-06-10 00:11:03 +05:30
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
Vighnesh Birodkar 37d8a8447b Modifed code to use seam map 2015-06-08 23:11:57 +05:30
Vighnesh Birodkar 66caaa5b9f Corrected testing code 2015-06-07 00:40:05 +05:30
Vighnesh Birodkar 2cc4066097 2d images converted to 3d before removing seams 2015-06-06 22:42:18 +05:30
Vighnesh Birodkar cf98558196 pep8 changes 2015-06-06 21:51:36 +05:30
Vighnesh Birodkar c332fd5363 docstring change 2015-06-06 21:46:50 +05:30
Johannes Schönberger 7337a3e14b Do not acquire GIL for hough_line 2015-05-19 18:57:20 -07:00
Johannes Schönberger 83fe07097f Do not acquire GIL for hough_circle 2015-05-19 18:42:53 -07:00
Johannes Schönberger 7a8afbddf3 Do not acquire GIL for iradon_sart 2015-05-19 18:37:36 -07:00
Johannes Schönberger 07f2e4b93f Test parallel execution of warp_fast 2015-05-19 18:25:01 -07:00
Johannes Schönberger 0d4c76948b Do not acquire GIL for warp_fast 2015-05-19 18:22:32 -07:00
Johannes Schönberger 574159f724 Add decorator to test parallel execution of unit test 2015-05-19 17:57:47 -07:00
Vighnesh Birodkar 12fb4cbb86 Removed debug print and corrected formatting 2015-03-30 13:22:22 +05:30
Vighnesh Birodkar 1f570a145f Formatting changes 2015-03-30 13:22:22 +05:30
Vighnesh Birodkar 29ec5ee3ec Added example and test 2015-03-30 13:22:22 +05:30
Vighnesh Birodkar d30ed25968 Added implementation and doc string 2015-03-30 13:22:22 +05:30
Johannes Schönberger eb6c3ede38 Fix RANSAC for invalid model estimation and confidence corner case
Previously, estimators did not return whether the model estimation
was successful. RANSAC now tests whether the estimation was
successful and skips invalid models.

When the confidence/stop_probability of RANSAC was set to 1,
the iteration was falsely terminated early instead of running for
the maximum number of iterations.
2015-03-06 23:47:08 -05:00
Steven Silvester 5ccdd36bc3 Remove imshow from PIL plugin
Do not provide imshow, show in PIL plugin to prevent conflicts

Make the sphinx install quiet

Fix local linka

Fix literal blocks

Fix another local link

Fix richardson-lucy link

Assert world dominance
2015-02-07 16:40:44 -06:00
Stefan van der Walt 13f9b89023 Merge pull request #1319 from ahojnnes/geom-est
Improve conditioning of geometric transformations
2015-01-28 13:31:25 -08:00
Johannes Schönberger ee5c6fbeb2 Use relative imports in skimage files 2015-01-22 07:36:48 -05:00
Johannes Schönberger 4c781cf5c0 Fix doc string 2015-01-22 07:23:54 -05:00
Johannes Schönberger ad85dfabd5 Disable catch of all warnings, return nan params instead 2015-01-22 06:49:16 -05:00
Johannes Schönberger 91c697c5f7 Handle special case of 1 pixel image 2015-01-21 14:10:09 -05:00
Johannes Schönberger 5dbb6e3257 Improve conditioning of silimarity transform design matrix 2015-01-21 14:10:09 -05:00
Johannes Schönberger 983919404f Improve conditioning of homography design matrix 2015-01-21 14:10:09 -05:00
Johannes Schönberger 2f60de7362 Create function to center and normalize image points 2015-01-21 14:10:09 -05:00
Juan Nunez-Iglesias 7b5dd3b700 Merge pull request #1313 from blink1073/suppress-test-warnings
Handle expected test warnings.
2014-12-27 14:26:59 +11:00
Steven Silvester f898bd0209 Style fixes 2014-12-26 11:26:30 -06:00
Johannes Schönberger 0c2773b9e4 Use typed memoryviews 2014-12-26 11:08:05 +01:00
Steven Silvester 2d3ada19e5 Allow for no exceptions to be raised and cleanup
Allow for no exceptions to be raised

Add some helpful comments

Remove doctest skips

Remove TODO note

Cleanup and skip failing doctest
2014-12-23 16:51:18 -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 542cd4fabe Fix some doctest warnings
Fix doctest errors

Suppress warnings when importing scipy.ndimage for the first time
2014-12-23 16:49:01 -06:00
Steven Silvester 2756358f3c Clean up PIL plugin and handle more warnings
Use the pil plugin to load data files

Fix install_requires string formatting

Dead end commit

Make all tools executable

Remove debug print

Suppress PIL resourcewarnings

Handle a few more warnings
2014-12-23 16:48:38 -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