1. A method for rectifying a camera image, comprising: receiving, via an interface, distorted pixels of a distorted camera image; providing a compressed rectifying rule; decompressing the compressed rectifying rule to obtain a decompressed rectifying rule for rectifying the distorted camera image; and determining, using the decompressed rectifying rule, rectified pixels of the distorted camera image from the distorted pixels.