PANDORE Version 6 | GREYC-IMAGE |
pblockmatching builds a new image that contains the motion estimation between 2 images.The output image im_out_dep is a multispectral image containing a motion vector in each point: the first band contains the abscissa, and the second one the ordinate of the motion vector.
The motion estimation method using the "block matching" is to find a matching between each squared block of size block_size in the reference image im_in_ref with the same block in the destination image im_in_dest. The corresponding distination block is searched in a the neigbourhood of size search_size. The matching criteria is the destination block that mimizes the Sum of Square Differences (SSD):
SSD(u,v) = sum_{(x,y) in Block} [im_in_ref(x,y) - im_in_dest(x+u,y+v)]^2
Return SUCCESS or FAILURE.
Estimates the motion between an image and its translated:
ptranslation 0 17 tangram.pan tangram1.pan pblockmatching 16 20 3 tangram.pan tangram1.pan deplacements.pan pplotquiver 256 256 10 0.5 deplacements.pan out.pan
Estimation du mouvement entre deux images par mise en correspondance de blocs.
Authors: G. Née - Y. Pitrey Helpiquet - S. Jéhan Besson