How can one implement the fisheye lens effect illustrated in that image:
One can us
I think you are referring to the fisheye lens effect. Here is some code for imitating fisheye in matlab.