CN101144958A - Automatic focusing method possessing double main body image - Google Patents

Automatic focusing method possessing double main body image Download PDF

Info

Publication number
CN101144958A
CN101144958A CNA2006101291404A CN200610129140A CN101144958A CN 101144958 A CN101144958 A CN 101144958A CN A2006101291404 A CNA2006101291404 A CN A2006101291404A CN 200610129140 A CN200610129140 A CN 200610129140A CN 101144958 A CN101144958 A CN 101144958A
Authority
CN
China
Prior art keywords
image
area
focusing
step number
main body
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
CNA2006101291404A
Other languages
Chinese (zh)
Other versions
CN100573301C (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 CNB2006101291404A priority Critical patent/CN100573301C/en
Publication of CN101144958A publication Critical patent/CN101144958A/en
Application granted granted Critical
Publication of CN100573301C publication Critical patent/CN100573301C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

The present invention provides an autofocus method of the image with double subjects, wherein, the image with double subjects can be divided into a first region and a second region; and the first region is corresponding to the step number of a first focus lens, and thereby the second region is corresponding to the step number of a second focus lens; after getting a first image by focusing in the first region, whether or not to get a second image by focusing in the second region can be determined by comparing the step number of the first focus lens with the step number of the second focus lens.

Description

Automatic focusing method with double main body image
Technical field
The invention provides a kind of image focusing method, the focusing method of the image with two main bodys especially is provided.
Background technology
Digital image pick-up, for example: digital camera, camera cell phone etc. has developed into the very degree of universalness, and not only camera properties will be got well, and it is exquisite small and exquisite that the phase machine outer type is wanted especially.Be the epoch of paying attention to recreation now, modern's out on tours often, digital camera has become one of essential items.
With regard to image capture unit, the automatic focusing of image is an important techniques very, if can not focus at correct main body, just may take unsharp image.The situation that can influence the focusing correctness has many kinds, for example can make image capture unit correctly to focus under the situation of low illuminance, not obvious, the two main bodys of contrast and glass-reflected.
Situation with two main bodys, so-called pair of main body is meant and includes two main bodys in the same picture that is taken, wherein very approaching or second main body of first main body and second main body is at the first main body rear but second main body has very high definition values, therefore this makes image capture unit can't judge which is only the shooting body that photographer wants, and is easy to lose burnt or to wrong main body.
And the situation of glass-reflected is meant in coverage have glass to exist, and glass can reflect the reflected image of main body, makes reflected image become second main body, thereby produces and two similar situations of main body.
Above-mentioned focusing is bad or when losing situation such as Jiao taking place, and known solution is to determine that by user's checking image mistake claps once again, but the scape of image and software and hardware all are the same, and same mistake once still takes place most probably once again in bat again.Or adopt the mode of manual focus to take once again.But most user is for the running program and the method for manual focus and be unfamiliar with, thereby causes the inconvenience in the use.
Therefore need a kind of focusing method of novelty to solve the problems referred to above.
Summary of the invention
The object of the present invention is to provide a kind of automatic focusing method at image with two main bodys.
In a preferred embodiment, the invention provides a kind of focusing method with image of two main bodys, comprise the sharp image of the scope that is taken of first main body and second main body in order to acquisition; This method comprises:
Use image capture unit that the focusing of first main body is obtained the pre-image of clapping;
To clap image in advance and be divided into first area and second area, wherein the first area comprises first main body, and the corresponding first focus lens step number in first area and the corresponding second focus lens step number of second area;
First area focusing shooting is obtained first image; And
Relatively whether the first camera lens step number and the second camera lens step number obtain second image to second area focusing shooting with decision; Wherein
When the second camera lens step number drops in the identical field depth with the first camera lens step number, second area focusing is not taken, and when the second camera lens step number with in the first camera lens step number drops on two different field depths the time, to focus shooting and obtain second image of second area.
Preferred person wherein determines the method for first area to comprise:
To clap in advance that image is divided into a plurality of blocks and each block all has definition values;
Sizes values according to the definition values that described block had determines described block to belong to first area or second area.
Preferred person, wherein the definition values of the block of first area is greater than the definition values of the block of second area.
Description of drawings
Fig. 1 is the image analysing computer figure of the preferred embodiments of the present invention.
Fig. 2 (a), Fig. 2 (b), Fig. 2 (c), Fig. 2 (d) are the focusing curve map of the preferred embodiments of the present invention.
Wherein, description of reference numerals is as follows:
100 pre-image A, A ', B, B ', P, the P ' curves of focusing of clapping
101 block D field depths
102 first main body Sa, Sa ', Sb, Sb ' camera lens step number
103 second main bodys, 104 first areas
105 second areas
Embodiment
Bad and lose burnt phenomenon in order to improve focusing under two main body situations, the present invention propose a kind of under two main body situations focusing method automatically.Be described in detail as follows.
In having the picture that is taken of two main bodys, can comprise first main body and second main body.See also Fig. 1, it is for the image analysing computer figure with two main bodys of a preferred embodiment of the present invention.Image in first figure comprises first main body 102 and second main body 103.Use earlier digital image pick-up to 102 focusings of first main body and obtain the pre-image 100 of clapping, whether decision will be to the shooting of focusing of second main body 103 again.Implementation method is as follows: will clap image 100 in advance and be cut into a plurality of blocks (Block) 101, present embodiment will be clapped image 100 in advance and be cut into 12 * 8 blocks 101, and wherein each block 101 all has pairing definition values (Focus Value).Then the definition values of these blocks 101 is arranged from large to small, and a plurality of blocks 101 of getting preceding 40% definition values place can comprise first main body 102 as first area 104 (promptly being labeled the block of " o " among first figure) and first area 104.Other a plurality of blocks 101 that are not chosen as first area 104 can be set to a second area 105 block of (that is be not labeled " o "), and this second area 105 can comprise this second main body 103.Analyze this first area 104 by known method and can obtain first focus lens step number of corresponding first area 104 and the second focus lens step number of corresponding second area 105 (can't analyze sometimes and obtain the second focus lens step number, must could obtain the second focusing step number this moment to second area 105 focusings) respectively with this second area 105.Then, first area 104 focusing shootings are obtained first image.Next, in order to determine whether to need to take second image, we compare the first focus lens step number and the second focus lens step number, if the second camera lens step number and the first camera lens step number drop in the same field depth, the image that expression is obtained at first area 104 focusing and at second area 105 focusings to take the image definition that is obtained be approaching, therefore not needing focuses to second area 105 again takes, and only need get first image is that representative gets final product.And if the second camera lens step number and the first camera lens step number are when dropping on two different field depths, then the sharpness of the image of before the expression first area 104 focusing being taken and 105 focusings to the second area focusing of taking the images that obtain is from there being suitable gap, so is necessary focus shooting and obtain second image of second area 105.And the user can will keep that image to save valuable shooting time in decide in its sole discretion afterwards.
With the focusing curve map principle of the present invention is described, Fig. 2 (a), Fig. 2 (b), Fig. 2 (c), Fig. 2 (d) are the focusing curve map of a preferred embodiment of the present invention, and wherein transverse axis is the camera lens step number, and the longitudinal axis is a definition values.Expression need not taken at the focusing of second main body under the situation of Fig. 2 (a), Fig. 2 (b), and takes to obtain second image next need the focusing to second main body of the situation of Fig. 2 (c), Fig. 2 (d).
See also Fig. 2 (a), it is the pre-focusing curve map of clapping image, and P curve wherein is a whole pre-articulation curve of clapping image.
See also Fig. 2 (b), the focusing curve of corresponding first area when wherein the A curve is pre-bat the, the focusing curve of corresponding second area when the B curve is pre-the bat.First camera lens step number Sa that is learnt by the A curve and the second camera lens step number Sb that is obtained by the B curve are very approaching, and shown in Fig. 2 (b), the first camera lens step number Sa and the second camera lens step number Sb all drop in the same field depth D.Because optical module has the characteristic of the depth of field, just the image that in field depth D, obtained of made thing can be regarded as clear.It is clear that the image that the first camera lens step number Sa and the second camera lens step number Sb all drop on the image that is shown in the first area in the pre-bat image in the same field depth D and second area is all, just whole pre-clap image can be regarded as clear.It is sharp image that first image that is obtained and second image that second area focusing shooting is obtained are taken in the first area focusing, adding the first camera lens step number Sa all drops in the identical field depth D with the second camera lens step number Sb, the effect and the readability of two images that expression is just obtained first area and second area focusing shooting respectively are very approaching, therefore do not need second area focusing shooting, with first image is that representative gets final product, and reduces the unnecessary memory waste thus.
Besides the bright situation that needs to take second image.See also Fig. 2 (c), it is another pre-focusing curve map of clapping image, wherein has P ' curve to be another pre-articulation curve of clapping image.Wherein the P curve among P ' curve ratio Fig. 2 (a) wants wideer.
See also Fig. 2 (d), the focusing curve of corresponding first area when wherein A ' curve is pre-bat the, the focusing curve of corresponding second area when B ' curve is pre-the bat.The first camera lens step number Sa ' that corresponds to A ' curve in Fig. 2 (d) is comprised in the field depth D, and the second camera lens step number Sb ' that corresponds to B ' curve does not drop in the field depth D, and then to be illustrated in first area image in the pre-bat image be clear but the second area image blurs.Therefore have only the part of first area that the focusing error does not take place pre-when clapping focusing, go for the sharp image of second main body, then must be in addition to second area shootings of focusing automatically, and second image of taking acquisition is clear.
Except that the problem of double main body image, also be that part with reflecting body is considered as second main body for the situation of glass-reflected, focus respectively with the method for double main body image equally and take and obtain two sharp images, just do not need the sharp image of reflecting body usually.
The inventive method is considered as two made things with the image of two main bodys, if the noticeable image of background then is considered as background second main body, respectively first main body and the focusing of second main body are taken, can obtain two correct images of focusing, the made thing that relief user selects oneself to want is the image of main body.And when the first camera lens step number all fell within the identical field depth with the second camera lens step number, only needing first image based on first main body was representative.The step of the inventive method is all implemented by program, the user only need equally press the shooting button with shooting at ordinary times and get final product, all the other work are all done by program, not only easy to operate and can save internal memory, the most important thing is that the inventive method can be employed in general general digital image pick-up, ubiquity is relatively lower again than high-order image capture unit height with manual focus function and cost.
The above is the preferred embodiments of the present invention only, is not in order to limiting claim of the present invention, and all other do not break away from the equivalence of being finished under the disclosed spirit and change or modify, and all should be contained in the claim of the present invention.

Claims (3)

1. focusing method with image of two main bodys is in order to the sharp image of the scope that is taken that obtains to comprise first main body and second main body; This method comprises:
Use image capture unit that this first main body focusing is obtained the pre-image of clapping;
Should clap image in advance and be divided into first area and second area, wherein this first area comprises this first main body, and the corresponding first focus lens step number in this first area and the corresponding second focus lens step number of this second area;
This first area focusing shooting is obtained first image; And
Relatively whether this first camera lens step number and this second camera lens step number obtain second image to this second area focusing shooting with decision; Wherein
When this second camera lens step number drops in the identical field depth with this first camera lens step number, this second area focusing is not taken, and when this second camera lens step number drops in two different field depths with this first camera lens step number, this second area focusing shooting is obtained second image.
2. the focusing method with image of two main bodys as claimed in claim 1 wherein determines the method for this first area to comprise:
Should clap in advance that image is divided into a plurality of blocks and each block all has definition values;
Size according to the definition values that described block had determines described block to belong to this first area or this second area.
3. the focusing method with image of two main bodys as claimed in claim 2, wherein the definition values of the block of this first area is greater than the definition values of the block of this second area.
CNB2006101291404A 2006-09-11 2006-09-11 Automatic focusing method with double main body image Expired - Fee Related CN100573301C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101291404A CN100573301C (en) 2006-09-11 2006-09-11 Automatic focusing method with double main body image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101291404A CN100573301C (en) 2006-09-11 2006-09-11 Automatic focusing method with double main body image

Publications (2)

Publication Number Publication Date
CN101144958A true CN101144958A (en) 2008-03-19
CN100573301C CN100573301C (en) 2009-12-23

Family

ID=39207553

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101291404A Expired - Fee Related CN100573301C (en) 2006-09-11 2006-09-11 Automatic focusing method with double main body image

Country Status (1)

Country Link
CN (1) CN100573301C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8035722B2 (en) 2008-09-19 2011-10-11 Hon Hai Precision Industry Co., Ltd. System and method for calculating dimensions of object during image capture of object for use in imaging device
CN103685907A (en) * 2012-09-26 2014-03-26 联想(北京)有限公司 Image acquisition method and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8035722B2 (en) 2008-09-19 2011-10-11 Hon Hai Precision Industry Co., Ltd. System and method for calculating dimensions of object during image capture of object for use in imaging device
CN103685907A (en) * 2012-09-26 2014-03-26 联想(北京)有限公司 Image acquisition method and electronic equipment

Also Published As

Publication number Publication date
CN100573301C (en) 2009-12-23

Similar Documents

Publication Publication Date Title
EP3200446A1 (en) Method and apparatus for generating high dynamic range image
CN101802673B (en) Imaging apparatus
CN105007420B (en) A kind of focusing method and mobile terminal
US7528883B2 (en) Method for blurred image judgment
US9473687B2 (en) Modifying image parameters using wearable device input
US11570376B2 (en) All-in-focus implementation
US9591231B2 (en) Image processing apparatus capable of properly emphasizing differences in brightness between bright spots, image processing method, and storage medium
JP5068214B2 (en) Apparatus and method for automatic focusing of an image sensor
CN105007421A (en) Picture shooting method and mobile terminal
CN104349033A (en) Self-timer light supplement method, self-timer light supplement device and electronic equipment
CN101334578A (en) Image photographing apparatus, image photographing method, and computer program
CN104205204A (en) Image display device and method
CN101646017A (en) Automatic photographing method for face detection
JP6086975B2 (en) Image processing apparatus, imaging apparatus, image processing method, and image processing program
CN103795934A (en) Image processing method and electronic device
CN102955664A (en) Method and system for electronic book display adjustment
JP2019086775A (en) Image processing device, control method thereof, program, and storage medium
CN101263419B (en) Trigger tone of a camera
CN105409198B (en) Photographic device and image processing method
CN113810604B (en) Document shooting method, electronic device and storage medium
CN104641624A (en) Image processing device, imaging device, image processing method, and image processing program
JPWO2014045740A1 (en) Image processing apparatus, imaging apparatus, image processing method, and image processing program
US7920202B2 (en) Apparatus and method to control focusing of photographing device
WO2010116478A1 (en) Image processing device, image processing method, and image processing program
CN100573301C (en) Automatic focusing method with double main body 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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091223

Termination date: 20130911