Inverse Perspective Mapping is an image processing algorithm that can most easily be described by an example.
A front mounted camera on a car gives an image similar to the one below.
If we want to calculate the distance to the car in front, we cannot simply measure how many pixels there are between our car and the one in front, as the relationship does not change in a linear fashion.
To overcome this problem, we apply inverse perspective mapping, and we get an image like the one below.
Now that the perspective has been taken care of, we can simply measure the road distance to the car in front.
The aim of my project is to implement IPM using the OpenCV image processing library, this way the algorithm could be implemented on a real time embedded system and used as part of a car safety system.