extracting road from lidar

2 views (last 30 days)
nur shafinaz
nur shafinaz on 18 Nov 2015
Answered: Benjamin Thompson on 13 Jun 2022
I have an intensity image of lidar and already import to matlab. I already use canny method as the shown result below The question is how we want to create a specific coding to ask matlab to extract the edge of the road (both side)?
I really really need help here. Thank you.

Answers (1)

Benjamin Thompson
Benjamin Thompson on 13 Jun 2022
Hard to tell without sample images but if the road is consistently a big black thing, use imclose to help make the edges solid and then regionsprops or vision.blobanalysis to identify the biggest black region. You may be able to use imfilll to remove the holes in the middle of the road also.


Community Treasure Hunt

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

Start Hunting!

Translated by