Re: error in skimage.feature.hog
Thank you for looking into the bug. On another note, it'd be great if there was an option to turn off the flattening of the histogram. Damian On Tue, Jul 10, 2012 at 10:45 PM, Brian Holt <bdholt1@gmail.com> wrote:
I've had a quick look and I can reproduce the bug. It seems to be a discrepancy between integer division to compute the number of cells and then subsampling the array which gives a different dimensions. Hopefully I'll have a better idea tomorrow.
On Jul 10, 2012 10:38 PM, "Stéfan van der Walt" <stefan@sun.ac.za> wrote:
On Tue, Jul 10, 2012 at 6:47 AM, Tony Yu <tsyu80@gmail.com> wrote:
Here is how to reproduce the error:
Damian, I'm also tied up until Thursday, but I'll have a look at it ASAP.
As for the color/grayscale issue, I've been thinking that it would be good to have an `@grayscale` function decorator that checks whether an image is rgb/rgba and either raises an error or warns & converts. I haven't gotten around to implementing it yet, but it should be fairly simple.
Great idea... The easier we can make it to build robust pipelines, the better! The conversion routines have already come a long way, but I am very much in favour of more such enhancements.
Stéfan
participants (1)
-
Damian Eads