<< Chapter < Page Chapter >> Page >
Video Surveillance Block Diagram

Simulation

  1. Open a new Simulink model
  2. Add the blocks shown in the following table (Please refer also to Figure 3):
Video surveillance simulink blocks
Functionality Block Blockset Quant.
SAD Subsystem Simulink / Ports&Subsystems 1
Delay Signal Processing Blockset / Signal Operations 1
Abs Simulink / Math Operations 1
Matrix Sum Signal Processing Blockset / Math Functions / Matrices and Linear Algebra / Matrix Operations 2
Data Type Conversion Simulink / Signal Attributes 1
Add Sum, Simulink / Math Operations 1
Recording Enabled Subsystem Simulink / Ports&Subsystems 1
Add Sum, Simulink / Math Operations 1
Delay Signal Processing Blockset / Signal Operations 1
counter Subsystem Simulink / Ports&Subsystems 1
Add Sum, Simulink / Math Operations 1
Delay Signal Processing Blockset / Signal Operations 1
Generate data for motion energy and threshold display Matrix Concatenate Simulink / Math Operations 2
Compare Motion Energy against Threshold Relational Operator Simulink / Logic and Bit Operations 1
Input Video From Multimedia File Signal Processing Blockset / Signal Processing Sources 1
Display Control Constant Signal Processing Blockset / Signal Processing Sources 1
Display Motion Energy and Threshold Floating Scope Simulink/Sinks 1
Draws formatted text on an image or video stream Insert Text Video and Image Processing Blockset / Text&figure__ 1
Connected to the trigger (not used for simulation) Terminator Simulink/Sinks 1
Images’ Display To Video Display Video and Image Processing Blockset / Sinks 2
Simulink Blocks for Video Surveillance

Configuring the sad blocks

  1. Configure one of the “Add” block for subtraction, you may also change its icon shape to a circular form as follows The symbol “|” is used to place the “+” and “-“ perpendicular to each other :
  2. Configure its fixed point mode of operation Configure one of the “Matrix Sum” blocks for adding rows:
  3. Configure its fixed point mode of operation
  4. Configure the fixed point mode of operation for the second Matrix “Column Add” block:

Configuring the input blocks

  1. Configure on of the “Video Source” "From Multimedia File" block for reading frames from the "vipmen.avi" file.
  2. Set the initial value of the "Constant" to 1e5.
  3. Configure "Data Type Conversion" block :
  4. Configure " Relational Operator " block :
  5. Configure one of the " Matrix Concatenate " block :
  6. The “Floating Scope” will be used to display the motion energy and the threshold The threshold is changed upon a user command. The simultaneous display of the threshold and motion energy will enable the user to follow-up the process of recording frames. as a function of time. Double-Click the block. A cope screen will appear, you should then click the icon as shown in the following picture:
    You may keep the default configuration for "Data history".
  7. Configure the " Insert Text " block :
  8. Double-click on the "Enabled Subsystem" block, and build it as shown below:
  9. Double-click on one of the "Subsystem" block and build it as shown below:
    Save the subsystem as: "Motion Energy"
  10. Double-click on one the remaining "Subsystem" block,build it as shown below and name it "Frame Counter":

Questions & Answers

what is monopoli power
Adzaho Reply
the situation that prevails when economic forces balance so that economic variables neither increase nor decrease
Bombey
what is equilibrium
Kabir
what are the important of economic to accounting students with references
salihu Reply
Economics is important because it helps people understand how a variety of factors work with and against each other to control how resources such as labor and capital get used, and how inflation, supply, demand, interest rates and other factors determine how much you pay for goods and services.
Muhammad
explain the steps taken by the government in developing rural market?
Azeem Reply
contribution of Adam smith in economics
abel Reply
I will join
Dexter
I will join
Patrick
Hey
Fatima
Hey
Amir
Hello
AS
hey
Umarou
I love this book and i need extra Economic book
Amir
Hey
Amir
what's happening here
AS
I love this book and i need extra Economic book
Amir
what is the meaning of function in economics
Effah Reply
Pls, I need more explanation on price Elasticity of Supply
Isaac Reply
Is the degree to the degree of responsiveness of a change in quantity supplied of goods to a change in price
Afran
what is production
Humaira
Okay what is land mobile and land unmobile
scor
And what are the resources in land
scor
what is production
Humaira
the proces of using the services of labor and equipmnt together with other in puts to make goods and services availble
Bombey
Okay what is land mobile and land unmobile
scor
Discuss the short-term and long-term balance positions of the firm in the monopoly market?
Rabindranath Reply
hey
Soumya
hi
Mitiku
how are you?
Mitiku
can you tell how can i economics honurs(BSC) in reputed college?
Soumya
through hard study and performing well than expected from you
Mitiku
what should i prepare for it?
Soumya
prepare first, in psychologically as well as potentially to sacrifice what's expected from you, when I say this I mean that you have to be ready, for every thing and to accept failure as a good and you need to change them to potential for achievement of ur goals
Mitiku
parna kya hai behencho?
Soumya
Hallo
Rabindranath
Hello, dear what's up?
Mitiku
cool
Momoh
good morning
Isaac
pls, is anyone here from Ghana?
Isaac
Hw s every one please
Afran
Ys please I'm in Ghana
Afran
Hello
OLANIYI
pls anyone from Nigeria
OLANIYI
am a new candidate here, can someone put me 2ru
OLANIYI
hello
OLANIYI
Pls economic A level exam tomorrow pls help me
akinwale
am from Ghana
Jacob
hi
Charles
Pls economic A level exam tomorrow pls help me
akinwale
Hi
Dev
bol Diya discuss ab krega v
Dev
hello Mr. Rabindranath
Dev
what do you want Dimlare
Dev
yes tell me your desire to have it
Dev
to have what?
OLANIYI
Good luck
JOSEPH
I want to know about economic A level tomorrow pls help
Lerato
okay
Umarou
okay
Umarou
hi
Humaira
hi
Liaqat
what is firms
Anteyi Reply
A firm is a business entity which engages in the production of goods and aimed at making profit.
Avuwada
What is autarky in Economics.
Avuwada
what is choice
Tia Reply
So how is the perfect competition different from others
Rev Reply
what is choice
Tia
please what type of commodity is 1.Beaf 2.Suagr 3.Bread
Alfred Reply
1
Naziru
what is the difference between short run and long run?
Ukpen Reply
It just depends on how far you would like to run!!!🤣🤣🤣
Anna
meaning? You guys need not to be playing here; if you don't know a question, leave it for he that knows.
Ukpen
pls is question from which subject or which course
Ada
Is this not economics?
Ukpen
This place is meant to be for serious educational matters n not playing ground so pls let's make it a serious place.
Docky
Is there an economics expert here?
Docky
Okay and I was being serous
Anna
The short run is a period of time in which the quantity of at least one inputs is fixed...
Anna
that is the answer that I found online and in my text book
Anna
Elacisity
salihu
Meaning of economics
Suraj Reply
It will creates rooms for an effective demands.
Chinedum Reply
different between production and supply
babsnof
Hii
Suraj
hlo
eshita
What is the economic?
Suraj
Economics is a science which study human behavior as a relationship between ends and scarce means which has an alternative use.
Mr
what is supply
babsnof
what is different between demand and supply
Debless Reply
Demand refers to the quantity of products that consumers are willing to purchase at various prices per time while Supply has to do with the quantity of products suppliers are willing to supply at various prices per time. find the difference in between
Saye
what is demand
Humaira
demand is a relationship btn the price of an item and the quantity demanded
Bombey
Difference between extinct and extici spicies
Amanpreet Reply
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?

Ask