simple gpu computation

asked 2015-11-08 08:55:41 -0600

carl82 gravatar image

updated 2015-11-08 08:56:41 -0600

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 in my cpu version. GPU doesn't have something like that I assume, so how do I do that? Any suggestions?

edit retag flag offensive close merge delete