Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Whats the openGL different from openCV?

  1. #1
    Junior Member Newbie
    Join Date
    May 2007
    Location
    China
    Posts
    7

    Whats the openGL different from openCV?

    Can anyone out there answer me the question:
    Whats the openGL different from openCV?
    which one is more population? and easy to use in practice?

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Mar 2001
    Posts
    3,574

    Re: Whats the openGL different from openCV?

    Whats the openGL different from openCV?
    Um, they do entirely different things.

    OpenGL is a 3D graphics rendering library. OpenCV is a computer vision library "focused on real-time image processing." GL creates images, CV processes them.

  3. #3
    Junior Member Newbie
    Join Date
    May 2007
    Location
    China
    Posts
    7

    Re: Whats the openGL different from openCV?

    Thank you very much for your prompt reply and wonderful reply.
    I know their difference now.

  4. #4
    Junior Member Newbie
    Join Date
    May 2007
    Location
    China
    Posts
    7

    Re: Whats the openGL different from openCV?

    further more, Could I comprehensive as this?
    we use the GL creates the image and then we use CV to modify or process the image if we find it not very good enough or satisfact with your requirement?

  5. #5
    Senior Member OpenGL Guru
    Join Date
    Mar 2001
    Posts
    3,574

    Re: Whats the openGL different from openCV?

    further more, Could I comprehensive as this?
    we use the GL creates the image and then we use CV to modify or process the image if we find it not very good enough or satisfact with your requirement?
    You misunderstood.

    OpenCV is for doing Computer Vision work.

    If you're trying to produce 3D images, you use OpenGL. If you have real-time data coming through a camera and want to make the computer understand the imagery, you use OpenCV.

    If you already have a 3D scene in the computer, and you want to make a computer understand it, you use neither. You simply have the computer sample the world in its native internal data structures. So it makes no sense to render to OpenGL and then use OpenCV to process it.

  6. #6
    Junior Member Newbie
    Join Date
    May 2007
    Location
    China
    Posts
    7

    Re: Whats the openGL different from openCV?

    sorry I may be not expressing exactly.
    you are right, I understand.
    What I want to say above is
    we can use the openGL to construct a 3D object, for example, a box, then we save it as a jpg file.
    then open it with our computer, if we want to modify it into a cylinder by computer itself, we can use openCV to recognise it, for example, use edge recognize method to get its coordenates parameters and change these parameters to form a cylinder.
    does this describe right?
    -----
    btw, due to some politic cause, we cannt access that wikiedia web site.

  7. #7
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,574

    Re: Whats the openGL different from openCV?

    Originally posted by cnreader:
    btw, due to some politic cause, we cannt access that wikiedia web site.
    Too bad for you and your country... Wikipedia is one of the best thing that happened on the web after 2000.
    Maybe you can try to read wikipedia, by starting from this page :
    https://secure.wikimedia.org/wikiped...wiki/Main_Page

    Back on topic :
    yes of course you can train your computer vision algorithm on synthetic images generated with OpenGL.


    See for ex. this project :
    http://ai.stanford.edu/~asaxena/rccar/
    Specifically page 4 of the pdf here :
    http://ai.stanford.edu/~asaxena/rcca...eAvoidance.pdf

  8. #8
    Junior Member Newbie
    Join Date
    May 2007
    Location
    China
    Posts
    7

    Re: Whats the openGL different from openCV?

    oh, several years ago, I can access to the web site, and I have ever publish some items in it and later, we found we cannt access to it. some peopel said it was block by our isp, I dont know if its right, but we cannt access, occassionally we could access. forget it!
    I know the concept of machine vision. but i need learn too much aswell.

  9. #9
    Senior Member OpenGL Guru
    Join Date
    Mar 2001
    Posts
    3,574

    Re: Whats the openGL different from openCV?

    we can use the openGL to construct a 3D object, for example, a box, then we save it as a jpg file.
    then open it with our computer, if we want to modify it into a cylinder by computer itself, we can use openCV to recognise it, for example, use edge recognize method to get its coordenates parameters and change these parameters to form a cylinder.
    You should never do anything like this.

    If you want to create a box and save it, you save the box, not a JPEG image of the box. There are innumerable formats for saving vertex data, from 3DS to COLLADA.

    That way, when it comes time to modify the data, you simply modify the data.

  10. #10
    V-man
    Guest

    Re: Whats the openGL different from openCV?

    I'm guessing that's suppose to be the point of the exercices : save as jpeg, then recognize it.

    If OP needs help with OpenCV, join the opencv mailing list and forums.

Page 1 of 2 12 LastLast

Similar Threads

  1. Problems using OpenGL with OpenCV
    By tsoemod in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 07-27-2016, 09:29 AM
  2. OpenGL and OpenCV matrix
    By ssyybbyy in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 03-05-2014, 07:07 PM
  3. OpenGL and OpenCV not matching up
    By TEWarehouse in forum OpenGL: General
    Replies: 0
    Last Post: 11-26-2013, 04:03 PM
  4. Interface from OpenGL to OpenCV
    By cyxcw1 in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 04-21-2013, 07:35 PM
  5. OpenCV & OpenGL
    By BR in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 11-20-2006, 10:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean