How can I form a perimeter of variable thickness
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Scrat
am 5 Sep. 2015
Kommentiert: Scrat
am 10 Sep. 2015
I have a bw image with the largest area of a mouse cell. how can i get a perimeter with a variable thickness so that i can get a ring like border and i can manipulate the thickness as per wish. i have used bwperim but it only gives a very thin outline. What i want is that but thick and also i want to control the thickness. Thanks
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 5 Sep. 2015
Call imdilate() on the image you get from bwperim().
5 Kommentare
Image Analyst
am 10 Sep. 2015
Did you read my prior comment? I told you how to do that. Another way is to simply call imerode() on the original binary image - the one you used when you called bwperim(). Just eat away the outer layers 2 or 5 pixels.
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!