Clear Filters
Clear Filters

How to convert a mask image to a .wkt file in Matlab

1 view (last 30 days)
I have a masked image containing labels of objects (buildings, fields,etc.) and I want to convert this image directly to a wkt file in terms of polygons. The way I have approached is to detect contours of each label and thus getting the polygon coordinates for each of the labels. The next step is to convert this polygon coordinates to a wkt file. Is there any way to achieve this? Any help is appreciated. Thank you.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!