Hello everyone!
I have a project in matlab : to make an animation video from one source image.
My idea for solving this problem includes those steps :
1) Seperate foreground and background from each other (using image segmentation methods).
2) Fill the background with color - in the area of the segmented foreground.
3) Blend the foreground and backround images in a for loop. Which in every iteration the foreground moves a little from his last location (for now is is not important what is the direction - I assume that the user will decide ).
I am new in matlab and threfore I am having trouble doing this -the idea is clear but writing the code is not simple for me.
I need some examples if you have and want to share.
Thanks you all!