How much efficient is the histogram calculation provided by
OpenGL(glHistogram)? Is there any better way?
|
|
0
|
|
|
|
Reply
|
Knockr
|
7/4/2008 10:41:20 AM |
|
On Jul 4, 12:41=A0pm, Knockr <CSar...@gmail.com> wrote:
> How much efficient is the histogram calculation provided by
> OpenGL(glHistogram)?
It will depend on the graphics card ....
=2E.. but if you're imagining hardware acceleration and
parallel processing then I think it's 99% probable
that you'll be disappointed.
> Is there any better way?
Download the image in "tiles" in one thread
and use SSE instructions in another thread
to calculate the histogram of the blocks as
they arrive.
--
<\___/>
/ O O \
\_____/ FTB. Remove my socks for email address.
|
|
0
|
|
|
|
Reply
|
fungus
|
7/5/2008 12:26:05 PM
|
|
On Jul 5, 5:26=A0pm, fungus <openglMYSO...@artlum.com> wrote:
> On Jul 4, 12:41=A0pm, Knockr <CSar...@gmail.com> wrote:
>
> > How much efficient is the histogram calculation provided by
> > OpenGL(glHistogram)?
>
> It will depend on the graphics card ....
>
> ... but if you're imagining hardware acceleration and
> parallel processing then I think it's 99% probable
> that you'll be disappointed.
>
> > Is there any better way?
>
> Download the image in "tiles" in one thread
> and use SSE instructions in another thread
> to calculate the histogram of the blocks as
> they arrive.
>
> --
> <\___/>
> / O O \
> \_____/ =A0FTB. =A0 =A0 Remove my socks for email address.
Thank you for your reply.
|
|
0
|
|
|
|
Reply
|
Knockr
|
7/8/2008 4:01:14 AM
|
|