error in skimage.feature.hog

Brian Holt bdholt1 at gmail.com
Tue Jul 10 17:45:22 EDT 2012


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 at sun.ac.za> wrote:
>
> On Tue, Jul 10, 2012 at 6:47 AM, Tony Yu <tsyu80 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20120710/aa6dbde6/attachment.html>


More information about the scikit-image mailing list