How to rotate some part of image?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have dataset of finger images; but some fingers are not captured in straight way; and they are misalighned at some other angle due to which I cannot get mask of that image properly. Now I want to rotate all those fingers only so that background can be removed easily with well alighned fingers. Following is misalighned finger image.
I need images with straight fingers.
How I can do it?
2 commentaires
Matt J
le 10 Août 2022
How is the orientation of the finger measured?
How are you getting the mask when the finger is aligned the way you'd like it?
Réponses (3)
Narvik
le 7 Sep 2023
Hi,
I understand that you want to rotate images so that they are aligned in specific manner.
This can be done by applying geometric transformation on the image using the “imwarp” function. For more information, refer to the following documentation:
You can also use the “Registration Estimator” app to align the misaligned images. Please refer to the documentation of “Registration Estimator” app below:
Hope this helps!
0 commentaires
Image Analyst
le 7 Sep 2023
You can use the radon transform to determine the angle you need to rotate by. See how I rotated the football in the attached demo.
0 commentaires
DGM
le 9 Sep 2023
This question is one in a long set of unclear questions which together likely form an XY problem.
This is a rough summary of a large portion of the set of given questions, with some examples.
1 commentaire
Image Analyst
le 9 Sep 2023
Yes, he just says "I need images with straight fingers." without any justification for why. I'd like to know the reason why. I'd bet it is not really needed, and if we knew the steps he was going to take after it was rotated, we could determine if rotation was really needed.
Voir également
Catégories
En savoir plus sur Geometric Transformation and Image Registration dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!