create multi mask using ROI Freehand
Ältere Kommentare anzeigen
clc;clear;close all
im=imread("circlesBrightDark.png");
image=imshow(im);
for i=1:4
roi(i)=images.roi.AssistedFreehand(image);
draw(roi(i))
hold on
roi(i+1)=images.roi.AssistedFreehand(image);
draw(roi(i+1))
end
for i=1:2
for j=1:2
mask=roi(i).createMask | roi(i+j).createMask ;
end
end
1 Kommentar
Amir Azadeh Ranjbar
am 29 Dez. 2021
Akzeptierte Antwort
Weitere Antworten (1)
Amir Azadeh Ranjbar
am 29 Dez. 2021
0 Stimmen
Kategorien
Mehr zu Region and Image Properties finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!