Borrar filtros
Borrar filtros

translating each image column a distance according to the fitted curve

1 visualización (últimos 30 días)
Thanh Vu
Thanh Vu el 19 de Mzo. de 2022
Comentada: Image Analyst el 17 de Abr. de 2022
I have created a curve fitting as shown in the image above. Now how to translate each image column a distance according to the fit curve, so that then the fit curve becomes a horizontal straight line. Please help me as I am trying to learn how to use matlab for my exercise

Respuestas (1)

AndresVar
AndresVar el 19 de Mzo. de 2022
Editada: AndresVar el 19 de Mzo. de 2022
You can try circshift to shift the column vectors. But the result is not so good (i think), for example the length of the object will be distorted.
Instead you can try to implement Straighten Curved Objects (nih.gov)
Another alternative is to take orthogonal slices along the curve and recreate the image from the slices.

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by