Jump to content

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

opencl , sobel and debug

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
No replies to this topic

#1 giugio   Members   

246
Like
0Likes
Like

Posted 15 March 2013 - 03:00 PM

hello.
I have implemented a simple sobel kernel with opencl.
The sobel kernel takes an image rgb buffer as input and return an unsigned char buffer as output.
I load the image in a buffer ,run the kernel and read the output buffer and i creates a texture with the chars of the output buffer.
I do all in an mdi dialog of QT , but now for my debugging purpose i must select some pixels from a qt grid and show only the selected pixels in the texture.

How i can do this?
1)I think that i can use a image and sampler in opencl and send to the kernel a buffer with only the selected pixel and their x and y or
2)other methods with opencl? or
3)there is an easy method with opengl?

thanks.






Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.