Jump to content

  • Log In with Google      Sign In   
  • Create Account

opencl , sobel and debug


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   -  Reputation: 215

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.



Sponsor:



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.



PARTNERS