Morphing points based on edge of a shape in an image
Afficher commentaires plus anciens
Hello there,
I made a mesh and I picked up the contours of this mesh as some points and I have an MRI image. So I want to move these points based on a heart on this mri image. I have tried to read like a lot of articles on morphing, points wrapping and so on.... but they are explaining either morphing between two image or two mesh. So I am a kind of stocked.
I appreciate any idea! Sareh
3 commentaires
Sean de Wolski
le 9 Nov 2012
Picture is worth 1000 words...
sareh
le 10 Nov 2012
sareh
le 10 Nov 2012
Réponses (1)
Image Analyst
le 9 Nov 2012
Modifié(e) : Image Analyst
le 9 Nov 2012
0 votes
Try maketform() and tformfwd(). Or else imtransform. You pass the actual point locations and the desired locations into maketform() and it gives you a transform. Then use tformfwd() to apply this transform to warp your "bad" image into your "desired" image.
Catégories
En savoir plus sur Read, Write, and Modify Image dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!