CN102223472B - Method for indicating user to judge if the lens of image acquisition device parallel to the subject - Google Patents

Method for indicating user to judge if the lens of image acquisition device parallel to the subject Download PDF

Info

Publication number
CN102223472B
CN102223472B CN201010146474.9A CN201010146474A CN102223472B CN 102223472 B CN102223472 B CN 102223472B CN 201010146474 A CN201010146474 A CN 201010146474A CN 102223472 B CN102223472 B CN 102223472B
Authority
CN
China
Prior art keywords
image
camera lens
collecting device
subject
resolution value
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
CN201010146474.9A
Other languages
Chinese (zh)
Other versions
CN102223472A (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.)
Primax Electronics Ltd
Original Assignee
Primax Electronics Ltd
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 Primax Electronics Ltd filed Critical Primax Electronics Ltd
Priority to CN201010146474.9A priority Critical patent/CN102223472B/en
Publication of CN102223472A publication Critical patent/CN102223472A/en
Application granted granted Critical
Publication of CN102223472B publication Critical patent/CN102223472B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides an image acquisition method and an image acquisition device applying the same. The image acquisition device comprises a camera lens, an image processing program and a user interface, wherein the camera lens is used for shooting a shot body to obtain a main image picture; the image processing program is used for dividing the main image picture into a plurality of sub image blocks, calculating a resolution value of each sub image block and comparing the resolution value with a threshold value; and the user interface is used for displaying a comparison result between the resolution value of each sub image block and the threshold value to indicate whether the camera lens is parallel to the shot body. By the invention, the shot position can be adjusted by a user according to the comparison result displayed on the user interface, so the shot body is parallel to the camera lens, and the camera lens can acquire a clear and sharp image picture.

Description

Indication user judges whether parallel with the subject method of camera lens of image collecting device
Technical field
The present invention relates to acquisition technology, relate in particular to a kind of image-pickup method and the image collecting device of applying the method.
Background technology
Making rapid progress of development in science and technology, makes the application popularization of computer and peripheral commodity thereof, and wherein, the image collecting devices such as network camera or camera are widely used on desktop computer or notebook computer, in order to more convenient human lives.For instance, when user has carried out being in harmony after public or meeting, often client or participant's business card need to be filed, while contacting to facilitate, can search rapidly client's master data in the future.Therefore, utilize the image collecting device configuring on notebook computer directly to gather the image of business card, and carry out immediately the action that identification and data are filed, can reach easily business card is given to digitized object.In like manner, other file is photograph, credit card, fiscard, permit identification, envelope, postcard, ticket card, scratch paper, bookmark etc. for example, also all can gather image by holding portative notebook computer.
Moreover network camera now is mostly equiped with autofocus lens, its collocation is focusing control law automatically, makes network camera can gather more clear sharp keen image.Existing automatic focusing control method is for adopting edge detection pattern, it sees through and judges whether the edge of document image enters focusing area, and analyze the resolution data (as calculated the numerical value obtaining by modulation transfer function) that enters the document image in focusing area and judge whether to focus, in other words, be to utilize the change of lens focus to calculate the resolution value of the document image entirety in focusing area, and focus in the position of finding ultimate resolution value.
But, to use image collecting device to obtain document image to file shooting and can run into the difficulty in enforcement, putting of for example file is exactly a knowledge.When user's wish gathers one piece of article on a file with image collecting device, user can be hand-held this file, recycling image collecting device is taken, image collecting device can automatically be sought the position of the optimum resolution value of document image and focus, although generally speaking the document image in focusing area has met focus condition, but user is because being difficult to learn that whether hand-held file is parallel with the camera lens of image collecting device, and make the image that image collecting device is taken out can be clear with parallel not some part that produces of camera lens because of the hand-held file of user, fuzzy situation of some part.
Summary of the invention
The technical problem to be solved in the present invention is, for prior art above shortcomings, the image collecting device of a kind of image-pickup method with application the method is provided, can indicates user to judge that whether the camera lens of image collecting device is parallel with subject to adjust the placement location of taking body.
The present invention solves technical method that its technical problem adopts and is to provide a kind of user of indication and judges whether parallel with the subject method of camera lens of image collecting device, and it comprises: take subject and obtain master image picture; By this master image picture segmentation, be multiple subimage blocks; Calculate the resolution value of each this subimage block; The resolution value of each this subimage block and a threshold value are made comparisons; And, on each this subimage block, show the resolution value of this subimage block and the comparative result of this threshold value.
Preferably, this comparative result is to present by the difference of color or the weight of color.
Preferably, this resolution value is to be calculated and obtained by modulation transfer function (Modulation Transfer Function, MTF).
Sea of the present invention provides a kind of image collecting device, it is connected in a computer, this computer has a video signal program, this image collecting device is subject to the control of this video signal program and photographic images, this image collecting device comprises camera lens, image processing program and user interface, wherein, this camera lens obtains master image picture in order to take subject; This image processing program is arranged in this computer, in order to being multiple subimage blocks by this master image picture segmentation, and calculates the resolution value of each this subimage block, and this resolution value and threshold value are made comparisons; The resolution value of this each this subimage block of user's interface display and the comparative result of this threshold value, in order to indicate user to judge that whether this camera lens is parallel with this subject.
Preferably, this comparative result is to present by the difference of color or the weight of color.
Preferably, this resolution value is to be calculated and obtained by modulation transfer function (Modulation Transfer Function, MTF).
Preferably, described image collector is set to network camera.
The present invention also provides a kind of image-pickup method, and it comprises: take subject and obtain master image picture; By this master image picture segmentation, be multiple subimage blocks; Calculate the resolution value of each this subimage block; The resolution value of each this subimage block and a threshold value are made comparisons; On each this subimage block, show the resolution value of this subimage block and the comparative result of this threshold value; And, when having identical comparative result, any two these subimage blocks automatically gather this master image picture.
Preferably, this comparative result is to present by the difference of color or the weight of color.
Preferably, this resolution value is to be calculated and obtained by modulation transfer function (Modulation Transfer Function, MTF).
Image-pickup method of the present invention and the image collecting device of applying the method, the master image picture segmentation that image collecting device is collected is multiple subimage blocks, and calculate the resolution value of each subimage block, the resolution value of each subimage block and a threshold value of setting are compared, again obtained comparative result is shown on user interface, for user, judge intuitively whether the position of taking body parallels with the camera lens of image collecting device, thereby further adjust the position of taking body, make image collecting device can get clear sharp keen image frame.
Accompanying drawing explanation
Fig. 1 is the application schematic diagram of image collecting device preferred embodiment of the present invention.
Fig. 2 is the application schematic diagram of another preferred embodiment of image collecting device of the present invention.
Fig. 3 is image collecting device of the present invention carries out IMAQ schematic diagram to subject.
Fig. 4 is the flow chart of image-pickup method preferred embodiment of the present invention.
Fig. 5 is the user interface schematic diagram of image collecting device preferred embodiment of the present invention.
Embodiment
Refer to Fig. 1 and Fig. 2, Fig. 1 is the application schematic diagram of image collecting device one preferred embodiment of the present invention, and Fig. 2 is the application schematic diagram of another preferred embodiment of image collecting device of the present invention.Image collecting device 1 in embodiment is a network camera, it is arranged at the upper limb place (as shown in Figure 1) of the screen 21 of notebook computer 2, or be connected in desktop computer 3 (as shown in Figure 2) by USB (USB) 32, image collecting device 1 comprises the camera lens 11 in order to photographic images, in order to guide user's user interface 12 (as shown in Figure 5) and be arranged at notebook computer 2 or desktop computer 3 in image processing program, wherein, in notebook computer 2 and desktop computer 3, all there is to control the video signal program of image collecting device 1, when video signal program is performed, image collecting device 1 can start to gather the action of image, image processing program is made a data processing by image captured camera lens 11, and the result of data processing can be by user interface 12 (as shown in Figure 5) output.In addition, the user interface 12 in the present embodiment is shown on the screen 21,31 of notebook computer 2 or desktop computer 3, in order to user, watches, and certainly, user interface 12 also can be presented in other electronic display unit.
Refer to Fig. 3, it is image collecting device carries out IMAQ schematic diagram to subject.In Fig. 3, subject is a file 4, but not as limit.When user's wish utilizes image collecting device 1 to take file 4, file 4 can be moved to the front of camera lens 11, but whether user unclear own hand-held file 4 be parallel with camera lens 11, if file 4 and the parallel not inclination angle [theta] that will produce as shown in Figure 3 of camera lens 11, now camera lens 11 captured go out document image will part clear, part is fuzzy.Therefore how to make user know hand-held file 4 whether parallel with the camera lens 11 of image collecting device 1 be spiritual place of the present invention, below will describe in detail.
Please synchronously consult Fig. 4 and Fig. 5, Fig. 4 is the flow chart of image-pickup method preferred embodiment of the present invention, the method also indicates user to judge that whether the camera lens of image collecting device is parallel with subject simultaneously, and Fig. 5 is the user interface schematic diagram of image collecting device preferred embodiment of the present invention.
Step S1, utilize the camera lens 11 of image collecting device 1 to take a subject (file 4 as shown in Figure 3) and obtain a master image picture 41, and this master image picture 41 is exported by user interface 12;
Step S2, utilizes image processing program that the master image picture 41 on user interface 12 is divided into multiple subimage blocks 42, and calculates the resolution value of each subimage block 42, and the resolution value of each subimage block 42 and a threshold value are made comparisons;
Step S3, the comparative result of the resolution value of each subimage block 42 and this threshold value is shown in to each the subimage block 42 on user interface 12, with the present embodiment, comparative result utilizes the difference of color to present, also even the resolution value of sub-image regions piece 42 lower than this threshold value, 42 of this subimage blocks present with the first color, and if the resolution sizes of subimage block 42 higher than this threshold value, 42 of this subimage blocks present with the second color.In addition, also can utilize other mode that presents comparative result, as the weight of color.
What specify is, the resolution value of each subimage block 42 is by modulation transfer function (Modulation Transfer Function, MTF) calculate and obtain, general industry is commonly referred to as mtf value, if the black and white contrast of the higher image of mtf value is larger, it is more clear to be that representative shot 11 is focused, otherwise, if the black and white contrast of the lower image of mtf value is less, be that representative shot 11 is focused fuzzyyer, more than being described as those of ordinary skills should know, at this, is no longer repeated.Therefore, in image-pickup method of the present invention, by the threshold value that sets and the mtf value of each subimage block 42, make comparisons, when the mtf value of arbitrary subimage block 42 is greater than threshold value, represent that the focusing situation of this subimage block 42 has reached standard clearly.Certainly, resolution value does not limit to modulation transfer function calculating and obtains, and other does not also depart from category of the present invention in order to the mode that obtains resolution value.
Step S4, when any two subimage blocks 42 have identical comparative result, image collecting device 1 gathers this master image picture 41 automatically.Specifically, when the resolution sizes of each subimage block 42 is all now with the second color higher than this threshold value, represent that subject is parallel to the camera lens 11 of image collecting device 1, make each subimage block 42 all there is image clearly.In addition, user can also manual mode presses notebook computer 2 or the button of desktop computer 3 gathers this master image picture 41.
Next illustrate how any two subimage blocks 42 have identical comparative result, Figure 3 shows that example, the hand-held file 4 of user will make a part of subimage block 42 on user interface 12 can present the first color with parallel not the produced inclination angle [theta] of camera lens 11, the subimage block 42 of another part presents the second color, now, in order to reduce inclination angle [theta], user can adjust the angle of hand-held file 4 so that all subimage blocks 42 all present the second color by the indication at user interface 12, then image collecting device 1 will gather the image of hand-held file 4 automatically, so will make the All Ranges on master image picture 41 all there is image clearly, effectively solve user and cannot learn that whether parallel with subject camera lens 11 master image picture 41 parts that cause of image collecting device 1 are clear, the puzzlement that part is fuzzy.
The foregoing is only preferred embodiment of the present invention, not in order to limit claim scope of the present invention, therefore all other do not depart from the equivalence change completing under disclosed spirit or modifies, and all should be contained in scope of the present invention.

Claims (2)

1. indicate user to judge whether parallel with the subject method of camera lens of image collecting device, it is characterized in that, comprising:
Take subject and obtain master image picture;
By this master image picture segmentation, be multiple subimage blocks;
Calculate the resolution value of each this subimage block;
The resolution value of each this subimage block and a threshold value are made comparisons;
On each this subimage block, show the resolution value of this subimage block and the comparative result of this threshold value, wherein this comparative result is to present by the difference of color or the weight of color; And
According to this shown comparative result, gather this master image picture, wherein, when the shown color of this comparative result or weight difference, output one indication information, supplies user to adjust the angle of subject; And when the shown color of this comparative result of any two these subimage blocks or weight are when identical, gather this master image picture.
2. indication user as claimed in claim 1 judges whether parallel with the subject method of camera lens of image collecting device, it is characterized in that: this resolution value is to be calculated and obtained by modulation transfer function.
CN201010146474.9A 2010-04-13 2010-04-13 Method for indicating user to judge if the lens of image acquisition device parallel to the subject Expired - Fee Related CN102223472B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010146474.9A CN102223472B (en) 2010-04-13 2010-04-13 Method for indicating user to judge if the lens of image acquisition device parallel to the subject

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010146474.9A CN102223472B (en) 2010-04-13 2010-04-13 Method for indicating user to judge if the lens of image acquisition device parallel to the subject

Publications (2)

Publication Number Publication Date
CN102223472A CN102223472A (en) 2011-10-19
CN102223472B true CN102223472B (en) 2014-04-30

Family

ID=44779889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010146474.9A Expired - Fee Related CN102223472B (en) 2010-04-13 2010-04-13 Method for indicating user to judge if the lens of image acquisition device parallel to the subject

Country Status (1)

Country Link
CN (1) CN102223472B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210529B (en) * 2016-07-29 2017-10-17 广东欧珀移动通信有限公司 The image pickup method and device of mobile terminal
CN108052159A (en) * 2017-11-30 2018-05-18 努比亚技术有限公司 Control method, mobile terminal and the computer readable storage medium of display screen

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004241824A (en) * 2003-02-03 2004-08-26 Konica Minolta Holdings Inc Imaging method and imaging apparatus
CN1621933A (en) * 2003-11-27 2005-06-01 财团法人工业技术研究院 Camera array calibration system and method
CN1932632A (en) * 2005-09-15 2007-03-21 乐金电子(中国)研究开发中心有限公司 Lens automatic focusing method and device for mobile communication terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004241824A (en) * 2003-02-03 2004-08-26 Konica Minolta Holdings Inc Imaging method and imaging apparatus
CN1621933A (en) * 2003-11-27 2005-06-01 财团法人工业技术研究院 Camera array calibration system and method
CN1932632A (en) * 2005-09-15 2007-03-21 乐金电子(中国)研究开发中心有限公司 Lens automatic focusing method and device for mobile communication terminal

Also Published As

Publication number Publication date
CN102223472A (en) 2011-10-19

Similar Documents

Publication Publication Date Title
CN103491299B (en) One is taken pictures treating method and apparatus
CN105933607B (en) A kind of take pictures effect method of adjustment and the mobile terminal of mobile terminal
US9489564B2 (en) Method and apparatus for prioritizing image quality of a particular subject within an image
CN102365645B (en) Organizing digital images by correlating faces
JP4772839B2 (en) Image identification method and imaging apparatus
CN105303161A (en) Method and device for shooting multiple people
CN109684980B (en) Automatic scoring method and device
JP2017517980A (en) Image capturing parameter adjustment in preview mode
EP3547218A1 (en) File processing device and method, and graphical user interface
CN110992327A (en) Lens contamination state detection method and device, terminal and storage medium
CN108737739B (en) Preview picture acquisition method, preview picture acquisition device and electronic equipment
RU2643464C2 (en) Method and apparatus for classification of images
CN104539939A (en) Lens cleanliness detection method and system based on mobile terminal
CN105740379A (en) Photo classification management method and apparatus
CN103500337A (en) Quadrangular side frame identifying method and device applied to intelligent wireless communication terminal
CN110490186B (en) License plate recognition method and device and storage medium
WO2007007163A1 (en) Improved system and mwthod for exhibiting image focus information on a viewfinder
CN101620359A (en) Judging method of eye sight line
CN105574500A (en) Method and device for improving face recognition passing rate
CN106777071B (en) Method and device for acquiring reference information by image recognition
CN112115748B (en) Certificate image recognition method, device, terminal and storage medium
CN103605687A (en) Photographing and image recognizing system and method of mobile terminal
WO2015196681A1 (en) Picture processing method and electronic device
CN102223472B (en) Method for indicating user to judge if the lens of image acquisition device parallel to the subject
CN104408427A (en) Method and device for recognizing quadrangle of image

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

Granted publication date: 20140430

Termination date: 20190413