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!
clearRGB=imread('DJI_0022.jpg'); %inputs imageI=rgb2gray(RGB); %convers to grayscalefigureimshow(I)BW1 = edge(I,'Canny',0.6);imshow(BW1)