Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

simple gpu computation

Hello,

I'm processing images like this

image description

Images are very large (8192*8192). I need to do two things with these images.

First: Get all the unique colors into an array.

Second: Get the bounding box dimensions of each unique color.

I've no idea how to do both of these things with gpu. For example, I'm using unordered_set to record unique pixel values. GPU doesn't have something like that I assume, so how do I do that? Any suggestions?

simple gpu computation

Hello,

I'm processing images like this

image description

Images are very large (8192*8192). I need to do two things with these images.

First: Get all the unique colors into an array.

Second: Get the bounding box dimensions of each unique color.

I've no idea how to do both of these things with gpu. For example, I'm using unordered_set to record unique pixel values. values in my cpu version. GPU doesn't have something like that I assume, so how do I do that? Any suggestions?