Commit Graph

4453 Commits

Author SHA1 Message Date
Ivo Flipse ded652c2ab Moved more computations out of loops and added division from future 2015-06-18 18:55:32 +02:00
Ivo Flipse f633262f03 Moved more variables out of the loops and modified the docstring 2015-06-18 18:50:34 +02:00
Ivo Flipse 9c141eadf8 Extracted row_index and cell_row from the inner loop
Defined constants that don't have to be recomputed several times
2015-06-18 18:45:29 +02:00
Ivo Flipse 1b9a15a4d4 Made the indents line up with the ( 2015-06-18 18:38:59 +02:00
Korijn van Golen 03b7d638a7 Wrapped long lines according to pep8. 2015-06-16 09:57:49 +02:00
Korijn van Golen 605eac2e8c Renamed to use row/column naming convention. 2015-06-16 09:54:54 +02:00
Korijn van Golen 78cf5a0f9a Removed unused code. 2015-06-16 09:40:04 +02:00
Korijn van Golen 8ab6e63e75 Removed unused import, applied pep8 formatting and corrected a method call
that should have been refactored.
2015-06-16 09:36:02 +02:00
Ivo Flipse c37fc9ec20 Update _hog.py
Made hog_histograms snake case
2015-06-15 22:51:30 +02:00
Ivo Flipse 502377e9ce Update _hoghistogram.pyx
Made the function names PEP8 compatible and added another level of indentation.
I also tried renaming some things where I considered columns useful, but for example cells per row isn't entirely accurate. Any suggestions?
2015-06-15 22:49:20 +02:00
Korijn van Golen ecdf71d14d Switched to memory view syntax. 2015-06-15 15:41:18 +02:00
Korijn van Golen aedf63f1f7 Switched to cnp where applicable. 2015-06-15 15:25:30 +02:00
Korijn van Golen 3719ff216c Updated docstrings. 2015-06-15 13:14:34 +02:00
Korijn van Golen c756d2d492 Partially fulfilled code review. 2015-06-15 11:49:21 +02:00
Tim Sheerman-Chase 2e56e685d8 change import syntax for python 3 2015-06-15 11:05:07 +02:00
Tim Sheerman-Chase d55135ddbb Fix comments and tab whitespace 2015-06-15 11:03:58 +02:00
Tim Sheerman-Chase f09907961a Initial attempt at optimising HOG features with cython 2015-06-15 11:03:57 +02:00
Josh Warner 7132df764e Merge pull request #1550 from jni/ndi
STY: Harmonize scipy.ndimage usage across the library
2015-06-10 22:16:00 -05:00
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
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
Josh Warner (Mac) 8d8ac736ed DOC/STY: Fix whitespace, harmonize version with PyPi 0.4.1 2015-06-08 22:33:02 -05:00
Josh Warner (Mac) f81dfd84fd FIX: typo in local version of tifffile _replace_by 2015-06-08 17:20:10 -05:00
Steven Silvester 38c7c26460 Style and doc updates 2015-06-07 06:30:12 -05:00
Steven Silvester eb8c2d2853 Fix typo 2015-06-07 06:15:24 -05:00
Steven Silvester 3f8e94ff0c Allow view_as_window to take a tuple step, and update tests 2015-06-07 06:13:36 -05:00
Juan Nunez-Iglesias da8e2c7c69 Merge pull request #1540 from vighneshbirodkar/ncut_fix
Fixes #1538
2015-06-07 11:21:29 +10:00
Vighnesh Birodkar cacd214d68 Corrected Typo 2015-06-06 21:36:00 +05:30
Vighnesh Birodkar 8a78ad87ed skip loop when min and max are equal 2015-06-06 00:51:30 +05:30
Vighnesh Birodkar 18b1906607 removed debug statements 2015-06-03 22:03:34 +05:30
Vighnesh Birodkar 23c6111ad3 Fixing error in ncut when subgraph as all equal weights (#1538) 2015-06-03 21:58:26 +05:30
K.-Michael Aye 56fc42ad47 removing obsolete (or not found?) link
`intensity_range` does not seem to exist or is not found. Removing obsolete reference in doctext.
2015-05-29 12:06:46 -06:00
Josh Warner 3faa32149a Merge pull request #1526 from arve0/installation_instructions
Add dask[array], improve CI builds, update install instructions
2015-05-29 10:38:09 -05:00
Juan Nunez-Iglesias e497e5c4f5 Merge pull request #1530 from LeeKamentsky/master
Watershed fixes for issue #803 (incorrect propagation in plateaus)
2015-05-29 16:58:36 +10:00
Lee Kamentsky 54f8265603 Issue #803 order the structuring element by distance to get diagonals processed last 2015-05-28 13:28:21 -04:00
kpk09 a9bdaaf274 proposed fix and test for broken watershed on flat areas (https://github.com/scikit-image/scikit-image/issues/803) 2015-05-28 13:28:16 -04:00
arve0 04cbaa1579 expect PIL open fp 2015-05-28 16:06:32 +02:00
Ömer Özak b455d851b1 Use np.ravel instead of np.copy
This should decrease memory usage and
increase speed without affecting anything else
2015-05-25 18:21:53 -04:00
Stefan van der Walt a65b8af4bf Merge pull request #1493 from cowlicks/chunk-map
Add parallel function mapping
2015-05-21 14:09:07 -07:00
Stefan van der Walt bbf3f1c97b Merge pull request #1519 from ahojnnes/nogil
Release the GIL from Cython
2015-05-21 10:59:05 -07:00
Johannes Schönberger 990892fcde Replace libc.math.NAN with numpy.math.NAN for MSVC 2015-05-21 08:27:00 -07:00
dan ff1322938e pep line width violation corrected 2015-05-21 07:58:56 +02:00
Johannes Schönberger 6e500b1733 Do not acquire GIL for shared functions 2015-05-20 20:29:19 -07:00
Johannes Schönberger fcdffd7e3d Do not acquire GIL for draw functions 2015-05-20 20:26:57 -07:00
Johannes Schönberger a2ddba21a5 Do not acquire GIL for hessian_matrix_det 2015-05-20 20:22:02 -07:00
Johannes Schönberger 4a95345489 Do not acquire GIL for texture functions 2015-05-20 17:51:41 -07:00
Johannes Schönberger 9cd7ca5881 Do not acquire GIL for BRIEF 2015-05-20 17:39:46 -07:00
dan bcb5b34fef more formal documentation 2015-05-21 02:06:27 +02:00
dan 98c4e2366e ellipse documentation was corrected 2015-05-21 01:30:17 +02:00
Johannes Schönberger bca458bc1c Do not acquire GIL for CENSURE 2015-05-20 09:04:58 -07:00
Johannes Schönberger a489b85b22 Do not acquire GIL for corner detectors 2015-05-20 07:45:04 -07:00