CN109561255A - Terminal photographic method, device and storage medium - Google Patents
Terminal photographic method, device and storage medium Download PDFInfo
- Publication number
- CN109561255A CN109561255A CN201811564208.0A CN201811564208A CN109561255A CN 109561255 A CN109561255 A CN 109561255A CN 201811564208 A CN201811564208 A CN 201811564208A CN 109561255 A CN109561255 A CN 109561255A
- Authority
- CN
- China
- Prior art keywords
- target pixel
- pixel points
- focal length
- mobile terminal
- image region
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
- H04M1/0264—Details of the structure or mounting of specific components for a camera module assembly
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Studio Devices (AREA)
- Telephone Function (AREA)
Abstract
This application discloses a kind of terminal photographic method, device and storage medium, which is applied to mobile terminal, comprising: when the mobile terminal is when carrying out image taking, detects whether that there are multiple subjects;If so, determining the corresponding image-region of each subject;Three target pixel points not on the same line are chosen from each image-region;Shooting focal length is determined according to the target pixel points, and photographing operation is carried out with the shooting focal length, the clear shooting of more objects can be realized without carrying out repeatedly focusing, method is simple, and focusing speed is fast.
Description
Technical field
This application involves mobile communication field more particularly to a kind of terminal photographic methods, device and storage medium.
Background technique
With the continuous development of electronic technology, digital photographing equipment is (for example, digital camera or with digital camera head
Mobile phone etc.) go deep into huge numbers of families, become everybody and records the indispensable tool of beautiful natural views, data plate life splendid moment.
Photographic method in the prior art is typically only capable to determine a focus point, the focus point pair in obtained photo
Answer the image in region than more visible.However work as user and need to clap multiple objects, such as when big group photo, before having due to the position at people station
After having, and terminal main body that can only be taken to one of them in focusing is focused, such that user needs to carry out
Repeatedly focusing just can make image integrally than more visible, and time-consuming long, focusing mode is cumbersome.
Summary of the invention
The embodiment of the present application provides a kind of terminal photographic method, device and storage medium, can be without carrying out repeatedly focusing
The clear shooting that more objects can be achieved, improves focusing speed.
The embodiment of the present application provides a kind of terminal photographic method, is applied to mobile terminal, comprising:
When the mobile terminal is when carrying out image taking, detect whether that there are multiple subjects;
If so, determining the corresponding image-region of each subject;
Three target pixel points not on the same line are chosen from each described image region;
Shooting focal length is determined according to the target pixel points, and photographing operation is carried out with the shooting focal length.
The embodiment of the present application also provides a kind of terminal camera arrangements, are applied to mobile terminal, comprising:
Detection module is taken pair for detecting whether when the mobile terminal is when carrying out image taking there are multiple
As;
Determining module is used for if so, determining the corresponding image-region of each subject;
Module is chosen, for choosing three target pixel points not on the same line from each described image region;
Photo module for determining shooting focal length according to the target pixel points, and is taken pictures with the shooting focal length
Operation.
The embodiment of the present application also provides a kind of computer readable storage medium, a plurality of finger is stored in the storage medium
It enables, described instruction is suitable for being loaded by processor to execute any of the above-described terminal photographic method.
Terminal photographic method, device and storage medium provided by the present application are applied to mobile terminal, when the mobile terminal exists
When carrying out image taking, by detecting whether that there are multiple subjects;If so, determining that each subject is corresponding
Image-region;Three target pixel points not on the same line are chosen from each image-region;According to the target picture
Vegetarian refreshments determines shooting focal length, and carries out photographing operation with the shooting focal length, and more objects can be realized without carrying out repeatedly focusing
The clear shooting of body, method is simple, and focusing speed is fast.
Detailed description of the invention
With reference to the accompanying drawing, it is described in detail by the specific embodiment to the application, the technical solution of the application will be made
And other beneficial effects are apparent.
Fig. 1 is the flow diagram of terminal photographic method provided by the embodiments of the present application.
Fig. 2 is the flow diagram of step S103 provided by the embodiments of the present application.
Fig. 3 is the schematic diagram of a scenario that target pixel points provided by the embodiments of the present application are chosen.
Fig. 4 is another flow diagram of step S103 provided by the embodiments of the present application.
Fig. 5 is the structural schematic diagram of terminal camera arrangement provided by the embodiments of the present application.
Fig. 6 is the structural schematic diagram of mobile terminal provided by the embodiments of the present application.
Fig. 7 is another structural schematic diagram of mobile terminal provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, those skilled in the art's every other implementation obtained without creative efforts
Example, shall fall in the protection scope of this application.
A kind of terminal photographic method is applied to mobile terminal, comprising: when the mobile terminal is when carrying out image taking, examines
It surveys and whether there is multiple subjects;If so, determining the corresponding image-region of each subject;From each figure
As choosing three target pixel points not on the same line in region;Shooting focal length is determined according to the target pixel points, and with
The shooting focal length carries out photographing operation.
As shown in Figure 1, Fig. 1 is the flow diagram of terminal photographic method provided by the embodiments of the present application, which takes pictures
Method is applied to mobile terminal, and detailed process can be such that
S101. when the mobile terminal is when carrying out image taking, detect whether that there are multiple subjects, if so,
Following step S102 is executed, if it is not, then detecting again.
S102. the corresponding image-region of each subject is determined.
In the present embodiment, for shooting every time, reference object existing for mobile terminal meeting real-time detection current shooting region
Whether have multiple, and if it exists, then find the image-region where each reference object.
S103. three target pixel points not on the same line are chosen from each image-region.
In the present embodiment, due to that can not determine a face at collinear 3 points, therefore to judge that reference object is
No clear, whether three points where can analyze the reference object on shooting face are clear.Specifically, three target pixel points
Selection can be what mobile terminal was automatically performed, for example mobile terminal can be at random from each image-region or key area
Three pixels are chosen in (such as face area), alternatively, the selection can also be participated in completing by user, for example user sees at it
In image locations choose one or two, it is remaining to be chosen by mobile terminal self.
For example, when the selection operation is automatically performed by mobile terminal, Fig. 2 is referred to, above-mentioned steps S103 specifically can be with
Include:
S1031A. the two neighboring image-region is judged with the presence or absence of lap, if so, executing following step
S1032A, if it is not, then executing following step S1033A.
S1032A. it for each image-region, is taken not on the same line from the lap and non-overlapping portion sorting
Three pixels, as target pixel points.
S1033A. three pixels not on the same line are arbitrarily chosen from each image-region, as target
Pixel.
In the present embodiment, when there are lap, one or two point can be chosen from the lap as public
Point takes left point from non-overlapping portion sorting, to can ensure the accurate positionin in corresponding shooting face, and can reduce to the greatest extent selected
The quantity of capture vegetarian refreshments.
For example, Fig. 3 is referred to, it is assumed that there is be taken personage A1~A3, A1 and A2 in current shooting region and there is overlapping
Part m (dashed region) can choose a pixel x from m, select from the corresponding residual image of A1 then for A1 and A2
2 pixels y1 and y2 are taken, 2 pixels y3 and y4 are chosen from the corresponding residual image of A2, then these three points of x, y1 and y2
The face of composition is the shooting face where A1, and faces that these three points of x, y3 and y4 are constituted are the shooting face where A2, and for A3, by
In lap is not present, therefore three points y5, y6 and y7 can be randomly selected as the shooting face where A3.
For example, referring to Fig. 4, above-mentioned steps S103 tool when the selection operation is completed jointly by mobile terminal and user
Body may include:
S1031B. prompt user carries out the selection operation of single pixel point;
S1032B. the position for the single pixel point that user chooses is determined;
S1033B. residual pixel point is chosen from correspondence image region according to the position, and by the single pixel point and is remained
Afterimage vegetarian refreshments is as target pixel points, wherein each image-region includes three target pixel points, and three target pictures
Vegetarian refreshments is not on the same line.
In the present embodiment, prompt operation can be presented to user by prompting frame, when mobile terminal generates prompting frame
When, user can carry out pixel selection, such as click, pressing etc. according to the selection mode in prompting frame and choose mode.
S104. shooting focal length is determined according to the target pixel points, and photographing operation is carried out with the shooting focal length.
For example, above-mentioned steps " determining shooting focal length according to the target pixel points " can specifically include:
Focussing operation is carried out to the mobile terminal;
During Focussing, the clarity of the target pixel points is detected;
When the clarity of all target pixel points reaches preset threshold, current focus is obtained as shooting focal length.
In the present embodiment, which can be set according to the resolution ratio of mobile terminal, and resolution ratio is higher, this is pre-
If threshold value can also be bigger.When the corresponding target pixel points selection of each subject has been got well, focal length tune can be carried out
Examination, the clarity of these target pixel points of real-time detection in debugging process just may be used when all definition values are relatively high
To think focal length at this time for optimal shooting focal length.
For example, above-mentioned steps " carrying out photographing operation with the shooting focal length " can specifically include:
Whether detection user adjusts exposure;
If so, carrying out photographing operation with exposure adjusted and the shooting focal length;By the exposure adjusted with
Current environmental light brightness associated storage is in history parameters library;
If it is not, then acquisition is corresponding with the current environmental light brightness from the history parameters library has stored exposure;With this
Shooting focal length and stored exposure carry out photographing operation.
In the present embodiment, after determining shooting focal length, confirmation shooting can be prompted the user whether, if user selects
It is, or is no longer changed in default duration (such as 5 seconds) interior shooting focal length, shutter pressing operation can be executed and clapped
According to, and before pressing shutter, it is also necessary to light exposure needed for determining shutter, the light exposure can be user setting, such as
User adjusts light exposure size by sliding up and down mode at shooting interface manually, or is also possible to mobile terminal according to periphery
Environment light self-setting, for example when the amount of not being exposed does not adjust user, mobile terminal can be automatically analyzed in current environment
The shooting habit that user is previous under light, the exposure that the exposure used when using previous shooting is shot as this.
It can be seen from the above, terminal photographic method provided in this embodiment, be applied to mobile terminal, when the mobile terminal into
When row image taking, by detecting whether there are multiple subjects, if so, determining that each subject is corresponding
Image-region, and three target pixel points not on the same line are chosen from each image-region, later according to the mesh
Mark pixel determines shooting focal length, and carries out photographing operation with the shooting focal length, so as to which without carrying out repeatedly, focusing can be real
The now clear shooting of more objects, method is simple, and focus effects are good, and participates in manually without user, and focusing speed is fast.
The method according to described in above-described embodiment, the present embodiment will be retouched from the angle further progress of terminal camera arrangement
It states, which can be used as independent entity specifically to realize.
Referring to Fig. 5, terminal camera arrangement provided by the embodiments of the present application has been described in detail in Fig. 5, it is applied to mobile terminal,
The mobile terminal may include the equipment that mobile phone, tablet computer, individual PC etc. have camera function.The terminal camera arrangement can be with
Include: detection module 10, determining module 20, choose module 30 and photo module 40, in which:
(1) detection module 10
Detection module 10 is taken pair for detecting whether when the mobile terminal is when carrying out image taking there are multiple
As.
(2) determining module 20
Determining module 20 is used for if so, determining the corresponding image-region of each subject.
In the present embodiment, for shooting every time, reference object existing for mobile terminal meeting real-time detection current shooting region
Whether have multiple, and if it exists, then find the image-region where each reference object.
(3) module 30 is chosen
Module 30 is chosen, for choosing three target pixel points not on the same line from each image-region.
In the present embodiment, due to that can not determine a face at collinear 3 points, therefore to judge that reference object is
No clear, whether three points where can analyze the reference object on shooting face are clear.Specifically, three target pixel points
Selection can be what mobile terminal was automatically performed, for example mobile terminal can be at random from each image-region or key area
Three pixels are chosen in (such as face area), alternatively, the selection can also be participated in completing by user, for example user sees at it
In image locations choose one or two, it is remaining to be chosen by mobile terminal self.
For example, the selection module 30 is specifically used for when the selection operation is automatically performed by mobile terminal:
Judge the two neighboring image-region with the presence or absence of lap;
If so, being taken not on the same line for each image-region from the lap and non-overlapping portion sorting
Three pixels, as target pixel points;
If it is not, three pixels not on the same line are then arbitrarily chosen from each image-region, as target
Pixel.
In the present embodiment, when there are lap, one or two point can be chosen from the lap as public
Point takes left point from non-overlapping portion sorting, to can ensure the accurate positionin in corresponding shooting face, and can reduce to the greatest extent selected
The quantity of capture vegetarian refreshments.
For example, Fig. 3 is referred to, it is assumed that there is be taken personage A1~A3, A1 and A2 in current shooting region and there is overlapping
Part m can choose a pixel x then for A1 and A2 from m, and 2 pixels are chosen from the corresponding residual image of A1
Y1 and y2 chooses 2 pixels y3 and y4 from the corresponding residual image of A2, then the face that these three points of x, y1 and y2 are constituted is A1
The shooting face at place, the face that these three points of x, y3 and y4 are constituted are the shooting face where A2, and for A3, since there is no overlapping
Part, therefore three points y5, y6 and y7 can be randomly selected as the shooting face where A3.
For example, the selection module 30 is specifically used for when the selection operation is completed jointly by mobile terminal and user:
User is prompted to carry out the selection operation of single pixel point;
Determine the position for the single pixel point that user chooses;
Residual pixel point is chosen from correspondence image region according to the position, and by the single pixel point and residual pixel point
As target pixel points, wherein each image-region includes three target pixel points, and three target pixel points do not exist
On same straight line.
In the present embodiment, prompt operation can be presented to user by prompting frame, when mobile terminal generates prompting frame
When, user can carry out pixel selection, such as click, pressing etc. according to the selection mode in prompting frame and choose mode.
(4) photo module 40
Photo module 40 for determining shooting focal length according to the target pixel points, and carries out the behaviour that takes pictures with the shooting focal length
Make.
For example, the photo module 40 is specifically used for:
Focussing operation is carried out to the mobile terminal;
During Focussing, the clarity of the target pixel points is detected;
When the clarity of all target pixel points reaches preset threshold, current focus is obtained as shooting focal length.
In the present embodiment, which can be set according to the resolution ratio of mobile terminal, and resolution ratio is higher, this is pre-
If threshold value can also be bigger.When the corresponding target pixel points selection of each subject has been got well, focal length tune can be carried out
Examination, the clarity of these target pixel points of real-time detection in debugging process just may be used when all definition values are relatively high
To think focal length at this time for optimal shooting focal length.
Further, which is specifically used for:
Whether detection user adjusts exposure;
If so, carrying out photographing operation with exposure adjusted and the shooting focal length;By the exposure adjusted with
Current environmental light brightness associated storage is in history parameters library;
If it is not, then acquisition is corresponding with the current environmental light brightness from the history parameters library has stored exposure;With this
Shooting focal length and stored exposure carry out photographing operation.
In the present embodiment, after determining shooting focal length, confirmation shooting can be prompted the user whether, if user selects
It is, or is no longer changed in default duration (such as 5 seconds) interior shooting focal length, shutter pressing operation can be executed and clapped
According to, and before pressing shutter, it is also necessary to light exposure needed for determining shutter, the light exposure can be user setting, such as
User adjusts light exposure size by sliding up and down mode at shooting interface manually, or is also possible to mobile terminal according to periphery
Environment light self-setting, for example when the amount of not being exposed does not adjust user, mobile terminal can be automatically analyzed in current environment
The shooting habit that user is previous under light, the exposure that the exposure used when using previous shooting is shot as this.
When it is implemented, above each unit can be used as independent entity to realize, any combination can also be carried out, is made
It is realized for same or several entities, the specific implementation of above each unit can be found in the embodiment of the method for front, herein not
It repeats again.
It can be seen from the above, terminal photographic method provided in this embodiment, be applied to mobile terminal, when the mobile terminal into
It when row image taking, is detected whether by detection module 10 there are multiple subjects, if so, determining module 20 determines often
A subject corresponding image-region is chosen module 30 and is chosen from each image-region not on the same line
Three target pixel points, photo module 40 determines shooting focal length according to the target pixel points later, and with shooting focal length progress
Photographing operation, so as to which the clear shooting of more objects can be realized without carrying out repeatedly focusing, method is simple, and focus effects are good,
And participated in manually without user, focusing speed is fast.
In addition, the embodiment of the present application also provides a kind of mobile terminal, which can be smart phone, tablet computer
Etc. equipment.As shown in fig. 6, mobile terminal 200 includes processor 201, memory 202.Wherein, processor 201 and memory 202
It is electrically connected.
Processor 201 is the control centre of mobile terminal 200, utilizes various interfaces and the entire mobile terminal of connection
Various pieces by the application program of operation or load store in memory 202, and are called and are stored in memory 202
Data, execute mobile terminal various functions and processing data, thus to mobile terminal carry out integral monitoring.
In the present embodiment, processor 201 in mobile terminal 200 can according to following step, by one or one with
On the corresponding instruction of process of application program be loaded into memory 202, and be stored in memory by processor 201 to run
Application program in 202, to realize various functions:
When the mobile terminal is when carrying out image taking, detect whether that there are multiple subjects;
If so, determining the corresponding image-region of each subject;
Three target pixel points not on the same line are chosen from each image-region;
Shooting focal length is determined according to the target pixel points, and photographing operation is carried out with the shooting focal length.
Fig. 7 shows the specific block diagram of mobile terminal provided in an embodiment of the present invention, which can be used for
The terminal photographic method provided in above-described embodiment is provided.The mobile terminal 300 can be smart phone or tablet computer.
RF circuit 310 realizes the mutual conversion of electromagnetic wave and electric signal, thus with logical for receiving and transmitting electromagnetic wave
News network or other equipment are communicated.RF circuit 310 may include various existing for executing the circuit elements of these functions
Part, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card, storage
Device etc..RF circuit 310 can carry out communicating or by wireless with various networks such as internet, intranet, wireless network
Network is communicated with other equipment.Above-mentioned wireless network may include cellular telephone networks, WLAN or Metropolitan Area Network (MAN).
Various communication standards, agreement and technology, including but not limited to global system for mobile communications can be used in above-mentioned wireless network
(Global System for Mobile Communication, GSM), enhanced mobile communication technology (Enhanced Data
GSM Environment, EDGE), Wideband CDMA Technology (Wideband Code Division Multiple
Access, WCDMA), Code Division Multiple Access (Code Division Access, CDMA), time division multiple access technology (Time
Division Multiple Access, TDMA), adopting wireless fidelity technology (Wireless Fidelity, Wi-Fi) (such as U.S.'s electricity
Gas and Electronic Engineering Association standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n),
The networking telephone (Voice over Internet Protocol, VoIP), worldwide interoperability for microwave accesses (Worldwide
Interoperability for Microwave Access, Wi-Max), other are for mail, instant messaging and short message
Agreement and any other suitable communications protocol, or even may include the agreement that those are not developed currently yet.
Memory 320 can be used for storing software program and module, as front camera is taken pictures automatically in above-described embodiment
Corresponding program instruction/the module of light-supplementing system, method, the software program that processor 380 is stored in memory 320 by operation
And module, thereby executing various function application and data processing, i.e. the realization front camera function of taking pictures automatic light-supplementing.
Memory 320 may include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage fills
It sets, flash memory or other non-volatile solid state memories.In some instances, memory 320 can further comprise relative to place
The remotely located memory of device 380 is managed, these remote memories can pass through network connection to mobile terminal 300.Above-mentioned network
Example include but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Input unit 330 can be used for receiving the number or character information of input, and generate and user setting and function
Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 330 may include touching
Sensitive surfaces 331 and other input equipments 332.Touch sensitive surface 331, also referred to as touch display screen or Trackpad are collected and are used
Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table
Operation on face 331 or near touch sensitive surface 331), and corresponding attachment device is driven according to preset formula.It is optional
, touch sensitive surface 331 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used
The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch
Touch information is received in detection device, and is converted into contact coordinate, then gives processor 380, and can receive processor 380
The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch sensitive surface 331.In addition to touch sensitive surface 331, input unit 330 can also include other input equipments 332.Specifically,
Other input equipments 332 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.),
One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 340 can be used for showing information input by user or the information and mobile terminal that are supplied to user
300 various graphical user interface, these graphical user interface can by figure, text, icon, video and any combination thereof Lai
It constitutes.Display unit 340 may include display panel 341, optionally, can using LCD (Liquid Crystal Display,
Liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display
Panel 341.Further, touch sensitive surface 331 can cover display panel 341, when touch sensitive surface 331 detect on it or near
Touch operation after, send processor 380 to determine the type of touch event, be followed by subsequent processing device 380 according to touch event
Type provides corresponding visual output on display panel 341.Although in Fig. 7, touch sensitive surface 331 is with display panel 341
Output and input function as two independent components to realize, but in some embodiments it is possible to by touch sensitive surface 331 with
Display panel 341 is integrated and realizes and outputs and inputs function.
Mobile terminal 300 may also include at least one sensor 350, for example, optical sensor, motion sensor and other
Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can basis
The light and shade of ambient light adjusts the brightness of display panel 341, proximity sensor can when mobile terminal 300 is moved in one's ear,
Close display panel 341 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect all directions
The size of upper (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when static
Application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (for example pedometer, strikes
Hit) etc.;Gyroscope, barometer, hygrometer, thermometer, infrared sensor for can also configure as mobile terminal 300 etc. other
Sensor, details are not described herein.
Voicefrequency circuit 360, loudspeaker 361, microphone 362 can provide the audio interface between user and mobile terminal 300.
Electric signal after the audio data received conversion can be transferred to loudspeaker 361, be converted by loudspeaker 361 by voicefrequency circuit 360
For voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 362, is connect by voicefrequency circuit 360
Audio data is converted to after receipts, then by after the processing of audio data output processor 380, is sent to through RF circuit 310 such as another
One terminal, or audio data is exported to memory 320 to be further processed.Voicefrequency circuit 360 is also possible that earplug
Jack, to provide the communication of peripheral hardware earphone Yu mobile terminal 300.
Mobile terminal 300 can help user send and receive e-mail, is clear by transmission module 370 (such as Wi-Fi module)
Look at webpage and access streaming video etc., it provides wireless broadband internet for user and accesses.Although Fig. 7 shows transmission mould
Block 370, but it is understood that, and it is not belonging to must be configured into for mobile terminal 300, it can according to need do not changing completely
Become in the range of the essence of invention and omits.
Processor 380 is the control centre of mobile terminal 300, utilizes each of various interfaces and connection whole mobile phone
Part by running or execute the software program and/or module that are stored in memory 320, and calls and is stored in memory
Data in 320 execute the various functions and processing data of mobile terminal 300, to carry out integral monitoring to mobile phone.It is optional
, processor 380 may include one or more processing cores;In some embodiments, processor 380 can integrate application processor
And modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modulatedemodulate
Processor is adjusted mainly to handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor
In 380.
Mobile terminal 300 further includes the power supply 390 (such as battery) powered to all parts, in some embodiments, electricity
Source can be logically contiguous by power-supply management system and processor 380, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.Power supply 190 can also include one or more direct current or AC power source, recharge
The random components such as system, power failure detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, mobile terminal 300 can also include camera (such as front camera, rear camera), bluetooth
Module etc., details are not described herein.Specifically in the present embodiment, the display unit of mobile terminal is touch-screen display, mobile whole
End further includes having memory and one perhaps more than one program one of them or more than one program being stored in and deposits
In reservoir, and it is configured to execute one or more than one program by one or more than one processor to include for carrying out
The instruction operated below:
When the mobile terminal is when carrying out image taking, detect whether that there are multiple subjects;
If so, determining the corresponding image-region of each subject;
Three target pixel points not on the same line are chosen from each image-region;
Shooting focal length is determined according to the target pixel points, and photographing operation is carried out with the shooting focal length.
When it is implemented, the above modules can be used as independent entity to realize, any combination can also be carried out, is made
It is realized for same or several entities, the specific implementation of the above modules can be found in the embodiment of the method for front, herein not
It repeats again.
It will appreciated by the skilled person that all or part of the steps in the various methods of above-described embodiment can be with
It is completed by instructing, or relevant hardware is controlled by instruction to complete, which can store computer-readable deposits in one
In storage media, and is loaded and executed by processor.For this purpose, the embodiment of the present invention provides a kind of storage medium, wherein storing
There is a plurality of instruction, which can be loaded by processor, clap to execute any terminal provided by the embodiment of the present invention
According to the step in method.
Wherein, which may include: read-only memory (ROM, Read Only Memory), random access memory
Body (RAM, Random Access Memory), disk or CD etc..
By the instruction stored in the storage medium, any terminal provided by the embodiment of the present invention can be executed and clapped
According to the step in method, it is thereby achieved that achieved by any terminal photographic method provided by the embodiment of the present invention
Beneficial effect is detailed in the embodiment of front, and details are not described herein.
The specific implementation of above each operation can be found in the embodiment of front, and details are not described herein.
Although above preferred embodiment is not to limit in conclusion the application is disclosed above with preferred embodiment
The application processed, those skilled in the art are not departing from spirit and scope, can make various changes and profit
Decorations, therefore the protection scope of the application subjects to the scope of the claims.
Claims (10)
1. a kind of terminal photographic method is applied to mobile terminal characterized by comprising
When the mobile terminal is when carrying out image taking, detect whether that there are multiple subjects;
If so, determining the corresponding image-region of each subject;
Three target pixel points not on the same line are chosen from each described image region;
Shooting focal length is determined according to the target pixel points, and photographing operation is carried out with the shooting focal length.
2. terminal photographic method according to claim 1, which is characterized in that described determined according to the target pixel points is clapped
Take the photograph focal length, comprising:
Focussing operation is carried out to the mobile terminal;
During Focussing, the clarity of the target pixel points is detected;
When the clarity of all target pixel points reaches preset threshold, current focus is obtained as shooting focal length.
3. terminal photographic method according to claim 1, which is characterized in that described to be chosen from each described image region
Not three target pixel points on the same line, comprising:
Judge two neighboring described image region with the presence or absence of lap;
If so, being taken not on the same line for each described image region from the lap and non-overlapping portion sorting
Three pixels, as target pixel points;
If it is not, three pixels not on the same line are then arbitrarily chosen from each described image region, as target picture
Vegetarian refreshments.
4. terminal photographic method according to claim 1, which is characterized in that described to be chosen from each described image region
Not three target pixel points on the same line, comprising:
User is prompted to carry out the selection operation of single pixel point;
Determine the position for the single pixel point that user chooses;
Residual pixel point is chosen from correspondence image region according to the position, and by the single pixel point and residual pixel point
As target pixel points, wherein each described image region includes three target pixel points, and three object pixels
It puts not on the same line.
5. terminal photographic method according to claim 1, which is characterized in that described to carry out the behaviour that takes pictures with the shooting focal length
Make, comprising:
Whether detection user adjusts exposure;
If so, carrying out photographing operation with exposure adjusted and the shooting focal length;By the exposure adjusted with
Current environmental light brightness associated storage is in history parameters library;
If it is not, then acquisition is corresponding with the current environmental light brightness from the history parameters library has stored exposure;With institute
It states shooting focal length and has stored exposure and carry out photographing operation.
6. a kind of terminal camera arrangement is applied to mobile terminal characterized by comprising
Detection module, for detecting whether that there are multiple subjects when the mobile terminal is when carrying out image taking;
Determining module is used for if so, determining the corresponding image-region of each subject;
Module is chosen, for choosing three target pixel points not on the same line from each described image region;
Photo module for determining shooting focal length according to the target pixel points, and carries out photographing operation with the shooting focal length.
7. terminal camera arrangement according to claim 6, which is characterized in that the photo module is specifically used for:
Focussing operation is carried out to the mobile terminal;
During Focussing, the clarity of the target pixel points is detected;
When the clarity of all target pixel points reaches preset threshold, current focus is obtained as shooting focal length.
8. terminal camera arrangement according to claim 6, which is characterized in that the selection module is specifically used for:
Judge two neighboring described image region with the presence or absence of lap;
If so, being taken not on the same line for each described image region from the lap and non-overlapping portion sorting
Three pixels, as target pixel points;
If it is not, three pixels not on the same line are then arbitrarily chosen from each described image region, as target picture
Vegetarian refreshments.
9. terminal camera arrangement according to claim 6, which is characterized in that the selection module is specifically used for:
User is prompted to carry out the selection operation of single pixel point;
Determine the position for the single pixel point that user chooses;
Residual pixel point is chosen from correspondence image region according to the position, and by the single pixel point and residual pixel point
As target pixel points, wherein each described image region includes three target pixel points, and three object pixels
It puts not on the same line.
10. a kind of computer readable storage medium, which is characterized in that be stored with a plurality of instruction, the finger in the storage medium
It enables being suitable for being loaded by processor and 1 to 5 described in any item terminal photographic methods is required with perform claim.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811564208.0A CN109561255B (en) | 2018-12-20 | 2018-12-20 | Terminal photographing method and device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811564208.0A CN109561255B (en) | 2018-12-20 | 2018-12-20 | Terminal photographing method and device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109561255A true CN109561255A (en) | 2019-04-02 |
CN109561255B CN109561255B (en) | 2020-11-13 |
Family
ID=65870542
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811564208.0A Active CN109561255B (en) | 2018-12-20 | 2018-12-20 | Terminal photographing method and device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109561255B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112738393A (en) * | 2020-12-25 | 2021-04-30 | 珠海西山居移动游戏科技有限公司 | Focusing method and device |
CN114079726A (en) * | 2020-08-13 | 2022-02-22 | 华为技术有限公司 | Shooting method and equipment |
CN115174814A (en) * | 2022-07-29 | 2022-10-11 | 科大讯飞股份有限公司 | Focusing paper surface and working condition acquisition method, device, equipment and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060028577A1 (en) * | 2004-08-05 | 2006-02-09 | Kenichi Honjo | Imaging apparatus |
CN101272503A (en) * | 2008-04-30 | 2008-09-24 | 北京中星微电子有限公司 | Gridding noise elimination method and device for remaining image definition |
CN102511013A (en) * | 2010-07-23 | 2012-06-20 | 索尼公司 | Imaging device, method for controlling same, and program |
US20130222661A1 (en) * | 2012-02-29 | 2013-08-29 | Canon Kabushiki Kaisha | Photoelectric conversion apparatus, focus detection apparatus, and image pickup system |
CN103312959A (en) * | 2012-03-15 | 2013-09-18 | 欧姆龙株式会社 | Photographing device and photographing device controlling method |
CN103747174A (en) * | 2013-12-20 | 2014-04-23 | 河北汉光重工有限责任公司 | Multi-target free focusing method and application apparatus thereof |
CN103780839A (en) * | 2014-01-21 | 2014-05-07 | 宇龙计算机通信科技(深圳)有限公司 | Shooting method and terminal |
CN104205801A (en) * | 2012-03-28 | 2014-12-10 | 高通股份有限公司 | Method and apparatus for autofocusing an imaging device |
CN104867125A (en) * | 2015-06-04 | 2015-08-26 | 北京京东尚科信息技术有限公司 | Image obtaining method and image obtaining device |
CN106134176A (en) * | 2014-04-03 | 2016-11-16 | 高通股份有限公司 | System and method for multifocal imaging |
CN107810629A (en) * | 2015-01-18 | 2018-03-16 | 三星电子株式会社 | Image processing apparatus and image processing method |
-
2018
- 2018-12-20 CN CN201811564208.0A patent/CN109561255B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060028577A1 (en) * | 2004-08-05 | 2006-02-09 | Kenichi Honjo | Imaging apparatus |
CN101272503A (en) * | 2008-04-30 | 2008-09-24 | 北京中星微电子有限公司 | Gridding noise elimination method and device for remaining image definition |
CN102511013A (en) * | 2010-07-23 | 2012-06-20 | 索尼公司 | Imaging device, method for controlling same, and program |
US20130222661A1 (en) * | 2012-02-29 | 2013-08-29 | Canon Kabushiki Kaisha | Photoelectric conversion apparatus, focus detection apparatus, and image pickup system |
CN103312959A (en) * | 2012-03-15 | 2013-09-18 | 欧姆龙株式会社 | Photographing device and photographing device controlling method |
CN104205801A (en) * | 2012-03-28 | 2014-12-10 | 高通股份有限公司 | Method and apparatus for autofocusing an imaging device |
CN103747174A (en) * | 2013-12-20 | 2014-04-23 | 河北汉光重工有限责任公司 | Multi-target free focusing method and application apparatus thereof |
CN103780839A (en) * | 2014-01-21 | 2014-05-07 | 宇龙计算机通信科技(深圳)有限公司 | Shooting method and terminal |
CN106134176A (en) * | 2014-04-03 | 2016-11-16 | 高通股份有限公司 | System and method for multifocal imaging |
CN107810629A (en) * | 2015-01-18 | 2018-03-16 | 三星电子株式会社 | Image processing apparatus and image processing method |
CN104867125A (en) * | 2015-06-04 | 2015-08-26 | 北京京东尚科信息技术有限公司 | Image obtaining method and image obtaining device |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114079726A (en) * | 2020-08-13 | 2022-02-22 | 华为技术有限公司 | Shooting method and equipment |
CN114079726B (en) * | 2020-08-13 | 2023-05-02 | 华为技术有限公司 | Shooting method and equipment |
CN112738393A (en) * | 2020-12-25 | 2021-04-30 | 珠海西山居移动游戏科技有限公司 | Focusing method and device |
CN112738393B (en) * | 2020-12-25 | 2022-08-09 | 珠海西山居移动游戏科技有限公司 | Focusing method and device |
CN115174814A (en) * | 2022-07-29 | 2022-10-11 | 科大讯飞股份有限公司 | Focusing paper surface and working condition acquisition method, device, equipment and storage medium |
CN115174814B (en) * | 2022-07-29 | 2024-06-04 | 科大讯飞股份有限公司 | Focusing paper surface and operation condition acquisition method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109561255B (en) | 2020-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104995558B (en) | A kind of method obtaining panoramic picture and terminal | |
CN106959761B (en) | A kind of terminal photographic method, device and terminal | |
CN106027916A (en) | Light compensation-based photographing method, and terminal | |
CN103400108A (en) | Face identification method and device as well as mobile terminal | |
CN109327657A (en) | Camera-based shooting question searching method and family education equipment | |
CN103458190A (en) | Photographing method, photographing device and terminal device | |
CN103826065B (en) | A kind of image processing method and device | |
CN103414814A (en) | Picture processing method and device and terminal device | |
CN107241552A (en) | A kind of image acquiring method, device, storage medium and terminal | |
CN106331502A (en) | Terminal and its filter photographing method and device | |
CN106210516B (en) | One kind is taken pictures processing method and terminal | |
CN103744592A (en) | Information processing method and terminal | |
CN104333704A (en) | Photographing scene previewing method, photographing scene previewing device and terminal | |
CN105915815A (en) | Method and device for shooting based on mobile device, and mobile device | |
CN109561255A (en) | Terminal photographic method, device and storage medium | |
CN109493821A (en) | Screen brightness regulation method, device and storage medium | |
CN105120158B (en) | The image pickup method and device of mobile terminal | |
CN108604251A (en) | A kind of sharing method and terminal device of multimedia file | |
CN109413256A (en) | Contact person information processing method, device, storage medium and electronic equipment | |
CN109656431A (en) | Information display method, device and storage medium | |
CN106210514B (en) | It takes pictures the method, apparatus and smart machine of focusing | |
CN105635553B (en) | Image shooting method and device | |
CN110113525A (en) | Shooting preview method, apparatus, storage medium and mobile terminal | |
CN110209415A (en) | Firmware method for refreshing, device and storage medium | |
CN110113782A (en) | Data transmission method, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230215 Address after: 518054 Room 201, building A, 1 front Bay Road, Shenzhen Qianhai cooperation zone, Shenzhen, Guangdong Patentee after: Zhang Daming Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd. |