Eliminate Distortion in Wide Angle ImagesBy: John Honovich, Published on Dec 09, 2008
Today's megapixel cameras have many advantages as long as you have the right lens for the job. When that includes covering large areas or reducing cost by installing fewer cameras, that lens is a wide angle lens. Until recently only fisheye lenses were available for an ultra wide field of view. Fisheye lenses create a curved and distorted image which no one seems to like. This significant distortion causes loss of resolution at the image edges.
In the past year a new rectilinear lens giving a different ultra wide view without the barrel distortion or loss of edge resolution of fisheye lenses has been developed. This report is an overview of wide angle lens technology and how we at Theia Technologies overcome fisheye distortion using Linear Optical Technology [link no longer available].
The real world is full of three dimensional people and objects. Creating a representation of this world on a two dimensional plane in a camera creates some optical effects, especially when viewed through a wide angle lens.
There are two approaches used when designing wide angle lenses:
- Equal angular slices – each pixel receives an equal angle leading to barrel distortion in the image
- Equal planar distances – each pixel images an equal distance in a plane, this is a rectilinear lens.
The two families of wide angle lenses create very different views of the world.
|Rectilinear wide angle lens||Barrel distortion wide angle lens|
Most wide angle lenses including fisheye lenses have barrel distortion which comes from imaging equal angular slices of the world onto the sensor. A close kin, similar in application but different design, is to image equal planar distances in the real world onto the image sensor using a rectilinear lens. Until recently, rectilinear lenses were not available for wide angle applications. Theia Technologies has worked to develop this type of lens [link no longer available].
Rectilinear lenses keep straight lines in the real world straight on the image sensor. This creates an effect called 3D stretching or lean-over in which objects at the image edge seem to be stretched because they are being “flattened” onto a plane along the tangent angle from the lens. The wider the field of view (for rectilinear lenses), the more noticeable this effect. There is an additional benefit in increased resolution at the edges of the image because of 3D stretching.
In the picture below, both cars are the same width but since Car B is seen much more obliquely it appears to be stretched. The cars are the same width because they are in the same plane perpendicular to the camera and the lens images these equal planar measurements to equal distances on the sensor. The length is stretched due to flattening onto the sensor plane.
|Image showing 3D stretching from an ultra wide angle rectilinear lens.|
The wide angle cousin of the rectilinear lens has the well known barrel distortion seen in almost all wide angle lenses with fields of view greater than 80deg, including fisheye lenses. This distortion causes the image to look curved and resolution to be reduced as the object moves farther from the center of the image.
|Distortion reduces the object width the further it is from the image center.|
|The same image taken with a rectilinear lens shows increased resolution towards the edge of the image.|
The distortion effect can be eliminated with software (creating a rectilinear lens image) but at a cost in time or processing power. Objects at the edges of the image are compressed and detail information is lost. The information was already lost travelling through the lens and no amount of software (contrary to Hollywood’s view of video surveillance) will be able to recapture the information.
Natural habitat of wide angle lenses
Wide angle lenses are not a panacea but there are many applications that benefit from their use. For applications requiring large areas of coverage, an ultra wide angle lens on a megapixel camera is a cost saving opportunity that should be considered. Wide angle lenses can.
- Reduce the number of cameras required to cover an area, reducing cost of installation, maintenance and monitoring,
- Be used in place of a PTZ camera when post-incident PTZ is desired.
- Effectively monitor large areas like parking lots, schools, and construction sites and
- Be used in close-up applications such as ATMs, card-locked garage entries, and multi-door entryways where both high image detail and wide fields of view are required.
Megapixel cameras need high performance wide angle lenses that can display high resolution images of large areas. Fisheye lenses create barrel-distorted curved images requiring software image correction whereas rectilinear lenses correct distortion optically in the lens, an elegant and efficient solution.