translating each image column a distance according to the fitted curve
2 次查看(过去 30 天)
显示 更早的评论
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
1 个评论
Image Analyst
2022-4-17
Why does it need to be straightened? What can't you do if it's not straightened?
回答(1 个)
AndresVar
2022-3-19
编辑:AndresVar
2022-3-19
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)
There is a FEX Matlab method straighten - File Exchange - MATLAB Central (mathworks.com)
Another alternative is to take orthogonal slices along the curve and recreate the image from the slices.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interpolation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!