I’d like to create a spatial map from a picture to use as a repositioning map for another picture:
I’m trying to use this method to move the values of the cells of a BW picture to the the cells of a second picture.
For example if I have a circle in the left side of the matrix in the first picture and a circle in the right side of the matrix in the second picture then I’d like to be able to have the values of the cells move from one spot to the other.
I think jit.repos should be the way to do it, using the second matrix as a map for the first.
Do you think this is a sane path to follow?
If it’s the right path then I should convert the second matrix to a 2 plane one, what is the best way of doing this?
Thanks a lot,
tried to use Displacement Distortion process included in the jit.gl.imageunit but cannot get to go fully to the second image, I guess this is not it’s intended purpose, looks like it’s more suited to the kind of use you were having.
I tried jit.repos but somehow I have trouble moving the cells from one place to the other..