Robotic vision

Extracting path features from a spatial map and navigate a mobile car.

This project involved extracting path features from a spatial map and navigating a mobile car with an onboard manipulator along a specified route. Shown here is the methodology for path identification where the aim was to detect three markers (A, B, and C) and extract road boundaries.

Path Identification:

Given the original image, a close examination of the greyscale image reveals that the image is overexposed, making distinction of the markers difficult, especially the green marker that blends in with the rest of the spatial map once in grayscale.

Redistribution of the grey levels results in Figure 2 which makes it much easier to select the sections of interest from the image, as the markers are now quite clearly the darkest parts of the entire image.

In selecting the darkest grey levels, other shapes are also chosen, and thus to further extract the markers alone, their circular nature comes into play. Here erosion followed by dilation is performed, to extract solely the markers, and then to restore them to their original size.

Markers extracted, then eroded and dilated.

The path to be taken is shown to be within the two red lines in the original picture. Obtaining the red lines is not a difficult task as they feature in the darkest grey levels of the original overexposed image, and so a new image consisting only of the darkest section is brought forward. The Hough transform is then applied to identify the lines present in the image, with the ρ and θ values corresponding to the lines present in the whitest points of the transform.

The values extracted from the Hough transform extracted the lines of the path, from which finding the median allowed the path to be taken to be identified.