CN1299495C - Bidimonsional digit filter - Google Patents

Bidimonsional digit filter Download PDF

Info

Publication number
CN1299495C
CN1299495C CNB2003101051322A CN200310105132A CN1299495C CN 1299495 C CN1299495 C CN 1299495C CN B2003101051322 A CNB2003101051322 A CN B2003101051322A CN 200310105132 A CN200310105132 A CN 200310105132A CN 1299495 C CN1299495 C CN 1299495C
Authority
CN
China
Prior art keywords
cpld
data
dimensional digital
digital filter
filtering
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.)
Expired - Fee Related
Application number
CNB2003101051322A
Other languages
Chinese (zh)
Other versions
CN1620108A (en
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.)
Shenyang Institute of Automation of CAS
Original Assignee
Shenyang Institute of Automation 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 Shenyang Institute of Automation of CAS filed Critical Shenyang Institute of Automation of CAS
Priority to CNB2003101051322A priority Critical patent/CN1299495C/en
Publication of CN1620108A publication Critical patent/CN1620108A/en
Application granted granted Critical
Publication of CN1299495C publication Critical patent/CN1299495C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The present invention belongs to a real-time image processing technology, which more specifically discloses a two-dimensional digital filter which can preprocess a video image in real time at a video rate. The two-dimensional digital filter uses a complex programmable logical device (CPLD) as a core, and the input end of the two-dimensional digital filter is respectively connected with a digital image signal, a 10M clock signal and an HD line synchronous signal. Real time two-dimensional digital filtering processing is carried out to the received digital image signal by a program, and then the signal is sent to a tracking device or a data recording device through an output end. The present invention is a high-speed two-dimensional digital filter which can realize the video rate, and the two-dimensional digital filter has parameters with sign bits and supporting various image filtering models, and the parameters are allowed to be inserted by a single chip computer. The two-dimensional digital filter has the advantages of flexible and convenient use, stable and reliable performance and low price. The present invention can be applied to high-speed reali-time image processing devices, such as television trackers, infrared image trackers, etc., and can also be applied to the fields of computer vision, etc.

Description

Two-dimensional digital filter
Technical field
The invention belongs to the realtime graphic treatment technology, be applied to high speed realtime graphic processing unit such as television tracking device, infrared image tracker, also can be applicable to fields such as computer vision.Specifically a kind ofly video image is carried out real-time pretreated two-dimensional digital filter with video rate.
Background technology
In TV or infrared image tracker, particularly for the infrared image of low signal-to-noise ratio, image filtering is the preliminary treatment link an of necessity, and its basic purpose is to reduce picture noise and outstanding echo signal, belongs to bottom layer treatment in tracker or vision system.Desirable filter is generally two-dimensional digital filter, and real-time is a key issue wherein.The technology that the existing two-dimensional digital filter is taked usually is: the one, store real-time digital image into frame memory in the data array mode, and under computer read-write control and special-purpose time sequence control, export filtered digital picture then with the speed that is lower than video rate; The 2nd, the high-performance microprocessor that places one's entire reliance upon is given the software computing with the work of this complexity of digital picture filtering and is finished, more than both deficiency be that the view data time-delay is very big, be difficult to be applied in the pattern information processing system of very high real-time requirement.The third mode is to adopt special-purpose two dimensional filter device, and data transfer rate can reach video rate, but array mould plate is less, and the employing cascade system can enlarge template but the design use is very inconvenient, needs the peripheral circuit support, and costs an arm and a leg.
Summary of the invention
Big in order to overcome in the prior art view data time-delay, be difficult to be applied in the pattern information processing system of very high real-time requirement, use inconvenient, need the peripheral circuit support, and expensive deficiency, the object of the invention provides a kind of two-dimensional digital filter of realizing real-time two dimensional image filtering on general CPLD device, the real-time performance of this hardware technology reaches video rate fully, filter construction has reconfigurability, support the on-the-spot filter parameter of revising, flexible and convenient to use, cost is low.
To achieve these goals, the technical solution adopted for the present invention to solve the technical problems is: be core with the CPLD, its input connects data image signal respectively, and 10M clock signal and HD line synchronizing signal; After the data image signal that receives made real-time two-dimensional digital Filtering Processing by program, deliver to tracker or data recording equipment through output;
Wherein said two-dimensional digital filtering parameter can the tape symbol position, is inserted by the write operation scene by single-chip microcomputer; Two-dimensional digital filter flow process is: at first, and system power-on reset; Treat that power up finishes the CPLD operate as normal; External microcontroller is write filtering template and operational data according to the task needs to the inner agreed address of CPLD then; Before this, data image signal is handled the result who is exported through CPLD and is invalid data; CPLD carries out buffer memory to the real-time digital image that receives, and forms the data flow of 5 * 512byte, and the real time data stream to 5 * 512byte latchs again, forms 5 * 5 back end; At last, CPLD carries out Filtering Processing according to template data to data image signal, promptly data corresponding in 5 * 5 back end is carried out parallel computation, and exports during with the filtering fructufy.
The invention has the beneficial effects as follows:
1. the present invention is a kind of high speed two-dimension digital filter that can realize video rate, and processing speed is video rate, and is flexible and convenient to use, and the data time-delay is the microsecond level only, can ignore in application system.
2. the invention solves the problem of the existing existing real-time deficiency of two-dimensional digital filter.The filtering result of this filter lags behind than initial data, and 2 row+5 pixels (time-delay of 192 microseconds) are real-time to be exported, and satisfies the video preprocessor processing requirements.
3. two dimensional filter of the present invention does not take any resource of single-chip microcomputer.To the application system, single-chip microcomputer does not need the program software of being correlated with to support digital filtering work, and is simple in structure, cost is low.
4. the template of two dimensional filter of the present invention can be inserted by single-chip microcomputer is online, for choosing of two-dimensional filtering model and experimental verification provide great convenience.
5. two dimensional filter of the present invention uses the tape symbol computing, supports multiple image filtering model, is applicable to complicated two-dimensional filtering model.
6. two dimensional filter of the present invention realizes that by single-chip devices at full hardware (monolithic complex programmable logic device (CPLD) device) working stability is reliable, and is easy to use.
7. the present invention can be widely used in high speed realtime graphic processing unit such as television tracking device, infrared image tracker, also can be applicable to civil areas such as computer vision.
Description of drawings
Fig. 1 is the structure chart of two-dimensional digital filter of the present invention.
Fig. 2 is a circuit theory schematic diagram of realizing 5 * 512byte real time data buffer memory.
Fig. 3 is a filter template read/write circuit principle schematic.
Fig. 4 is a computing module circuit theory schematic diagram.
Fig. 5 is a two-dimensional digital filter workflow diagram of the present invention.
Among the figure, node 1 is data caching circuit (launching explanation by Fig. 2), node 2 is 25 data nodes that produced by data caching circuit 1, node 3 is the filtering operation module, the read/write circuit (launching explanation) that comprises filter template by Fig. 3 and Fig. 4, the random access memory ram that node 4 is realized for the EAB (embedded Array piece) with CPLD inside, node 5 is a bus control unit, realizes the I/O interface of CPLD read/write circuit and external data bus.
Embodiment
Below in conjunction with drawings and Examples the present invention is described in further detail.
The present invention is a core with CPLD (CPLD), and its input connects data image signal respectively, and 10M clock signal and HD line synchronizing signal.After the data image signal that receives made real-time two-dimensional digital Filtering Processing by program, deliver to tracker or data recording equipment through output.
In Fig. 1, data image signal is delivered to data caching circuit, forms the real time data stream of 5 * 512byte, and this data flow latchs 5 * 5 data nodes of generation through 5 grades again and delivers to the filtering operation module.The real time data stream that obtains being asked behind internalarithmetic is exported.
In embodiment illustrated in fig. 2, the random access memory ram of realizing with the EAB (embedded Array piece) of complex programmable logic device (CPLD) inside is by form buffer memory 5 line data of cascade, the real time data stream of drawing data wire formation 5 * 512byte again from the node of cascade.At last each row of data stream is carried out 5 grades and latch, can obtain 5 * 5 data nodes.
In filter template read/write circuit principle schematic shown in Figure 3, the bus control unit of complex programmable logic device (CPLD) has been realized the I/O interface of the data/address bus of complex programmable logic device (CPLD) and external microcontroller.After the system reset, single-chip microcomputer is by address to complex programmable logic device (CPLD) in the writing filtering device template data of this interface by prior agreement.Simultaneously, also can read template data and carry out verification.
The filter computing module has been described according to the filtering template data in Fig. 4, utilize the functional modules such as multiplier, adder and divider that provide in the complex programmable logic device (CPLD) real time data stream is carried out calculation process, the multiplying that 5 * 5 node datas having realized latches among Fig. 2 and corresponding filter template data are carried out.The intermediate object program of gained summation back renormalization promptly obtains the final output result of filter.Described filter parameter can be inserted by the write operation scene by single-chip microcomputer; Described filter parameter can the receiving belt plus or minus sign bit.
As shown in Figure 5, two-dimensional digital Filtering Processing program circuit is: at first, and system power-on reset; Treat that power up finishes, complex programmable logic device (CPLD) can operate as normal; External microcontroller is write filtering template and operational data according to the task needs to the inner agreed address of CPLD then; Before this, data image signal is handled the result who is exported through complex programmable logic device (CPLD) and is invalid data; Complex programmable logic device (CPLD) carries out buffer memory to the real-time digital image that receives, and forms the data flow of 5 * 512byte, and the real time data stream to 5 * 512byte latchs again, forms 5 * 5 back end; At last, complex programmable logic device (CPLD) carries out Filtering Processing according to template data to data image signal, promptly data corresponding in 5 * 5 back end is carried out parallel computation, and processing speed is a video rate, and exports during with the filtering fructufy.
In complex programmable logic device (CPLD), utilize a certain amount of view data of the real-time buffer memory of data pipeline technology.What of storage data volume are by the decision of the size of digital filter template.With 5 * 5 filter template is example, should be at complex programmable logic device (CPLD) stored 4 line data.All there is output port in the each row of data district, and with the cascade of next line data field.Buffer area data and the current line data that obtain in real time, the real time data stream of formation 5 * 512byte.This data flow is arranged with behavior unit, and every row is unit sequence output with the pixel according to the sampling clock of system, flows into the next stage data buffer area simultaneously.This data flow during by 5 * 5 filter template and in the template corresponding coefficient perform mathematical calculations, and intermediate object program is delivered to computing module gathers calculating.Computing module is exported final result in real time by the sampling clock of system, just obtains the Real-Time Filtering result of two-dimensional digital filter to initial data.Because the template of filter can be inserted corresponding different coefficient by processor according to the difference of mission requirements, so filter of the present invention can be used for the preliminary treatment under the different condition and need not programme repeatedly to complex programmable logic device (CPLD).
The present invention by a slice independently the complex programmable logic device (CPLD) chip realize having the real-time two-dimensional digital filter of sign bit filtering parameter, filter parameter of the present invention can be inserted at the online mode scene, allow processor filtering template register in the sheet to be made amendment by the data/address bus of reserving, to be applicable to different preliminary treatment requirements, improved the flexibility of using.The two-dimensional digital filter of this devices at full hardwareization supports that the user makes up general high speed image processing platform, break away from the dependence of system to high-performance processor, data throughput is not second to typical special-purpose 2D signal processor on the present international market, reach video rate, and the filter model of this opening is the not available characteristics of special-purpose 2D signal processor.
Complex programmable logic device (CPLD) wherein of the present invention adopts EPF10K100ARC240-2 model chip.

Claims (2)

1. two-dimensional digital filter, it is characterized in that: with CPLD (CPLD) is core, its input connects data image signal respectively, and 10M clock signal and HD line synchronizing signal, the data image signal that receives is made real-time two-dimensional digital Filtering Processing by program, deliver to tracker or data recording equipment through output again; Described two-dimensional digital filtering parameter can be inserted by the write operation scene by single-chip microcomputer; Described two-dimensional digital filtering parameter can the tape symbol position.
2. two-dimensional digital filter according to claim 1 is characterized in that: described two-dimensional digital filter idiographic flow is: at first, and system power-on reset; Treat that power up finishes CPLD (CPLD) operate as normal; External microcontroller is write filtering template and operational data according to the task needs to the inner agreed address of CPLD then; Before this, data image signal is handled the result who is exported through CPLD (CPLD) and is invalid data; CPLD (CPLD) carries out buffer memory to the real-time digital image that receives, and forms the data flow of 5 * 512byte, and the real time data stream to 5 * 512byte latchs again, forms 5 * 5 back end; At last, CPLD (CPLD) carries out Filtering Processing according to template data to data image signal, promptly data corresponding in 5 * 5 back end is carried out parallel computation, and exports during with the filtering fructufy.
CNB2003101051322A 2003-11-19 2003-11-19 Bidimonsional digit filter Expired - Fee Related CN1299495C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101051322A CN1299495C (en) 2003-11-19 2003-11-19 Bidimonsional digit filter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101051322A CN1299495C (en) 2003-11-19 2003-11-19 Bidimonsional digit filter

Publications (2)

Publication Number Publication Date
CN1620108A CN1620108A (en) 2005-05-25
CN1299495C true CN1299495C (en) 2007-02-07

Family

ID=34757195

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101051322A Expired - Fee Related CN1299495C (en) 2003-11-19 2003-11-19 Bidimonsional digit filter

Country Status (1)

Country Link
CN (1) CN1299495C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1930823A3 (en) * 2006-12-04 2011-06-08 Fujitsu Limited Circuit-design supporting apparatus, circuit-design supporting method, computer product, and printed-circuit-board manufacturing method
WO2014169480A1 (en) 2013-04-19 2014-10-23 中国科学院自动化研究所 Parallel filtering method and corresponding apparatus
CN104318534B (en) * 2014-11-18 2017-06-06 中国电子科技集团公司第三研究所 A kind of Real-time Two-dimensional convolutional digital filtering system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6492922B1 (en) * 2000-12-14 2002-12-10 Xilinx Inc. Anti-aliasing filter with automatic cutoff frequency adaptation
CN2662565Y (en) * 2003-11-19 2004-12-08 中国科学院沈阳自动化研究所 Two-dimensional digital filter for implementing realtime preprocessing on video image

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6492922B1 (en) * 2000-12-14 2002-12-10 Xilinx Inc. Anti-aliasing filter with automatic cutoff frequency adaptation
CN2662565Y (en) * 2003-11-19 2004-12-08 中国科学院沈阳自动化研究所 Two-dimensional digital filter for implementing realtime preprocessing on video image

Also Published As

Publication number Publication date
CN1620108A (en) 2005-05-25

Similar Documents

Publication Publication Date Title
CN109543832A (en) A kind of computing device and board
CN103020002B (en) Reconfigurable multiprocessor system
CN104112053A (en) Design method of reconfigurable architecture platform oriented image processing
CN108647773A (en) A kind of hardwired interconnections framework of restructural convolutional neural networks
Kowalczyk et al. Real-time implementation of contextual image processing operations for 4K video stream in Zynq ultrascale+ MPSoC
Ding et al. Real-time stereo vision system using adaptive weight cost aggregation approach
CN109215037A (en) Destination image partition method, device and terminal device
Liu et al. Memory-efficient architecture for accelerating generative networks on FPGA
CN107888970A (en) Method for processing video frequency, device, embedded device and storage medium
Carranza et al. Fast and scalable computation of the forward and inverse discrete periodic radon transform
CN1299495C (en) Bidimonsional digit filter
CN108446758A (en) A kind of serial flow processing method of Neural Network Data calculated towards artificial intelligence
CN2662565Y (en) Two-dimensional digital filter for implementing realtime preprocessing on video image
US20050231643A1 (en) Method, system and device for real-time non-linear video transformations
CN110059797A (en) A kind of computing device and Related product
Malamas et al. Fast implementation of binary morphological operations on hardware-efficient systolic architectures
CN113301221B (en) Image processing method of depth network camera and terminal
CN104318534B (en) A kind of Real-time Two-dimensional convolutional digital filtering system
CN209118769U (en) A kind of volume hologram compression storage system of numerical data
Dong et al. A 139 fps pixel-level pipelined binocular stereo vision accelerator with region-optimized semi-global matching
RU168781U1 (en) STEREO IMAGE PROCESSING DEVICE
CN116416148A (en) Optimization method, system, chip and board card for digital image stabilization processing
CN110084783A (en) Local feature real-time detection and matching process on star
CN113034344B (en) Two-dimensional FFT method with low memory resource overhead
CN2613022Y (en) Field validity signal generating circuit for display digital image zooming

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee