lbp() returns a histogram of features, so that positions X corresponds
to how many pixels had code X.
HTH
--
Luis Pedro Coelho | EMBL |
http://luispedro.org
On 05/01/2013 04:00 PM, Solimyr wrote:
> Hi to everyone!
>
> I'm trying to use the mahotas features to analyze some images. In
> particular I'm using the Local Binary Patterns (LBP).
>
> My idea is to try with image with radius 1 and 8 point and so, a 3x3
> window. So I take a 3x3 window and apply the mahotas lbp. I was
> expecting a vector/histogram of 8 values with just 0 and 1 but, what I
> get, is a 36 vector-size with elements from zero to more than one. I
> don't know if I'm stucked with some old theories of LBP or what.
>
> Why don't I get a 8 vector size with elements from 0 to 1? My idea is
> afterthat, convert in decimal and get the decimal value. Well, I'm
> pretty confused with the result and the theory that I get from internet.
>
> Could you please help me to understand?
>
> Thank you very much for your support!
> Solimyr
>
> --
> You received this message because you are subscribed to the Google
> Groups "pythonvision" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
pythonvision...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>