How to find the inclination of the back bone in the attached image?
Mostrar comentarios más antiguos
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.

Respuesta aceptada
Más respuestas (1)
Image Analyst
el 20 de Mayo de 2020
0 votos
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 comentarios
Ryan Comeau
el 20 de Mayo de 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
el 20 de Mayo de 2020
Thank you - that is a helpful comparison.
Mrutyunjaya Hiremath
el 20 de Mayo de 2020
Image Analyst
el 22 de Ag. de 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
Categorías
Más información sobre Image Transforms 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!



