![]() |
|
#1
|
|||
|
|||
Opengl program helpHello all,
I have an image with white background and a single blackdot on it. I was wondering if there is any function to read the pixels of an image to find the blackdots position by calculating the centroid of the black dot. I am new to opengl and c++ programming, i would appreciate if anyone can help me with identifying the blackdot. Thanks for your time |
|
#2
|
|||
|
|||
Re: Opengl program helpCheck out glReadPixel !
Put that word on Google and see One more things if u have an "image" then dont need OpenGl funtion. Loop through the image check if its Color is 0,0,0 then that is the black dot |
Recent GIDBlog
Last Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Two-Tier data dissemination code installation problem | nidhibansal1984 | Computer Software Forum - Linux | 6 | 16-Sep-2007 10:13 |
| Text-Based Roulette Game | mfm1983 | CPP / C++ Forum | 5 | 29-Nov-2006 12:20 |
| BOOKEEPING program, HELP!! | yabud | C Programming Language | 10 | 17-Nov-2006 03:48 |
| Pipeline freeze simulation | darklightred | CPP / C++ Forum | 6 | 27-Jul-2006 19:37 |
| How to read particular memory location ? | realnapster | C Programming Language | 10 | 10-May-2006 09:11 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The