Movatterモバイル変換


[0]ホーム

URL:


CN110445985A - A kind of image-pickup method, electronic equipment and computer readable storage medium - Google Patents

A kind of image-pickup method, electronic equipment and computer readable storage medium
Download PDF

Info

Publication number
CN110445985A
CN110445985ACN201910817075.1ACN201910817075ACN110445985ACN 110445985 ACN110445985 ACN 110445985ACN 201910817075 ACN201910817075 ACN 201910817075ACN 110445985 ACN110445985 ACN 110445985A
Authority
CN
China
Prior art keywords
image
collected
multiple target
target area
area ratio
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.)
Pending
Application number
CN201910817075.1A
Other languages
Chinese (zh)
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 LtdfiledCriticalLenovo Beijing Ltd
Priority to CN201910817075.1ApriorityCriticalpatent/CN110445985A/en
Publication of CN110445985ApublicationCriticalpatent/CN110445985A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The embodiment of the invention discloses a kind of image-pickup methods, comprising: receives image capture instruction;Based on described image acquisition instructions;Determine multiple target area ratios of the target object in image to be collected;Based on the multiple target area ratio, the image to be collected is acquired by described image collector and obtains multiple target images.The embodiment of the invention also discloses a kind of electronic equipment and computer readable storage mediums.

Description

A kind of image-pickup method, electronic equipment and computer readable storage medium
Technical field
The present invention relates to the image acquisition technologies more particularly to a kind of image-pickup method, electronics in field of image processingEquipment and computer readable storage medium.
Background technique
With the fast development of electronic equipment, the camera function of electronic equipment has become the configurations of electronic equipment.ButAs the camera function of electronic equipment is more and more perfect, people are for shooting the clarity of photo and wanting for resolution ratio etc. comeAsk apparent raising.But be not that everyone can skillfully grasp shooting skill, cause to shoot the landscape and portrait comeQuality it is general.In the related technology, it is desirable to which the photo that taking keeps people satisfied must be during taking pictures through complicated parameterAdjustment, wastes time and low efficiency of taking pictures.
Summary of the invention
In view of this, an embodiment of the present invention is intended to provide a kind of image-pickup method, electronic equipment and computer-readable depositingStorage media is at least taken pictures picture to solve the problems, such as to be difficult to realize accurate and easy adjustment in the related technology.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
A kind of image-pickup method, which comprises
Receive image capture instruction;
Based on described image acquisition instructions, multiple target area ratios of the target object in image to be collected are determined;
Based on the multiple target area ratio, the image to be collected is acquired by described image collector and obtains multiple meshLogo image.
Optionally, described to be based on described image acquisition instructions, determine multiple targets of the target object in image to be collectedArea ratio, comprising:
Based on described image acquisition instructions, the target object in the image to be collected is zoomed in or out, described in determinationMultiple target area ratios of the target object in the image to be collected;Or,
Based on described image acquisition instructions, initial area ratio of the target object in the image to be collected is determined,And the target object is amplified by processing and diminution processing based on the initial area ratio, determine the target object in instituteState multiple target area ratios in image to be collected.
Optionally, described to be based on the multiple target area ratio, the figure to be collected is acquired by described image collectorAs obtaining multiple target images, comprising:
Obtain pair of the focal length of area ratio and described image collector of the target object in the image to be collectedIt should be related to;
Based on the multiple target area ratio and the corresponding relationship, determine that the multiple target area is more multiple than correspondingFocal length;
Based on the multiple target area ratio and the multiple focal length, acquired by described image collector described to be collectedImage obtains the multiple target image.
Optionally, described to be based on the multiple target area ratio and the multiple focal length, it is adopted by described image collectorCollect the image to be collected and obtain the multiple target image, comprising:
Obtain the property parameters of described image collector;
Based on the multiple target area ratio, the multiple focal length and the property parameters, pass through described image collectorIt acquires the image to be collected and obtains the multiple target image.
Optionally, described to be based on the multiple target area ratio, the multiple focal length and the property parameters, by describedImage acquisition device acquires the image to be collected and obtains the multiple target image, comprising:
Obtain the clarity of the corresponding image to be collected of the property parameters;
Based on the clarity of the image to be collected, target focal length is determined from the multiple focal length;
Based on the multiple target area ratio and the target focal length, acquired by described image collector described to be collectedImage obtains the multiple target image.
Optionally, described to be based on the multiple target area ratio, the figure to be collected is acquired by described image collectorAs obtaining multiple target images, comprising:
Based on the multiple target area ratio, determine each target area than corresponding focal range;
Based on each target area ratio and the focal range, acquired by described image collector described to be collectedImage obtains the multiple target image.
Optionally, described to be based on the multiple target area ratio and the multiple focal length, it is adopted by described image collectorCollect the image to be collected and obtain the multiple target image, comprising:
Initial area ratio of the target object in the image to be collected is being adjusted to the multiple target areaThan, and by the Focussing of described image collector be the multiple focal length during, continuously adopted by described image collectorCollect the image to be collected and obtains the multiple target image.
Optionally, described to be based on the target area ratio, the focal length for adjusting the image acquisition device of electronic equipment is first burntAway from later, further includes:
The face feature information of the target object is acquired by described image collector;
If the face feature information of the target object does not meet default face feature information, prompt information is generated;Wherein,The prompt information is used to prompt the target object mobile or the position of the prompt movement electronic equipment, so that the targetThe face feature information of object meets default face feature information.
A kind of electronic equipment, the electronic equipment include: processor, memory and communication bus;
The communication bus is for realizing the communication connection between the processor and the memory;
The processor is for executing the image acquisition procedure stored in the memory, to perform the steps of
Receive image capture instruction;
Based on described image acquisition instructions, multiple target area ratios of the target object in image to be collected are determined;
Based on the multiple target area ratio, the image to be collected is acquired by described image collector and obtains multiple meshLogo image.
A kind of computer readable storage medium, the computer-readable recording medium storage have one or more program,One or more of programs can be executed by one or more processor, the step of to realize above-mentioned image-pickup method.
Image-pickup method, electronic equipment provided by the embodiment of the present invention and computer readable storage medium, by connecingImage capture instruction is received, image capture instruction is based on, determines multiple target area ratios of the target object in image to be collected, baseIn multiple target area ratios, image to be collected is acquired by image acquisition device and obtains multiple target images.In this way, by determining meshMultiple target area ratios of the object in image to be collected are marked, image to be collected is acquired and obtains multiple target images, improve batAccording to efficiency, keep user more convenient when taking pictures.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of image-pickup method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another image-pickup method provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of another image-pickup method provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of a kind of electronic equipment 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, completeSite preparation description.
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The embodiment of the present invention provides a kind of image-pickup method, shown referring to Fig.1, method includes the following steps:
Step 101 receives image capture instruction.
In the embodiment of the present invention, receives image capture instruction and can be by electronic equipment and realize.Electronic equipment can be withImplement in a variety of manners.For example, electronic equipment described in the present invention may include mobile phone, smart phone, digital photographCamera, moving camera, video camera or intelligent glasses etc. have the electronic equipment of image camera function.The electronics of the embodiment of the present inventionEquipment is illustrated by taking smart phone as an example, and when using the camera function of smart phone, user takes the photograph user by smart phoneAs the landscape and portrait of the desired shooting of head direction, when user presses the shutter of smart phone, smart phone receives photographedInstruction.
In one implementation, electronic equipment can receive the image capture instruction of one image of shooting.In another kindIn implementation, electronic equipment can receive the image capture instruction for being continuously shot multiple images.In another implementation,Electronic equipment may be received in the image capture instruction under preset mode, and preset mode is, for example, artificial intelligence pattern, large apertureMode, night scene mode, motor pattern or professional mode etc..
Step 102 is based on image capture instruction, determines multiple target area ratios of the target object in image to be collected.
In the embodiment of the present invention, it is based on image capture instruction, determines multiple targets of the target object in image to be collectedArea ratio, which can be by electronic equipment, to be realized.Smart phone receives the instruction of shooting landscape and portrait, by adjusting automaticallyFunction is saved, area ratio of the scenery and personage in landscape in the image to be collected on smart phone screen is adjusted.By moreSecondary automatic adjustment determines the multiple target area ratios of scenery and personage in image to be collected.
Electronic equipment can be based on image capture instruction, be believed by the image that image acquisition device obtains multiple images to be collectedBreath.Wherein, it is very short to obtain duration used by multiple images to be collected, for example, duration can be completed in 2 seconds, for example, durationIt can be with 0.1 second, 0.2 second, 1 second or 2 seconds etc..Further, electronic equipment can be based on the image information of multiple images to be collected, reallySet the goal target area ratio of the object in each image to be collected, to obtain target object in multiple images to be collectedMultiple target area ratios.
In one embodiment, electronic equipment can be analyzed based on the image information of an image to be collected, be obtainedThe area of target object in the image to be collected.Optionally, electronic equipment can pass through the more of the pixel of formation target objectFew area to determine target object.
Step 103 is based on multiple target area ratios, acquires image to be collected by image acquisition device and obtains multiple target figuresPicture.
In the embodiment of the present invention, be based on multiple target area ratios, by image acquisition device acquire image to be collected obtain it is moreA target image, which can be by electronic equipment, to be realized.Smart phone can be based on each target area than one figure of acquisitionPicture, therefore smart phone carries out the primary multiple target images for shooting and capable of getting multiple different target area ratios.
Electronic equipment gets each target area ratio, is adopted based on each area ratio got and using image acquisition deviceCollection is obtained with the target area than corresponding each target image, and then obtains multiple target images.
User using electronic equipment during being taken pictures, it will usually due to the shake of hand, shooting be caused to obtainImage it is unclear.In order to solve this problem, electronic equipment can receive image and adopt when user presses shooting buttonWhen collection instruction, multiple images disposably can be shot with the time interval of very little, and selected from multiple images clearestImage that image is shot as user and display, alternatively, merged to multiple images, and using fused image asImage that user shoots and display.And image capture instruction can obtained by step 102 and step 103 electronic equipmentAfterwards, multiple target area ratios corresponding to multiple images to be collected are obtained, and pass through Image Acquisition based on multiple target area ratiosDevice carries out the shooting of multiple images to be collected, to obtain multiple target images, so, it is possible that user is overcome to set using electronicsWhen standby acquisition photo, the fuzzy situation of multiple target images acquired as caused by hand shake is occurred.
Specifically realize that above embodiment is explained further in scene with next: electronic equipment can receive image and adoptsCollection instruction obtains the first area ratio, second to be collected of the first image to be collected based on image capture instruction and image acquisition deviceThe second area ratio of image and the third area ratio of third image to be collected, and it is to be collected based on the acquisition first of the first area ratioImage carries out obtaining first object image, carries out obtaining the second target figure than the second image to be collected of acquisition based on second areaPicture, and carry out obtaining third target image based on third area ratio acquisition third image to be collected, finally it is based on first object figurePicture, the second target image and third target image obtain the image for being shown to user.
In a kind of feasible embodiment, electronic equipment can be based on multiple target area ratios, determining and multiple targetsThe corresponding multiple focal lengths of area ratio, and multiple images to be collected are acquired by multiple focal lengths.Optionally, electronic equipment can will obtainMode, median, average value, maximum value or minimum value be as particular focal length in the multiple focal lengths taken, and using particular focal length comeAcquire multiple images to be collected.
Image-pickup method provided by the embodiment of the present invention is referred to by receiving image capture instruction based on Image AcquisitionIt enables, determines multiple target area ratios of the target object in image to be collected, be based on multiple target area ratios, pass through Image AcquisitionDevice acquires image to be collected and obtains multiple target images;In this way, by determining multiple mesh of the target object in image to be collectedMark area ratio, acquire image to be collected and obtain multiple target images, improve the efficiency taken pictures, make user when taking pictures moreAdd conveniently.
Based on previous embodiment, the embodiment of the present invention provides a kind of image-pickup method, referring to shown in Fig. 2, this methodThe following steps are included:
Step 201, electronic equipment receive image capture instruction.
Step 202, electronic equipment are based on image capture instruction, determine multiple targets of the target object in image to be collectedArea ratio.
In the embodiment of the present invention, the electronic equipment in step 202 is based on image capture instruction, determines target object wait adoptMultiple target areas in collection image by the two ways of step 202A or step 202B than that can be realized, implementationIt is as follows:
Step 202A: electronic equipment is based on image capture instruction, and the target object in image to be collected is zoomed in or out,Determine multiple target area ratios of the target object in image to be collected.
In the embodiment of the present invention, electronic equipment receives image capture instruction, is automatically adjusted on smart phone screen and showsThe size of the scenery or personage in image to be collected shown can be and account for image area ratio to be collected to the area of scenery or personageExample zooms in or out.Illustratively, electronic equipment will be stored in advance different scenery or personage and account in image to be collectedAccording to area ratio suitable range.When user opens the camera with camera function, by the desired shooting of camera alignmentMountain range, the area on mountain range accounts for the 70% of shooting picture area at this time, because the magnificence on mountain range is glorious, it should with other in pictureScenery forms a sharp contrast.Therefore, area ratio of the electronic equipment to mountain range in entire picture is adjusted, automatically by mountain rangeRatio be adjusted to 65%, 60%, 55% etc. from 70%.When photographer's shooting be the people to stand under tree when, personage at this timeArea in shared image to be collected accounts for the 20% of the area of image to be collected, because people in the ratio of shooting picture too small, intelligenceThe ratio of people will be adjusted to 30%, 35%, 40% etc. from 20% automatically by energy mobile phone.
Step 202B: electronic equipment is based on image capture instruction, determines primary face of the target object in image to be collectedProduct ratio, and target object is amplified by processing and diminution processing based on initial area ratio, determine target object in figure to be collectedMultiple target area ratios as in.
In the embodiment of the present invention, smart phone receives the instruction of Image Acquisition, obtains scenery or people when opening cameraThe area of object accounts for the initial area ratio of image area to be collected, and is put scenery or personage centered on initial area ratioIt greatly or is reduced, amplified area ratio will be become after amplifying to initial area ratio, initial area ratio is carried outIt will become the area ratio after reducing after diminution.Mistake from initial area than the area ratio after becoming amplified area ratio or reducingCheng Zhong determines the multiple target area ratios of scenery or personage in image to be collected.Illustratively, in a kind of feasible modeIn, when user opens the camera of camera function, by the mountain range of the desired shooting of camera alignment, the area on mountain range accounts for shooting at this timeThe 60% of picture area.Ratio of the electronic equipment to mountain range in entire picture is adjusted, automatically by the ratio on mountain range from 60%It is amplified to 65%, 67% etc., and is contracted to 57%, 55% etc..When photographer's shooting be the people to stand under tree when, people at this timeArea accounts for the 40% of shooting picture area, and the ratio of people is amplified to 45%, 47% etc. from 40% automatically, and be contracted to 35%,37% etc.;In another feasible mode, ratio of the electronic equipment to mountain range in entire picture is adjusted, automatically by mountain rangeRatio 65% is amplified to centered on 60%, and 57% is contracted to centered on 60%;It is amplified to centered on 60% again67%, and 55% is contracted to centered on 60%.When photographer shooting be the people to stand under tree when, the area of people accounts for bat at this timeThe 40% of picture area is taken the photograph, the ratio of people is amplified to 45% centered on 40% automatically, and be contracted to centered on 40%35%;47% is amplified to centered on 40% again, and is contracted to 37% centered on 40%.It is straight that electronic equipment receives shooting instructionMultiple targeted graphical is got to by multiple area ratios.It is understood that the time that amplification and the process reduced carry out is veryIt is short, it can be 0.1s, 0.2s, 1s or 2s etc..
Step 203, electronic equipment obtain the focal length of area ratio and image acquisition device of the target object in image to be collectedCorresponding relationship.
In the embodiment of the present invention, the area for presetting storage target object is accounted for the area of image to be collected by electronic equipmentRatio and image acquisition device in optional focal length corresponding relationship, wherein corresponding relationship characterize target object in image to be collectedIn an area ratio correspondence image collector in a focal length.
Step 204, electronic equipment are based on multiple target area ratios and corresponding relationship, determine multiple target areas than correspondingMultiple focal lengths.
In the embodiment of the present invention, when photographer is taken pictures using the capture apparatus with shooting function of electronic equipmentWhen, electronic equipment is 10 meters at a distance from scenery or personage, at this point, the size of the imaging of scenery or personage on capture apparatus hasThe requirement of photographer may be can not meet, electronic equipment will be adjusted automatically by the focusing function focusing of image acquisition deviceSection, so as to adjust to a suitable focal length.
Electronic equipment determines that electronic equipment has obtained according to multiple area ratios and multiple focal lengths corresponding with multiple area ratiosThe multiple target areas got are than corresponding multiple focal lengths, wherein multiple area ratios include multiple target area ratios.
Step 205, electronic equipment are based on multiple target area ratios and multiple focal lengths, are acquired by image acquisition device to be collectedImage obtains multiple target images.
In one embodiment, the electronic equipment of step 205 is based on multiple target area ratios and multiple focal lengths, passes through imageCollector acquisition image to be collected, which obtains multiple target images, can be realized by step 205A to step 205B, implementationIt is as follows:
Step 205A, electronic equipment obtains the property parameters of image acquisition device.
In the embodiment of the present invention, the image acquisition device of the embodiment of the present invention is illustrated by taking electronic camera as an example.Wherein,The property parameters of camera include: at least one of pixel, resolution ratio and clarity etc..
Step 205B, electronic equipment is based on multiple target area ratios, multiple focal lengths and property parameters, passes through image acquisition deviceIt acquires image to be collected and obtains multiple target images.
In the embodiment of the present invention, the electronic equipment of step 205B is based on multiple target area ratios, multiple focal lengths and attribute ginsengNumber, image acquisition device acquire image to be collected obtain multiple target images can by step b1 to step b3 by way of comeIt realizes:
Step b1, electronic equipment obtains the clarity of the corresponding image to be collected of property parameters.
Step b2, clarity of the electronic equipment based on image to be collected determines target focal length from multiple focal lengths.
Step b3, electronic equipment is based on multiple target area ratios and target focal length, is acquired by image acquisition device to be collectedImage obtains multiple target images.
In another embodiment, step 205 can be accomplished by the following way: by target object in figure to be collectedInitial area ratio as in is adjusted to multiple target area ratios, and is multiple focal length processes by the Focussing of image acquisition deviceIn, multiple target images are obtained by image acquisition device continuous acquisition image to be collected.
It should be understood that although the embodiment of the present invention gives step 205 can be realized by two ways, bothImplementation does not conflict, i.e., related technical personnel can be by can be in the case where logical, to two kinds of implementationsBe combined, for example, electronic equipment can the initial area ratio first by target object in image to be collected be adjusted to multiple meshArea ratio is marked, and is multiple focal lengths by the Focussing of image acquisition device, is being based on multiple target area ratios, multiple focal lengths and categoryProperty parameter, acquires image to be collected by image acquisition device and obtains multiple target images.In addition to this it is possible to have it is other canIn conjunction with mode, the embodiment of the present invention is not construed as limiting this.
In the embodiment of the present invention, when electronic equipment carries out photographed or personage by camera, for current electronicsEquipment can learn the pixel of camera lens and the clarity of image to be collected.In this way, multiple acquisition images can be obtained when taking picturesClarity.
Electronic equipment gets the clarity of multiple images to be collected, and the different image to be collected of multiple readabilities is correspondingMultiple focal lengths filter out the low image to be collected of clarity in the image to be collected different from readability, select clarity heightImage to be collected.Accordingly, it is possible to select the one-to-one target focal length of the to be collected image high with clarity.
In the embodiment of the present invention, each target area of the target object in image to be collected in electronic equipment is than corresponding toOne focal length.When target area ratio changes to the second target area ratio from first object area ratio, focal length is also accordingly from firstWhen focal length variations are to the second focal length, an image will be once generated per corresponding variation, come be image will be one in this way, takingGroup image, each image is image of the target area than variation corresponding with a focal length, can be realized electronic equipment oneSecondary property acquires the purpose of multiple target images.
It should be noted that in the present embodiment with the explanation of same steps in other embodiments and identical content, Ke YicanAccording to the description in other embodiments, details are not described herein again.
Image-pickup method provided by the embodiment of the present invention is referred to by receiving image capture instruction based on Image AcquisitionIt enables, determines multiple target area ratios of the target object in image to be collected, be based on multiple target area ratios, pass through Image AcquisitionDevice acquires image to be collected and obtains multiple target images;In this way, by determining multiple mesh of the target object in image to be collectedMark area ratio, acquire image to be collected and obtain multiple target images, improve the efficiency taken pictures, make user when taking pictures moreAdd conveniently.
Based on previous embodiment, the embodiment of the present invention provides a kind of image-pickup method, referring to shown in Fig. 3, this methodThe following steps are included:
Step 301, electronic equipment receive image capture instruction.
Step 302, electronic equipment are based on image capture instruction, determine multiple targets of the target object in image to be collectedArea ratio.
Step 303, electronic equipment acquire the face feature information of target object by image acquisition device.
In the embodiment of the present invention, electronic equipment acquires the face feature information for the person of being taken by image acquisition device.ExampleProperty, it stands in flowering shrubs when the face such as eyes, the nose of the person's of being taken face face photographer, the capture apparatus of electronic equipmentIt will identify that the person of being taken is facial positive towards photographer.When there is no faces for the face such as eyes, the nose of the person of being takenPhotographer, but side face hears the fragrance of a flower, sideway and distally looks into the distance or facing away from photographer, and the person of being taken shows various appearancesGesture, the shooting picture of electronic equipment will identify that the face for the person of being taken is no positive towards photographer.
If step 304, the face feature information of target object do not meet default face feature information, electronic equipment generation is mentionedShow information.
Wherein, prompt information is used to prompt target object mobile or prompts the position of mobile electronic device, so that target pairThe face feature information of elephant meets default face feature information.
In the embodiment of the present invention, the face forward direction of the default face feature information characterization person of being taken towards photographer or is clappedThe face for the person of taking the photograph it is not positive towards photographer when the person's of being taken face five features.In a kind of feasible embodiment, whenWhen the face forward direction for the person of being taken is towards photographer, the position of electronic equipment detection person of being taken in image to be collected.If byNot in the center of image to be collected, electronic equipment will generate the first prompt information and in electronic equipment for the position of photographerThe first prompt information is shown on display interface, wherein the first prompt information is for prompting the person of being taken to be moved to the left or right directlyTo the center position for being moved to image to be collected, or prompt photographer's mobile electronic device position is until by image to be collectedCentral point is moved to the position for the person of being taken, so that the face feature information for the person of being taken meets default face feature information.
In another embodiments possible, when the face for the person of being taken it is not positive towards photographer when, electronic equipment detectionThe position for the person of being taken in image to be collected.If electronics is set when center of the position of photographer in image to be collectedIt is standby to generate the second prompt information and show the second prompt information on the display interface of electronic equipment, wherein the second prompt letterBreath is used to prompt the person of being taken to be moved to the left or right until being moved at the one third position of image to be collected, or prompt is clappedThe position of electronic equipment move the position up to the person of being taken at the one third position of image to be collected by the person of taking the photograph, withThe face feature information of photographer is set to meet default face feature information.Wherein, one third position is only that this implementation is desirableA numerical value can also remove center position for a quarter position, 1/5th positions etc. in other embodimentsAny one position will be not listed one by one herein.
In one embodiment, it is pre- whether the face feature information that electronic equipment can continue determining target object meetsIf face feature information, if it is not, then continuing to test the face feature information of target object;If so, the face based on target objectPortion's characteristic information is determined to the corresponding multiple target area ratios of multiple face feature informations.
Step 305, electronic equipment are based on multiple target area ratios, determine each target area than corresponding focal range.
In the embodiment of the present invention, electronic equipment is by each target area preset in multiple target areas than corresponding by oneA focal range.Illustratively, the focal length value (f) of the zoom lens of a target area ratio is to adjust in a certain rangeWhole, such as the camera lens of 24-70, its f value is continuously adjustable between 24mm to 70mm, passes through and twists lens zoom ring, so that it mayTo achieve the purpose that zoom.Each target area ratio can correspond to a focal range.
Step 306, electronic equipment are based on each target area ratio and focal range, are acquired by image acquisition device to be collectedImage obtains multiple target images.
In the embodiment of the present invention, when the area for determining target object accounts for the ratio of image area to be collected, by changing in advanceIf the focal length value of range, image to be collected is acquired by image acquisition device and obtains multiple target images.In this way, can quickly adjustSave image of the target area than on corresponding focal length, taking photographer and the person's of being taken satisfaction.
It should be noted that in the present embodiment with the explanation of same steps in other embodiments and identical content, Ke YicanAccording to the description in other embodiments, details are not described herein again.
Image-pickup method provided by the embodiment of the present invention is referred to by receiving image capture instruction based on Image AcquisitionIt enables, determines multiple target area ratios of the target object in image to be collected, be based on multiple target area ratios, pass through Image AcquisitionDevice acquires image to be collected and obtains multiple target images;In this way, by determining multiple mesh of the target object in image to be collectedMark area ratio, acquire image to be collected and obtain multiple target images, improve the efficiency taken pictures, make user when taking pictures moreAdd conveniently.
The there is provided a kind of electronic equipment of the embodiment of the present invention can be applied to the corresponding embodiment of Fig. 1-3 provides oneIn kind of image-pickup method, referring to shown in Fig. 4, which includes: processor 41, memory 42 and communication bus 43,In:
Processor 41 is used to execute the program of the image-pickup method stored in memory 42, to perform the steps of
Receive image capture instruction;
Based on image capture instruction, multiple target area ratios of the target object in image to be collected are determined;
Based on multiple target area ratios, image to be collected is acquired by image acquisition device and obtains multiple target images.
In other embodiments of the invention, processor 41 is used to execute referring to based on Image Acquisition of storing in memory 42It enables, multiple target area ratios of the target object in image to be collected is determined, to perform the steps of
Based on image capture instruction, the target object in image to be collected is zoomed in or out, determine target object toAcquire multiple target area ratios in image;Or,
Based on image capture instruction, initial area ratio of the target object in image to be collected is determined, and be based on primary faceProduct determines multiple target areas of the target object in image to be collected than target object is amplified processing and diminution processingThan.
In other embodiments of the invention, processor 41 be used for execute stored in memory 42 based on multiple target facesProduct ratio, acquires image to be collected by image acquisition device and obtains multiple target images, to perform the steps of
Obtain the corresponding relationship of the focal length of area ratio and image acquisition device of the target object in image to be collected;
Based on multiple target area ratios and corresponding relationship, determine multiple target areas than corresponding multiple focal lengths;
Based on multiple target area ratios and multiple focal lengths, image to be collected is acquired by image acquisition device and obtains multiple targetsImage.
In other embodiments of the invention, processor 41 be used for execute stored in memory 42 based on multiple target facesProduct than with multiple focal lengths, image to be collected is acquired by image acquisition device and obtains multiple target images, to perform the steps of
Obtain the property parameters of image acquisition device;
Based on multiple target area ratios, multiple focal lengths and property parameters, image to be collected is acquired by image acquisition device and is obtainedTo multiple target images.
In other embodiments of the invention, processor 41 be used for execute stored in memory 42 based on multiple target facesProduct acquires image to be collected by image acquisition device and obtains multiple target images than, multiple focal lengths and property parameters, with realize withLower step:
Obtain the clarity of the corresponding image to be collected of property parameters;
Based on the clarity of image to be collected, target focal length is determined from multiple focal lengths;
Based on multiple target area ratios and target focal length, image to be collected is acquired by image acquisition device and obtains multiple targetsImage.
In other embodiments of the invention, processor 41 be used for execute stored in memory 42 based on multiple target facesProduct ratio, acquires image to be collected by image acquisition device and obtains multiple target images, to perform the steps of
Based on multiple target area ratios, determine each target area than corresponding focal range;
Based on each target area ratio and focal range, image to be collected is acquired by image acquisition device and obtains multiple targetsImage.
In other embodiments of the invention, processor 41 be used for execute stored in memory 42 based on multiple target facesProduct than with multiple focal lengths, image to be collected is acquired by image acquisition device and obtains multiple target images, to perform the steps of
Initial area ratio of the target object in image to be collected is being adjusted to multiple target area ratios, and image is being adoptedThe Focussing of storage be multiple focal lengths during, multiple target figures are obtained by image acquisition device continuous acquisition image to be collectedPicture.
In other embodiments of the invention, processor 41 is used to execute referring to based on Image Acquisition of storing in memory 42It enables, after determining multiple target area ratios of the target object in image to be collected, to perform the steps of
The face feature information of target object is acquired by image acquisition device;
If the face feature information of target object does not meet default face feature information, prompt information is generated;Wherein, it promptsInformation is used to prompt target object mobile or the position of prompt mobile electronic device, so that the face feature information of target object accords withClose default face feature information.
It should be noted that in the present embodiment step performed by processor 41 specific implementation process, be referred to figureThe realization process in image-pickup method that the corresponding embodiment of 1-3 provides, details are not described herein again.
Electronic equipment provided by the embodiment of the present invention is based on image capture instruction, really by receiving image capture instructionSet the goal multiple target area ratios of the object in image to be collected, is based on multiple target area ratios, is adopted by image acquisition deviceCollect image to be collected and obtains multiple target images.In this way, by determining multiple target faces of the target object in image to be collectedProduct ratio, acquires image to be collected and obtains multiple target images, improve the efficiency taken pictures, keep user more square when taking picturesJust.
Based on previous embodiment, the embodiment of the present invention provides a kind of computer readable storage medium, computer-readable to depositStorage media is stored with one or more program, which can be executed by one or more processor, withThe step of realizing the image-pickup method above with reference to the corresponding any one of Fig. 1-3.
It should be noted that above-mentioned processor can be application-specific IC (Application SpecificIntegrated Circuit, ASIC), digital signal processor (Digital Signal Processor, DSP), number letterNumber processing unit (Digital Signal Processing Device, DSPD), programmable logic device (ProgrammableLogic Device, PLD), field programmable gate array (Field Programmable Gate Array, FPGA), centreManage at least one of device (Central Processing Unit, CPU), controller, microcontroller, microprocessor.It can manageXie Di realizes that the electronic device of above-mentioned processor function can also be to be other, and the embodiment of the present application is not especially limited.
It should be noted that above-mentioned computer readable storage medium can be read-only memory (Read Only Memory,ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable programmable is read-only depositsReservoir (Erasable Programmable Read-Only Memory, EPROM), electrically erasable programmable read-only memoryThe storage of (Electrically Erasable Programmable Read-Only Memory, EEPROM), magnetic random accessDevice (Ferromagnetic Random Access Memory, FRAM), flash memory (Flash Memory), magnetic surface are depositedThe memories such as reservoir, CD or CD-ROM (Compact Disc Read-Only Memory, CD-ROM);It is also possible to wrapThe various electronic equipments for including one of above-mentioned memory or any combination, such as mobile phone, computer, tablet device, individual digitalAssistant etc..
In several embodiments provided herein, it should be understood that disclosed device and method can pass through itIts mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, onlyA kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can combine, orIt is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portionMutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unitOr communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unitThe component shown can be or may not be physical unit, it can and it is in one place, it may be distributed over multiple network listsIn member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing module, it can alsoTo be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentionedIntegrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.ThisField those of ordinary skill, which is understood that, realizes that all or part of the steps of above method embodiment can be by program instruction phaseThe hardware of pass is completed, and program above-mentioned can be stored in a computer readable storage medium, which when being executed, holdsRow step including the steps of the foregoing method embodiments;And storage medium above-mentioned includes: movable storage device, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is variousIt can store the medium of program code.
Disclosed method in several embodiments of the method provided herein, in the absence of conflict can be any groupIt closes, obtains new embodiment of the method.
Disclosed feature in several product embodiments provided herein, in the absence of conflict can be any groupIt closes, obtains new product embodiments.
Disclosed feature in several methods provided herein or apparatus embodiments, in the absence of conflict can be withAny combination obtains new embodiment of the method or apparatus embodiments.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, anyThose 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 containLid 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)

CN201910817075.1A2019-08-302019-08-30A kind of image-pickup method, electronic equipment and computer readable storage mediumPendingCN110445985A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910817075.1ACN110445985A (en)2019-08-302019-08-30A kind of image-pickup method, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910817075.1ACN110445985A (en)2019-08-302019-08-30A kind of image-pickup method, electronic equipment and computer readable storage medium

Publications (1)

Publication NumberPublication Date
CN110445985Atrue CN110445985A (en)2019-11-12

Family

ID=68438503

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910817075.1APendingCN110445985A (en)2019-08-302019-08-30A kind of image-pickup method, electronic equipment and computer readable storage medium

Country Status (1)

CountryLink
CN (1)CN110445985A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111866392A (en)*2020-07-312020-10-30Oppo广东移动通信有限公司 Shooting prompting method, device, storage medium and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101511004A (en)*2009-03-252009-08-19北京中星微电子有限公司Method and apparatus for monitoring camera shot
CN101558427A (en)*2007-03-062009-10-14松下电器产业株式会社Image processing apparatus and method, image processing program and image processor
CN101790048A (en)*2010-02-102010-07-28深圳先进技术研究院Intelligent camera system and method
CN102314043A (en)*2010-07-092012-01-11华晶科技股份有限公司Auxiliary focusing method for human face block
CN103945121A (en)*2014-03-242014-07-23联想(北京)有限公司Information processing method and electronic equipment
CN107493426A (en)*2017-07-052017-12-19努比亚技术有限公司A kind of information collecting method, equipment and computer-readable recording medium
CN107888822A (en)*2017-10-272018-04-06珠海市魅族科技有限公司Image pickup method, device, terminal and readable storage medium storing program for executing
US20180348481A1 (en)*2017-05-312018-12-06Canon Kabushiki KaishaZoom lens and image pickup apparatus including same

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101558427A (en)*2007-03-062009-10-14松下电器产业株式会社Image processing apparatus and method, image processing program and image processor
CN101511004A (en)*2009-03-252009-08-19北京中星微电子有限公司Method and apparatus for monitoring camera shot
CN101790048A (en)*2010-02-102010-07-28深圳先进技术研究院Intelligent camera system and method
CN102314043A (en)*2010-07-092012-01-11华晶科技股份有限公司Auxiliary focusing method for human face block
CN103945121A (en)*2014-03-242014-07-23联想(北京)有限公司Information processing method and electronic equipment
US20180348481A1 (en)*2017-05-312018-12-06Canon Kabushiki KaishaZoom lens and image pickup apparatus including same
CN107493426A (en)*2017-07-052017-12-19努比亚技术有限公司A kind of information collecting method, equipment and computer-readable recording medium
CN107888822A (en)*2017-10-272018-04-06珠海市魅族科技有限公司Image pickup method, device, terminal and readable storage medium storing program for executing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111866392A (en)*2020-07-312020-10-30Oppo广东移动通信有限公司 Shooting prompting method, device, storage medium and electronic device
CN111866392B (en)*2020-07-312021-10-08Oppo广东移动通信有限公司 Shooting prompting method, device, storage medium and electronic device
WO2022022259A1 (en)*2020-07-312022-02-03Oppo广东移动通信有限公司Photographing prompting method and apparatus, and storage medium, and electronic device

Similar Documents

PublicationPublication DateTitle
US10032068B2 (en)Method of making a digital camera image of a first scene with a superimposed second scene
CN103795934B (en)A kind of image processing method and electronic equipment
US8243182B2 (en)Method of making a digital camera image of a scene including the camera user
CN103197491B (en)The method of fast automatic focusing and image collecting device
JP5848561B2 (en) Imaging apparatus, control method therefor, program, and storage medium
CN103795933B (en)A kind of image processing method and electronic equipment
JP4759082B2 (en) Compound eye imaging device
CN104079812B (en)A kind of image information acquisition method and device
CN108024053A (en)Camera device, focus adjusting method and recording medium
JP2004320286A (en) Digital camera
JP2005130468A (en) Imaging apparatus and control method thereof
CN104618639B (en)Focusing control device and its control method
KR20100075158A (en)Apparatus and method for capturing image
WO2014071840A1 (en)Method and device for taking photo and video
CN103905725B (en)Image processing equipment and image processing method
CN107105157A (en)The multiple images captured from handheld device carry out portrait images synthesis
US7920180B2 (en)Imaging device with burst zoom mode
CN101621619A (en)Shooting method for simultaneously focusing various faces and digital image capture device thereof
CN110740260A (en)shooting method, device and computer readable storage medium
JP2004320285A (en) Digital camera
CN115103094A (en)Camera module far-view angle adjusting method and system based on fixation point
JP2000347278A (en)Camera and photographing method
JP2013074572A (en)Image processing apparatus, image processing method, and program
CN110445985A (en)A kind of image-pickup method, electronic equipment and computer readable storage medium
JP2005143112A (en) Camera and related method

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20191112

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp