Commit Graph

29 Commits

Author SHA1 Message Date
Ivo Flipse 51e683f665 I hadn't realized I was reusing cc in the loop, so it would crash after one iteration.
And I had changed the second orientation, which probably wasn't correct
2015-06-19 08:51:54 +02:00
Ivo Flipse 167c8eeeb6 I hadn't realized when I changed orientations to an array, that its actually just an int and the original code said range(orientations), so I changed it to np.arange(orientations). Hopefully the tests will now pass again 2015-06-18 22:08:34 +02:00
Ivo Flipse bea9886a12 I noticed that cy+cy and cx+cx was repeated in the inner-most loop as well 2015-06-18 22:01:44 +02:00
Ivo Flipse ded652c2ab Moved more computations out of loops and added division from future 2015-06-18 18:55:32 +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
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
Johannes Schönberger ee5c6fbeb2 Use relative imports in skimage files 2015-01-22 07:36:48 -05:00
Johannes Schönberger 3a1079a180 Misc PEP8 fixes 2014-12-14 02:56:14 +01:00
Steven Silvester 2a057f7246 Make ndim explicit arg for clarity and update docstring 2014-09-21 05:48:58 -05:00
Steven Silvester 6a8c5e460f Implement assert_nD in filter and feature packages 2014-09-20 17:04:11 -05:00
Pablo Márquez Neila 64e20d8173 Minor fix 2014-08-18 02:47:29 +02:00
Pablo Márquez Neila 808e53c7ae Code valid for all image dtypes 2014-08-18 02:12:27 +02:00
Pablo Márquez Neila 23bc3ed077 Replaced convolve1d by ad-hoc gradient computation 2014-08-18 01:34:54 +02:00
Pablo Márquez Neila a52cb01a49 Fix bugs in HOG 2014-08-17 22:09:03 +02:00
Josh Warner (Mac) 1ca0eef825 FIX: Non-integer indexing deprecation warnings 2014-05-08 00:39:54 -05:00
Kirill Shklovsky 77165de55f Changed the 180 constant in bin calculation to avoid rounding errors
The code
   180 / orientations
performs integral division in python < 3,
leading to the calculations ignoring some orientations near the 180 maximum
2013-08-14 20:46:52 -04:00
Johannes Schönberger 2b505a33bd Replace all occurences of bresenham with line 2013-04-28 13:12:10 +02:00
Johannes Schönberger 52e3436f61 Fix integer type bugs in feature detection algorithms 2013-02-22 17:05:39 +01:00
Colin Lea f78d10c099 Swapped the direection that the histograms point in the hog visualisation 2013-01-17 11:36:59 -05:00
pcampr 673d4ec212 several fixes and 3 new tests for Histograms of Oriented Gradients 2012-08-20 14:29:01 -07:00
pcampr 298c1f1890 fixing multiple bugs in hog.py, adding two tests to test_hog.py 2012-08-20 14:29:01 -07:00
Pavel Campr 25d94b36c6 fix hog.py - orientation and visualization 2012-08-20 14:29:01 -07:00
Tony S Yu 8a340cc47d BUG: more module renaming to prevent duplicates. 2012-08-02 23:08:19 -04:00