From c37fc9ec200b767c1dfffb95a9f465239b00ab3d Mon Sep 17 00:00:00 2001 From: Ivo Flipse Date: Mon, 15 Jun 2015 22:51:30 +0200 Subject: [PATCH] Update _hog.py Made hog_histograms snake case --- skimage/feature/_hog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/feature/_hog.py b/skimage/feature/_hog.py index 51d0d060..40175066 100644 --- a/skimage/feature/_hog.py +++ b/skimage/feature/_hog.py @@ -116,7 +116,7 @@ def hog(image, orientations=9, pixels_per_cell=(8, 8), # compute orientations integral images orientation_histogram = np.zeros((n_cellsy, n_cellsx, orientations)) - _hoghistogram.HogHistograms(gx, gy, cx, cy, sx, sy, n_cellsx, n_cellsy, + _hoghistogram.hog_histograms(gx, gy, cx, cy, sx, sy, n_cellsx, n_cellsy, visualise, orientations, orientation_histogram) # now for each cell, compute the histogram