CN101021604A - Dynamic target automatic zooming system based on image processing - Google Patents

Dynamic target automatic zooming system based on image processing Download PDF

Info

Publication number
CN101021604A
CN101021604A CN200710064687.5A CN200710064687A CN101021604A CN 101021604 A CN101021604 A CN 101021604A CN 200710064687 A CN200710064687 A CN 200710064687A CN 101021604 A CN101021604 A CN 101021604A
Authority
CN
China
Prior art keywords
image processing
control unit
target
zoom lens
system based
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.)
Granted
Application number
CN200710064687.5A
Other languages
Chinese (zh)
Other versions
CN101021604B (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.)
Institute of Optics and Electronics of CAS
Original Assignee
Institute of Optics and Electronics 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 Institute of Optics and Electronics of CAS filed Critical Institute of Optics and Electronics of CAS
Priority to CN2007100646875A priority Critical patent/CN101021604B/en
Publication of CN101021604A publication Critical patent/CN101021604A/en
Application granted granted Critical
Publication of CN101021604B publication Critical patent/CN101021604B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Lens Barrels (AREA)
  • Studio Devices (AREA)
  • Automatic Focus Adjustment (AREA)

Abstract

An automatic zooming system for dynamic target based on image processing mainly comprises: the zoom lens is used for adjusting the focal length of the camera; a camera for capturing a target image; the image processing control unit receives image data from the camera, divides the target to obtain the imaging size of the target, and decides to send a control command to the lens driving control circuit according to the comparison result of the target size and the set size; and the lens driving control circuit is connected with the image processing control unit through a serial port and is connected with the positive control line and the negative control line of the zoom lens through two cables, and the lens driving control circuit receives a control command sent by the image processing control unit to move the zoom lens so as to adjust the focal length of the camera. The invention has the function of real-time automatic zooming and has the advantages of high efficiency and high precision.

Description

A kind of dynamic target automatic focusing system based on Flame Image Process
Technical field
The present invention relates to automatic focusing system, particularly a kind of dynamic target automatic focusing system based on Flame Image Process.
Background technology
When video camera (CCD, CMOS) is taken dynamic object, if focus of camera fix, so along with the distance of target range, the size of target on screen also can change.Keep the precision measured, the imaging size that needs to keep target is in a suitable dimensions scope, and present video camera (CCD, CMOS) generally has manual zoom function, by manual shift, carries out zoom, and the target imaging size is controlled at suitable dimension.
But, when taking tracking high-speed mobile target, the quick variation of the generation distance that target can be continuous, present mode has following several, and one is to use manual adjustments, and the 2nd, calculate focal length value, control zoom according to focal length value.This dual mode is all efficient low, and the shortcoming that precision is not high is difficult to guarantee auto zooming.
Summary of the invention
Technology of the present invention is dealt with problems: overcome the deficiencies in the prior art, a kind of dynamic target automatic focusing system based on Flame Image Process is provided, it can be when tracking target, the size of real-time judge target, autozoom.
Technical scheme of the present invention: a kind of dynamic target automatic focusing system based on Flame Image Process, its characteristics are to comprise: Varifocal zoom lens is used to regulate focus of camera; Video camera is to be used for the photographic subjects image; Image processing control unit is the core of system, and it accepts from the next view data of video camera target to be cut apart, and obtains the imaging size of target, sends control command according to the big or small comparative result decision of target sizes and setting and gives the lens driving control circuit;
The lens driving control circuit, be connected with serial ports with image processing control unit, be connected with the positive and negative control line of Varifocal zoom lens by two cables simultaneously, the lens driving control circuit is accepted the control command that image processing control unit sends, Varifocal zoom lens is moved, to regulate focus of camera.
Principle of the present invention: when the space Fast Moving Object is followed the tracks of, keep target in the range of size that imaging size on the video camera is being scheduled to all the time, pass through image segmentation, obtain the size of target on the image, if be greater than or less than predetermined size, to give an order to image processing control unit, image processing control unit is regulated zoom motor on the camera lens automatically by the lens driving control circuit, make zoom lens move to correct position, the size of target on screen adjusted to preliminary dimension.
The present invention's advantage compared with prior art is: the present invention by image processing control unit because can be when the tracking target, the size of real-time judge target, target sizes compares with the size of being scheduled to, if greater than preliminary dimension or less than preliminary dimension, just regulate the preceding Varifocal zoom lens of video camera,, reach the purpose of adjusting target imaging size on screen by the control of zoom lens, therefore have auto zooming function, and efficient and precision improve greatly.
Description of drawings
Fig. 1 is a principle schematic of the present invention;
Fig. 2 is a lens driving control circuit schematic diagram of the present invention;
Fig. 3 is the theory diagram of image processing control unit of the present invention, and wherein Fig. 3 a is that ordinary PC is the processing of circuit module frame chart that core devices constitutes, and Fig. 3 b is for the digital signal processor DSP being the processing of circuit module frame chart of core devices formation;
Fig. 4 is the process flow diagram of automatic focusing system of the present invention.
Embodiment
As shown in Figure 1, 2, the present invention is made up of Varifocal zoom lens 1, video camera 2, image processing control unit 3, lens driving control circuit 4 and display 5, Varifocal zoom lens 1 is used to regulate the focal length of video camera 2, Varifocal zoom lens 1 is for to be made of zoom motor 12 and zoom lens 11, zoom motor 12 is connected with zoom lens 11, zoom motor 12 rotates the focal length that just can change zoom lens, and zoom motor 12 can be DC electrode or stepper motor; Video camera 2 is used for the photographic subjects image, and the sensor of capture video data can be general video camera commonly used, also can be image acquisition sensors such as charge coupling device CCD, CMOS; Image processing control unit 3 is cores of system, it is accepted from the next view data of video camera, target is cut apart, obtained the imaging size of target, send control command according to the big or small comparative result decision of target sizes and setting and give lens driving control circuit 4; Lens driving control circuit 4 adopts serial ports to be connected with image processing control unit 3, and it also is connected with the positive and negative control line of Varifocal zoom lens 1 by two cables simultaneously.Lens driving control circuit 4 is accepted the control command that image processing control unit 3 sends, difference according to command word, the output cable upload send different time sections ± 12V voltage, the motor on the Varifocal zoom lens 1 can be forward or backward under the driving of voltage moves, and disappears up to driving voltage.
As shown in Figure 2, lens driving control circuit 4 is to be the circuit of core devices with DSP, and in actual the use, DSP has selected the TMS320LF2407A of TI company for use.DSP realizes communicating by letter by the good by appointment agreement of serial ports with image processing control unit 3, it waits for the interrupt request of image processing control unit 3 in the mode of interrupt response, real-time response is interrupted, in interrupt handling routine, judge the character string command that image processing control unit 3 is sent here by serial ports, according to different character strings, output ± 12V voltage signal on the voltage output interface, the power on length of continuous time of pressure holding of output interface is corresponding with different character strings, by input, judge whether the zoom motor 12 in the Varifocal zoom lens 1 rotate in place again.DSP also detects outside limit signal in real time, in case signal is effective, just stops operating.Voltage output interface in succession positive and negative by cable and zoom motor 12 according to the order of DSP, finished the function of voltage transitions output among Fig. 2.
The flow process of the drive controlling of lens driving control circuit 4: the order of receiving image processing control unit 3 as DSP by serial ports, just according to the agreement of program agreement to command process, according to the voltage of the difference output different time length of ordering, the output time of voltage adopts the stepping method, is to explore the stepping process, adopt big step pitch when far away apart from expectation value, when near the time, switch to the small step distance, when fine adjustments, switch to littler step pitch, can improve response like this, guarantee that the adjusting time is quick.Voltage output interface output ± 12V voltage on the circuit board that passes through drives zoom motor 12 and rotates accordingly.DSP detects the position that motor rotates simultaneously in zoom motor 12 rotation processes, judges whether zoom motor 12 forwards endpoint location to, and provides feedback to graphics processing unit 3.
Indicator screen 5 is used for the equipment of display image, can be general liquid crystal or CRT display device.
Shown in Fig. 3 a and Fig. 3 b, image processing control unit 3 is to be the processing of circuit module of core devices formation with ordinary PC or digital signal processor DSP.
Shown in Fig. 3 a, comprise PC, two parts of image pick-up card based on the hardware of the image processing control unit of PC.Comprise the CPU, hard disk, internal memory of general use etc. in the PC: image pick-up card is installed in the ordinary PC, and the runs image processing software program is connected with the lens driving control circuit by serial ports.Control command is sent to the lens driving control circuit.Image pick-up card is inserted in the PCI slot of computing machine, is connected with video camera or CCD by video line, and image pick-up card is finished the analog to digital conversion of vision signal and calculator memory is gone in the data image signal collection.
Shown in Fig. 3 b, comprise digital signal processor DSP, complex programmable logic device (CPLD), Flash Memory based on the hardware of the image processing control unit of digital signal processor DSP.
Digital signal processor DSP carries out image algorithm to be handled, and comprises filtering and noise reduction, Image Edge-Detection, and image segmentation, zone marker, regional connectivity are calculated to be the size of picture.The effect of complex programmable logic device (CPLD) is the sequential of the image that transmits of control DSP reading images sensor, gives DSP the view data that DSP requires to obtain.The function of Flash Memory is the software program code and the store image information of storage dsp system operation.
The process software of the graphics processing unit 3 among the present invention comprises the image acquisition program, and image processing program is judged control program three parts.
(1) the image acquisition program is used for the vision signal of video camera or CCD is carried out analog to digital conversion by image pick-up card hardware.Software can be set the frequency of collection, and the image resolution ratio of collection can be regulated functions such as contrast.
(2) image processing program is handled gathering the digital picture of coming in.Comprise filtering and noise reduction, Image Edge-Detection, image segmentation, zone marker, regional connectivity are calculated to be the length of picture and wide, i.e. imaging size A.
(3) judge that control program is used for the big or small A of imaging and the big or small B of expectation are compared, the size dimension B of expectation can set in software in advance, also can real time modifying.As imaging size A during greater than desired size B, control program sends the character string command of zoom lens reach to Drive and Control Circuit by serial ports.Otherwise, as imaging size A during less than desired size B, the character string command that control program moves after Drive and Control Circuit is sent zoom lens by serial ports.
As shown in Figure 4, the concrete course of work of the present invention is as follows:
(1) watch-dog is opened, and is used to observe the target of tracked shooting, during target is in and moves.
(2) image processing control unit 3 is set the target sizes size that expectation obtains, and can set in advance, also can revise in tracing process.
(3) video camera 2 photographic images, view data one tunnel are delivered to display screen and are shown that image processing control unit 3 is delivered on another road.
(4) operation related software in the graphics processing unit 3 is cut apart the target in the image, the algorithm of image segmentation, and software extracts the size characteristic of target, according to cutting apart the object edge line that obtains, extracts the size length and width information A of target.
(5) expect that the size scope B that obtains is solidificated in the software of graphics processing unit in advance, also can revise on software interface.Compare A and B in the software, if target size A less than the B that sets, sends the control word order that moves forward.If instead target size A greater than the B that sets, sends the control word order of moving backward.If target size A does not then send order in the B scope of setting.
(6) order that sends in the graphics processing unit 3, pass to control Driver Circuit 4 by Serial Port Line, lens driving control circuit 4 is accepted the control command that image processing control unit sends, according to the difference of command word, output cable upload send different time sections ± 12V voltage.
(7) motor on the Varifocal zoom lens 1 is subjected to Control of Voltage, when receive ± during 12V voltage, just can before and after rotate, move forward and backward thereby drive camera lens, reach the purpose that changes focal length.The change of focal length makes the size of imaging change.
(8) by such closed-loop control, reach when the dynamic object fast moving, adjust the target imaging size automatically to specified size.

Claims (6)

1, a kind of dynamic target automatic focusing system based on Flame Image Process is characterized in that mainly comprising:
Varifocal zoom lens is used to regulate focus of camera;
Video camera is used for the photographic subjects image;
Image processing control unit is accepted from the next view data of video camera target to be cut apart, and obtains the imaging size of target, sends control command according to the big or small comparative result decision of target sizes and setting and gives the lens driving control circuit;
The lens driving control circuit, be connected with serial ports with image processing control unit, be connected with the positive and negative control line of Varifocal zoom lens by two cables simultaneously, the lens driving control circuit is accepted the control command that image processing control unit sends, Varifocal zoom lens is moved, to regulate focus of camera.
2, the dynamic target automatic focusing system based on Flame Image Process according to claim 1, it is characterized in that: described Varifocal zoom lens is made of zoom motor and zoom lens.
3, the dynamic target automatic focusing system based on Flame Image Process according to claim 1 is characterized in that: described zoom motor is DC electrode or stepper motor.
4, the dynamic target automatic focusing system based on Flame Image Process according to claim 1 is characterized in that: described video camera is video camera commonly used, or image acquisition sensors such as charge coupling device CCD, CMOS.
5, the dynamic target automatic focusing system based on Flame Image Process according to claim 1 is characterized in that: described image processing control unit is to be the processing of circuit module of core devices formation with ordinary PC or digital signal processor DSP.
6, the dynamic target automatic focusing system based on Flame Image Process according to claim 1 and 2, it is characterized in that: described lens driving control circuit is to be the circuit of core devices with DSP, DSP realizes communicating by letter by the good by appointment agreement of serial ports with image processing control unit, the judgement of control command is finished in the order that it is sent here by serial ports according to image processing control unit, the voltage signal that the time of sending is not waited, by input, judge whether the zoom motor in the Varifocal zoom lens rotate in place again; DSP also detects outside limit signal in real time, in case signal is effective, just stops operating.
CN2007100646875A 2007-03-23 2007-03-23 Dynamic target automatic zooming system based on image processing Expired - Fee Related CN101021604B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100646875A CN101021604B (en) 2007-03-23 2007-03-23 Dynamic target automatic zooming system based on image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100646875A CN101021604B (en) 2007-03-23 2007-03-23 Dynamic target automatic zooming system based on image processing

Publications (2)

Publication Number Publication Date
CN101021604A true CN101021604A (en) 2007-08-22
CN101021604B CN101021604B (en) 2010-07-21

Family

ID=38709436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100646875A Expired - Fee Related CN101021604B (en) 2007-03-23 2007-03-23 Dynamic target automatic zooming system based on image processing

Country Status (1)

Country Link
CN (1) CN101021604B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102281398A (en) * 2010-06-10 2011-12-14 佳能株式会社 Image pickup apparatus and method for controlling image pickup apparatus
CN103584888A (en) * 2013-12-02 2014-02-19 深圳市恩普电子技术有限公司 Ultrasonic target motion tracking method
CN103957060A (en) * 2014-05-21 2014-07-30 中国人民解放军信息工程大学 Visible light receiving device and visible light communication method
CN104883506A (en) * 2015-06-26 2015-09-02 重庆智韬信息技术中心 Self-service shooting method based on face identification technology
CN104917956A (en) * 2014-03-12 2015-09-16 全视技术有限公司 System And Method For Continuous Auto Focus Within Camera Module
CN106301109A (en) * 2016-09-20 2017-01-04 北京旷视科技有限公司 Circuit for controlling motor and motor control method
CN106910206A (en) * 2017-01-17 2017-06-30 邢惠钧 A kind of method for tracking target and device
CN108540696A (en) * 2012-07-30 2018-09-14 Lg伊诺特有限公司 Camera model
WO2019089691A1 (en) * 2017-10-31 2019-05-09 Schlumberger Technology Corporation In process screen parameter measurement and control
CN109803090A (en) * 2019-01-25 2019-05-24 睿魔智能科技(深圳)有限公司 Unmanned shooting automatic zooming method and system, unmanned cameras and storage medium
US10317777B2 (en) 2015-03-27 2019-06-11 Huawei Technologies Co., Ltd. Automatic zooming method and apparatus
CN110009636A (en) * 2019-05-13 2019-07-12 招商局重庆交通科研设计院有限公司 A kind of varifocal vision detection system of the vcehicular tunnel of integrated form
CN110249618A (en) * 2017-07-31 2019-09-17 深圳市大疆创新科技有限公司 Control device, lens assembly, photographic device, control method and program
CN111050125A (en) * 2019-11-21 2020-04-21 北京仁光科技有限公司 Photoelectric return partition interaction system for interacting signal sources in each subnet
CN111327830A (en) * 2020-03-27 2020-06-23 苏州科达科技股份有限公司 Erection parameter acquisition system, method and device of image acquisition assembly and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000258682A (en) * 1999-03-08 2000-09-22 Olympus Optical Co Ltd Automatic focusing device

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8634000B2 (en) 2010-06-10 2014-01-21 Canon Kabushiki Kaisha Image pickup apparatus having an auto zoom function and method for controlling image pickup apparatus
CN102281398B (en) * 2010-06-10 2014-01-22 佳能株式会社 Image pickup apparatus and method for controlling image pickup apparatus
CN102281398A (en) * 2010-06-10 2011-12-14 佳能株式会社 Image pickup apparatus and method for controlling image pickup apparatus
CN108540696A (en) * 2012-07-30 2018-09-14 Lg伊诺特有限公司 Camera model
CN103584888A (en) * 2013-12-02 2014-02-19 深圳市恩普电子技术有限公司 Ultrasonic target motion tracking method
CN104917956B (en) * 2014-03-12 2018-10-09 豪威科技股份有限公司 For the continuous autofocus system and method in camera model
CN104917956A (en) * 2014-03-12 2015-09-16 全视技术有限公司 System And Method For Continuous Auto Focus Within Camera Module
CN103957060A (en) * 2014-05-21 2014-07-30 中国人民解放军信息工程大学 Visible light receiving device and visible light communication method
CN103957060B (en) * 2014-05-21 2017-04-12 中国人民解放军信息工程大学 Visible light receiving device and visible light communication method
US10317777B2 (en) 2015-03-27 2019-06-11 Huawei Technologies Co., Ltd. Automatic zooming method and apparatus
CN104883506A (en) * 2015-06-26 2015-09-02 重庆智韬信息技术中心 Self-service shooting method based on face identification technology
CN104883506B (en) * 2015-06-26 2021-07-02 重庆智韬信息技术中心 Self-service shooting method based on face recognition technology
CN104883506B9 (en) * 2015-06-26 2021-09-03 重庆智韬信息技术中心 Self-service shooting method based on face recognition technology
CN106301109A (en) * 2016-09-20 2017-01-04 北京旷视科技有限公司 Circuit for controlling motor and motor control method
CN106910206A (en) * 2017-01-17 2017-06-30 邢惠钧 A kind of method for tracking target and device
CN106910206B (en) * 2017-01-17 2020-02-18 邢惠钧 Target tracking method and device
CN110249618B (en) * 2017-07-31 2021-08-20 深圳市大疆创新科技有限公司 Control device, lens device, imaging device, control method, and program
CN110249618A (en) * 2017-07-31 2019-09-17 深圳市大疆创新科技有限公司 Control device, lens assembly, photographic device, control method and program
WO2019089691A1 (en) * 2017-10-31 2019-05-09 Schlumberger Technology Corporation In process screen parameter measurement and control
US11918942B2 (en) 2017-10-31 2024-03-05 Schlumberger Technology Corporation In process screen parameter measurement and control
CN109803090A (en) * 2019-01-25 2019-05-24 睿魔智能科技(深圳)有限公司 Unmanned shooting automatic zooming method and system, unmanned cameras and storage medium
CN110009636A (en) * 2019-05-13 2019-07-12 招商局重庆交通科研设计院有限公司 A kind of varifocal vision detection system of the vcehicular tunnel of integrated form
CN111050125B (en) * 2019-11-21 2020-07-21 北京仁光科技有限公司 Photoelectric return partition interaction system for interacting signal sources in each subnet
CN111050125A (en) * 2019-11-21 2020-04-21 北京仁光科技有限公司 Photoelectric return partition interaction system for interacting signal sources in each subnet
CN111327830A (en) * 2020-03-27 2020-06-23 苏州科达科技股份有限公司 Erection parameter acquisition system, method and device of image acquisition assembly and storage medium
CN111327830B (en) * 2020-03-27 2021-08-20 苏州科达科技股份有限公司 Erection parameter acquisition system, method and device of image acquisition assembly and storage medium

Also Published As

Publication number Publication date
CN101021604B (en) 2010-07-21

Similar Documents

Publication Publication Date Title
CN101021604B (en) Dynamic target automatic zooming system based on image processing
CN101840055B (en) Video auto-focusing system based on embedded media processor
US8687072B2 (en) System and method for creating composite images by utilizing an imaging device
JP4356689B2 (en) CAMERA SYSTEM, CAMERA CONTROL DEVICE, PANORAMA IMAGE CREATION METHOD, AND COMPUTER PROGRAM
CN102281398B (en) Image pickup apparatus and method for controlling image pickup apparatus
CN100517044C (en) Image capturing apparatus
CN102707545B (en) DFF-based auto-focusing method
EP2051505A2 (en) Composition determining apparatus, composition determining method, and program
CN104980644A (en) Shooting method and device
CN102419505B (en) Automatic focusing method and system and integrated camera
CN103033267A (en) Zoom infrared thermal imager with presetting bit arrangement and invoking function and method
WO2021032172A1 (en) Method and apparatus for correcting distortion of depth image, and electronic device and storage medium
CN113840076B (en) Shooting zooming method, electronic equipment and storage medium
CN110691192B (en) Image processing method, image processing device, storage medium and electronic equipment
CN103945133A (en) Auto-focus device and method for visible light lens
CN105357433A (en) High-speed rotating focal length self-adaptive panoramic imaging method
US20050219386A1 (en) Imaging device with burst zoom mode
CN107071347A (en) The method of adjustment and headend equipment of a kind of wireless localization apparatus
CN101505329A (en) Mobile phone and camera interactive system, method therefor
CN106878622A (en) A kind of automatic focusing processing system and processing method
CN109698902B (en) Synchronous focusing method and device
CN102967375A (en) Infrared thermal imaging instrument and method capable of implementing presetting function based on stepping motor
US11991450B2 (en) Composition control device, composition control method, and program
CN116182786B (en) Monocular vision ranging method, camera and medium
CN104732956A (en) Method and device for adjusting brightness of screen

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100721

Termination date: 20140323