How to deform an image using two reference points?
3 ビュー (過去 30 日間)
古いコメントを表示
Hi there,
I am trying to correlate two images, actually two maps of a mineral acquired with two different instruments. The problem is : one instrument deformed a little bit the map, so it is not possible to do a direct correlation. I would like to adjust and resample this deformed map to fit the other one (map1), considered as reference because the instrument is more accurate in term of XY stage.
I have the two maps as matrix, and I put them in a bigger NaN matrix (I used that to be able to do rotation and move them to find best correlation). I set two reference points, that I can identify in both maps. What I would like is to deform and resample map 2 in order to have ref1-ref2 distance same than in the reference image.
I did this schema, hope it helps to understand my problem. If you have any idea of functions/ tips I could use to achieve that I would be gratefull.
Of course In case of success I would share my code as a function on the platform.

Cheers,
J. Reynes
0 件のコメント
回答 (1 件)
Image Analyst
2019 年 1 月 8 日
Try Steve's blog: Spatial transforms
4 件のコメント
Image Analyst
2019 年 1 月 11 日
Sorry - didn't see your prior reply for some reason (or else I didn't have time to delve into it).
You're right - that doesn't sound right. If you can verify it, I'd probably call them and prove it to tech support so they can log it as a bug.
Are you sure, or maybe it's just that the screen is not updated so you THINK that's what's happening. I'd put a "drawnow" after the while loop and take out the pause and see if that works or not.
参考
カテゴリ
Help Center および File Exchange で Histograms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!