Page 1 of 1

Tracing an image displacement, noobie help!

Posted: Sat Nov 20, 2004 6:35 pm
by Azimuth
Hello

Working on my westinghouse research project, a part of it requires me to be able to trace a change of location of an object.

For example: TWO photographs are inputed with a dark ball against light background. The program finds two object edges and calculates the displacement.

IT doesnt have to be very complex, no shape identification is required, only a point mass and its displacement.

Now, for my main question
I know Visual Basic moderately well. Very little C++ experience. Can u please point me in the correct direction, where do i start, is there a complete algorithm available somwhere?

Thank you very much

Re:Tracing an image displacement, noobie help!

Posted: Sun Nov 21, 2004 2:12 am
by Candy
1. Identify the points to track
2. Calculate the average location (add all together in both directions, divide both by total number of dots).
3. Repeat for other image(s)
4. Use information to calculate direction, speed etc.

The first step is unnecessary in computer graphics, since they should be flawless... With real photographs you are going to get those questions, such as a motion blurred image.