How to find the inclination of the back bone in the attached image?
Show older comments
Hello Everyone... Greetings...
I am working with some medical imaging problems.
I want to rotate the given image after finding the inclination angle,
So that backbone looks straight and performs further steps.
I have attached the image for the reference.
The image is high resolution with low quality.
Can anyone suggest, how to find the inclination of the backbone?
Thank you.

Accepted Answer
More Answers (1)
Image Analyst
on 20 May 2020
0 votes
I disagree with the accepted answer. Perhaps he's never heard of the radon transform - the Nobel prize winning medical imaging algorithm that is at the heart of CT and MRI. You can do this automatically just by taking the radon transform and looking for the peak.
See my attached demo. Adapt as needed by applying the FAQ: FAQ How_can_I_process_a_sequence_of_files? for your hundreds of images.

4 Comments
Ryan Comeau
on 20 May 2020
I mentioned the Hough transform (bullet point 1) which performs a very similar function to that of the radon transform. Here is a forum discussing the two: https://dsp.stackexchange.com/questions/470/whats-the-difference-between-the-hough-and-radon-transforms. I will fill in a more elaborate answer for the Hough transform.
Image Analyst
on 20 May 2020
Thank you - that is a helpful comparison.
Mrutyunjaya Hiremath
on 20 May 2020
Image Analyst
on 22 Aug 2020
Girish, start a new question - let's not hijack this one. Post your image there and a definition of what direction you consider to be the "height".
Until then, see John D'Errico's outstanding File Exchange: https://www.mathworks.com/matlabcentral/fileexchange/34767-a-suite-of-minimal-bounding-objects
Categories
Find more on Image Processing Toolbox 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!


