applied to the image in Fig. 1 with the resulting image shown

in Fig. 2.
to configure the frame rate, gain control, exposure time, and integration time of the camera.
M2: The frame grabber module acquires the pixels at a rate of
10 Mbytes/s from the camera. The image data can be directly passed to the next module.
M3: This module consists of two parallel operations that
realize Sobel edge detection using the horizontal and
Fig. 2. Edge detection using Sobel masks for the image in Fig. 1. vertical mask operations (Equations (2) and (3)) to
obtain the derivatives. Vertical and horizontal pixel B. Thresholding
counters are used to position the masks.
Thresholding is a simple and efficient method applied to M: The sum of the absolute values of image derivatives is
4
gray-level intensity images to differentiate between objects calculated to obtain the magnitude of the image gradient. and the background in the image. Thresholding converts a The circuit synthesis requires an adder in this stage. gray-level image into a binary image that contains all of the M: This module applies thresholding (Equation (4)) to the
5
essential information concerning the shape, position, and output image of the edge detection stage.
number of objects. Since we are interested in the lighter M: The centroid of the marker (Equation (5) and (6)) is
6
marker and the background is uniformly darker, global calculated in this stage. The circuit synthesis requires thresholding is used. The thresholding process is given by two multipliers, three adders, two dividers, and three



255iff(x,y)T
fT(x,y) (4)
iff(x,y) T 0
where T is the threshold value. Applying thresholding with a threshold value T 150 to the image of Fig. 2 produces the

image in Fig. 3.
Fig. 3. Thresholding applied to the image in Fig. 2.

C. Centroid and Displacement Determination
Ideally, the thresholding operation separates the edge of the marker from the background and the pendulum rod of the scene. As shown in Fig. 3, the white pixels correspond to the edge of the marker. Because the marker is symmetrical, the centroid of the edge is taken as its location. The centroid (xc,yc) is given by
x f
xc
x
y
T
(x,y)
x
y
x
y
fT(x,y)
T
y f
yc
x
y
Consider the basic features of the rotary inverted pendulum , (6)
system shown in Fig. 5. fT(x,y)
(x,y)
, (5)
IV. MODELING OF THE ROTARY INVERTED PENDULUM
SYSTEM
where fT(x,y) represents the binary level of the pixel at point (x,y) in the image coordinate system.
III. IMPLEMENTATION OF IMAGE PROCESSING ALGORITHMS
ON AN FPGA
2,l2,c2
In order to process the image data in real-time, the image
processing algorithms introduced in the previous section are
Fig. 5. Rotary inverted pendulum system.
implemented on an FPGA using the hardware description
The variables and parameters of the system are defined as
language VHDL. In this study, the image processing is
follows:
divided into the modules shown in Fig. 4.
m1 : Mass of the rotating arm (kg)
The functions of the modules are:
M1: The Inter-Integrated Circuit (I2C) serial interface is used m2 : Mass of the pendulum (kg)
Simulation and implementation of Costas loop based on FPGA costas pll fpgacostas...III. DESIGN AND SIMULATION OF COSTAS LOOP DSP Builder is a system-level ...
Design and Implementation of an FPGA-Based Real-Time Face Recognition System 隐藏>> IEEE International Symposium on Field-Programmable Custom Computing Machines...
design and implementation of an integrated CMOS imaging system based on DM...diverse, ranging from DSP to FPGA, and to the combination of both [6]....
A Design and Implementation of Real-time Image Processing System Based on FPGA and DSP LU O Ge l i an g, LU X in p in g , LI Ji c h en ...
FPGA-Based Network Traffic Security: Design and Implementation Using C5.0 Decision Tree Classifier_兵器/核科学_工程科技_专业资料。JOURNALOFELECTRONIC SCIENCEAND...
DIGIT-SERIAL DSP LIBRARY... 暂无评价 2页 免费 A DSP- and FPGA-Based In...design techniques and actual practicalities of the implementation of DSP algorit...
2 Design and implementation of a high speed data acquisition system based on DSP and FPGA Jia L ong L in Y an ( Beij ing U nivers ity of A ...
(2012)12-0131-02 Design and Implementation of a Digital RF Transmitter Based on FPGA and DSP (Dept. of Electronics, School of Physics and ...
Design and Implementation of PAL to LVDS Video Adapter Based on FPGA_电子/电路_工程科技_专业资料。Applied Mechanics and Materials Vols. 241-244 (2013) ...
关键词:SOPC 技术,FPGA,Nios II 软核,语音记录 -II- 上海交通大学硕士学位论文 THE DESIGN AND IMPLEMENTATION OF VOICE RECORDING AND PLAYBACK SYSTEM BASED ON...
热门文档