CN104580876B - A kind of image acquiring method and electronic equipment - Google Patents

A kind of image acquiring method and electronic equipment Download PDF

Info

Publication number
CN104580876B
CN104580876B CN201310517103.0A CN201310517103A CN104580876B CN 104580876 B CN104580876 B CN 104580876B CN 201310517103 A CN201310517103 A CN 201310517103A CN 104580876 B CN104580876 B CN 104580876B
Authority
CN
China
Prior art keywords
image
area
display
display unit
unit
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.)
Active
Application number
CN201310517103.0A
Other languages
Chinese (zh)
Other versions
CN104580876A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310517103.0A priority Critical patent/CN104580876B/en
Publication of CN104580876A publication Critical patent/CN104580876A/en
Application granted granted Critical
Publication of CN104580876B publication Critical patent/CN104580876B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The embodiment of the present invention provides a kind of image acquiring method and electronic equipment, is related to optical field, can reduce the interference of error, realizes exact focus when shooting the lesser target object of volume.Described image acquisition methods, comprising: the first image of first area where obtaining target object;The second image of second area is amplified by the first operation, for the target object in the second area, the first area includes the second area, and the area of the second area is less than the area of the first area;It is focused by the second operation to the second image of the second area where the target object, obtains the third image of the first area, store the third image.Image acquiring method and electronic equipment provided in an embodiment of the present invention are for obtaining image.

Description

A kind of image acquiring method and electronic equipment
Technical field
The present invention relates to optical field more particularly to a kind of image acquiring methods and electronic equipment.
Background technique
Currently, the shooting function of shooting mobile phone and camera is stronger and stronger, the effect taken a picture also is become better and better, shooting Generally use TTL(Through the Taking Lens when object, pass through the light quantity of camera lens) by way of focus, that is, exist Constant testing is persistently adjusted during the position of camera lens to realize pair by the light quantity peak value of the camera lens point clearest as imaging It is burnt.But in the prior art, in particular by the shooting mobile phone of touch operation in the lesser target object of shooting volume, by It is larger in the relatively described target object of finger, it can not accurately touch the image of the target object, there are errors when focusing, cause The image for shooting target object described in photo is smudgy, and the subject image around the target object is high-visible, this The photo that sample is taken loses actual meaning.Therefore, the exact focus difficult to realize in the lesser target object of shooting volume.
Summary of the invention
The embodiment of the present invention provides a kind of image acquiring method and electronic equipment, can reduce the interference of error, clap Exact focus is realized when taking the photograph the target object of small volume.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, providing a kind of image acquiring method, it is applied to electronic equipment, the electronic equipment includes at least image Acquisition unit and display unit, comprising:
First image of first area where obtaining target object by described image acquisition unit, the first area is The real-time pickup area of described image acquisition unit progress Image Acquisition;
It controls the display unit and shows the first image;
The first operation is received, judges whether first operation meets the first predetermined condition, obtains the first judgement result;
If it is described first determine the result shows that it is described first operation meet first predetermined condition, control the display Second image of unit amplification display second area, in the second area, the first area includes the target object The second area, the area of the second area are less than the area of the first area;
The second operation is received, second operation is for showing that the focus of described image acquisition unit is set to the target Object;
Second operation is responded, control described image acquisition unit focusing is in the target object;
The third image of the first area, the focus setting of the third image are obtained by described image acquisition unit In the target object;
Store the third image.
If described first determines the result shows that first operation meets first predetermined condition, described in control Second image of display unit amplification display second area, specifically:
If it is described first determine the result shows that it is described first operation meet first predetermined condition, control the display Unit increases the display area of each pixel in second image.
If described first determines the result shows that first operation meets first predetermined condition, described in control Second image of display unit amplification display second area, further includes:
If it is described first determine the result shows that it is described first operation meet first predetermined condition, control the display Second image of unit amplification display second area, and the second image according to first operation adjustment is single in the display Display position in member.
The control display unit increases the display area of each pixel in second image, specifically:
The display area that the display unit increases each pixel in the first image is controlled, the display unit is increased The display area of each pixel in big second image.
The control display unit increases the display area of each pixel in second image, specifically:
It controls the display unit and shows the first image in whole image display area, described image display area is Region on the display unit, and the area of described image display area is less than or equal to the area of the display unit;
The display unit second image described in Overlapping display in the first image is controlled, and it is single to control the display Member increases the display area of each pixel in second image.
In the third image for obtaining the first area by described image acquisition unit, the coke of the third image Point is set to after the target object, before the storage third image, the method also includes:
It controls the display unit and shows the third image.
Second aspect provides a kind of electronic equipment, and the electronic equipment includes at least image acquisition units and display unit, Include:
Described image acquisition unit, for the first image of first area where obtaining target object, the first area The real-time pickup area of Image Acquisition is carried out for described image acquisition unit;
Control unit shows the first image for controlling the display unit;
Receiving unit judge described first operates whether meet the first predetermined condition, obtains for receiving the first operation One determines result;
Determine if described control unit is also used to described first the result shows that first operation meets described first and makes a reservation for Condition then controls the second image of the display unit amplification display second area, and the target object is in the second area Interior, the first area includes the second area, and the area of the second area is less than the area of the first area;
The receiving unit is also used to receive the second operation, and second operation is for showing described image acquisition unit Focus is set to the target object;
Described control unit is also used to respond second operation, and control described image acquisition unit focusing is in the target Object;
Described image acquisition unit is also used to obtain the third image of the first area, and the focus of the third image is set It is placed in the target object;
Storage unit, for storing the third image.
Described control unit is specifically used for:
If it is described first determine the result shows that it is described first operation meet first predetermined condition, control the display Unit increases the display area of each pixel in second image.
Described control unit is specifically used for:
If it is described first determine the result shows that it is described first operation meet first predetermined condition, control the display Second image of unit amplification display second area, and the second image according to first operation adjustment is single in the display Display position in member.
Described control unit is specifically used for:
The display area that the display unit increases each pixel in the first image is controlled, the display unit is increased The display area of each pixel in big second image.
Described control unit is specifically used for:
It controls the display unit and shows the first image in whole image display area, described image display area is Region on the display unit, and the area of described image display area is less than or equal to the area of the display unit;
The display unit second image described in Overlapping display in the first image is controlled, and it is single to control the display Member increases the display area of each pixel in second image.
Described control unit is also used to:
It controls the display unit and shows the third image.
A kind of image acquiring method and electronic equipment provided in an embodiment of the present invention, described image acquisition methods, comprising: logical Cross the first image of first area where described image acquisition unit obtains target object;It controls described in the display unit shows First image, the first area are the real-time pickup area that described image acquisition unit carries out Image Acquisition;Receive the first behaviour Make, judge whether first operation meets the first predetermined condition, obtains the first judgement result;If described first determines result table Bright first operation meets first predetermined condition, then controls the second figure of the display unit amplification display second area Picture, for the target object in the second area, the first area includes the second area, the face of the second area Product is less than the area of the first area;The second operation is received, second operation is for showing described image acquisition unit Focus is set to the target object;Second operation is responded, control described image acquisition unit focusing is in the object Body;The third image of the first area is obtained by described image acquisition unit, the focus of the third image is set to institute State target object;Store the third image.So, in the lesser target object of shooting volume, although finger is opposite The target object is larger, but after being operated by the first operation to the image of the target object, further according to user's Operating gesture is to the target object in the second image of second area described after processing by way of the light quantity TTL of camera lens It focuses, to shoot the target object, reduces the interference of error, thus real in the lesser target object of shooting volume Exact focus is showed.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of image acquiring method flow chart provided in an embodiment of the present invention;
Fig. 2 is a kind of electronic equipment structural schematic diagram provided in an embodiment of the present invention;
Fig. 3 is another electronic devices structure schematic diagram provided in an embodiment of the present invention;
Fig. 4 is another electronic devices structure schematic diagram provided in an embodiment of the present invention;
Fig. 5 is another electronic devices structure schematic diagram provided in an embodiment of the present invention;
Fig. 6 another another electronic devices structure schematic diagram provided in an embodiment of the present invention;
Fig. 7 is provided in an embodiment of the present invention and another electronic devices structure schematic diagram;
Fig. 8 another electronic devices structure schematic diagram again provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of image acquiring method, is applied to electronic equipment, and the electronic equipment includes at least Image acquisition units and display unit, as shown in Figure 1, comprising:
Step 101, target object is obtained by described image acquisition unit where first area the first image, described the One region is the real-time pickup area that described image acquisition unit carries out Image Acquisition.
When first operating body is shot with electronic equipment, object is obtained by the image acquisition units of the electronic equipment First image of first area where body, the Image Acquisition list of first area electronic equipment when being photographic subjects object The outdoor scene range that member is got in real time, the outdoor scene range that the target object is got in the image acquisition units of the electronic equipment Interior, the first image is the figure for the outdoor scene including the target object that the image acquisition units of the electronic equipment are got Picture.
Step 102, the control display unit show the first image.
Where the image acquisition units of the electronic equipment get target object after the first image of first area, the electricity Sub- equipment controls the display unit and shows that the first image, the first image are the image acquisition units of the electronic equipment The image of the outdoor scene including the target object got.
Step 103 receives the first operation, judges whether first operation meets the first predetermined condition, obtains first and sentences Determine result.
First operating body carries out the first operation to the display unit of electronic equipment, and the display unit of the electronic equipment receives the One operation, then the electronic equipment judges whether first operation meets the first predetermined condition, obtains the first judgement as a result, institute The first judgement result is stated for showing whether first operation meets the first predetermined condition.
If the display unit of the electronic equipment has touch function, the first operation can be amplifying operation, be enlarged Gesture can be amplifying gesture, i.e. the first operating body touches the display unit of electronic equipment by any two finger, simultaneously Dragging amplification movement is done from inside to outside;The gesture of the amplifying operation can also be double-click gesture, i.e. the first operating body is with arbitrarily One finger touches the display unit of electronic equipment, while target object position described in adopting consecutive click chemical reaction is twice.Described first Predetermined condition includes meeting the operation of amplifying gesture or meeting the operation for double-clicking gesture, and the first judgement result is for showing institute State whether the first operation meets the first predetermined condition.
If the display unit of the electronic equipment does not have touch function, it is assumed that the electronic equipment is general camera, this is common Camera includes image acquisition units and display unit, and the first operation can be is moved selection by finger by pressing entity directionkeys The region that frame amplifies the needs that select the display unit of general camera to show, then by pressing entity acknowledgement key to the choice box institute The region that the needs of selection amplify amplifies, and the choice box makes general camera by preset operation for the first operating body Choice box is shown on display unit.First predetermined condition includes the behaviour met by pressing entity directionkeys and entity acknowledgement key Make, the first judgement result is for showing whether first operation meets the first predetermined condition.
If step 104, it is described first determine the result shows that it is described first operation meet first predetermined condition, control Second image of the display unit amplification display second area, the target object is in the second area, and described first Region includes the second area, and the area of the second area is less than the area of the first area.
The first operation is being received, is judging whether first operation meets the first predetermined condition, is obtaining the first judgement knot After fruit, if first determines the result shows that the first operation of first operating body meets the electronic equipment preset first Predetermined condition, then the display unit of the electronic equipment increases the display area of each pixel in the first image for the secondth area Second image in domain amplifies, and amplified second image is made to be shown in whole image display area, in practical application, amplification Be that the image acquisition units of the electronic equipment get the first image of first area where target object, the electronic equipment A part of amplified first image is shown in display unit, that is, the second area including target object for needing to amplify Second image, described image display area is the region on the display unit, and the area of described image display area is less than Or the area equal to the display unit.If the first judgement is the result shows that the first operation of first operating body meets institute Preset first predetermined condition of electronic equipment is stated, then the electronic equipment controls its display unit in whole image display area When showing the first image, and controls the display unit and keep the first image of display, and with scheduled shape and display ruler Very little amplified second image of the Overlapping display in the first image.The second area can be the institute of the target object In region, and the second area triggers the electronic equipment by the first operating body within the scope of the first area manually Display unit amplify the target object where second area the second image.
Specifically, the first area includes the second area, the area of the second area is less than firstth area The area in domain, the second area can be located at any position of the first area.
If described first determines the result shows that first operation meets first predetermined condition, electronic equipment control Second image of the display unit amplification display second area, can also the second image according to first operation adjustment Display position on the display unit, first operation can also include drag operation, and drag operation gesture can be Drag gesture, the first operating body can touch the display unit of electronic equipment with any one finger, with the target object institute Drag action is carried out while doing drag action in the second image contact of second area, or amplify gesture, for example, described For second image of second area at the upper right corner of the display unit of the electronic equipment, the first operating body can drag second area The middle position of display unit of the second image to the electronic equipment show the second image of second area, can be made One operating body can be convenient carry out subsequent operation.
Assuming that the electronic equipment is general camera, which includes image acquisition units and display unit, the first behaviour Make body makes to show choice box on display unit by preset operation, and the pressing entity directionkeys that press...withes one's finger moves choice box to select Second image of the second area for needing to amplify calmly, then amplify by pressing entity acknowledgement key needs selected to the choice box After second image of second area amplifies, the display unit of the general camera can be shown in entire display area to be amplified Second image of second area afterwards, or first area can also be currently got in the image acquisition units of the general camera The first image after, the display unit of the general camera shows the first image, the second figure of amplified second area As with scheduled shape and display size Overlapping display in the first image, and can be in the display of the general camera The middle position of unit shows second image.
Particularly, the ratio of amplification is related to the amplitude of the amplifying gesture, i.e. the first operating body passes through any two hand Refer to touch electronic equipment display unit, while from inside to outside do dragging amplification movement range it is larger, then electronic equipment control institute Display unit is stated with the display area of each pixel in the amplitude of the amplifying gesture increases second image.
Step 105 receives the second operation, and second operation is for showing that the focus of described image acquisition unit is set to The target object.
Second operation can be click gesture, i.e., the display unit of the electronic equipment is clicked with a finger, right The target object in second image of the amplified second area is focused, and the focusing mode can be TTL Mode.
First operating body carries out the second operation to the second image of the amplified second area, i.e., the first operating body can To click the display unit of the electronic equipment with a finger, to the institute in the second image of the amplified second area It states target object to focus, the focusing mode can be TTL mode, and the display unit of the electronic equipment receives described the Two operations, so that the focus of described image acquisition unit is set to the target object.
Step 106, response second operation, control described image acquisition unit focusing is in the target object.
When amplified second image that display unit of first operating body to the electronic equipment is shown carries out the second behaviour Make, after the display unit of the electronic equipment receives second operation, the focus of described image acquisition unit is set to described Target object, electronic equipment control described image acquisition unit focus to the target object.Success is to defocused, the electricity Sub- equipment can control the display unit in image display area display amplification to the second defocused image, and described image is shown Region is the region on the display unit, and the area of described image display area is less than or equal to the face of the display unit Product.The electronic equipment controls the display unit when image display area shows the first image, can also be described the To the second defocused image, described image display area is the region on the display unit for Overlapping display amplification on one image, And the area of described image display area is less than or equal to the area of the display unit.
Step 107, the third image that the first area is obtained by described image acquisition unit, the third image Focus is set to the target object.
Second image of the second area that the first operating body shows the display unit of the electronic equipment carries out the second behaviour Make, successfully to defocused, the image acquisition units of the electronic equipment obtain the third image of the first area, firstth area The domain outdoor scene range that the image acquisition units of the electronic equipment are currently got when being photographic subjects object, i.e., acquire in real time Region, the third image are the outdoor scene including the target object got to the image acquisition units of the electronic equipment Image is successfully to defocused image.Particularly, described if there is no variations for the position of electronic equipment described in operating process There is no variation, i.e. amplifications to obtain to defocused image acquisition units for the outdoor scene range that the image acquisition units of electronic equipment are got First area before the first area got and amplification focusing is the same area.
Step 108, the storage third image.
After focusing successfully to the target object in the second image of the second area, described in the triggering of the first operating body The shooting function of electronic equipment, shoots the third image to the defocused first area, and the third image is to the electronics The image for the outdoor scene including the target object that the image acquisition units of equipment are got is successfully to defocused image.
It should be noted that the shooting function includes: that the first operating body can be by triggering the aobvious of the electronic equipment The virtual push button for showing unit presentation or the entity button for clicking the electronic equipment are shot, can also be by directly touching The display unit for sending out electronic equipment described is shot.
The system of the electronic equipment automatically saves the third image of the first area.It should be noted that the electricity Whether to saving by amplification and requesting to indicate to the first operating body to defocused second image, the electronics is set sub- equipment Standby display unit can show request instruction choice box, if the confirmation of the first operating body does not save by amplification and to defocused institute The second image is stated, then the electronic equipment abandons the amplification and to defocused second image, if the first operating body confirms It saves by amplification and to defocused second image, then the first operating body can pass through the display of the click electronic equipment Unit is to save the amplification and to defocused second image.
So, in the lesser target object of shooting volume, although the relatively described target object of finger is larger, After the second image amplification to second area where the target object, further according to the first operating body the second operation to putting The target object after big in second image of the second area is focused by way of the light quantity TTL of camera lens, is come Shoot the target object, reduce the interference of error, thus realized when shooting the lesser target object of volume it is accurate right It is burnt.
The electronic equipment can have the electronic equipment of shooting function for mobile phone, camera etc..The embodiment of the present invention is assumed Electronic equipment is mobile phone, further includes image acquisition units as shown in Fig. 2, being provided with display unit 201 on the mobile phone 20.Usually In the case of, the display unit 201 is rectangle.
First image of first area first where the image acquisition units acquisition target object of mobile phone, specifically, user The camera of mobile phone is directed at the target object by the camera function for triggering mobile phone, and mobile phone receives the outdoor scene that camera takes Image can show the first image including first area where the target object at this time on the display unit of mobile phone.It is described The image acquisition units of mobile phone carry out the real-time pickup area of Image Acquisition when first area is shooting, and the target object is at this The image acquisition units of mobile phone carry out in the real-time pickup area of Image Acquisition, and the first image is the Image Acquisition of the mobile phone Unit carries out the image of the real-time pickup area of Image Acquisition.Because image acquisition units acquire in real time, and display unit is real-time Show image acquisition units acquired image, and as electronic equipment inevitably moves the (entirety of such as photographer in real time Mobile, photographer hand shake etc.), the pickup area that image acquisition units acquire in real time can occur to change in real time, but nothing How to change by pickup area, indicates the current pickup area of image acquisition units in the present invention with first area, accordingly, Show the image of the collected first area of image acquisition units with the first image table.
It is exemplary, as shown in figure 3, the target object that the image acquisition units that mobile phone is presented on display unit 201 are got 301 and object of reference 302 and virtual push button 40, at this point, the shape for the first area that mobile phone is got and the mobile phone 20 is aobvious Show that the display area shape of unit 201 is identical, the display unit 201 of the indication range of the first area and the mobile phone 20 is shown Demonstrating, it is equal to enclose, and the target object 301 is within the scope of the display unit of the display unit 201 of the mobile phone 20.Wherein, it needs to put Big region is the second image of the second area, which includes the target object 301, and the second area Within the scope of the first area.If the range for the second area delimited where the target object 301 can use choice box 303 It indicates, the shape of choice box 303 described in Fig. 3 can be rectangle, and in practical application, choice box can be with square or circle Shape, the present embodiment do not limit this.Or do not show choice box, second area positioned with the position of the first operation, And second area is selected by default rule and magnification ratio.Such as the second figure for amplifying second area is triggered with being enlarged When picture, user can touch the display unit of the mobile phone by two fingers, while do dragging amplification movement, mobile phone from inside to outside The operation that above-mentioned amplifying gesture is received by display unit judges the operation of amplifying gesture, if the operation of amplifying gesture meets hand The operation of the preset amplifying gesture of machine, then mobile phone controls the display unit and increases the first figure where the target object The display area of each pixel as in, particularly, mobile phone control the display unit as the amplitude of the amplifying gesture increases The display area of each pixel in the first image, the image shown on the display unit at this time are second area Second image.
Then when the first operation is is enlarged, user by be enlarged trigger manually the display unit of the mobile phone come Second image of second area where amplifying the target object, specifically, user can touch the mobile phone by two fingers Display unit, while doing dragging amplification movement from inside to outside, mobile phone receives the operation of above-mentioned amplifying gesture by display unit, The operation of amplifying gesture is judged, if the operation of amplifying gesture meets the operation of the preset amplifying gesture of mobile phone, mobile phone control The display area for making each pixel in the first image where the display unit increases the target object, so that the display Unit increases the display area of each pixel in second image, to amplify to the second image of second area, especially , mobile phone controls the display unit as the amplitude of the amplifying gesture increases the display of each pixel in the first image Area, so that the display unit increases the display area of each pixel in second image;Or user can use one Finger touches the display unit of the mobile phone, while the image of second area is clicked twice where target object described in adopting consecutive click chemical reaction Amplification movement, mobile phone receive the operation of above-mentioned double-click gesture by display unit, judge the operation for double-clicking gesture, if double-clicking gesture Operation meet the preset operation for double-clicking gesture of mobile phone, then mobile phone controls the display unit and increases the target object The display area of each pixel in first image at place, so that the display unit increases each pixel in second image Display area, to be amplified to the second image of second area.So that amplified second image is shown in whole image Display area, in practical application, amplification is that the image acquisition units of the mobile phone get first area where target object A part of amplified first image is shown in first image, the display unit of the mobile phone, that is, need to amplify includes mesh The second image of the second area of object is marked, described image display area is the region on the display unit, and described image The area of display area is less than or equal to the area of the display unit, or when the display unit of the mobile phone is aobvious in whole image When showing that region shows the first image, which controls the display unit and Overlapping display can put in the first image The second image after big.First area includes the second area, and the area of the second area is less than the first area Area.As shown in figure 4, at this point, the whole image that amplified second image is shown in the display unit 201 of the mobile phone 20 is shown Region, the virtual push button 40 can be presented on the second area, amplified target object 501 and amplified reference Within the scope of the second area of the image of object 502 after amplification.In practical application, if the shape of the amplified second area with The shape of the display unit of the mobile phone is different, then indication range is less than the indication range of the display unit of the mobile phone, wherein the hand The remaining not shown image section of amplified second area image, which is presented, in the display unit of machine can be the yin of black or grey Shadow zone domain.Particularly, above-mentioned amplification process is usually to be realized by digital zoom technology.
If amplifying operation meets the preset amplifying operation of mobile phone, mobile phone controls the display unit and increases the mesh The display area of each pixel in the second image where mark object, after being amplified to the second image of second area, institute Stating the first operation can also include drag operation, adjust amplified second image on the display unit according to drag operation Display position, the gesture of the drag operation can be drag gesture, and user can use any one finger to touch mobile phone Display unit contacts with the second image of second area where amplified target object and does drag action, then mobile phone controls institute It states display unit and receives the drag operation, judge the operation of drag gesture, set in advance if the operation of drag gesture meets mobile phone The operation of fixed drag gesture, then the second of second area where the amplified target object that mobile phone control display unit is shown Image is moved to the target position of the display unit after dragging.As shown in fig. 5, it is assumed that the image acquisition units of the mobile phone 20 The first image of 301 place first area of target object is got, can be showed on the display unit 201 of mobile phone including institute at this time The first image of 302 place first area of target object 301 and object of reference is stated, and the target object 301 is in the mobile phone 20 The upper right corner of display unit 201 is shown.When the amplified target object 501 of process is on the right side of the display unit 201 of the mobile phone 20 When upper angle, user can use any one finger to touch the display unit 201 of mobile phone 20, and put where the target object 501 Drag action is done in the second image contact of second area after big, and user can drag the second image of amplified second area It is shown to the middle position of the display unit of the mobile phone, as shown in figure 4, can be convenient user carries out subsequent second behaviour Make.Particularly, if after the first image of the collected first area of the image acquisition units of mobile phone, target object is in the aobvious of mobile phone When showing the non-intermediate positions display of unit, user can use the of the second area that display unit of the amplifying gesture to mobile phone is shown Dragged while two images amplify the second image for showing of display unit of mobile phone to the mobile phone display unit centre Position is shown.
Then, user can be by the second operation instruction mobile phone in the second image of the amplified second area The target object is focused, and the operating gesture of second operation can be click gesture, i.e., clicks the hand with a finger The display position of target object on the display unit of machine, mobile phone gesture depending on the user's operation, to amplified secondth area The target object in second image in domain is focused, and the focusing mode can be TTL mode, the display of the mobile phone Unit receives second operation, so that the focus of described image acquisition unit is set to the target object.
It focuses when user operates by second to the second image of the amplified second area, the mobile phone After display unit receives second operation, the focus of described image acquisition unit is set to the target object, then the mobile phone Control described image acquisition unit focuses to the target object, and successfully to defocused, which can control the display For unit in image display area display amplification to defocused second image, described image display area is the display unit On region.
It should be noted that showing the first image in image display area when the mobile phone controls the display unit When, in the first image can also with amplified second image of preset shape and magnification ratio Overlapping display, Described image display area is the region on the display unit, and the area of described image display area is less than or equal to described The area of display unit.Preset shape can be square, rectangle, circle etc., and not with the display effect with the first image Same display effect is shown, to distinguish with the first image, here, not doing more specific restriction to shape and display effect. As shown in Figure 6, it is assumed that the display unit 201 of mobile phone 20 shows the first image 601 in image display area 202, described first The second image of Overlapping display 602 on image, second image 602 include the image of amplified target object 501, the figure As display area 202 is the region on the display unit 201, and the area of described image display area 202 is less than or equal to The area of the display unit 201.
Second image of the second area that user shows the display unit of the mobile phone amplifies and successfully to defocused, The image acquisition units of the mobile phone obtain the third image of the first area, and the first area is photographic subjects object when institute The outdoor scene range that the image acquisition units of electronic equipment are currently got, i.e., the region acquired in real time are stated, the third image is The image of the outdoor scene including the target object got to the image acquisition units of the mobile phone is successfully to defocused image.It is special It is other, if there is no variation, the image acquisition units of the electronic equipment for the position of electronic equipment described in operating process There is no variations for the outdoor scene range got, that is, amplify the first area got to defocused image acquisition units and amplification pair First area before coke is the same area.
End user triggers mobile phone shooting to the third image of the defocused first area, specifically, as shown in fig. 7, At this point, user can be by triggering the virtual push button 40 of the presentation of display unit 201 of the mobile phone 20 or clicking the mobile phone 20 Entity button 70 shot, can also by directly by click gesture click the mobile phone 20 display unit 201 carry out Shooting.Mobile phone is shot when receiving trigger signal.
Particularly, after focusing successfully to the target object 501 in the second image of the second area, user's triggering The shooting function of the mobile phone shoots the third image to defocused presently described first area, then the system of mobile phone automatically saves The third image of the first area.At this point, amplifying by the image to the target object 301 in the first area and focusing Image afterwards than the target object 301 in the first area before no amplification and focusing is apparent.It should be noted that described Electronic equipment to whether save by amplification and to defocused second image to the first operating body request indicate, the electronics The display unit of equipment can show request instruction choice box, if the confirmation of the first operating body does not save by amplification and to defocused Second image, then the electronic equipment abandons the amplification and to defocused second image, if the first operating body is true Preservation is recognized by amplification and to defocused second image, then the first operating body can be by clicking the aobvious of the electronic equipment Show unit to save the amplification and to defocused second image.
Image acquiring method provided in an embodiment of the present invention, in the lesser target object of shooting volume, although finger phase It is larger to the target object, but after the second image amplification to target object place second area, further according to The second operation of user passes through the light quantity TTL of camera lens to the target object in the second image of second area described after amplification Mode focus, to shoot the target object, reduce the interference of error, thus shooting the lesser object of volume Exact focus is realized when body.
The embodiment of the present invention provide a kind of electronic equipment 80, the electronic equipment include at least image acquisition units 801 and Display unit 804, as shown in Figure 8, comprising:
Described image acquisition unit 801, for the first image of first area where obtaining target object, firstth area Domain is the real-time pickup area that described image acquisition unit carries out Image Acquisition.
The described image acquisition unit 801 of electronic equipment 80 is specifically used for first of first area where obtaining target object Image, the first area outdoor scene range that the image acquisition units 801 of the electronic equipment 80 are got when being shooting are described For target object within the scope of the outdoor scene that the image acquisition units of the electronic equipment 80 are got, the first image is that the electronics is set The image for the outdoor scene including the target object that standby 80 image acquisition units 801 are got.
Control unit 802 shows the first image for controlling the display unit 804.
Receiving unit 803 judges whether first operation meets the first predetermined condition, obtains for receiving the first operation Result is determined to first.
Described control unit 802 is also used to described first and determines the result shows that first operation meets described first and makes a reservation for Condition then controls the second image of the amplification of the display unit 804 display second area, and the target object is in secondth area In domain, the first area includes the second area, and the area of the second area is less than the area of the first area.
First operating body carries out the first operation, the display list of the electronic equipment 80 to the display unit 804 of electronic equipment 80 Member 804 receives the first operation, and then the electronic equipment 80 judges that first operation meets the first predetermined condition, obtains first and sentences Determine as a result, i.e. by the second image of the second area where the first operation amplification target object.
The receiving unit 803 is also used to receive the second operation, and second operation is for showing that described image acquisition is single The focus of member 801 is set to the target object.
Described control unit 802 is also used to respond second operation, and the control focusing of described image acquisition unit 801 is in institute State target object.
It is focused by the second operation to the target object in the second image of the amplified second area, The operating gesture of second operation can be click gesture, i.e., the display unit 804 of electronic equipment 80 is clicked with a finger.
Described image acquisition unit 801 is also used to obtain the third image of the first area, the coke of the third image Point is set to the target object.
Storage unit 805, for storing the third image.
The virtual push button of the presentation of display unit 804 of the electronic equipment 80 is triggered by user or clicks the electronics The entity button of equipment 80 can also be shot by directly triggering the display unit 804 of the electronic equipment 80 to defocused The third image of the first area, then the system of electronic equipment 80 automatically saves the third image of the first area.
Described control unit 802 is specifically used for:
If it is described first determine the result shows that it is described first operation meet first predetermined condition, control the display Unit increases the display area of each pixel in second image.
Described control unit 802 is specifically used for:
If it is described first determine the result shows that it is described first operation meet first predetermined condition, control the display Second image of unit amplification display second area, and the second image according to first operation adjustment is single in the display Display position in member.
Described control unit 802 is specifically used for:
The display area that the display unit increases each pixel in the first image is controlled, the display unit is increased The display area of each pixel in big second image.
Described control unit 802 is specifically used for:
It controls the display unit and shows the first image in whole image display area, described image display area is Region on the display unit, and the area of described image display area is less than or equal to the area of the display unit;
The display unit second image described in Overlapping display in the first image is controlled, and it is single to control the display Member increases the display area of each pixel in second image.
Described control unit 802 is also used to:
It controls the display unit and shows the third image.
Image acquiring method and electronic equipment provided in an embodiment of the present invention shoot the lesser target object of volume in user When, since the relatively described target object of finger is larger, it can not accurately touch the image of the target object, when focusing, which exists, misses Difference causes the image for shooting target object described in photo smudgy, but passes through to the secondth area where the target object Second image in domain amplifies, and operates further according to the second of user to the mesh in the second image of second area described after amplification Mark object carries out to shoot the target object, reducing the interference of error to defocused by way of the light quantity TTL of camera lens, To realize exact focus in the lesser target object of shooting volume, improves the whole of shooting photo and appreciate effect, especially The image ratio of its target object before amplification and focusing by not being more clear.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description It with the specific work process of unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another device is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that the independent physics of each unit includes, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light The various media that can store program code such as disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of image acquiring method, is applied to electronic equipment, the electronic equipment includes at least image acquisition units and display Unit characterized by comprising
First image of first area where obtaining target object by described image acquisition unit, the first area is described The real-time pickup area of image acquisition units progress Image Acquisition;
It controls the display unit and shows the first image;
The first operation is received, judges whether first operation meets the first predetermined condition, obtains the first judgement result;
If it is described first determine the result shows that it is described first operation meet first predetermined condition, control the display unit Second image of amplification display second area, for the target object in the second area, the first area includes described Second area, the area of the second area are less than the area of the first area;
The second operation is received, second operation is for the focus of described image acquisition unit to be set in the second area The target object on;
Second operation is responded, control described image acquisition unit focusing is in the target object;
The third image of the first area is obtained by described image acquisition unit, the focus of the third image has been set In on the target object;
It controls the display unit and shows the third image;And
Store the third image.
2. if the method according to claim 1, wherein described first determines the result shows that first behaviour Work meets first predetermined condition, then controls the second image of the display unit amplification display second area, specifically:
If it is described first determine the result shows that it is described first operation meet first predetermined condition, control the display unit Increase the display area of each pixel in second image.
3. if the method according to claim 1, wherein described first determines the result shows that first behaviour Work meets first predetermined condition, then controls the second image of the display unit amplification display second area, further includes:
If it is described first determine the result shows that it is described first operation meet first predetermined condition, control the display unit Second image of amplification display second area, and the second image according to first operation adjustment is on the display unit Display position.
4. according to the method described in claim 2, the control display unit increases each pixel in second image Display area, specifically:
The display area that the display unit increases each pixel in the first image is controlled, the display unit is made to increase institute State the display area of each pixel in the second image.
5. according to the method described in claim 2, the control display unit increases each pixel in second image Display area, specifically:
It controls the display unit and shows the first image in whole image display area, described image display area is described Region on display unit, and the area of described image display area is less than or equal to the area of the display unit;
The display unit second image described in Overlapping display in the first image is controlled, and controls the display unit and increases The display area of each pixel in big second image.
6. a kind of electronic equipment, the electronic equipment includes at least image acquisition units and display unit, which is characterized in that packet It includes:
Described image acquisition unit, for the first image of first area where obtaining target object, the first area is institute State the real-time pickup area that image acquisition units carry out Image Acquisition;
Control unit shows the first image for controlling the display unit;
Receiving unit judges whether first operation meets the first predetermined condition, obtains first and sentence for receiving the first operation Determine result;
If described control unit be also used to it is described first determine the result shows that it is described first operation meet first predetermined condition, The second image of the display unit amplification display second area is then controlled, the target object is in the second area, institute Stating first area includes the second area, and the area of the second area is less than the area of the first area;
The receiving unit is also used to receive the second operation, and second operation is for setting the focus of described image acquisition unit It is placed on the target object in the second area;
Described control unit is also used to respond second operation, and control described image acquisition unit focusing is in the object Body;
Described image acquisition unit is also used to obtain the third image of the first area, and the focus of the third image is set It is placed on the target object;
Described control unit is also used to control the display unit and shows the third image;And
Storage unit, for storing the third image.
7. electronic equipment according to claim 6, which is characterized in that
Described control unit is specifically used for:
If it is described first determine the result shows that it is described first operation meet first predetermined condition, control the display unit Increase the display area of each pixel in second image.
8. electronic equipment according to claim 6, which is characterized in that
Described control unit is specifically used for:
If it is described first determine the result shows that it is described first operation meet first predetermined condition, control the display unit Second image of amplification display second area, and the second image according to first operation adjustment is on the display unit Display position.
9. electronic equipment according to claim 7, which is characterized in that
Described control unit is specifically used for:
The display area that the display unit increases each pixel in the first image is controlled, the display unit is made to increase institute State the display area of each pixel in the second image.
10. electronic equipment according to claim 7, which is characterized in that
Described control unit is specifically used for:
It controls the display unit and shows the first image in whole image display area, described image display area is described Region on display unit, and the area of described image display area is less than or equal to the area of the display unit;
The display unit second image described in Overlapping display in the first image is controlled, and controls the display unit and increases The display area of each pixel in big second image.
CN201310517103.0A 2013-10-28 2013-10-28 A kind of image acquiring method and electronic equipment Active CN104580876B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310517103.0A CN104580876B (en) 2013-10-28 2013-10-28 A kind of image acquiring method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310517103.0A CN104580876B (en) 2013-10-28 2013-10-28 A kind of image acquiring method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104580876A CN104580876A (en) 2015-04-29
CN104580876B true CN104580876B (en) 2018-12-14

Family

ID=53095980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310517103.0A Active CN104580876B (en) 2013-10-28 2013-10-28 A kind of image acquiring method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104580876B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412431A (en) * 2016-09-30 2017-02-15 珠海市魅族科技有限公司 Image display method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101605207A (en) * 2009-04-15 2009-12-16 明基电通有限公司 A kind of digital camera method of operation and the digital camera that uses the method
CN202183821U (en) * 2011-08-09 2012-04-04 顾明 Focus following device of single-lens reflex camera
CN103309609A (en) * 2012-03-08 2013-09-18 索尼公司 Display control device, display control method, and computer-readable recording medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8525923B2 (en) * 2010-08-30 2013-09-03 Samsung Electronics Co., Ltd. Focusing method and apparatus, and recording medium for recording the method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101605207A (en) * 2009-04-15 2009-12-16 明基电通有限公司 A kind of digital camera method of operation and the digital camera that uses the method
CN202183821U (en) * 2011-08-09 2012-04-04 顾明 Focus following device of single-lens reflex camera
CN103309609A (en) * 2012-03-08 2013-09-18 索尼公司 Display control device, display control method, and computer-readable recording medium

Also Published As

Publication number Publication date
CN104580876A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104104787B (en) Photographic method, system and handheld device
CN111182205B (en) Photographing method, electronic device, and medium
JP2020527000A (en) Shooting mobile terminal
CN104469167B (en) Atomatic focusing method and device
CN106416222A (en) Real-time capture exposure adjust gestures
WO2016208562A1 (en) Electronic device, electronic device actuating method, and control program
CN103188434B (en) Method and device of image collection
CN105933601A (en) Method, apparatus, and computer program product for presenting burst images
WO2022089284A1 (en) Photographing processing method and apparatus, electronic device, and readable storage medium
CN106210495A (en) Image capturing method and device
CN102196176A (en) Information processing apparatus, information processing method, and program
JP2016053940A (en) Touch imaging method and touch terminal thereof
CN112954214B (en) Shooting method, shooting device, electronic equipment and storage medium
CN112492215B (en) Shooting control method and device and electronic equipment
CN105933614B (en) A kind of method and system for camera shooting of taking pictures
CN104580899B (en) The control method and imaging device of image objects
CN112887617A (en) Shooting method and device and electronic equipment
CN103873759A (en) Shooting method and electronic equipment
JP2015019376A (en) Imaging control system and control method of the same
CN106961545A (en) Display control apparatus and its control method
CN104580876B (en) A kind of image acquiring method and electronic equipment
CN103647903B (en) A kind of mobile terminal photographic method and system
WO2023174009A1 (en) Photographic processing method and apparatus based on virtual reality, and electronic device
CN105824569A (en) Method and device for adjusting photographing focus and wearable equipment
CN112752029B (en) Focusing method, focusing device, electronic equipment and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant