Spatial Transform and Lens Distortion Correction (STLDC) for Blackfin

Product Details

Spatial Transform and Lens Distortion Correction (STLDC) is designed to contain a suite of functions which perform spatial transformation on images as well as modules to calibrate and correct the lens/fish-eye lens distortion in camera. It uses various primitives from the ADI Blackfin Image Processing Toolbox Library and provides solutions to various applications like camera parameter calibration, correction of images for lens distortion, affine transform etc. The above functions require non-sequential picking of data for each pixel of the image and hence there is usage of memory DMA (MDMA) infrastructure within the core functions.

Features

  • Modules: Camera Calibration, Lens Distortion Correction, Affine Transform.
  • Cache: Both Instruction and Data Cache enabled.
  • MDMA: One channel Memory DMA is used.
Camera Calibration:
  • Host based project using OpenCV functions calibrates camera’s intrinsic and extrinsic parameters
Lens Correction:
  • This module supports both Cache and MDMA modes.
  • In Cache mode input and output buffers are cached and the module uses data from these buffers directly.
  • In MDMA mode the input is brought from L3 to L1 and output is moved from L1 to L3 using memory DMA and module uses the data from L1 buffers.
  • Configuration parameters are available from camera calibration module.
  • Configuration parameters available to set either the cached or DMA mode,
  • Can correct distortion in fish-eye lens also.
Affine Transform:
  • Includes modules for image transformations such as shift, scale, shear, rotate.
  • This module supports both Cache and MDMA modes.
  • In Cache mode input and output buffers are cached and the module uses data from these buffers directly.
  • Re-entrancy: Supported.
  • Release Format: Object code module with C source wrapper.
  • Input Format: 8/16-bit PGM, 24/48-bit PPM.
  • Output Format: 8/16-bit PGM, 24/48-bit PPM.

System Requirements

  • Windows XP Professional SP3 (32-bit only).
  • Windows Vista Business/Enterprise/Ultimate SP2 (32-bit only). It is recommended to install the software in a non-UAC-protected location.
  • Windows 7 Professional/Enterprise/Ultimate (32 and 64-bit). It is recommended to install the software in a non-UAC-protected location.
  • Minimum of 2 GHz single core processor, 3.3 GHz dual core is recommended.
  • Minimum of 1 GB memory (RAM), 4 GB is recommended.
  • Minimum of 2 GB hard disk (HDD) space is required.
  • CrossCore Embedded Studio for Analog Devices Processors

Performance Metrics

MIPS summary:

Memory (Bytes) Performance
Module Width/Height Code (KiB) Data RAM (KiB) Data ROM Average Cycles/Pel MIPS
Lens Correction : stldc_lc_demo_inp_1.pgm 720 x 480 12.682 13.89 1350 Initialization : 512.7805
Remap:15.3654
159.32
Affine Transform:stldc_at_demo_inp_1.pgm 720 x 480 4.656 13.89 0 409.1987 4242.57

  • MIPS measured optimal memory layout, on ADSP BF561.
  • Init code will be called once to populate camera parameter tables for a given frame size.
  • Remap code will perform the required interpolation between pixels to correct the distorted image for each pixel.
  • For the optimal memory layout, all code and data used by the module was L3 cached and the input/output buffers were filled using MDMA memory.
  • "Data RAM" for one instance, includes Stack, Scratch, Instance/Stage, Minimum Input and Output Single Buffers.
  • 1 KiB = 1024 Bytes.
  • BF561 supported for VisualDSP++5.0 Update 10 project and ADSP-BF609, BF527, BF533 for CrossCore Embedded Studio 1.0.1 projects.

EngineerZone Support Community: Latest Software Modules, Starter Kits and Software Development Kits

Availability and Licensing

Each module supports the Analog Devices, Inc. (ADI) Blackfin or SHARC Processor family and is a licensed product that is available in object code format. Recipients must sign or accept a license agreement with ADI prior to being shipped or downloading the modules identified in the license agreement.

沪ICP备09046653号
content here.
content here.

Send Feedback

Close