selection of patches of an image
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Dear sir,
I use superpixel segmentation algorithm for patch generation,the output image is attached.
I = imread('capture1.jpg');
[L,N] = superpixels(I,40);
figure
BW = boundarymask(L);
imshow(imoverlay(I,BW,'red'),'InitialMagnification',67)
Next I want to select only the foregrond area patches(black color) and compute the area,patch length and patch location of the patches.How it is possible?help me sir
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Polygons finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!