2D Morphing Example?

Blitz3D Forums/Blitz3D Programming/2D Morphing Example?

Don't know if this is of any help, but here goes. If you are looking for code to do this you can probably just ignore this message, as it will not be of much help.

If I understand you correctly, you want to be able to take frames of video, and create interpolated frames so that The video can be played in ultra-slow motion, right? I know of 2 programs that do this, although they are both quite expensive,... they are Twixtor, and ReTimer. Twixtor is a plug-in for After effects and runs around $500-600,... I believe retimer is a stand alone app, and it runs closer to $2000. In any case, I believe both of these programs essentially do a per-pixel motion track on the images to create the in-betweens, And both still need a bit of work to get everything working right. The biggest problem is when not everything is moving in the same general direction, and there is overlap of motion, then the leading edges get all screwed up.
The easiest way to fix this is isolate the pieces (By using something like a bluescreen shot) Slowing it down, and then compositing it back together. This is how I have accomplished these effects in the work I do.

If you look for the websites of the programs I mentioned above, you should find some great examples, and with any luck maybe get some more insight for making your own version.

I would guess the basic flow would be as follows:
1. compare two images and create a vector flow map. Piece of cake right? ;) For even more accuracy, you would need to compare multiple images to create curved flows
2. Use the flow map to move the pixels from one image to the next, while doing a cross dissolve to blend it together better.