[Numpy-discussion] efficient 3d histogram creation

Chris Colbert sccolbert at gmail.com
Sun May 3 20:36:04 EDT 2009


Stefan,

I'm not sure:

the docs say the input has to be:
sample : array_like
    Data to histogram passed as a sequence of D arrays of length N, or
    as an (N,D) array

i have an (N,M,D) array and not sure how to get it to conform to input
required, mainly because I don't understand what it's asking.

Chris

2009/5/3 Stéfan van der Walt <stefan at sun.ac.za>

> Hi Chris
>
> 2009/5/4 Chris Colbert <sccolbert at gmail.com>:
> > in my endless pursuit of perfomance, i'm searching for a quick way to
> create
> > a 3d histogram from a 3d rgb image.
>
> Does histogramdd do what you want?
>
> Regards
> Stéfan
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20090503/1c16ad3c/attachment.html>


More information about the NumPy-Discussion mailing list