Jump to content

View more

Image of the Day

雑魚は多めにして、爽快感重視にしつつ・・・(´・ω・`)
早いとこ、ベースを作って、完成にもっていかないとね。
タイトルもまだ迷ってるだよなぁ。 
#indiedev  #indiegame #screenshotsaturday https://t.co/IwVbswGrhe
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

Interface from OpenGL to OpenCV

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
5 replies to this topic

#1 CMuYu   Members   

108
Like
0Likes
Like

Posted 16 April 2013 - 07:53 PM

Hi, everyone.
I wanted to process a image by OpenCV. It's generated by OpenGL. Firstly, I saved this image in my hard disk and read it with OpenCv, but I found it inefficient.
So I want to find an interface from OpenGL to OpenCV so that I don't need to save the image to my hard disk.

 

The function "load3dDataToGL" is not what I want. I just want to load image from OpenGL. :(

Thanks everyone!



#2 CMuYu   Members   

108
Like
0Likes
Like

Posted 18 April 2013 - 09:14 PM

Anyone to answer me?



#3 CMuYu   Members   

108
Like
0Likes
Like

Posted 20 April 2013 - 06:59 AM

Can anyone tell me a way? :(



#4 CableGuy   Members   

1331
Like
0Likes
Like

Posted 20 April 2013 - 10:47 AM

I guess you can use glGetTexImage to get the texture data and then create an appropriate OpenCV matrix and point it to the data retrieved from OpenGL.



#5 CMuYu   Members   

108
Like
0Likes
Like

Posted 21 April 2013 - 07:57 PM

I guess you can use glGetTexImage to get the texture data and then create an appropriate OpenCV matrix and point it to the data retrieved from OpenGL.

Thank you. I will try it.



#6 CMuYu   Members   

108
Like
0Likes
Like

Posted 10 May 2013 - 01:49 AM

Do you have another ways? Thank you!






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.