I am taking this image as my input and applying thresholding, median Blur and Watershed algorithm to extract buildings.
After applying Median blur and thresholding I am getting this result
Median blur helps to remove the text but how to segment out the roads?