CN102375715A - Method and device for automatically adjusting lens images - Google Patents

Method and device for automatically adjusting lens images Download PDF

Info

Publication number
CN102375715A
CN102375715A CN2010102624444A CN201010262444A CN102375715A CN 102375715 A CN102375715 A CN 102375715A CN 2010102624444 A CN2010102624444 A CN 2010102624444A CN 201010262444 A CN201010262444 A CN 201010262444A CN 102375715 A CN102375715 A CN 102375715A
Authority
CN
China
Prior art keywords
user
image
lens image
needs
lens
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
CN2010102624444A
Other languages
Chinese (zh)
Other versions
CN102375715B (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.)
BEIJING ERDO TECHNOLOGY Co Ltd
Original Assignee
BEIJING ERDO TECHNOLOGY Co 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 BEIJING ERDO TECHNOLOGY Co Ltd filed Critical BEIJING ERDO TECHNOLOGY Co Ltd
Priority to CN201010262444.4A priority Critical patent/CN102375715B/en
Publication of CN102375715A publication Critical patent/CN102375715A/en
Application granted granted Critical
Publication of CN102375715B publication Critical patent/CN102375715B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a device for automatically adjusting lens images, wherein the method comprises the steps of: determining the lens images which are required to be displayed by a user in the same scene image, wherein the scene image comprises a plurality of the lens images; obtaining the width and height of the scene image; and adjusting the lens images which are required by the user according to the width and height of the scene image. The caricature can be quickly and accurately adjusted through adopting the method and the device for automatically adjusting the lens images.

Description

Automatically adjust the method and the device of camera lens
Technical field
The present invention relates to a kind of method and device of automatic adjustment camera lens.
Background technology
In order on mobile phone or various terminals, to show caricature; Often need a plurality of camera lenses (below be called lens image) to show a scene (below be called scene image); Because the number of shots that system distributes for the first time automatically not necessarily meets the story of a play or opera of mobile phone cartoon and represents; The more unnecessary camera lenses of common meeting are so need delete one or several camera lens when editor.
In correlation technique, the user is being thought necessary, when perhaps the camera lens that needs of user is adjusted, often need manual the adjustment, but this method adjustment time is long, and the adjustment accuracy is lower.
Summary of the invention
When in the correlation technique caricature in the scene being edited to the caricature adjustment time the long and adjustment lower problem of accuracy and propose the present invention; For this reason; Fundamental purpose of the present invention is to provide a kind of method of automatic adjustment camera lens, to address the above problem.
To achieve these goals, according to an aspect of the present invention, a kind of method of automatic adjustment camera lens is provided.Method according to automatic adjustment camera lens of the present invention comprises: confirm the lens image that the user need show in the Same Scene image, wherein, comprise a plurality of lens image in the scene image; Obtain the width and the height of scene image; And according to the lens image of the width and the height control user needs of scene image.
To achieve these goals, according to a further aspect in the invention, a kind of device of automatic adjustment camera lens is provided.This device comprises: determination module, be used for the lens image that definite Same Scene image user need show, and wherein, comprise a plurality of lens image in the scene image; Acquisition module is used to obtain the width and the height of scene image; And adjusting module, be used for lens image according to the width and the height control user needs of scene image.
Through the present invention, adopt the lens image of confirming that the user need show in the Same Scene image, wherein, comprise a plurality of lens image in the scene image; Obtain the width and the height of scene image; And according to the lens image of the width and the height control user needs of scene image; Solved in the correlation technique when caricature in the scene edited the long and lower problem of adjustment accuracy, and then reached the effect of rapidly and accurately caricature being adjusted the caricature adjustment time.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the schematic representation of apparatus according to the automatic adjustment camera lens of first embodiment of the invention;
Fig. 2 is the process flow diagram according to the method for the automatic adjustment camera lens of the embodiment of the invention;
Fig. 3 is the schematic representation of apparatus according to the automatic adjustment camera lens of second embodiment of the invention.
Embodiment
Need to prove that under the situation of not conflicting, embodiment and the characteristic among the embodiment among the application can make up each other.Below with reference to accompanying drawing and combine embodiment to specify the present invention.
Fig. 1 is the schematic representation of apparatus according to the automatic adjustment camera lens of the embodiment of the invention.As shown in the figure, this device of adjusting camera lens automatically comprises determination module 102, acquisition module 104 and adjusting module 106.
Wherein, determination module 102 is used for the lens image that definite Same Scene image user need show, wherein, comprises a plurality of lens image in the said scene image; Acquisition module 104 is used to obtain the width and the height of said scene image; And adjusting module 106 is used for the lens image according to the width and the said user's needs of height control of said scene image.
Fig. 2 is the process flow diagram according to the method for the automatic adjustment camera lens of the embodiment of the invention.As shown in Figure 2, this method comprises that following step S202 is to step S206:
Step S202 confirms the lens image that the user need show in the Same Scene image, wherein, comprises a plurality of lens image in the scene image;
For example, can adopt following method to confirm the lens image that the user in the Same Scene image needs:
The image that the user selects is confirmed as the image that the user needs; And/or
With the user from scene image after the deletion lens image remaining lens image confirm as the lens image that the user needs.
In this step; The device that can be above-mentioned automatic adjustment camera lens is judged to confirm the needed lens image of user according to user's operation; Can be direct selection, also directly confirm as the user and delete the lens image of being left behind the partial lens image according to the user.
Step S204, obtain scene image width and the height; And
Step S206 is according to the lens image of the width and the height control user needs of scene image.
In the method, adjust the device of camera lens automatically and carry out above-mentioned operation successively, make this device of adjusting camera lens automatically to adjust the lens image of user's needs exactly according to the swift to operate of user.
Preferably, said method also comprises: whether the lens image of judges needs is one; And be that the lens image that the user is needed is adjusted into width identical with scene image and identical height under one the situation in the lens image that the user needs.
Preferably, said method also comprises: whether the lens image of judges needs is a plurality of; Under the lens image that the user needs is a plurality of situation, the arrangement mode of the lens image that judges needs; Under the lens image that the user needs was horizontal situation, the height of the lens image that the adjustment user needs equaled the height of scene image; For under the situation longitudinally, the width of the lens image of adjustment user needs equals the width of scene image in lens image that the user needs.
Wherein, under the lens image that the user needs was a plurality of situation, the arrangement mode of the lens image that judges needs comprised: with the width of the lens image of the user's needs width divided by scene image, obtain first numerical value; The height of the lens image that the user is needed obtains second value divided by the height of scene image; Wherein, at first numerical value during greater than second value, the arrangement mode of confirming the lens image that the user needs is for laterally, and at first numerical value during less than second value, the arrangement mode of confirming the lens image that the user needs is for vertically.
For example, after deleting unnecessary camera lens, when remaining camera lens is 1, obtain the width and the height value of scene, make the camera lens frame on height and width, comprise whole scene fully.
After deleting unnecessary camera lens, when remaining camera lens greater than 1 the time, obtain the width and the height value of scene, judge that scene is laterally or vertically.Standard is: currentitem purpose width is divided by the width of picture; If greater than the height of currentitem purpose height divided by picture; So just think that scene is laterally, just the height of adjustment camera lens frame equals the scene height automatically, is arranged in order the camera lens of back then in order.If currentitem purpose width divided by the width of picture, less than the height of currentitem purpose height divided by picture, so just thinks that scene is vertically, just the width of adjustment camera lens frame equals the scene width automatically, is arranged in order remaining camera lens then in order.
Need to prove that the above-mentioned user who mentions can be a user, also can be a plurality of users.
Need to prove; Can in computer system, carry out in the step shown in the process flow diagram of accompanying drawing such as a set of computer-executable instructions; And; Though logical order has been shown in process flow diagram, in some cases, can have carried out step shown or that describe with the order that is different from here.
Fig. 3 is the schematic representation of apparatus according to the automatic adjustment camera lens of second embodiment of the invention.
The difference of this embodiment and first embodiment is that mainly determination module comprises that first confirms submodule and/or second definite submodule.
Wherein, first confirms submodule, is used for the image that the user selects is confirmed as the image of user's needs; And/or second confirm submodule, is used for user's remaining lens image after scene image deletion lens image is confirmed as the lens image of user's needs.
Automatically the device of adjustment camera lens can also comprise: first judge module; Whether the lens image that is used for the judges needs is one; Wherein, It is that the lens image that the user is needed is adjusted into width identical with scene image and identical height under one the situation that adjusting module is used for lens image at user's needs.
Preferably, the device of above-mentioned automatic adjustment camera lens also comprises: second judge module, and whether the lens image that is used for the judges needs is a plurality of; The 3rd judge module; Under the lens image that the user needs is a plurality of situation, the arrangement mode of the lens image that judges needs, wherein; It is under the horizontal situation that adjusting module is used for lens image at user's needs; The height of the lens image that the adjustment user needs equals the height of scene image, and in lens image that the user needs under the situation longitudinally, the adjustment user need the width of lens image equal the width of scene image.
The 3rd judge module can also comprise: first computing module is used for the width of the lens image of the user's needs width divided by scene image is obtained first numerical value; Second computing module is used for the height of the lens image of the user's needs height divided by scene image is obtained second value; Judge submodule, be used at first numerical value during greater than second value that the arrangement mode of confirming the lens image that the user needs is for laterally, at first numerical value during less than second value, the arrangement mode of confirming the lens image that the user needs is for vertically.
Position and size and rightly on mobile phone screen the display image of the present invention through the adjustment camera lens: judge the camera lens number, when the camera lens number is 1, make the camera lens frame on height and width, comprise whole scene fully; When the camera lens number greater than 1 the time; Width through camera lens is laterally or vertically divided by the scene of relatively judging of the height of scene with respect to camera lens divided by the height of the width of scene and camera lens; When scene when being horizontal automatically the height of adjustment camera lens frame equal the height of scene, the camera lens after the series arrangement afterwards; When scene when being vertical automatically the width of adjustment camera lens frame equal the width of scene, the camera lens after the series arrangement afterwards.
From above description, can find out that method and apparatus provided by the invention can be adjusted the lens image of user's needs according to the swift to operate of user exactly.
Obviously, it is apparent to those skilled in the art that above-mentioned each module of the present invention or each step can realize with the general calculation device; They can concentrate on the single calculation element; Perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element; Thereby; Can they be stored in the memory storage and carry out, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize by calculation element.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a method of adjusting camera lens automatically is characterized in that, comprising:
Confirm the lens image that the user need show in the Same Scene image, wherein, comprise a plurality of lens image in the said scene image;
Obtain the width and the height of said scene image; And
Lens image according to the width and the said user's needs of height control of said scene image.
2. method according to claim 1 is characterized in that, confirms that the lens image that the user in the Same Scene image needs comprises:
The image that said user selects is confirmed as the image that said user needs; And/or
With said user from said scene image after the deletion lens image remaining lens image confirm as the lens image that said user needs.
3. method according to claim 1 is characterized in that, said method also comprises:
Judge whether the lens image that said user needs is one; And
Be that the lens image that said user is needed is adjusted into width identical with said scene image and identical height under one the situation in the lens image that said user needs.
4. method according to claim 1 is characterized in that, said method also comprises:
Judge whether the lens image that said user needs is a plurality of;
Under the lens image that said user needs is a plurality of situation, judge the arrangement mode of the lens image that said user needs;
Under the lens image that said user needs was transversely arranged situation, the height of adjusting the lens image that said user needs equaled the height of said scene image;
Lens image at said user's needs is under the situation of vertically arranging, and the width of adjusting the lens image of said user's needs equals the width of said scene image.
5. method according to claim 4 is characterized in that, under the lens image that said user needs is a plurality of situation, judges that the arrangement mode of the lens image that said user needs comprises:
The width of the lens image that said user is needed obtains first numerical value divided by the width of said scene image;
The height of the lens image that said user is needed obtains second value divided by the height of said scene image;
Wherein, at said first numerical value during greater than said second value, the arrangement mode of confirming the lens image that said user needs is for laterally, and at said first numerical value during less than said second value, the arrangement mode of confirming the lens image that said user needs is for vertically.
6. a device of adjusting camera lens automatically is characterized in that, comprising:
Determination module is used for the lens image that definite Same Scene image user need show, wherein, comprises a plurality of lens image in the said scene image;
Acquisition module is used to obtain the width and the height of said scene image; And
Adjusting module is used for the lens image according to the width and the said user's needs of height control of said scene image.
7. device according to claim 6 is characterized in that, said determination module comprises:
First confirms submodule, is used for the image that said user selects is confirmed as the image of said user's needs; And/or
Second confirms submodule, is used for said user remaining lens image after said scene image deletion lens image is confirmed as the lens image of said user's needs.
8. device according to claim 6 is characterized in that, also comprises:
First judge module is used to judge whether the lens image of said user's needs is one,
Wherein, to be used for lens image at said user's needs be that the lens image that said user is needed is adjusted into width identical with said scene image and identical height under one the situation to said adjusting module.
9. device according to claim 6 is characterized in that, also comprises:
Second judge module is used to judge whether the lens image of said user's needs is a plurality of;
The 3rd judge module under the lens image that said user needs is a plurality of situation, is judged the arrangement mode of the lens image that said user needs,
Wherein, It is under the transversely arranged situation that said adjusting module is used for lens image at said user's needs; The height of adjusting the lens image of said user's needs equals the height of said scene image; And be under the situation of vertically arranging in the lens image that said user needs, the width of adjusting the lens image of said user's needs equals the width of said scene image.
10. device according to claim 9 is characterized in that, said the 3rd judge module comprises:
First computing module is used for the width of the lens image of the said user's needs width divided by said scene image is obtained first numerical value;
Second computing module is used for the height of the lens image of the said user's needs height divided by said scene image is obtained second value;
Judge submodule; Be used at said first numerical value during greater than said second value; The arrangement mode of confirming the lens image that said user needs is for laterally, and at said first numerical value during less than said second value, the arrangement mode of confirming the lens image that said user needs is for vertically.
CN201010262444.4A 2010-08-25 2010-08-25 Method and device for automatically adjusting lens Active CN102375715B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010262444.4A CN102375715B (en) 2010-08-25 2010-08-25 Method and device for automatically adjusting lens

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010262444.4A CN102375715B (en) 2010-08-25 2010-08-25 Method and device for automatically adjusting lens

Publications (2)

Publication Number Publication Date
CN102375715A true CN102375715A (en) 2012-03-14
CN102375715B CN102375715B (en) 2014-04-16

Family

ID=45794366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010262444.4A Active CN102375715B (en) 2010-08-25 2010-08-25 Method and device for automatically adjusting lens

Country Status (1)

Country Link
CN (1) CN102375715B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0884698A1 (en) * 1997-06-09 1998-12-16 Eastman Kodak Company Method of optimising the filling of an editing medium with digital images of variable sizes, and with preservation of the size ratios
US6741270B1 (en) * 2000-01-19 2004-05-25 Xerox Corporation Systems and methods scaling a captured image using predetermined scale information
US6825860B1 (en) * 2000-09-29 2004-11-30 Rockwell Automation Technologies, Inc. Autoscaling/autosizing user interface window
CN1703725A (en) * 2002-10-15 2005-11-30 精工爱普生株式会社 Panorama synthesis processing of a plurality of image data
CN1846250A (en) * 2003-09-03 2006-10-11 奥林巴斯株式会社 Image display apparatus, image display program, image display method, and recording medium for recording the image display program
CN101494716A (en) * 2007-08-10 2009-07-29 夏普株式会社 Image formation device, image formation method, and computer-readable recording medium recording image formation program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0884698A1 (en) * 1997-06-09 1998-12-16 Eastman Kodak Company Method of optimising the filling of an editing medium with digital images of variable sizes, and with preservation of the size ratios
US6741270B1 (en) * 2000-01-19 2004-05-25 Xerox Corporation Systems and methods scaling a captured image using predetermined scale information
US6825860B1 (en) * 2000-09-29 2004-11-30 Rockwell Automation Technologies, Inc. Autoscaling/autosizing user interface window
CN1703725A (en) * 2002-10-15 2005-11-30 精工爱普生株式会社 Panorama synthesis processing of a plurality of image data
CN1846250A (en) * 2003-09-03 2006-10-11 奥林巴斯株式会社 Image display apparatus, image display program, image display method, and recording medium for recording the image display program
CN101494716A (en) * 2007-08-10 2009-07-29 夏普株式会社 Image formation device, image formation method, and computer-readable recording medium recording image formation program

Also Published As

Publication number Publication date
CN102375715B (en) 2014-04-16

Similar Documents

Publication Publication Date Title
US9179070B2 (en) Method for adjusting focus position and electronic apparatus
US7508438B2 (en) Digital camera having a bracketing capability
CN103209291A (en) Method, apparatus and device for controlling automatic image shooting
US9426356B2 (en) Method, apparatus and computer program for selecting images
CN105247567B (en) A kind of image focusing device, method, system and non-transient program storage device again
CN104735348B (en) Double-camera photographing method and system
CN101093348A (en) Apparatus and method for panoramic photography in portable terminal
CN102972036B (en) Replay device, compound eye imaging device, playback method and program
US9277201B2 (en) Image processing device and method, and imaging device
JP5833254B2 (en) Image processing apparatus, imaging apparatus, image processing method, and image processing program
CN104349068A (en) Shooting method and electronic equipment
CN101888482A (en) Method and system for simultaneously displaying multiple focal length images and mobile terminal
CN102948157A (en) Stereoscopic image display device, stereoscopic image display method, stereoscopic image display program, and recording medium
CN104333695A (en) Method and device for processing split-screen shooting, and client
JPWO2014155813A1 (en) Image processing apparatus, imaging apparatus, image processing method, and image processing program
CN105075235A (en) Image processing device, image capturing apparatus, image processing method, and image processing program
CN111835982B (en) Image acquisition method, image acquisition device, electronic device, and storage medium
CN113411498A (en) Image shooting method, mobile terminal and storage medium
CN106227628A (en) The method of testing of a kind of mosaic screen and device
CN103945116A (en) Apparatus and method for processing image in mobile terminal having camera
CN104247412A (en) Image processing device, imaging device, image processing method, recording medium, and program
CN104917974A (en) Long exposure method and camera device
CN112188278B (en) Method and system for controlling display screen through mobile device connection
EP3206387A1 (en) Image dynamic range adjustment method, terminal, and storage media
CN104918011A (en) Method and device for playing video

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
C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: Diao Xudong

Inventor after: Jia Songtao

Inventor before: Diao Xudong

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: DIAO XUDONG TO: DIAO XUDONG JIA SONGTAO