I have detected boundaries of an image and I would like to detect the corners for that boundary image(Having boundaries of image).
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
BW = imread('blobs.png'); [B,L,N] = bwboundaries(BW); figure; imshow(BW); hold on; for k=1:length(B), boundary = B{k}; if(k > N) plot(boundary(:,2),... boundary(:,1),'g','LineWidth',2); else plot(boundary(:,2),... boundary(:,1),'r','LineWidth',2); end end
1 comentario
B.k Sumedha
el 9 de Jul. de 2015
Editada: B.k Sumedha
el 9 de Jul. de 2015
U can use the corner function to detect the corners.
Respuestas (0)
Ver también
Categorías
Más información sobre DICOM Format en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!