Find matching points from two coordinate systems
Show older comments
Hello,
I have 10 points with x and y coordinate (cell locations imaged with microscope). I have used two different methods to image these cells, so I have two sets of coordinates that could be rotated, sheared, shifted, mirrored to each other. I would like to assign each point from one coordinate system to the matching point in the other coordinate system. How can I do that? In theory, some kind of transformation optimizing minimum distance between the points would be desirable.
In the end I would like to assign properties I obtained from the cells in one method to properties obtained with the other method.
Thank you.
7 Comments
darova
on 7 Oct 2019
Can you please attach some sample data? How final iamges should look like?
Yangfan Peng
on 8 Oct 2019
Edited: Yangfan Peng
on 8 Oct 2019
darova
on 8 Oct 2019
And what do you want to do with these (x,y)?
Yangfan Peng
on 8 Oct 2019
Generally speaking, it is an impossible problem. For example, suppose there were 3 points in each image with the A-points forming an equilateral triangle and the B-points an equilateral triangle in a different position. Then there is no unique matching between the points that can be determined purely from their relative spacing - the symmetry among the points is too perfect. There would have to be some a priori known asymmetry among the points in order to match them.
darova
on 8 Oct 2019
What if just find closest pairs of points? Using pdist2() for example?
Yangfan Peng
on 8 Oct 2019
Accepted Answer
More Answers (1)
Bruno Luong
on 8 Oct 2019
0 votes
Look for the literature of image registration.
For simple rotation/scaling/translation you can use Matt J's submission
For more complex deformation, you need to apply spline deformation
There are a bunch of intermediate method for camera which take into account for camera cushion distortion or higher order. Pick one that is suitable for your need.
Categories
Find more on Spline Postprocessing 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!


