how to measure displacement by correlation method of two images(before and after deformed) using 3d graph ?

[EDIT: 20110716 13:45 - move Tag in to Question - WDR]
please send me program for measurement of displacement by correlation method of two images (before and after deformed) using 3d graph?

Answers (2)

[junk, idx] = max(reshape(getCorrelation(Image1,Image2),[],1));
[row col] = ind2sub(max(size(Image1),size(Image2)),idx);
There, I did most of the work for you, now you just have to write getCorrelation()
It will probably involve normxcorr2() in the Image Processing Toolbox. Check that out and come back with your attempt at coding and the URL's of your posted images, if you can't figure it out.

Categories

Find more on Christmas / Winter in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!