<< Chapter < Page Chapter >> Page >
This module describes general procedures for reading and writing video streams using the DM6437 Digital Video Development Platform (DVDP). The scripts and models created in this chapter will be the basis for simulation and implementation of video processing algorithms.


This chapter describes general procedures for reading and writing video streamss. The scripts and models created in this chapter will be the basis for the other video processing chapters.

Hardware and software requirements

This laboratory was originally developed using the following hardware and software:

  • MATLAB® R2008a
  • Code Composer Studio (CCS) v3.3
  • Texas Instruments DM6437 Digital Video Development Platform (DVDP) .
  • Video camera and screen.


Start by creating a new model in Simulink®.

  1. Open the Simulink library browser and add the "From Multimedia File" from the "Sources" group of the Video and Image Processing Blockset (Please refer to Figure 1).
    The "From Multimedia File" Simulink Block
  2. Double Click and select the “vipmem_Y.avi” input file(Please refer to Figure 2).
    Source Block Configuration
  3. In order to display the picture the "Video Viewer" from the "Sinks" group of the Video and Image Processing Blockset will be used.
    The "To Video Display" Block
    Configuring the Video Viewer
  4. Connect the three blocks as shown in Figure 5.
    Displaying a Video-Clip
  5. Run the model, you should see the video clip. A single frame is shown mage shown in Figure 6.
    The Video Display
  6. Save your model (We used the name “Video_sim.mdl", that you may find it here ).

Real-time processing with the dm6437 dvdp

Using a camera and a display

The procedure for capture/display video using the DM6437 is shown in Figure 7.

Using the Video I/O of the DM6437 board

Ccs code generation

This procedure is similar to the one developed for stills pictures. Video will be capture/display using a camera and a monitor. Image acquisition and Processing will run in a DSP/BIOS task.

  1. Open the “stills_R_W.mdl”
  2. Delete the “From RTDX” and “To RTDX” blocks
  3. Add the "Task" block from the "DSP/BIOS library" group of the "Target Support Package TC6" Blockset.
  4. Add the “Function- Call Subsystem” from the “Ports&Subsystems" group of the "Simulink" Blockset (Please refer to Figure 8).
    The "Function-Call Subsystem" Block
  5. Rename “Function- Call Subsystem” to “Video Processing” and connect it to the “Task” block.
  6. Save the model as “Video_R_W.mdl”. Your model should look as follows You may add a title to the model, as done here ( ”Video Processing Template”) :
    The Video Processing Model Template
  7. Double-click the “Task” block and make the same changes as shown in Figure 34.
    Configuring a "Task"
  8. Double-click the “Video Processing” block. A new window will be opened.
  9. In the new window, add the "Video Capture" and "Video Display" from the "DM6437 EVM Board Support" group of the ""Target Support Package TC6" Blockset as shown in Figure 11.
    The "Video Capture" block
  10. Double-click the “Video Capture” block and change the Sample Time (and the Video capture mode only if you are using the components in the PAL mode) as shown in Figure 12.
    Video Capture Configuration
  11. Double-click the “Video Display” block and change the Video capture mode only if you are using the components in the PAL If the camera video capture mode is NTSC you should choose this option mode as shown in Figure 13.
    Video Display Configuration
  12. Connect the blocks as shown in Figure 14.
    Capturing and Displaying Video
  13. Generate code&create project. Double-click the " Generate code&.." block.
  14. Build the project. Double-click the “Build Project” block.
  15. Load the project. Double-click the “Load Project” block.
  16. Run the target. Double-click the “Run” block. This model can be found here .

Questions & Answers

Is there any normative that regulates the use of silver nanoparticles?
Damian Reply
what king of growth are you checking .?
What fields keep nano created devices from performing or assimulating ? Magnetic fields ? Are do they assimilate ?
Stoney Reply
why we need to study biomolecules, molecular biology in nanotechnology?
Adin Reply
yes I'm doing my masters in nanotechnology, we are being studying all these domains as well..
what school?
biomolecules are e building blocks of every organics and inorganic materials.
anyone know any internet site where one can find nanotechnology papers?
Damian Reply
sciencedirect big data base
Introduction about quantum dots in nanotechnology
Praveena Reply
what does nano mean?
Anassong Reply
nano basically means 10^(-9). nanometer is a unit to measure length.
do you think it's worthwhile in the long term to study the effects and possibilities of nanotechnology on viral treatment?
Damian Reply
absolutely yes
how to know photocatalytic properties of tio2 nanoparticles...what to do now
Akash Reply
it is a goid question and i want to know the answer as well
characteristics of micro business
for teaching engĺish at school how nano technology help us
Do somebody tell me a best nano engineering book for beginners?
s. Reply
there is no specific books for beginners but there is book called principle of nanotechnology
what is fullerene does it is used to make bukky balls
Devang Reply
are you nano engineer ?
fullerene is a bucky ball aka Carbon 60 molecule. It was name by the architect Fuller. He design the geodesic dome. it resembles a soccer ball.
what is the actual application of fullerenes nowadays?
That is a great question Damian. best way to answer that question is to Google it. there are hundreds of applications for buck minister fullerenes, from medical to aerospace. you can also find plenty of research papers that will give you great detail on the potential applications of fullerenes.
what is the Synthesis, properties,and applications of carbon nano chemistry
Abhijith Reply
Mostly, they use nano carbon for electronics and for materials to be strengthened.
is Bucky paper clear?
carbon nanotubes has various application in fuel cells membrane, current research on cancer drug,and in electronics MEMS and NEMS etc
so some one know about replacing silicon atom with phosphorous in semiconductors device?
s. Reply
Yeah, it is a pain to say the least. You basically have to heat the substarte up to around 1000 degrees celcius then pass phosphene gas over top of it, which is explosive and toxic by the way, under very low pressure.
Do you know which machine is used to that process?
how to fabricate graphene ink ?
for screen printed electrodes ?
What is lattice structure?
s. Reply
of graphene you mean?
or in general
in general
Graphene has a hexagonal structure
On having this app for quite a bit time, Haven't realised there's a chat room in it.
what is biological synthesis of nanoparticles
Sanket Reply
how did you get the value of 2000N.What calculations are needed to arrive at it
Smarajit Reply
Privacy Information Security Software Version 1.1a
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get the best Algebra and trigonometry course in your pocket!

Source:  OpenStax, From matlab and simulink to real-time with ti dsp's. OpenStax CNX. Jun 08, 2009 Download for free at http://cnx.org/content/col10713/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'From matlab and simulink to real-time with ti dsp's' conversation and receive update notifications?