vectorization#

Functions

denoise(mask, diameter)

Apply morphological opening /w circular kernel to remove hi-freq noise.

get_kernel(rectangle[, width_factor, thickness])

get_rectangle(buildings)

mask_to_building_polygons(mask[, transform, ...])

Try to break up building clusters and then convert to polygons.

mask_to_polygons(mask[, transform])

Polygonize a raster mask.