Describe a complex shape with simples ones using image analysis
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ouatehaouks
am 15 Dez. 2021
Kommentiert: Ouatehaouks
am 21 Dez. 2021
Say I have a complex shape like this

that I want to describe/simplify like this

I was wondering if there was a way using image analysis to do this ? I can find many methods of shape recognition but not any for shape simplification (althoug I'm not an expert and my searching might not be efficient...). I tried using clustering methods (cmdscale on distance between points and linkage/cluster) but the results is not easy to get, especially if I don't know beforehand the number of clusters.
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 15 Dez. 2021
You could threshold the image to produce blobs using imbinarize().
You could separate the blobs using imerode().
You could smooth the blobs shapes using conv2() or imfilter().
3 Kommentare
Image Analyst
am 21 Dez. 2021
Bearbeitet: Image Analyst
am 21 Dez. 2021
You could try watershed() to separate them.
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!