V
V
vovagib2017-07-03 08:37:57
Image processing
vovagib, 2017-07-03 08:37:57

How to create a road mask from a satellite image using the Hough transform?

You need to create a road mask (that is, roads are white, everything else is black) based on a satellite image. I decided to write a program in C #, for this I took the EmguCV library. I read a little about it, but did not find anything sensible. I took a picture, made it black and white, then, using the Canny filter, processed the image and saved 40k images with various filter settings (xs, why so many). But it didn't help much. The filter selected the edges, but I don’t know what to do next, so I decided to go the other way: I just increased the contrast of the black and white image to highlight the roads with white. It didn't turn out perfect, but it's something. Then I found a couple of Hough functions in EmguCV, one for straight lines, the second for circles (well, that's how I understood it). But the problem is that it just writes some coordinates on the image. And I don't know what to do with these points. If anyone is familiar with this, please help me. Thank you in advance.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question