CN107343121B - A kind of processing method and mobile terminal of image data - Google Patents

A kind of processing method and mobile terminal of image data Download PDF

Info

Publication number
CN107343121B
CN107343121B CN201710527224.1A CN201710527224A CN107343121B CN 107343121 B CN107343121 B CN 107343121B CN 201710527224 A CN201710527224 A CN 201710527224A CN 107343121 B CN107343121 B CN 107343121B
Authority
CN
China
Prior art keywords
image data
image
brightness
camera
exposure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710527224.1A
Other languages
Chinese (zh)
Other versions
CN107343121A (en
Inventor
胡孔明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710527224.1A priority Critical patent/CN107343121B/en
Publication of CN107343121A publication Critical patent/CN107343121A/en
Application granted granted Critical
Publication of CN107343121B publication Critical patent/CN107343121B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/10Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths
    • H04N23/13Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths with multiple sensors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/76Circuitry for compensating brightness variation in the scene by influencing the image signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/81Camera processing pipelines; Components thereof for suppressing or minimising disturbance in the image signal generation

Abstract

The embodiment of the invention provides a kind of processing method of image data and mobile terminals, wherein the method is applied to the mobile terminal at least two cameras, the camera includes at least two cameras, which comprises obtains the main image data and auxiliary image data of at least two cameras acquisition;Brightness of image yield value is determined using the main image data and auxiliary image data;The brightness value of the main image data is adjusted using described image brightness gain values.Using the embodiment of the present invention, so that final resulting target image achievees the effect that stabilization, not only clearly without smear, and brightness of image is also normal, furthermore, the embodiment of the present invention is shot simultaneously using at least two cameras, so time used in shooting and time consistency used in usually normal photographing, achieve the purpose that the shooting speed experience for not influencing client.

Description

A kind of processing method and mobile terminal of image data
Technical field
The present invention relates to fields of communication technology, and the processing method and a kind of movement more particularly to a kind of image data are eventually End.
Background technique
Currently, mobile terminal device increasingly values camera shooting imaging effect.Under exposure scene for a long time, due to The position unstability of the filming apparatus of mobile terminal or the position of subject are unstable, and the image of shooting is easy to appear The relevant issues such as smear, profile be unintelligible, this also promotes more and more producers to begin to focus on the stabilization function of filming apparatus.
Summary of the invention
The embodiment of the present invention provides a kind of processing method of image data, to solve since the position of capture apparatus is unstable Property or subject position it is unstable, the smear problem that the image of shooting occurs.
In a first aspect, providing a kind of method of the processing of image data, the method is applied to mobile terminal, described to take the photograph As head includes at least two cameras, which comprises
Obtain the main image data and auxiliary image data of at least two cameras acquisition;
Brightness of image yield value is determined using the main image data and auxiliary image data;
The brightness value of the main image data is adjusted using described image brightness gain values.
Second aspect, provides a kind of mobile terminal, and the camera of the mobile terminal includes at least two cameras, institute Stating mobile terminal includes:
Image data acquisition module, for obtaining the main image data and sub-picture number of at least two cameras acquisition According to;
Brightness of image gain determining module, for determining that brightness of image increases using the main image data and auxiliary image data Benefit;
Brightness adjusting section, for adjusting the brightness value of the main image data using described image brightness gain values.
In this way, at least two cameras based on mobile terminal shoot at least two images simultaneously in the embodiment of the present invention, And brightness of image gain is determined based at least two images, finally, being carried out based on image of the brightness of image gain for no smear Luminance compensation, so that final resulting target image achievees the effect that stabilization, not only clearly without smear, and brightness of image is also Normally, in addition, the embodiment of the present invention is shot simultaneously using at least two cameras, so time used in shooting and usually Time consistency used in normal photographing achievees the purpose that the shooting speed experience for not influencing client.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of step flow chart of the processing method embodiment of image data of the embodiment of the present invention one;
Fig. 2A is a kind of step flow chart of the processing method embodiment of image data of the embodiment of the present invention two;
Fig. 2 B is a kind of step flow chart of determining brightness of image yield value of the embodiment of the present invention two
Process flow diagram when Fig. 3 is a kind of unlatching dual camera stabilization function of the embodiment of the present invention;
Fig. 4 is a kind of structural block diagram of mobile device embodiment of the embodiment of the present invention three;
Fig. 5 is the block diagram of the mobile terminal of another embodiment of the present invention;
Fig. 6 is the structural schematic diagram of the mobile terminal of another embodiment of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Stabilization technology is broadly divided into two major classes, one kind be added hardware OIS (Optical Image Stabilization, Stable optical image) stabilization;One kind is by software technology, when shooting, in the sensor (sensor) of the same camera The upper composite calulation for carrying out length frame, reaches anti-shake effect.
However, can effectively overcome the position unstability due to capture apparatus to cause using the stabilization technology of hardware OIS Image streaking, but it is unstable for subject body position caused by smear, not can effectively solve.Use one The stabilization technology of sensor, cardinal principle are to achieve the effect that stabilization by shortening the time for exposure, but need in addition to clap one The image of constant exposure time is opened to obtain ambient brightness information, and normal exposure and short exposure need on a sensor successively Sequence is completed, and causes shooting time elongated in this way, influences the shooting speed experience of client.
The embodiment of the present invention can take the photograph a technology or multi-cam technology based on double, achieve the effect that stabilization.Using this hair Bright embodiment can be used the mode for shortening the time for exposure, meet the stabilization demand under different situations;It takes the photograph head using double or takes the photograph more It as head while shooting, the mode that normal exposure and short-time exposure are completed parallel, reaches stabilization, anti-smear and the mesh of snapshots , the synthesis for improving client is taken pictures experience.The embodiment of the present invention is illustrated using specific embodiment below.
Embodiment one
Referring to Fig.1, a kind of step flow chart of the processing method embodiment of image data of the invention is shown, is applied to Mobile terminal at least two cameras, the camera include at least two cameras, and the method specifically can wrap Include following steps:
Step 101, the main image data and auxiliary image data of at least two cameras acquisition are obtained;
In the concrete realization, there are at least two cameras on mobile terminals, naturally it is also possible to be three or three More than.In embodiments of the present invention, it can use at least two camera while acquiring multiple images, different cameras can Different acquisition parameters are arranged, shooting obtains having image of different nature, and master image and sub-picture is arranged, and obtains respectively The image data of master image and sub-picture.
For example, there are two cameras, each camera to be respectively provided with a sensor for tool on mobile terminals, one of them Camera is arranged as main camera, another is set as secondary camera;One of camera can be set in the short period Exposure goes down to shoot object, another camera then can be set to expose down to shoot object in the long period.Main camera It is shot respectively with secondary camera and obtains the different main picture of effect and secondary picture, mobile terminal obtains master image and sub-picture respectively Image data.
Step 102, brightness of image yield value is determined using the main image data and auxiliary image data;
Camera can shoot to obtain the image with different-effect by the way that different acquisition parameters are arranged.The present invention is implemented Example can be based on obtained image, acquire its image data, taken image data corresponding to effect to adjust poor effect institute Corresponding image data.For example, the main image data and auxiliary image data that can be shot based on camera calculate brightness of image Yield value, for adjusting the image brightness values of luminance range.
Step 103, the brightness value of the main image data is adjusted using described image brightness gain values.
After calculating brightness of image yield value, so that it may go adjustment to expose due to the short time using brightness of image yield value Light and the lower image data of brightness value, to obtain the final image of a high quality.
In this way, at least two cameras based on mobile terminal shoot at least two images simultaneously in the embodiment of the present invention, And brightness of image gain is determined based at least two images, finally, being carried out based on image of the brightness of image gain for no smear Luminance compensation, so that final resulting target image achievees the effect that stabilization, not only clearly without smear, and brightness of image is also Normally, in addition, the embodiment of the present invention is shot simultaneously using at least two cameras, so time used in shooting and usually Time consistency used in normal photographing achievees the purpose that the shooting speed experience for not influencing client.
Embodiment two
Referring to Fig. 2A, a kind of step flow chart of the processing method embodiment of image data of the invention is shown, is applied In the mobile terminal at least two cameras, at least two camera includes main camera and secondary camera, described Method can specifically include following steps:
Step 201, start the stabilization function of mobile terminal, obtain the main camera and shot according to the first time for exposure To main image data;
In a particular application, can be set stabilization mode on mobile terminal, user can mobile terminal camera not When stable or subject is unstable, stabilization mode is opened.
After opening stabilization mode, the camera of mobile terminal is by respectively when receiving shooting instruction, while based on preparatory The acquisition parameters of setting are shot.The embodiment of the present invention can preset the time for exposure in acquisition parameters, such as be arranged Normally, shorter or longer time for exposure.
In the preferred embodiment of the present invention, the shooting within the first time for exposure is set by main camera and obtains master image, And obtain the image data of the master image.
Step 202, the secondary camera is obtained to shoot to obtain auxiliary image data according to the second time for exposure;Described second exposes It is greater than first time for exposure between light time.
For example, there are two cameras for tool on the mobile terminal of the embodiment of the present invention, which includes main camera With secondary camera, is shot then main camera can be set according to the first time for exposure, obtain main image data;And Secondary camera is arranged to be shot according to the second time for exposure, obtains sub-picture and obtains auxiliary image data.Certainly, it is actually answering In, the acquisition parameters of main camera and secondary camera can also exchange setting, and the embodiment of the present invention is to this and is not limited.
It specifically can refer to shown in Fig. 3, before the unlatching of stabilization mode, the time for exposure of two cameras can be set in advance as General constant exposure time;After the unlatching of stabilization mode, the time for exposure that main camera is arranged shortens, and secondary camera then can be with Maintain the normal time for exposure.
In a kind of preferable example, the second time for exposure was set as being longer than for the first time for exposure.The exposure of i.e. main camera Time is shorter, and the time for exposure of secondary camera is the time for exposure that is normal and being greater than main camera.Under stabilization mode, due to The time for exposure of main camera shortens, and can catch no smear, the lower master image of clear-cut but brightness.And secondary camera shooting The time for exposure of head is normal, therefore the image outline that shooting is caught obscures, has smear, but the normal image of brightness.Master image number According to separately include brightness value in auxiliary image data.
Step 203, brightness of image yield value is determined using the main image data and auxiliary image data;
Referring to Fig. 2 B, in one preferred embodiment of the invention, the step 203 may include following sub-step:
Step 2031, the master image brightness value in the main image data is obtained, and, it obtains in the auxiliary image data Sub-picture brightness value;
Step 2032, the master image brightness value and sub-picture brightness value are compared, brightness of image difference is calculated;
Step 2033, using described image luminance difference and the time for exposure difference, determine that image gain value compares institute Brightness of image difference and time for exposure difference are stated, determines image gain value.
Specifically, after acquiring main image data and auxiliary image data, master image brightness value therein is further obtained With sub-picture brightness value, the luminance difference of the two is calculated.And obtain the first time for exposure and pair in main image data The time for exposure difference of the two is calculated in the second time for exposure in image data.At this point, the time for exposure of both comparisons is poor Value and luminance difference, and brightness of image gain (gain) value is calculated based on the two time for exposure difference.Calculated image is bright Degree yield value can be used for adjusting the image brightness values of the short main image data of short exposure time, is allowed to brightness of image and reaches normal Brightness when exposure.
Step 204, the brightness value of the main image data is adjusted using described image brightness gain values.
After calculating brightness of image yield value, so that it may go adjustment to expose due to the short time using the brightness of image gain And the master image that brightness is low.
It should be noted that the embodiment of the present invention on the basis of hardware frame of original mobile terminal, adds DSP (Digital Signal Processing, digital signal processor), so that image data is entering ISP (Image Signal Processing, image signal process) before, it can be realized more image processing functions, promote the image matter of image data Amount.Specifically, there is sensor (sensor) in the camera module of camera, is provided with and camera in mobile terminal The DSP that sensor is connected with ISP.In general, the list that ISP is used as the sensor output signal of camera to handle in the terminal Member, to match the sensor of different vendor.
Wherein, between DSP, sensor and ISP, MIPI (Mobile Industry Processor can be passed through Interface, mobile industry processor interface) connection, MIPI by the interface of interior of mobile phone such as camera, display screen interface, penetrate The standardization such as frequently/baseband interface, it is possible to reduce the complexity and increase design flexibility of Cell Phone Design.Certainly, DSP, It can also be attached by other interfaces between sensor and ISP, the embodiment of the present invention need not be limit to this.
The DSP hardware module of the embodiment of the present invention, be the section RAW (such as to for the formats such as Bayer format RAW figure As being handled, RAW image is converted into the formats such as YUV due to not carrying out in ISP, and data volume is more, and detailed information is rich It is rich) image data carry out the operation such as denoising, allow image data before entering ISP, just there is relatively good noise to show, and Handle image data by DSP, relative to for ISP is handled speed it is fast, and DSP can also use many algorithms realize it is more Kind function.By being pre-processed in DSP for image data, reduce in ISP treatment process, image data noise form Deteriorate, reduces rear end noise processed difficulty, finally obtain better image quality.
ISP is can integrate in AP (Application Processor, application processor), is also possible to independent Chip, the embodiment of the present invention need not be limit to this, retransmits and is carried out at ISP after the RAW image that DSP obtains result Reason, so that image data is more clear, nature and beauty.
In embodiments of the present invention, the calculating for brightness of image yield value and the adjustment for master image brightness value, It can complete in dsp.When DSP complete adjust after, image data can be further transferred to the ISP of rear end, with into Other subsequent processing of row.
Using the embodiment of the present invention, the sensor of major-minor camera is worked at the same time, when the stabilization function for opening dual camera When, the sensor of main camera shortens the time for exposure, grabs without smear, clear-cut image;But since exposure is shortened, master is taken the photograph As the luminance data values that the sensor of head is exported are lower.The exposure of main camera sensor and secondary camera sensor are compared at this time Time difference calculates and the main sensor brightness number exported is adjusted to brightness number same as secondary sensor, needs to increase The gain value (gain) added.After the completion of calculating, by increasing gain value, the image data illumination of main camera sensor output Numerical value improve, at this point, obtain it is clear-cut, without smear and the normal master image of brightness.
The embodiment of the present invention is by comparing, merging and adjusting the image data of major-minor sensor, to be had Have that anti-shake effect and brightness is normal, details clearly image data.Rear end ISP carries out conventional image real time transfer process, most The image with anti-shake effect is obtained eventually, and is output on display and is shown.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
Embodiment three
Referring to Fig. 4, a kind of structural block diagram of mobile terminal embodiment of the invention, the camera shooting of the mobile terminal are shown Head includes at least two cameras, and the mobile terminal can specifically include following module:
Image data acquisition module 301, for obtaining the main image data and secondary figure of at least two cameras acquisition As data;
Brightness of image gain determining module 302, for determining that image is bright using the main image data and auxiliary image data Spend gain;
Brightness adjusting section 303, for adjusting the brightness of the main image data using described image brightness gain values Value.
In one preferred embodiment of the invention, the camera includes main camera and secondary camera, described image Data acquisition module 301 includes:
Main image data acquisition submodule shoots to obtain master map for obtaining the main camera according to the first time for exposure As data;Meanwhile
Auxiliary image data acquisition submodule shoots to obtain secondary figure according to the second time for exposure for obtaining the secondary camera As data.
In one preferred embodiment of the invention, second time for exposure is greater than first time for exposure.
In one preferred embodiment of the invention, described image luminance gain determining module 302 includes:
Brightness value acquisition submodule, for obtaining the master image brightness value in the main image data, and, described in acquisition Sub-picture brightness value in auxiliary image data;
It compares submodule and obtains brightness of image difference for comparing the master image brightness value and sub-picture brightness value;
Brightness of image gain determines submodule, for using described image luminance difference and the time for exposure difference, really Determine image gain value.
In one preferred embodiment of the invention, the mobile terminal has the sensor sensor and figure with camera The digital signal processor DSP being connected as processor ISP.
In one preferred embodiment of the invention, described image data acquisition module 301 includes:
Image data acquisition submodule obtains at least two camera for starting the stabilization function of mobile terminal The main image data and auxiliary image data of acquisition.
For mobile terminal embodiment, since it is basically similar to the method embodiment, so be described relatively simple, The relevent part can refer to the partial explaination of embodiments of method.
In this way, at least two cameras based on mobile terminal shoot at least two images simultaneously in the embodiment of the present invention, And brightness of image gain is determined based at least two images, finally, being carried out based on image of the brightness of image gain for no smear Luminance compensation, so that final resulting target image achievees the effect that stabilization, not only clearly without smear, and brightness of image is also Normally, in addition, the embodiment of the present invention is shot simultaneously using at least two cameras, so time used in shooting and usually Time consistency used in normal photographing achievees the purpose that the shooting speed experience for not influencing client.
Example IV
Fig. 5 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 700 shown in fig. 5 includes: at least One processor 701, memory 702, at least one network interface 704 and other users interface 703.In mobile terminal 700 Various components are coupled by bus system 705.It is understood that bus system 705 is for realizing the company between these components Connect letter.Bus system 705 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.But It is that various buses are all designated as bus system 705 in Fig. 5 for the sake of clear explanation.
Wherein, user interface 703 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 702 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), electrically erasable programmable read-only memory (ElectricallyEPROM, EEPROM) dodge It deposits.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is slow to be used as external high speed It deposits.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).The memory 702 of the system and method for description of the embodiment of the present invention is intended to include but unlimited In the memory of these and any other suitable type.
In some embodiments, memory 702 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 7021 and application program 7022.
Wherein, operating system 7021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 7022 includes various application programs, such as media Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side The program of method may be embodied in application program 7022.
In embodiments of the present invention, by the program or instruction of calling memory 702 to store, specifically, can be application The program or instruction stored in program 7022, processor 701 are used to obtain the master image number of at least two cameras acquisition According to and auxiliary image data;Brightness of image gain is determined using the main image data and auxiliary image data;It is bright using described image Yield value is spent to adjust the brightness value of the main image data.
The method that the embodiments of the present invention disclose can be applied in processor 701, or be realized by processor 701. Processor 701 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 701 or the instruction of software form.Above-mentioned processing Device 701 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), specific integrated circuit (ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) either other programmable logic device, discrete gate or transistor logic Device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logical box in the embodiment of the present invention Figure.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with the present invention The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or use decoding processor In hardware and software module combination execute completion.Software module can be located at random access memory, and flash memory, read-only memory can In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage Medium is located at memory 702, and processor 701 reads the information in memory 702, and the step of the above method is completed in conjunction with its hardware Suddenly.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware, Microcode or combinations thereof is realized.For hardware realization, processing unit be may be implemented in one or more specific integrated circuits (ApplicationSpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller, microprocessor, other electronics lists for executing herein described function In member or combinations thereof.
For software implementations, can by execute the embodiment of the present invention described in function module (such as process, function etc.) come Realize technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can With portion realizes in the processor or outside the processor.
Optionally, processor 701 is also used to: being obtained the main camera and is shot to obtain master image according to the first time for exposure Data;Meanwhile it obtaining the secondary camera and shooting to obtain auxiliary image data according to the second time for exposure.
Optionally, processor 701 is also used to: the master image brightness value in the main image data is obtained, and, obtain institute State the sub-picture brightness value in auxiliary image data;The master image brightness value and sub-picture brightness value are compared, brightness of image is obtained Difference;Using described image luminance difference and the time for exposure difference, image gain value is determined.
Optionally, processor 701 is also used to: being started the stabilization function of mobile terminal, is obtained at least two camera The main image data and auxiliary image data of acquisition.
Mobile terminal 700 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.
In this way, at least two cameras based on mobile terminal shoot at least two images simultaneously in the embodiment of the present invention, And brightness of image gain is determined based at least two images, finally, being carried out based on image of the brightness of image gain for no smear Luminance compensation, so that final resulting target image achievees the effect that stabilization, not only clearly without smear, and brightness of image is also Normally, in addition, the embodiment of the present invention is shot simultaneously using at least two cameras, so time used in shooting and usually Time consistency used in normal photographing achievees the purpose that the shooting speed experience for not influencing client.
Embodiment five
Fig. 6 is the structural schematic diagram of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 6 800 can be mobile phone, tablet computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer Deng.
Mobile terminal 800 in Fig. 6 includes radio frequency (RadioFrequency, RF) circuit 810, memory 820, input list Member 830, display unit 840, processor 860, voicefrequency circuit 870, WiFi (WirelessFidelity) module 880 and power supply 890。
Wherein, input unit 830 can be used for receiving the number or character information of user's input, and generation and mobile terminal The related signal input of 800 user setting and function control.Specifically, in the embodiment of the present invention, which can To include touch panel 831.Touch panel 831, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses the operations of any suitable object or attachment on touch panel 831 such as finger, stylus), and according to preparatory The formula of setting drives corresponding attachment device.Optionally, touch panel 831 may include touch detecting apparatus and touch controller Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, by signal Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, The processor 860 is given again, and can be received order that processor 860 is sent and be executed.Furthermore, it is possible to using resistance-type, The multiple types such as condenser type, infrared ray and surface acoustic wave realize touch panel 831.In addition to touch panel 831, input unit 830 can also include other input equipments 832, other input equipments 832 can include but is not limited to physical keyboard, function key One of (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Wherein, display unit 840 can be used for showing information input by user or be supplied to the information and movement of user The various menu interfaces of terminal 800.Display unit 840 may include display panel 841, optionally, can use LCD or organic hair The forms such as optical diode (OrganicLight-EmittingDiode, OLED) configure display panel 841.
It should be noted that touch panel 831 can cover display panel 841, touch display screen is formed, when the touch display screen is examined After measuring touch operation on it or nearby, processor 860 is sent to determine the type of touch event, is followed by subsequent processing device 860 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example, Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 860 is the control centre of mobile terminal 800, utilizes various interfaces and connection whole mobile phone Various pieces, by running or executing the software program and/or module that are stored in first memory 821, and calling storage Data in second memory 822 execute the various functions and processing data of mobile terminal 800, thus to mobile terminal 800 Carry out integral monitoring.Optionally, processor 860 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 821 in software program and/or module and/ Or the data in the second memory 822, processor 860 are used to obtain the main image data of at least two cameras acquisition And auxiliary image data;Brightness of image gain is determined using the main image data and auxiliary image data;Using described image brightness Yield value adjusts the brightness value of the main image data.
Optionally, the processor 860 is also used to, and the acquisition main camera is shot according to the first time for exposure to be led Image data;Meanwhile it obtaining the secondary camera and shooting to obtain auxiliary image data according to the second time for exposure.
Optionally, the processor 860 is also used to, and obtains the master image brightness value in the main image data, and, it obtains Take the sub-picture brightness value in the auxiliary image data;The master image brightness value and sub-picture brightness value are compared, image is obtained Luminance difference;Using described image luminance difference and the time for exposure difference, image gain value is determined.
Optionally, the processor 860 is also used to, and starts the stabilization function of mobile terminal, is obtained described at least two and is taken the photograph The main image data and auxiliary image data acquired as head.
For 800 embodiment of mobile terminal, since it is basically similar to the method embodiment, so the comparison of description is simple Single, the relevent part can refer to the partial explaination of embodiments of method.
In this way, at least two cameras based on mobile terminal shoot at least two images simultaneously in the embodiment of the present invention, And brightness of image gain is determined based at least two images, finally, being carried out based on image of the brightness of image gain for no smear Luminance compensation, so that final resulting target image achievees the effect that stabilization, not only clearly without smear, and brightness of image is also Normally, in addition, the embodiment of the present invention is shot simultaneously using at least two cameras, so time used in shooting and usually Time consistency used in normal photographing achievees the purpose that the shooting speed experience for not influencing client.
Those of ordinary skill in the art may be aware that the embodiment in conjunction with disclosed in the embodiment of the present invention describe it is each Exemplary unit and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (6)

1. a kind of processing method of image data, applied to the mobile terminal at least two cameras, which is characterized in that institute Stating mobile terminal has the digital signal processor DSP being connected with the sensor sensor of camera and image processor ISP, institute Stating camera includes at least two cameras, which comprises
Obtain the main image data and auxiliary image data of at least two cameras acquisition;
Brightness of image yield value is determined using the main image data and auxiliary image data;
The brightness value of the main image data is adjusted using described image brightness gain values;
Wherein, the camera includes main camera and secondary camera, the master for obtaining at least two cameras acquisition The step of image data and auxiliary image data includes:
The main camera is obtained to shoot to obtain main image data according to the first time for exposure;Meanwhile
The secondary camera is obtained to shoot to obtain auxiliary image data according to the second time for exposure;
Wherein, described the step of brightness of image yield value is determined using the main image data and auxiliary image data, includes:
The master image brightness value in the main image data is obtained, and, obtain the sub-picture brightness in the auxiliary image data Value;
The master image brightness value and sub-picture brightness value are compared, brightness of image difference is obtained;
First time for exposure and the second time for exposure are compared, image exposuring time difference is obtained;
Using described image luminance difference and the time for exposure difference, image gain value is determined.
2. the method according to claim 1, wherein when second time for exposure is greater than the described first exposure Between.
3. the method according to claim 1, wherein the master map for obtaining at least two cameras acquisition As the step of data and auxiliary image data includes:
Start the stabilization function of mobile terminal, obtains the main image data and sub-picture number of at least two cameras acquisition According to.
4. a kind of mobile terminal, which is characterized in that the mobile terminal have at the sensor sensor and image of camera The connected digital signal processor DSP of device ISP is managed, the camera of the mobile terminal includes at least two cameras, the shifting Dynamic terminal includes:
Image data acquisition module, for obtaining the main image data and auxiliary image data of at least two cameras acquisition;
Brightness of image gain determining module, for determining brightness of image gain using the main image data and auxiliary image data;
Brightness adjusting section, for adjusting the brightness value of the main image data using described image brightness gain values;
Wherein, the camera includes main camera and secondary camera, and described image data acquisition module includes:
Main image data acquisition submodule shoots to obtain master image number according to the first time for exposure for obtaining the main camera According to;Meanwhile
Auxiliary image data acquisition submodule shoots to obtain sub-picture number according to the second time for exposure for obtaining the secondary camera According to;
Wherein, described image luminance gain determining module includes:
Brightness value acquisition submodule, for obtaining the master image brightness value in the main image data, and, obtain the secondary figure As the sub-picture brightness value in data;
It compares submodule and obtains brightness of image difference for comparing the master image brightness value and sub-picture brightness value;
Brightness of image gain determines submodule, for determining figure using described image luminance difference and the time for exposure difference As yield value.
5. mobile terminal according to claim 4, which is characterized in that second time for exposure is greater than first exposure Time.
6. mobile terminal according to claim 4, which is characterized in that described image data acquisition module includes:
Image data acquisition submodule obtains at least two cameras acquisition for starting the stabilization function of mobile terminal Main image data and auxiliary image data.
CN201710527224.1A 2017-06-30 2017-06-30 A kind of processing method and mobile terminal of image data Active CN107343121B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710527224.1A CN107343121B (en) 2017-06-30 2017-06-30 A kind of processing method and mobile terminal of image data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710527224.1A CN107343121B (en) 2017-06-30 2017-06-30 A kind of processing method and mobile terminal of image data

Publications (2)

Publication Number Publication Date
CN107343121A CN107343121A (en) 2017-11-10
CN107343121B true CN107343121B (en) 2019-01-25

Family

ID=60219445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710527224.1A Active CN107343121B (en) 2017-06-30 2017-06-30 A kind of processing method and mobile terminal of image data

Country Status (1)

Country Link
CN (1) CN107343121B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110177212B (en) * 2019-06-26 2021-01-26 Oppo广东移动通信有限公司 Image processing method and device, electronic equipment and computer readable storage medium
CN110827194A (en) * 2019-10-25 2020-02-21 北京迈格威科技有限公司 Image processing method, device and computer storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007243759A (en) * 2006-03-10 2007-09-20 Fujifilm Corp Digital imaging apparatus
JP2008067200A (en) * 2006-09-08 2008-03-21 Fujifilm Corp Photographing device
CN101262567A (en) * 2008-04-07 2008-09-10 北京中星微电子有限公司 Automatic exposure method and device
CN104883511A (en) * 2015-06-12 2015-09-02 联想(北京)有限公司 Image processing method and electronic equipment
CN105827964A (en) * 2016-03-24 2016-08-03 维沃移动通信有限公司 Image processing method and mobile terminal
CN105898143A (en) * 2016-04-27 2016-08-24 维沃移动通信有限公司 Moving object snapshotting method and mobile terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100458541C (en) * 2005-07-01 2009-02-04 北京中星微电子有限公司 Method of automatic exposure regulation and its control system
KR100843087B1 (en) * 2006-09-06 2008-07-02 삼성전자주식회사 A image generation apparatus and method for the same
TWI410843B (en) * 2010-03-26 2013-10-01 Quanta Comp Inc Background image updating method and touch screen
EP2629506A1 (en) * 2012-02-15 2013-08-21 Harman Becker Automotive Systems GmbH Two-step brightness adjustment in around-view systems
CN103986875A (en) * 2014-05-29 2014-08-13 宇龙计算机通信科技(深圳)有限公司 Image acquiring device, method and terminal and video acquiring method
JP6516429B2 (en) * 2014-09-16 2019-05-22 キヤノン株式会社 Distance measuring device, imaging device, and distance measuring method
CN204408489U (en) * 2015-03-10 2015-06-17 华中科技大学 A kind of high speed image acquisition and processing system
CN104780324B (en) * 2015-04-22 2016-08-24 努比亚技术有限公司 A kind of method and apparatus of shooting

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007243759A (en) * 2006-03-10 2007-09-20 Fujifilm Corp Digital imaging apparatus
JP2008067200A (en) * 2006-09-08 2008-03-21 Fujifilm Corp Photographing device
CN101262567A (en) * 2008-04-07 2008-09-10 北京中星微电子有限公司 Automatic exposure method and device
CN104883511A (en) * 2015-06-12 2015-09-02 联想(北京)有限公司 Image processing method and electronic equipment
CN105827964A (en) * 2016-03-24 2016-08-03 维沃移动通信有限公司 Image processing method and mobile terminal
CN105898143A (en) * 2016-04-27 2016-08-24 维沃移动通信有限公司 Moving object snapshotting method and mobile terminal

Also Published As

Publication number Publication date
CN107343121A (en) 2017-11-10

Similar Documents

Publication Publication Date Title
CN105872148B (en) A kind of generation method and mobile terminal of high dynamic range images
CN106331510B (en) A kind of backlight photographic method and mobile terminal
CN105827964B (en) A kind of image processing method and mobile terminal
CN107231530B (en) A kind of photographic method and mobile terminal
CN105827971B (en) A kind of image processing method and mobile terminal
CN107205120B (en) A kind of processing method and mobile terminal of image
CN105898143B (en) A kind of grasp shoot method and mobile terminal of moving object
CN105827754B (en) A kind of generation method and mobile terminal of high dynamic range images
CN106060406B (en) Photographing method and mobile terminal
CN105827965B (en) A kind of image processing method and mobile terminal based on mobile terminal
CN106791400B (en) A kind of image display method and mobile terminal
CN105959544B (en) A kind of image processing method and mobile terminal of mobile terminal
CN107302664B (en) Shooting method and mobile terminal
CN106101545B (en) A kind of image processing method and mobile terminal
CN107395976B (en) A kind of acquisition parameters setting method and mobile terminal
CN106170058B (en) A kind of exposure method and mobile terminal
CN105827970B (en) A kind of image processing method and mobile terminal
CN107222680A (en) The image pickup method and mobile terminal of a kind of panoramic picture
CN105959574B (en) A kind of photographic method and mobile terminal
CN107205119B (en) A kind for the treatment of method and apparatus of image data
CN106454085B (en) A kind of image processing method and mobile terminal
CN107147837A (en) The method to set up and mobile terminal of a kind of acquisition parameters
CN106454086B (en) Image processing method and mobile terminal
CN107026982B (en) A kind of photographic method and mobile terminal of mobile terminal
CN106161932B (en) A kind of photographic method and mobile terminal

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