- May 18, 2007
- 36
- 0
- 0
Greetings. There's a programming problem that I've been puzzling over for some time now, and I'm hoping to get some advice. Here's what I'm trying to do.
Many times in video files, especially in anime, the camera zooms or pans along a still image. What I need to accomplish is to write a program that will ascertain exactly how far the camera has panned/zoomed between one frame and another. In other words, given a later frame, I need to find out how many pixels I would have to shift over and to what percentage I would have to zoom in order to get the original frame.
I realize that despite how simple the problem sounds and how easy it is for humans to do, coding this will be no small task. From what I've researched so far, I gathered that what I want to do is similar to the motion detection algorithms used in video compression. But I could really use some advice and a point in the right direction. Can anyone give me any advice on this or tell me where I might find some help?
Many times in video files, especially in anime, the camera zooms or pans along a still image. What I need to accomplish is to write a program that will ascertain exactly how far the camera has panned/zoomed between one frame and another. In other words, given a later frame, I need to find out how many pixels I would have to shift over and to what percentage I would have to zoom in order to get the original frame.
I realize that despite how simple the problem sounds and how easy it is for humans to do, coding this will be no small task. From what I've researched so far, I gathered that what I want to do is similar to the motion detection algorithms used in video compression. But I could really use some advice and a point in the right direction. Can anyone give me any advice on this or tell me where I might find some help?