CPL=CPLofimage(I,[n,f])
I : | image | |
n : | number of contours | |
f : | if true create a zero frame around; default is false |
CPL : | Closed Polygon List |
figure; axis off; text(0.5,0.5,'This is a Test', 'FontSize',16); I=getframe(gcf)
CPLofimage(I)
CPLofimage(I.cdata(:,:,1)<240)
I.cdata=squeeze(I.cdata(:,:,1)); CPLofimage(I)