Author
Topic: Image processing in C (Read 7746 times)

Hello I am totally new to image processing.Uptill now I used roborealm software to track the object and move the servo with a red colored object.But roborealm is ready made.I want to develop my own red colored object tracking code in C. I have gone through the Computer vision tutorials in this website.The algorithms were great.Now I want to implement them using the webcam in C and do the red colored object tracking and also send signals to the microcontroller through the serial port.

My problem statement is:

1.How to write the code for capturing images real time and do the image processing real time?2.And i have learnt the code of sending data through the COM port using C. In short I want to develop an equivalent of roborealm's red colored object tracking example in C because my professor says I have done nothing big ..just used already existing modules and nothing great about it.I felt it was good to give a start and roborealm helped me a lot and it opened the window for bigger things.

I saw your video on Blob and then tracking it.It was great.Please help me and let me know how to do this.If you can also give me a sample example code of the red colored object tracking or some real time image processing code like the mid size object tracking using the webcam it will help me in learning image processing in C....Hoping for a positive response. (And I also want to be a member of the programming team of robo realm from India and give my services)....

Your first step should be getting code that will let you interface with your webcam. Do some searching for sample code that accesses webcams and outputs the image stream in a window. I'm doing something similar (but in Java) and just getting the infrastructure for capturing images was a lengthy process, although there is plenty of sample code online about interfacing with webcams.

ok altast I found an experienced user doing image processing in C and C++ .Please do stay in touch.I am really having a tough time finding out ways to do the image processing in C.Now how do i access the webcam image in CImg

oops, sorry about that post. I got an IM after my initial post asking for more info on the Java program, didn't check the username and assumed you were asking for it. oh well, still useful for forum searches.