From Embedded Image Processing on the TMS320C6000 DSP: Examples in Code Composer Studio and MATLAB

4.4 Linear Filtering of Images on the TI C64x

As described in 2.1, the C6416 fixed-point DSP is a newer member of the C6000 DSP family that offers higher performance than the C62xx series (it is not truly fair to compare the C64x to the C67x, as the C67x is a floatingpoint architecture). With regards to the CCStudio projects and C source code accompanying this book, all of the C62xx/C67xx projects were built and tested using the EVM development environment. The C64xx projects in this book, on the other hand, were built and tested using the C6416 DSK.

This section describes how to optimize a low-pass filtering program targeting the C6416. As one would expect for a DSP marketed to the imaging community, there is a version of IMGLIB optimized specifically for the C64xx line of DSPs11. Starting with a core IMGLIB convolution routine (that works!), an initial fixed-point implementation of a 3x3 low-pass filtering operation will be optimized in much the same fashion as in sections 4.3.3-4.3.5, by paging in blocks of the image as they are needed.

The source code for these programs are found in the Chap4\LinearFilter\C64xx directory. As in the C62xx/C67xx case, there are some common project files: the image.h header file containing default pixel data for the Lenna image and the linker command file image_filter.cmd. The image.h header file remains much the same as its C62xx/C67xx counterpart, except that in_img buffer is defined to be exactly N_PIXELS long, as...

Copyright Springer Science+Business Media, Inc. 2005 under license agreement with Books24x7

Products & Services
Camera Filters
Camera filters provide a range of optical filtering effects in scientific, research, and industrial applications.
Smart Cameras
Smart cameras are stand-alone camera systems that contain an image sensor, integrated processor, and communication interface. They can be programmed for machine vision, security, and other imaging applications.
Image Analysis Software
Image analysis software is used to enhance, identify or quantify features in an image by breaking down or applying digital image filters.
Graphics Software
Graphics software is used to produce video graphics and to edit and convert graphic files of different formats. These types of software include raster graphics, vector graphics, raster to vector conversion (R2V), and others.
Digital Signal Processors (DSP)
Digital signal processors (DSPs) are specialized microprocessors designed specifically for digital signal processing, usually in real-time. DSPs can also be used to perform general-purpose computations, but are not optimized for this function.

Topics of Interest

4.5 Non-Linear Filtering of Images Linear filters have the property that their output is a linear combination of their input. Filters that do not satisfy this property are non-linear. Nonlinear...

Shehrzad Qureshi Labcyte Inc., Palo Alto, CA USA Library of Congress Cataloging-in-Publication Data A C.I.P. Catalogue record for this book is available from the Library of Congress. ISBN...

Problems section 4.2 4.2.1 Analyze the case where f( x) = has no real zeros. 4.2.2 Draw all the possible one-dimensional phase-space solution behaviors for three distinct fixed-points. Section...

Multiscale Edge Detection and Image Denoising Overview Wavelets, the "little waves" of signal processing, came to the fore in the early 1990s as an attractive alternative to classical Fourier...

Compiler Intrinsics and Optimization Techniques Overview Full blown code optimization of complicated algorithms is some of the most difficult work to do on a DSP; in fact it is some of the most...