Boundary tracing in image
이전 댓글 표시
Hello folks,
I am trying to trace the boundaries of a binary edge detected image to the point that I can export the file as polylines into ArcGIS. So far, I have converted the image to a binary image and identified the edges. I've tried to use both bwtraceboundary and bwboundaries to identify the edge outlines and then export this file with polylines, but am not having any luck. The original image is attached as is the code to convert the image to a binary edge-detected image. Any help is much appreciated!
clear
RGB=imread('DJI_0022.jpg'); %inputs image
I=rgb2gray(RGB); %convers to grayscale
figure
imshow(I)
BW1 = edge(I,'Canny',0.6);
imshow(BW1)
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Object Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
