The lens distortion correction (LDC) module deals with lens geometric distortion issues, chromatic aberration, and affine transformation for camera images. Figure 9-201 is an overview of the LDC in the SIMCOP subsystem.
For still image or video applications the LDC supports:
- Lens distortion correction:
- YCbCr4:2:2/YCbCr4:2:0 data format input/output for post-image-pipe correction
- Uses a generic distortion model to correct muliple distortion types.
- 8 bits for YCbCr
- Bicubic interpolation for Y and bilinear interpolation for Cb/Cr
- Bilinear interpolation mode for Y to offer faster processing
- Up to 8192 x 8192 image dimension
- Format restriction:
- YCbCr4:2:2 format: Tile width must be a multiple of 16.
- YCbCr4:2:0 format: Tile width must be a multiple of 32.
- Image warping, scaling, and rotation:
- Affine transformation for image warping, scaling, and rotation
- 8 bits for YCbCr
- Supports Bayer data in unpacked 12-bit per pixel, 8-bit per pixel A-law, 8-bit per pixel unpacked, and 12-bit per pixel packed formats
- Bicubic interpolation for Y and bilinear interpolation for Cb/Cr
- Bilinear interpolation mode for Y, Bayer
- Format restriction:
- YCbCr4:2:2 format: Tile width must be a multiple of 16.
- YCbCr4:2:0 format: Tile width must be a multiple of 32.
- Chromatic aberration correction:
- Supports Bayer data in unpacked 12-bit per pixel, 8-bit per pixel A-Law, 8-bit per pixel unpacked, and 12-bit per pixel packed formats
- Generic distortion
- Model is used to describe corrections on red and blue image planes in Bayer image
- Red and blue distortion only. Green pixels are copied to output.
- Red and blue distortions are described independently
- Bilinear interpolation
- Up to 8192 x 8192 image dimension
- Format restriction:
- Unpacked 12-bit format: Tile width must be a multiple of 16.
- A-Law 8-bit format: Tile width must be a multiple of 32.
- Unpacked 8-bit format: Tile width must be a multiple of 32.
- Packed 12-bit format: Tile width must be a multiple of 64.