jit.repos for image morphing

dobyhal's icon

hi,

i've been searching the archives for this, but couldn't get a satisfying answer:

how do i use "jit.repos" to morph two images ?
by "morphing" i mean the well-known effect of (slowly) interpolating one image into another. i studied tutorial 39 about spatial mapping but still don't understand how i could (example):

morph from frame 0 of "dozer.mov" to frame 25 of "dozer.mov" using the jit.repos object ?

in this post (https://cycling74.com/forums/video-morphing),
BRECHT said: "a spatial map based on picture 1, slowly fading to a spatial map based on picture 2 as input to jit.repos... (with the original pictures you are deforming also slowly fading from a to b)" is necessary to create this effect.

how do i create "a spatial map based on picture 1" ?

could somebody shed some light onto this ? or (even better) post an example patch ? (Max5 would be appreciated)

thanks an awful lot for all hints

dobyhal's icon

pleeeeeease !

somebody in this forum must have an idea here ;-)

i always thought that jit.repos was the straight-forward way to do image morphing (maybe i'm wrong).
as i understood it, morphing is achieved by spatial-displace image masks, is that right ?
there must be some way to abstract the lines of i.e. a face to a spatial map, without thousands of mouse clicks to create reference points but just by some sort of "threshold"-like procedure. i know it would be quite easy in AE, but for various reasons i would like to know a method in jitter.

can really nobody help ?

vichug's icon

er
jit.repos might be a solution for image morphing, but certainely not straight forward...