How to apply distance transform on labelled matrix
1 view (last 30 days)
Show older comments
I have got a labelled matrix and want to apply distance tranform on the diffent different labels in the matrix. How can it be done in matlab?
Thanks
4 Comments
Answers (1)
Anmol Dhiman
on 20 Jul 2020
Hi Rizwan,
Regrds,
Anmol Dhiman
3 Comments
Image Analyst
on 20 Jul 2020
That's why it doesn't make sense. Why on earth would you even want to try to do a distance transform on a labeled image? What would even be the formula for distance in that case? And what would he do with the result? I think this is a case of a user thinking he wants something, but he really doesn't want that, he just doesn't know it yet.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!