Find matching points from two coordinate systems
Mostrar comentarios más antiguos
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 comentarios
darova
el 7 de Oct. de 2019
Can you please attach some sample data? How final iamges should look like?
Yangfan Peng
el 8 de Oct. de 2019
Editada: Yangfan Peng
el 8 de Oct. de 2019
darova
el 8 de Oct. de 2019
And what do you want to do with these (x,y)?
Yangfan Peng
el 8 de Oct. de 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
el 8 de Oct. de 2019
What if just find closest pairs of points? Using pdist2() for example?
Yangfan Peng
el 8 de Oct. de 2019
Respuesta aceptada
Más respuestas (1)
Bruno Luong
el 8 de Oct. de 2019
0 votos
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.
Categorías
Más información sobre Spline Postprocessing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



