CN102074003A - Mean shift-based embedded type image tracking system - Google Patents

Mean shift-based embedded type image tracking system Download PDF

Info

Publication number
CN102074003A
CN102074003A CN2010106155525A CN201010615552A CN102074003A CN 102074003 A CN102074003 A CN 102074003A CN 2010106155525 A CN2010106155525 A CN 2010106155525A CN 201010615552 A CN201010615552 A CN 201010615552A CN 102074003 A CN102074003 A CN 102074003A
Authority
CN
China
Prior art keywords
fpga
dsp
data
chip
links
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010106155525A
Other languages
Chinese (zh)
Inventor
孙航
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changchun Institute of Optics Fine Mechanics and Physics of CAS
Original Assignee
Changchun Institute of Optics Fine Mechanics and Physics of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changchun Institute of Optics Fine Mechanics and Physics of CAS filed Critical Changchun Institute of Optics Fine Mechanics and Physics of CAS
Priority to CN2010106155525A priority Critical patent/CN102074003A/en
Publication of CN102074003A publication Critical patent/CN102074003A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

The invention relates to the field of industrial control and identification, in particular to a mean shift-based embedded type image tracking system. The mean shift-based embedded type image tracking system comprises a Cameralink interface, a field programmable gate array (FPGA), a first data storage, a shared storage, a digital signal processor (DSP), a second storage, a program storage, an analog/digital (A/D) chip, a digital/analog (D/A) chip and a display. For the mean shift-based embedded type image tracking system, the FPGA and the DSP serve as embedded type hardware platforms of an image processor; and on the basis of the conventional mean shift technique, a mean shift fast algorithm applicable to an embedded processor is invented, a special basic module group of the mean shift algorithm is established on the FPGA, and finally, major operations and decisions are performed on the DSP. So, the operation speed of the mean shift-based embedded type image tracking system is far faster than that of the conventional mean shift algorithm which uses a personal computer (PC) machine as a hardware platform.

Description

Embedded image tracker based on average drifting
Technical field
The present invention relates to Industry Control and identification field, particularly a kind of embedded image tracker based on average drifting.
Background technology
At present in computer vision and area of pattern recognition average drifting technology as a kind of extensive concern that has obtained the researcher based on the statistics iterative algorithm of feature.Many improvement algorithms based on average drifting have all obtained in image tracking field widely using, but great majority all are hardware platform with the PC based on the image processor of average drifting algorithm.Be that processing platform causes the entire image tracker can't accomplish miniaturization and involve great expense with the PC.And the image tracking processor of embedded platform is many with simple relatively type center algorithm, and related algorithm is main.Based on the image processor of these algorithms, follow the tracks of though can under simple background, carry out real-time and effective target, do not possess anti-the blocking property of average drifting algorithm, promptly there is the situation that target is blocked will lose objects slightly, cause following the tracks of inefficacy.Therefore, it is imperative to develop a kind of novel image tracking system.
Summary of the invention
At the problems referred to above, in order to address the deficiencies of the prior art, purpose of the present invention just is to provide a kind of embedded image tracker based on average drifting, can effectively solve the anti-problem that blocking property is poor, cost is high.
The technical scheme that technical solution problem of the present invention adopts is, embedded image tracker based on average drifting, comprise Cameralink interface, FPGA, first data-carrier store, shared storage, DSP, second memory, program storage, A/D chip, D/A chip and display, the Cameralink interface links to each other with FPGA, and the Cameralink interface passes to FPGA with digital video frequency flow; The A/D chip links to each other with FPGA, and the A/D chip passes to FPGA with the CVBS video flowing; FPGA links to each other with first data-carrier store, and FPGA stores to first data-carrier store processed video data transfer; FPGA links to each other with shared storage, FPGA will handle after data transfer store to shared storage; DSP links to each other with program storage, and DSP calls out program stored in the program storage; DSP links to each other with shared storage, and the data transfer that shared storage will be stored in is wherein given DSP; DSP links to each other with second data-carrier store, and the data transfer after DSP will handle stores for second data-carrier store and shared storage; FPGA links to each other with the D/A chip, and FPGA handles and pass to the D/A chip with the data that the shared storage transmission comes; The D/A chip links to each other with display, and the D/A chip shows the processed video data transfer to display.
The present invention is with FPGA and the DSP embedded hardware platform as image processor, on the basis of traditional average drifting technology, invented the average drifting fast algorithm that is applicable to flush bonding processor, and on FPGA, made up the basic module group of special-purpose average drifting algorithm, on DSP, carry out main computing and decision-making at last.Making its arithmetic speed be far longer than traditional is the arithmetic speed of the average drifting algorithm of hardware platform with the PC.
Description of drawings
Fig. 1 is the structured flowchart of the embedded image tracker based on average drifting of the present invention.
Fig. 2 is the algorithm flow chart of FPGA of the present invention and DSP.
Embodiment
Below in conjunction with accompanying drawing the specific embodiment of the present invention is elaborated.
By shown in Figure 1, embedded image tracker based on average drifting, it is characterized in that, comprise Cameralink interface, FPGA, first data-carrier store, shared storage, DSP, second memory, program storage, A/D chip, D/A chip and display, the Cameralink interface links to each other with FPGA, and the Cameralink interface passes to FPGA with digital video frequency flow; The A/D chip links to each other with FPGA, and the A/D chip passes to FPGA with the CVBS video flowing; FPGA links to each other with first data-carrier store, and FPGA stores to first data-carrier store processed video data transfer; FPGA links to each other with shared storage, and the data transfer after FPGA will handle is stored to shared storage; DSP links to each other with program storage, and DSP calls out program stored in the program storage; DSP links to each other with shared storage, and the data transfer that shared storage will be stored in is wherein given DSP; DSP links to each other with second data-carrier store, and the data transfer after DSP will handle stores for second data-carrier store and shared storage; FPGA links to each other with the D/A chip, and FPGA handles and pass to the D/A chip with the data that the shared storage transmission comes; The D/A chip links to each other with display, and the D/A chip shows the processed video data transfer to display.
By shown in Figure 2, the algorithm flow concrete steps of said FPGA and DSP are as follows:
1) FPGA sets the iterations K of K mean algorithm;
2) the FPGA search is positioned at each pixel histogram of FPGA candidate subregion;
3) FPGA calculates the target histogram on the not normalized FPGA candidate subregion
Figure BDA0000041849310000031
Obtain
Figure BDA0000041849310000032
Figure BDA0000041849310000033
Q wherein uThe intensity profile of expression To Template, p uThe intensity profile of expression candidate target;
4) each pixel of FPGA calculated candidate target area
Figure BDA0000041849310000034
W wherein iThe weight of representing each pixel, δ UrThe remarked pixel histogram;
5) FPGA calculate the new new center z=that transmits the view data of coming (x, y);
6) (x y) gives DSP by the shared data memory transfer to the new center z=of the new transmission that will calculate of the FPGA view data of coming;
7) (x y) carries out error-tested to DSP to the center z=that calculates
7.1) if error meets the demands or FPGA computation process in iterations surpass K, then DSP calculates and finishes, with new place-centric z=(x, y) data pass to FPGA by shared storage, FPGA passes to display with the view data that meets the demands by the D/A chip, and the algorithm of FPGA and DSP finishes;
7.2) if error does not meet the demands or FPGA computation process in iterations be no more than K, then DSP passes to FPGA with data by shared storage, FPGA resets iterations, returns step 1).
DSP is MS320C6416T in of the present invention, and FPGA adopts the ALTERA EP2C70-6 of company; The shared storage of DSP and FPGA adopts the IDT71321 two-port RAM, and the A/D chip adopts the BT835 dedicated video decoding chip of PHILPS company.
In the hardware design of total system, taken into full account the electromagnetic Compatibility Design of high speed signal, in the wiring of key signal (camralink differential signal, SDRAM data-signal), carried out isometric design, guaranteed that the impedance matching of each signal and sequential are synchronous.In whole plate design, utilize allegro software that Electro Magnetic Compatibility is detected and adjusts, satisfy the application need of high speed digital video signal.
Traditional average drifting algorithm is divided into 16*16*16 or other big or small sub-range uniformly with the color space of target area.The histogram processing of changing the branch generation like this needs a large amount of memory headrooms.Can't develop the hardware platform that parallel algorithm so portion are applicable to the FPGA framework at all, this programme at first carries out cluster analysis with means clustering algorithm to the color model of target, match by mixture gaussian modelling is carried out self-adaptation to the rgb space of target area and is divided then, and the color of object spatial division is become less histogram.Can express target distribution accurately with less subspace like this.
Original state adopt K mean algorithm (K-means) for each cluster u (u=1 ..., m-1), wherein m-1 is the number of cluster, uses the distribution of pixel data in each cluster of Gaussian function match of multivariate parameter then
G ( μ n , Σ u ) ∞ exp [ - 1 2 ( c - μ u ) T Σ u - 1 ( c - μ u ) ]
In the formula, G represents Gaussian function, and T represents matrix transpose, c represent pixel RGB vector; μ uRepresent mean vector, ∑ uRepresent covariance matrix.
The program initialization part is calculated good mean vector μ with m-1 on DSP uWith the covariance matrix ∑ uStore on the two-port RAM between DSP and the FPGA, when a new two field picture arrives, select a number of sub images of current goal region; The center of this number of sub images is exactly the center of previous frame tracking target, and the size of subimage is 2 times that previous frame is followed the general objective size.Then all rgb values of this subimage are transferred on the two-port RAM and store.
Utilize shift register to realize adding and computing of view data in the algorithm flow among the FPGA, The pipeline design is adopted in computing, and its unit-distance code time can shorten to 16 machine clock cycles.Utilize the large tracts of land characteristic of FPGA, can realize a plurality of thread block independent sub-histogram of independent processing simultaneously.Simultaneously in FPGA, adopt time-sequence control module, accurately dispose the read-write of two-port RAM, promptly accomplished FPGA and DSP shared data storer simultaneously, prevented the read/write conflict of sharing data area again.
The view data that DSP reads shared drive adopts the EDMA read-write mode, make core processor provide transmission at the EDMA manager and finish that notice CPU carries out Data Update when interrupting without the read-write operation of management data, utilize cpu resource to carry out arithmetic operation to greatest extent, improved data throughput capabilities and big data quantity arithmetic capability.
In the management of peripheral image A/D chip, adopt the I2C bussing technique, and realize, make system can support analog and digital video simultaneously, expanded the versatility of system with the FPGA state machine.
The present invention is with FPGA and the DSP embedded hardware platform as image processor, on the basis of traditional average drifting technology, invented the average drifting fast algorithm that is applicable to flush bonding processor, and on FPGA, made up the basic module group of special-purpose average drifting algorithm, on DSP, carry out main computing and decision-making at last.Making its arithmetic speed be far longer than traditional is the arithmetic speed of the average drifting algorithm of hardware platform with the PC.

Claims (2)

1. based on the embedded image tracker of average drifting, it is characterized in that, comprise Cameralink interface, FPGA, first data-carrier store, shared storage, DSP, second memory, program storage, A/D chip, D/A chip and display, the Cameralink interface links to each other with FPGA, and the Cameralink interface passes to FPGA with digital video frequency flow; The A/D chip links to each other with FPGA, and the A/D chip passes to FPGA with the CVBS video flowing; FPGA links to each other with first data-carrier store, and FPGA stores to first data-carrier store processed video data transfer; FPGA links to each other with shared storage, and the data transfer after FPGA will handle is stored to shared storage; DSP links to each other with program storage, and DSP calls out program stored in the program storage; DSP links to each other with shared storage, and the data transfer that shared storage will be stored in is wherein given DSP; DSP links to each other with second data-carrier store, and the data transfer after DSP will handle stores for second data-carrier store and shared storage; FPGA links to each other with the D/A chip, and FPGA handles and pass to the D/A chip with the data that the shared storage transmission comes; The D/A chip links to each other with display, and the D/A chip shows the processed video data transfer to display.
2. the embedded image tracker based on average drifting according to claim 1 is characterized in that, the algorithm flow concrete steps of said FPGA and DSP are as follows:
1) FPGA sets the iterations K of K mean algorithm;
2) the FPGA search is positioned at each pixel histogram of FPGA candidate subregion;
3) FPGA calculates the target histogram on the not normalized FPGA candidate subregion Obtain
Figure FDA0000041849300000012
Figure FDA0000041849300000013
Q wherein uThe intensity profile of expression To Template, p uThe intensity profile of expression candidate target;
4) each pixel of FPGA calculated candidate target area
Figure FDA0000041849300000014
W wherein iThe weight of representing each pixel, δ UrThe remarked pixel histogram;
5) FPGA calculate the new new center z=that transmits the view data of coming (x, y);
6) (x y) gives DSP by the shared data memory transfer to the new center z=of the new transmission that will calculate of the FPGA view data of coming;
7) (x y) carries out error-tested to DSP to the center z=that calculates
7.1) if error meets the demands or FPGA computation process in iterations surpass K, then DSP calculates and finishes, with new place-centric z=(x, y) data pass to FPGA by shared storage, FPGA passes to display with the view data that meets the demands by the D/A chip, and the algorithm of FPGA and DSP finishes;
7.2) if error does not meet the demands or FPGA computation process in iterations be no more than K, then DSP passes to FPGA with data by shared storage, FPGA resets iterations, returns step 1).
CN2010106155525A 2010-12-30 2010-12-30 Mean shift-based embedded type image tracking system Pending CN102074003A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010106155525A CN102074003A (en) 2010-12-30 2010-12-30 Mean shift-based embedded type image tracking system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010106155525A CN102074003A (en) 2010-12-30 2010-12-30 Mean shift-based embedded type image tracking system

Publications (1)

Publication Number Publication Date
CN102074003A true CN102074003A (en) 2011-05-25

Family

ID=44032533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010106155525A Pending CN102074003A (en) 2010-12-30 2010-12-30 Mean shift-based embedded type image tracking system

Country Status (1)

Country Link
CN (1) CN102074003A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103065131A (en) * 2012-12-28 2013-04-24 中国航天时代电子公司 Method and system of automatic target recognition tracking under complex scene
CN103269425A (en) * 2013-04-18 2013-08-28 中国科学院长春光学精密机械与物理研究所 Multifunctional intelligent image conversion system
CN105118074A (en) * 2015-07-01 2015-12-02 西安理工大学 Image processing system and method obtaining upper atmosphere temperature by utilization of method
CN105847650A (en) * 2016-05-20 2016-08-10 北京科旭威尔科技股份有限公司 Intelligent control system having target locking and tracking function
CN106886438A (en) * 2017-02-06 2017-06-23 仓智(上海)智能科技有限公司 System remote update method based on FPGA
CN113034341A (en) * 2021-05-25 2021-06-25 浙江双元科技股份有限公司 Data acquisition processing circuit for Cameralink high-speed industrial camera
CN115147672A (en) * 2021-03-31 2022-10-04 广东高云半导体科技股份有限公司 Artificial intelligence system and method for identifying object types

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103065131A (en) * 2012-12-28 2013-04-24 中国航天时代电子公司 Method and system of automatic target recognition tracking under complex scene
CN103065131B (en) * 2012-12-28 2016-01-20 中国航天时代电子公司 Automatic target detection tracking and system under a kind of complex scene
CN103269425A (en) * 2013-04-18 2013-08-28 中国科学院长春光学精密机械与物理研究所 Multifunctional intelligent image conversion system
CN105118074A (en) * 2015-07-01 2015-12-02 西安理工大学 Image processing system and method obtaining upper atmosphere temperature by utilization of method
CN105118074B (en) * 2015-07-01 2019-02-01 西安理工大学 A kind of image processing system and the method with system acquisition upper atmosphere temperature
CN105847650A (en) * 2016-05-20 2016-08-10 北京科旭威尔科技股份有限公司 Intelligent control system having target locking and tracking function
CN106886438A (en) * 2017-02-06 2017-06-23 仓智(上海)智能科技有限公司 System remote update method based on FPGA
CN115147672A (en) * 2021-03-31 2022-10-04 广东高云半导体科技股份有限公司 Artificial intelligence system and method for identifying object types
CN113034341A (en) * 2021-05-25 2021-06-25 浙江双元科技股份有限公司 Data acquisition processing circuit for Cameralink high-speed industrial camera

Similar Documents

Publication Publication Date Title
CN210006057U (en) Apparatus and system for deep learning engine
US20230153621A1 (en) Arithmetic unit for deep learning acceleration
Sun et al. Deep RGB-D saliency detection with depth-sensitive attention and automatic multi-modal fusion
CN210428520U (en) Integrated circuit for deep learning acceleration
CN102074003A (en) Mean shift-based embedded type image tracking system
CN109949255B (en) Image reconstruction method and device
CN106204522B (en) Joint depth estimation and semantic annotation of a single image
Li et al. A deep learning approach for real-time rebar counting on the construction site based on YOLOv3 detector
CN102665049B (en) Programmable visual chip-based visual image processing system
CN103019656B (en) The multistage parallel single instruction multiple data array processing system of dynamic reconstruct
US7756296B2 (en) Method for tracking objects in videos using forward and backward tracking
CN101576894B (en) Real-time image content retrieval system and image feature extraction method
CN103177455B (en) Based on the implementation method of the KLT Moving Target Tracking Algorithm of multi-core DSP
CN102521807B (en) Method for transferring colors by utilizing color space distribution
CN110751195B (en) Fine-grained image classification method based on improved YOLOv3
CN109242019B (en) Rapid detection and tracking method for optical small target on water surface
Dai et al. DFN-PSAN: Multi-level deep information feature fusion extraction network for interpretable plant disease classification
CN107577983A (en) It is a kind of to circulate the method for finding region-of-interest identification multi-tag image
CN113128478A (en) Model training method, pedestrian analysis method, device, equipment and storage medium
CN111127360A (en) Gray level image transfer learning method based on automatic encoder
Yu et al. Progressive refined redistribution pyramid network for defect detection in complex scenarios
Cuevas et al. Moving object detection for real-time augmented reality applications in a GPGPU
Li et al. YOLOSA: Object detection based on 2D local feature superimposed self-attention
Liang et al. High-throughput instance segmentation and shape restoration of overlapping vegetable seeds based on sim2real method
CN110544221B (en) Training method and device, rain removing method, terminal device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110525