Hi all,
Is there a Hardware support available for BILINEAR INTERPOLATION in TMS320C6678? Or should we do the entire coding?
Regards,
Sohal
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi all,
Is there a Hardware support available for BILINEAR INTERPOLATION in TMS320C6678? Or should we do the entire coding?
Regards,
Sohal
Hi Sohal,
this report might be interesting for you:
http://www.ult.rsmjournals.com/content/19/3/140.full.pdf+html
It talks about an ultra-sound system using the previous generation of C6000 DSP (c64x+), which didn't have the floating point capabilities. In the report the explain algrithm and how to map it onto the DSP instruction set using intrinsics ...
I believe you can do further optimization using the floating point instructions that are now available on the c66x architecture ...
Kind regards,
one and zero
Hi one and zero,
Thanks for the reply but I dont have the signon for the site that you provided.
Regards,
Sohal
Hi Sohal
You might find STK-MED 3.0 (software toolkit for medical imaging) for C66x useful as a reference here. There are 2 specific modules that might be of interest to you. One, is the scan conversion algorithm module (scu_ires) that "precomputes addresses of 4 input samples and corresponding interpolation coefficients for all scan conversion outputs. During run-time computation, the scan conversion simply computes the output samples based on bilinear interpolation using pre-computed addresses and interpolation coefficients." Here's an app note that was done on the SCU implementation http://www.ti.com/lit/an/sprab32/sprab32.pdf The second module that you might find useful from STK-MED is the cubic spline interpolation module (interp).
You can download STK-MED from http://www.ti.com/tool/s2meddus and look at the source code (library and unit-test included) and documentation to see if it's useful for your use-case. It's free and licensed under BSD.
Regards,
Uday