DSPRelated.com
Forums

C6713 vs. DM642- Urgent - Image Processing Application

Started by varundayaram January 31, 2006
Hi all,
I have a few important questions about the use of the C6000 DSP Kits
for my senior design project.

I am currently doing a project that involves image processing using
a 50fps (frames per sec) CMOS camera module.

The camera uses an I2C interface to change light, shutter speed,
Output format, frame rate etc
So we are currently performing algorithms such as edge detection and
threshold detection on our images which are 160 x 120 in resolution.

Our current preferred format is YUV, with 16 bit encoding.

Can you please tell me if the C6173 DSK will be enough with its
256KB on board mem, and 16MB external mem to performing processing
on the frames.
Each frame = 160x140x16bit = 43.75KB
Each second therefore = 43.75KB * 50 frames ~ 2.14MB/sec output rate

We will need to store a few seconds of data, and therefore require
atleast 10MB to store our data that needs to be processed in real
time
Since the processing is quite intensive, we are assuming that we
will need over 150MHz of processing power (not too sure yet about
the flops required since we have not been able to calculate the
machine cycles taken by certain Matlab Code..any ideas about how to
do that)

Anyways, after all that, I want to know if any of you have done such
projects, and if the C6713 board can handle such a high processing
rate.
Since the DM642 is very expensive, we want to stick to a DSK for
testing, but if thats not good enough then I guess we have to
somehow purchase the DM642 board.

Any other ideas or choices of boards I should be looking at.
Any kind of help or ideas would be great.

Thank you all
Varun D


Hi Varun,

I doubt that C6713 will be sufficient.

There is low cost (500USD) DSK6416 available. It has plenty of on board
(32MB SDRAM, flash etc) and on chip resources (1MB ISRAM, 1GHz speed etc).

There are other advantages of using DSK6416
- Once you develop algorithm on this platform you can port it to any C64x
platform with much less effort.
- C64x platform and core are optimize for image and video processing so it
has special instruction for image processing that can help you optimize your
algorithm. And it will add value to your project if you port image
processing algorithm on this platform.

Hope this helps.

Regards,

Kalpesh

-----Original Message-----
From: c6x@c6x@... [mailto:c6x@c6x@...] On Behalf Of
varundayaram
Sent: Tuesday, January 31, 2006 2:28 PM
To: c6x@c6x@...
Subject: [c6x] C6713 vs. DM642- Urgent - Image Processing Application

Hi all,
I have a few important questions about the use of the C6000 DSP Kits
for my senior design project.

I am currently doing a project that involves image processing using
a 50fps (frames per sec) CMOS camera module.

The camera uses an I2C interface to change light, shutter speed,
Output format, frame rate etc
So we are currently performing algorithms such as edge detection and
threshold detection on our images which are 160 x 120 in resolution.

Our current preferred format is YUV, with 16 bit encoding.

Can you please tell me if the C6173 DSK will be enough with its
256KB on board mem, and 16MB external mem to performing processing
on the frames.
Each frame = 160x140x16bit = 43.75KB
Each second therefore = 43.75KB * 50 frames ~ 2.14MB/sec output rate

We will need to store a few seconds of data, and therefore require
atleast 10MB to store our data that needs to be processed in real
time
Since the processing is quite intensive, we are assuming that we
will need over 150MHz of processing power (not too sure yet about
the flops required since we have not been able to calculate the
machine cycles taken by certain Matlab Code..any ideas about how to
do that)

Anyways, after all that, I want to know if any of you have done such
projects, and if the C6713 board can handle such a high processing
rate.
Since the DM642 is very expensive, we want to stick to a DSK for
testing, but if thats not good enough then I guess we have to
somehow purchase the DM642 board.

Any other ideas or choices of boards I should be looking at.
Any kind of help or ideas would be great.

Thank you all
Varun D


Varun-

Suggest *not* to use any board that does not contain video I/O. There is no way to
transfer video data fast to/from the DSK C6713 and DSK C6416 boards and display it in
real-time on a PC. If you try to use one of the DSK boards for image processing,
then you're not doing anything more than "hardware CCS simulator".

-Jeff

Kalpesh Chauhan wrote:
>
> Hi Varun,
>
> I doubt that C6713 will be sufficient.
>
> There is low cost (500USD) DSK6416 available. It has plenty of on board
> (32MB SDRAM, flash etc) and on chip resources (1MB ISRAM, 1GHz speed etc).
>
> There are other advantages of using DSK6416
> - Once you develop algorithm on this platform you can port it to any C64x
> platform with much less effort.
> - C64x platform and core are optimize for image and video processing so it
> has special instruction for image processing that can help you optimize your
> algorithm. And it will add value to your project if you port image
> processing algorithm on this platform.
>
> Hope this helps.
>
> Regards,
>
> Kalpesh
>
> -----Original Message-----
> From: c6x@c6x@... [mailto:c6x@c6x@...] On Behalf Of
> varundayaram
> Sent: Tuesday, January 31, 2006 2:28 PM
> To: c6x@c6x@...
> Subject: [c6x] C6713 vs. DM642- Urgent - Image Processing Application
>
> Hi all,
> I have a few important questions about the use of the C6000 DSP Kits
> for my senior design project.
>
> I am currently doing a project that involves image processing using
> a 50fps (frames per sec) CMOS camera module.
>
> The camera uses an I2C interface to change light, shutter speed,
> Output format, frame rate etc
> So we are currently performing algorithms such as edge detection and
> threshold detection on our images which are 160 x 120 in resolution.
>
> Our current preferred format is YUV, with 16 bit encoding.
>
> Can you please tell me if the C6173 DSK will be enough with its
> 256KB on board mem, and 16MB external mem to performing processing
> on the frames.
> Each frame = 160x140x16bit = 43.75KB
> Each second therefore = 43.75KB * 50 frames ~ 2.14MB/sec output rate
>
> We will need to store a few seconds of data, and therefore require
> atleast 10MB to store our data that needs to be processed in real
> time
> Since the processing is quite intensive, we are assuming that we
> will need over 150MHz of processing power (not too sure yet about
> the flops required since we have not been able to calculate the
> machine cycles taken by certain Matlab Code..any ideas about how to
> do that)
>
> Anyways, after all that, I want to know if any of you have done such
> projects, and if the C6713 board can handle such a high processing
> rate.
> Since the DM642 is very expensive, we want to stick to a DSK for
> testing, but if thats not good enough then I guess we have to
> somehow purchase the DM642 board.
>
> Any other ideas or choices of boards I should be looking at.
> Any kind of help or ideas would be great.
>
> Thank you all
> Varun D