extracting road from lidar
2 views (last 30 days)
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.
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.