CN109379535A - Image pickup method and device, electronic equipment, computer readable storage medium - Google Patents

Image pickup method and device, electronic equipment, computer readable storage medium Download PDF

Info

Publication number
CN109379535A
CN109379535A CN201811457819.5A CN201811457819A CN109379535A CN 109379535 A CN109379535 A CN 109379535A CN 201811457819 A CN201811457819 A CN 201811457819A CN 109379535 A CN109379535 A CN 109379535A
Authority
CN
China
Prior art keywords
image
processor
original image
imaging sensor
image processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811457819.5A
Other languages
Chinese (zh)
Inventor
方攀
陈岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811457819.5A priority Critical patent/CN109379535A/en
Publication of CN109379535A publication Critical patent/CN109379535A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/65Control of camera operation in relation to power supply
    • 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

Abstract

This application involves a kind of image pickup method, device, electronic equipment, computer readable storage mediums, the described method includes: when detecting shooting instruction, at least three imaging sensor is controlled according to the shooting instruction and at least three image processors power on, and each imaging sensor controlled after powering on is connected with corresponding image processor;Corresponding original image is acquired by each described image sensor, and the obtained original image is respectively sent to by connected image processor by each described image sensor;The original image is handled respectively by each described image processor, obtains corresponding target image.

Description

Image pickup method and device, electronic equipment, computer readable storage medium
Technical field
This application involves technical field of image processing, more particularly to a kind of image pickup method, device, electronic equipment, calculating Machine readable storage medium storing program for executing.
Background technique
Camera can be installed in electronic equipment, image can be shot by the camera of installation.It is installed in electronic equipment Camera quantity can be one, or two or more.When installing multiple cameras in electronic equipment, The image that multiple cameras are shot can be synthesized to obtain a more accurate image, can also be clapped according to multiple cameras The image taken the photograph handles a wherein image.For example, shooting a figure respectively by focal length camera and wide-angle camera Then picture synthesizes obtain two images, the more full composograph of an available information.
Summary of the invention
The embodiment of the present application provides a kind of image pickup method, device, electronic equipment, computer readable storage medium, Ke Yiti High shooting efficiency.
A kind of image pickup method is applied to electronic equipment, comprising at least three image processors and right in the electronic equipment At least three imaging sensors answered, which comprises
When detecting shooting instruction, at least three imaging sensor and at least three are controlled according to the shooting instruction A image processor powers on, and each imaging sensor controlled after powering on is connected with corresponding image processor;
Corresponding original image is acquired by each described image sensor, and is incited somebody to action by each described image sensor To the original image be respectively sent to connected image processor;
The original image is handled respectively by each described image processor, obtains corresponding target image.
A kind of filming apparatus is applied to electronic equipment, comprising at least three image processors and right in the electronic equipment At least three imaging sensors answered, described device include:
Module is powered on, for controlling at least three image according to the shooting instruction when detecting shooting instruction Sensor and at least three image processors power on, and control each imaging sensor after powering on and corresponding image processor Connection;
Image capture module, for acquiring corresponding original image by each described image sensor, and by each The obtained original image is respectively sent to connected image processor by described image sensor;
Image processing module is obtained for being handled respectively the original image by each described image processor To corresponding target image.
A kind of electronic equipment, including at least three image processors and corresponding at least three imaging sensor, memory And processor, computer program is stored in the memory, when the computer program is executed by the processor, so that institute It states processor and executes following steps:
When detecting shooting instruction, at least three imaging sensor and at least three are controlled according to the shooting instruction A image processor powers on, and each imaging sensor controlled after powering on is connected with corresponding image processor;
Corresponding original image is acquired by each described image sensor, and is incited somebody to action by each described image sensor To the original image be respectively sent to connected image processor;
The original image is handled respectively by each described image processor, obtains corresponding target image.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor Following steps are realized when row:
When detecting shooting instruction, at least three imaging sensor and at least three are controlled according to the shooting instruction A image processor powers on, and each imaging sensor controlled after powering on is connected with corresponding image processor;
Corresponding original image is acquired by each described image sensor, and is incited somebody to action by each described image sensor To the original image be respectively sent to connected image processor;
The original image is handled respectively by each described image processor, obtains corresponding target image.
Image pickup method provided by the above embodiment can control at least when detecting shooting instruction according to shooting instruction Three imaging sensors and at least three image processors power on, then control power on after each imaging sensor with it is corresponding Image processor connection.After connection, corresponding original image can be acquired by imaging sensor, it is then original by what is obtained Image is sent to connected image processor.Original image is handled respectively finally by each image processor, is obtained Final target image.After imaging sensor collects original image in this way, corresponding image processor can be respectively issued to It is handled, improves the efficiency of image taking.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the application environment schematic diagram of image pickup method in one embodiment;
Fig. 2 is the flow chart of image pickup method in one embodiment;
Fig. 3 is the flow chart of image pickup method in another embodiment;
Fig. 4 is the schematic diagram that image processor is connected with imaging sensor in one embodiment;
Fig. 5 is the flow chart of image pickup method in another embodiment;
Fig. 6 is the structural block diagram of the filming apparatus of one embodiment;
Fig. 7 is the schematic diagram of image processing circuit in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and It is not used in restriction the application.
It is appreciated that term " first " used in this application, " second " etc. can be used to describe various elements herein, But these elements should not be limited by these terms.These terms are only used to distinguish the first element from the other element.Citing comes It says, in the case where not departing from scope of the present application, the first imaging sensor can be known as the second imaging sensor, and similar Second imaging sensor can be known as the first imaging sensor by ground.First imaging sensor and the second imaging sensor are both It is imaging sensor, but it is not same imaging sensor.
Fig. 1 is the application environment schematic diagram of image pickup method in one embodiment.As shown in Figure 1, can be in electronic equipment 102 Include at least three image processors and corresponding at least three imaging sensor.Specifically, when electronic equipment 102 detects bat When taking the photograph instruction, above-mentioned at least three imaging sensor can be controlled according to shooting instruction and at least three image processors power on, And each imaging sensor controlled after powering on is connected with corresponding image processor.Then it is acquired by each imaging sensor Corresponding original image 104, and obtained original image 104 is respectively sent to by connected image by each imaging sensor Processor.Original image is handled respectively finally by each image processor, obtains corresponding target image.Wherein, Electronic equipment 102 can be mobile phone, computer, wearable device etc., it is not limited here.
Fig. 2 is the flow chart of image pickup method in one embodiment.As shown in Fig. 2, the image pickup method includes step 202 to step Rapid 206.Wherein:
Step 202, when detecting shooting instruction, at least three imaging sensors and at least three are controlled according to shooting instruction A image processor powers on, and each imaging sensor controlled after powering on is connected with corresponding image processor.
Specifically, may include lens, imaging sensor and image processor (Image Signal in electronic equipment Processor,ISP).During shooting, electronic equipment can collect light in photographed scene by lens, then pass through The light of mobile phone is converted to electric signal by imaging sensor, generates an original image according to the electric signal being converted to.Image passes The original image that sensor generates can be sent to image processor, further be located by image processor to original image Reason, obtains target image final to the end.
In one embodiment, electronic equipment may include at least three imaging sensors and at least three image procossings Device, the corresponding image processor of each imaging sensor.Shooting instruction, which refers to, is used to indicate electronic equipment shooting image Instruction.For example, user can generate bat when clicking the shooting button of camera application program when application program opens camera application program Instruction is taken the photograph, then electronic equipment can shoot image according to shooting instruction.
Electronic equipment can control above-mentioned at least three image sensing according to shooting instruction after detecting shooting instruction Device and corresponding at least three image processor power on, and the imaging sensor and image processor after powering on can normal works Make.Specifically, at least three imaging sensors after powering on and there are many connection types of at least three image processors, This is without limitation.It is attached for example, controlling each imaging sensor with a corresponding image processor, at this sampled images Managing device can parallel processing image.
Step 204, corresponding original image is acquired by each imaging sensor, and is incited somebody to action by each imaging sensor To original image be respectively sent to connected image processor.
Specifically, each imaging sensor corresponds to a lens, the light of lens mobile phone can pass through image sensing Device is converted into electric signal, then generates an original image.It is understood that lens may be mounted at any of electronic equipment Position, such as lens may be mounted at the front, the back side or side of casting of electronic device, can also be installed in a manner of embedded, It is not limited here.
Imaging sensor after power-up, can be collected into the light in photographed scene by corresponding lens, then will The light that lens are collected into is converted into electric signal, generates corresponding original image according to the electric signal of conversion.For example, electronic equipment In include lens A, lens B, lens C, lens A is connected with imaging sensor A, and lens B is connected with imaging sensor B, lens C and Imaging sensor C is connected.After imaging sensor A, imaging sensor B, imaging sensor C are powered on, imaging sensor A is received What is arrived is exactly the light that lens A is collected, and what imaging sensor B was received is exactly the light that lens B is collected, and imaging sensor C connects What is received is exactly the light that lens C is collected.
After imaging sensor generates original image, obtained original image can be sent to connected image processor, Original image is handled by image processor, obtains target image.
Step 206, original image is handled respectively by each image processor, obtains corresponding target image.
It is understood that after obtained original image is transmitted to corresponding image processor by imaging sensor, image Original image can be further processed in processor.Image processor to the processing mode of original image with no restrictions, example Such as, the original image that imaging sensor obtains is RAW (Raw Image Format, raw image files) format, RAW format Original image pass to after image processor the image that can be converted RGB (Red Green Blue, RGB) format, obtain To the image of rgb format can serve as target image.After obtaining rgb format image, can also further adjust brightness, The processing such as contrast, white balance, using the image after processing as target image.
Image pickup method provided by the above embodiment can control at least when detecting shooting instruction according to shooting instruction Three imaging sensors and at least three image processors power on, then control power on after each imaging sensor with it is corresponding Image processor connection.After connection, corresponding original image can be acquired by imaging sensor, it is then original by what is obtained Image is sent to connected image processor.Original image is handled respectively finally by each image processor, is obtained Final target image.After imaging sensor collects original image in this way, corresponding image processor can be respectively issued to It is handled, improves the efficiency of image taking.
Fig. 3 is the flow chart of image pickup method in another embodiment.As shown in figure 3, the image pickup method include step 302 to Step 316.Wherein:
Step 302, when detecting shooting instruction, at least three imaging sensors and at least three are controlled according to shooting instruction A image processor powers on, and each imaging sensor controlled after powering on is connected with corresponding image processor.
In one embodiment, at least three imaging sensors in electronic equipment include the first image processor and at least Two the second image processors, at least three imaging sensors include the first imaging sensor corresponding to the first image processor With at least two second imaging sensors for corresponding at least two second image processors.It, will when detecting shooting instruction First imaging sensor and the second imaging sensor, the first image processor and the second image processor power on, can after powering on It is connect, and controlled at least two first images with the first imaging sensor with controlling the first imaging sensor according to shooting instruction Reason device is connect with the second image processor.
Fig. 4 is the schematic diagram that image processor is connected with imaging sensor in one embodiment.As shown in figure 4, electronics is set It may include three imaging sensors and three image processors in standby, imaging sensor is respectively imaging sensor 402, image Sensor 404 and imaging sensor 406, image processor are respectively at image processor 408, image processor 410 and image Manage device 412.After three imaging sensors and three image processors power on, imaging sensor 402 and image processor 408 are logical Crossing MIPI, ((Mobile Industry Processor Interface, mobile industry processor interface) line is connected, and image passes Sensor 404 is connected with image processor 410 by MIPI line, and imaging sensor 406 and image processor 412 pass through MIPI line phase Even.
Step 304, the first acquisition parameters are obtained by the first image processor, obtains second count according to the first acquisition parameters Parameter is taken the photograph, and the second acquisition parameters are sent at least two second image processors.
Set parameter when acquisition parameters refer to shooting image, after getting acquisition parameters, image processor can be with It is shot according to the acquisition parameters control imaging sensor got.For example, acquisition parameters can be shooting time for exposure, Sensitivity, shooting frame rate etc., it is not limited here.It include at least three image processors in electronic equipment, in shooting process Electronic equipment can obtain acquisition parameters by one of image processor, the shooting then obtained according to the image processor The acquisition parameters of other image processors of parameter regulation.
Specifically, the first acquisition parameters can be obtained by the first image processor, then obtained according to the first acquisition parameters The second acquisition parameters are taken, the second acquisition parameters are then sent to other each second image processors.First image processor Original image can be acquired according to first shooting the first imaging sensor of state modulator, the second image processor can be according to second Acquisition parameters control the second imaging sensor and acquire original image.
It is same in embodiment provided by the present application, photographed scene locating for electronic equipment can be obtained by the first image processor Corresponding environmental parameter obtains corresponding first acquisition parameters according to environmental parameter.Wherein, environmental parameter can be photographed scene The parameters such as brightness, color, it is not limited here.Environmental parameter can be obtained by the sensor installed in electronic equipment It takes, what the first original image that can also be acquired by the first imaging sensor obtained, it is without being limited thereto.
For example, environmental parameter can be the brightness of photographed scene, the available photographed scene of the first image processor it is bright Degree, according to the first sensitivity parameter that the brightness regulation of photographed scene is shot, then according to the first sensitivity parameter control of acquisition Make the first imaging sensor acquisition original image.Meanwhile first image processor can also be according to the first sensitivity parameter of acquisition The second sensitivity parameter is obtained, the second sensitivity parameter is then sent to the second image processor, the second image processor root Original image is acquired according to second the second imaging sensor of sensitivity state modulator.
Wherein, the first image processor can be directly using the first acquisition parameters as the second acquisition parameters, can also be to One acquisition parameters carry out the second acquisition parameters obtained after corresponding adjust, it is not limited here.
Step 306, it is adopted by the first image processor according to corresponding first imaging sensor of the first shooting state modulator Collect the first original image, and the first obtained original image is sent to by the first image processor by the first imaging sensor.
It, can be according to the first shooting state modulator corresponding first after first image processor obtains the first acquisition parameters Imaging sensor acquires the first original image.After first imaging sensor obtains the first original image, by the obtain first original Beginning image is sent to the first image processor and is handled.
Step 308, by each second image processor according to corresponding second image sensing of the second shooting state modulator Device acquires the second original image, and the second obtained original image is sent to the second image procossing by the second imaging sensor Device.
Specifically, after the second acquisition parameters are sent to the second image processor by the first image processor, the second image Processor can acquire the second original image according to corresponding second imaging sensor of the second shooting state modulator.Second image sensing After device collects the second original image, the second original image can be sent to the second image processor.
Step 310, original image is handled respectively by each image processor, obtains corresponding target image.
Above-mentioned image processor includes the first image processor and at least two second image processors, original image include First original image and at least two the second original images.At so by the first image processor to the first original image Reason can be obtained by first object image, be handled corresponding second original image just by each second image processor Available second target image.
Image pickup method provided by the above embodiment after imaging sensor collects original image, can be respectively issued to pair The image processor answered is handled, and the efficiency of image taking is improved.Meanwhile first count is obtained by the first image processor Parameter and the second acquisition parameters are taken the photograph, then controls imaging sensor acquisition respectively by the first acquisition parameters and the second acquisition parameters Image avoids each image processor from individually obtaining acquisition parameters and time for consuming, further improves shooting efficiency.
In one embodiment, as shown in figure 5, the above-mentioned method for handling to obtain target image to original image is specifically wrapped It includes:
Step 502, the instruction type for obtaining shooting instruction obtains processing mode according to instruction type.
It initiates the moment specifically, can be carried in shooting instruction, initiate mark, instruction type etc., it is not limited here.Hair Playing the moment refers at the time of initiate the shooting instruction, the mark that mark refers to the promoter of the shooting instruction is initiated, for example, can be with It is the mark for initiating the application program of the shooting instruction.Instruction type refers to the classification of the shooting instruction.
Electronic equipment can pre-establish the corresponding relationship of instruction type and processing mode, when the finger for getting shooting instruction It, can be according to the corresponding processing mode of corresponding relationship acquisition instruction type pre-established when enabling type.Shot type can wrap The first instruction type and the second instruction type are included, processing mode may include the first processing mode and second processing mode.
Specifically, obtaining the instruction type of shooting instruction;When instruction type is the first instruction type, the first instruction is obtained Corresponding first processing mode of type;When instruction type is the second instruction type, the second instruction type corresponding second is obtained Processing mode, wherein consumed duration, which is less than, when being handled according to the first processing mode handles when institute according to second processing mode The duration of consumption.
In other embodiments provided by the present application, obtain processing mode the step of can also include: acquisition shooting instruction Instruction type, and according to instruction type obtain power threshold;Obtain the remaining capacity of electronic equipment;When remaining capacity is less than electricity When measuring threshold value, the first processing mode is obtained;When remaining capacity is greater than or equal to power threshold, second processing mode is obtained.
Consumed duration is less than consumed when being handled according to second processing mode when being handled according to the first processing mode Duration, thus when being handled according to the first processing mode consumed electricity be less than it is consumed when being handled according to second processing mode Electricity.
Specifically, obtaining corresponding first power threshold of the first instruction type when instruction type is the first instruction type; When remaining capacity is less than the first power threshold, the first processing mode is obtained;When remaining capacity is greater than or equal to the first electricity threshold When value, second processing mode is obtained.When instruction type is the second instruction type, corresponding second electricity of the second instruction type is obtained Measure threshold value;When remaining capacity is less than the second power threshold, the first processing mode is obtained;When remaining capacity is greater than or equal to second When power threshold, second processing mode is obtained
Step 504, the corresponding processing of processing mode is carried out to original image respectively by each image processor, obtained pair The target image answered.
Specifically, each image processor will be according to corresponding processing mode to original after getting processing mode Beginning image is handled, and corresponding target image is obtained.Consumed by being handled according to the first processing mode to original image Duration, which is less than, to be carried out original image according to second processing mode to handle consumed duration.
For example, the first processing mode is to be compared rough processing to original image, second processing mode is to original Image, which is compared, accurately to be handled, in this way according to the first processing mode handled consumed by duration be less than according to second Processing mode carries out handling consumed duration.Assuming that shooting instruction is to shoot the instruction of video, then it can pass through the first processing Mode handles original image, it is assumed that shooting instruction is to shoot the instruction of photo, then can pass through second processing mode pair Original image is handled.Thus classification processing can be carried out according to different instruction types, to meet different shooting need It asks, to improve shooting efficiency.
It is understood that when multiple cameras are shot simultaneously, needing to guarantee more during shooting image The image of a camera shooting be it is synchronous, the image obtained in this way is only corresponding.Therefore, electronic equipment get it is original After image, the generation moment of original image can also be obtained, according to generate the moment judge original image whether and meanwhile obtain.
Specifically, obtaining each original image corresponding generation moment;If the generation moment of any two original images it Between time interval be less than interval threshold, then original image is handled respectively by each image processor, is corresponded to Target image.For example, electronic equipment when generating original image, can obtain the generation moment for generating original image, so It will be stored together with original image at the generation moment afterwards.
It should be understood that although each step in the flow chart of Fig. 2,3,5 is successively shown according to the instruction of arrow, It is these steps is not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps There is no stringent sequences to limit for rapid execution, these steps can execute in other order.Moreover, in Fig. 2,3,5 extremely Few a part of step may include that perhaps these sub-steps of multiple stages or stage are not necessarily same to multiple sub-steps Moment executes completion, but can execute at different times, and the execution sequence in these sub-steps or stage is also not necessarily It successively carries out, but in turn or can be handed over at least part of the sub-step or stage of other steps or other steps Alternately execute.
In one embodiment, above-mentioned image pickup method specifically can with the following steps are included:
(1) when detecting shooting instruction, at least three imaging sensors and at least three figures are controlled according to shooting instruction As processor powers on, and each imaging sensor controlled after powering on is connected with corresponding image processor;Wherein, image procossing Device includes the first image processor and at least two second image processors, and imaging sensor includes corresponding to the first image procossing First imaging sensor of device and at least two second imaging sensors corresponding at least two second image processors.
(2) the corresponding environmental parameter of photographed scene locating for electronic equipment is obtained by the first image processor, according to environment Parameter obtains corresponding first acquisition parameters, and the second acquisition parameters are sent to above-mentioned at least two second image processor.
(3) by the first image processor according to the corresponding first imaging sensor acquisition first of the first shooting state modulator Original image, and the first obtained original image is sent to by the first image processor by the first imaging sensor.
(4) it is acquired by each second image processor according to corresponding second imaging sensor of the second shooting state modulator Second original image, and the second obtained original image is sent to by the second image processor by the second imaging sensor.
(5) each original image corresponding generation moment is obtained;
(6) if the time interval of any two original images generated between the moment is less than interval threshold, shooting is obtained The instruction type of instruction.
(7) when instruction type is the first instruction type, corresponding first processing mode of the first instruction type is obtained;Pass through Each image processor carries out the corresponding processing of the first processing mode to original image respectively, obtains corresponding target image.
(8) when instruction type is the second instruction type, the corresponding second processing mode of the second instruction type is obtained, is passed through Each image processor carries out the corresponding processing of second processing mode to original image respectively, obtains corresponding target image.Its In, consumed duration is less than consumed duration when handling according to second processing mode when being handled according to the first processing mode.
Image pickup method provided by the above embodiment after imaging sensor collects original image, can be respectively issued to pair The image processor answered is handled, and the efficiency of image taking is improved.Meanwhile first count is obtained by the first image processor Parameter and the second acquisition parameters are taken the photograph, then controls imaging sensor acquisition respectively by the first acquisition parameters and the second acquisition parameters Image avoids each image processor from individually obtaining acquisition parameters and time for consuming, further improves shooting efficiency.
Fig. 6 is the structural block diagram of the filming apparatus of one embodiment.As shown in fig. 6, the filming apparatus 600 includes powering on mould Block 602, image capture module 606 and image processing module 608.Wherein:
Module 602 is powered on, for controlling at least three imaging sensors according to shooting instruction when detecting shooting instruction It is powered on at least three image processors, and each imaging sensor controlled after powering on is connected with corresponding image processor.
Image capture module 606 for acquiring corresponding original image by each imaging sensor, and passes through each figure As obtained original image is respectively sent to connected image processor by sensor.
Image processing module 608 is corresponded to for being handled respectively original image by each image processor Target image.
Filming apparatus provided by the above embodiment can control at least when detecting shooting instruction according to shooting instruction Three imaging sensors and at least three image processors power on, then control power on after each imaging sensor with it is corresponding Image processor connection.After connection, corresponding original image can be acquired by imaging sensor, it is then original by what is obtained Image is sent to connected image processor.Original image is handled respectively finally by each image processor, is obtained Final target image.After imaging sensor collects original image in this way, corresponding image processor can be respectively issued to It is handled, improves the efficiency of image taking.
In one embodiment, image processor includes the first image processor and at least two second image processors, Imaging sensor includes the first imaging sensor corresponding to the first image processor and corresponds at least two second images At least two second imaging sensors of device are managed, original image includes the first original image and the second original image;Above-mentioned image Acquisition module 604 is also used to obtain the first acquisition parameters by the first image processor, obtains second according to the first acquisition parameters Acquisition parameters, and the second acquisition parameters are sent at least two second image processors;By the first image processor according to Corresponding first imaging sensor of first shooting state modulator acquires the first original image, and is incited somebody to action by the first imaging sensor To the first original image be sent to the first image processor;By each second image processor according to the second acquisition parameters control It makes corresponding second imaging sensor and acquires the second original image, and the second original graph that will be obtained by the second imaging sensor As being sent to the second image processor.
In one embodiment, above-mentioned image capture module 604 is also used to obtain electronics by the first image processor and set The standby corresponding environmental parameter of locating photographed scene obtains corresponding first acquisition parameters according to environmental parameter.
In one embodiment, when above-mentioned image capture module 606 is also used to obtain the corresponding generation of each original image It carves;If the time interval of any two original images generated between the moment is less than interval threshold, pass through each image procossing Device is respectively handled original image, obtains corresponding target image.
In one embodiment, above-mentioned image capture module 606 is also used to obtain the instruction type of shooting instruction, according to finger Type is enabled to obtain processing mode;The corresponding processing of processing mode is carried out to original image respectively by each image processor, is obtained To corresponding target image.
In one embodiment, above-mentioned image capture module 606 is also used to obtain the instruction type of shooting instruction;Work as instruction When type is the first instruction type, corresponding first processing mode of the first instruction type is obtained;When instruction type is the second instruction When type, the corresponding second processing mode of the second instruction type is obtained, wherein consumed when handling according to the first processing mode Duration is less than consumed duration when handling according to second processing mode.
In one embodiment, above-mentioned image capture module 606 is also used to obtain the instruction type of shooting instruction, and according to Instruction type obtains power threshold;Obtain the remaining capacity of electronic equipment;When remaining capacity is less than power threshold, first is obtained Processing mode;When remaining capacity is greater than or equal to power threshold, second processing mode is obtained.
The division of modules is only used for for example, in other embodiments, can fill shooting in above-mentioned filming apparatus It sets and is divided into different modules as required, to complete all or part of function of above-mentioned filming apparatus.
Realizing for the modules in filming apparatus provided in the embodiment of the present application can be the form of computer program.It should Computer program can be run in terminal or server.The program module that the computer program is constituted is storable in terminal or service On the memory of device.When the computer program is executed by processor, realize the embodiment of the present application described in method the step of.
The embodiment of the present application also provides a kind of electronic equipment.It include image processing circuit in above-mentioned electronic equipment, at image Reason circuit can use hardware and or software component realization, it may include define ISP (Image Signal Processing, figure As signal processing) the various processing units of pipeline.Fig. 7 is the schematic diagram of image processing circuit in one embodiment.Such as Fig. 7 institute Show, for purposes of illustration only, only showing the various aspects of image processing techniques relevant to the embodiment of the present application.
As shown in fig. 7, image processing circuit includes ISP processor 740 and control logic device 750.Imaging device 710 captures Image data handled first by ISP processor 740, ISP processor 740 to image data analyzed with capture can be used for really The image statistics of fixed and/or imaging device 710 one or more control parameters.Imaging device 710 may include having one The camera of a or multiple lens 712 and imaging sensor 714.Imaging sensor 714 may include colour filter array (such as Bayer filter), imaging sensor 714 can obtain the luminous intensity captured with each imaging pixel of imaging sensor 714 and wavelength Information, and the one group of raw image data that can be handled by ISP processor 740 is provided.Sensor 720 (such as gyroscope) can be based on biography The parameter (such as stabilization parameter) of the image procossing of acquisition is supplied to ISP processor 740 by 720 interface type of sensor.Sensor 720 Interface can use SMIA (Standard Mobile Imaging Architecture, Standard Mobile Imager framework) interface, The combination of other serial or parallel camera interfaces or above-mentioned interface.
In addition, raw image data can also be sent to sensor 720 by imaging sensor 714, sensor 720 can be based on biography Raw image data is supplied to ISP processor 740 to 720 interface type of sensor or sensor 720 deposits raw image data It stores up in video memory 730.
ISP processor 740 handles raw image data pixel by pixel in various formats.For example, each image pixel can Bit depth with 8,10,12 or 14 bits, ISP processor 740 can carry out raw image data at one or more images Reason operation, statistical information of the collection about image data.Wherein, image processing operations can be by identical or different bit depth precision It carries out.
ISP processor 740 can also receive image data from video memory 730.For example, 720 interface of sensor will be original Image data is sent to video memory 730, and the raw image data in video memory 730 is available to ISP processor 740 It is for processing.Video memory 730 can be independent special in a part, storage equipment or electronic equipment of memory device It with memory, and may include DMA (Direct Memory Access, direct direct memory access (DMA)) feature.
When receiving from 714 interface of imaging sensor or from 720 interface of sensor or from video memory 730 When raw image data, ISP processor 740 can carry out one or more image processing operations, such as time-domain filtering.Treated schemes As data can be transmitted to video memory 730, to carry out other processing before shown.ISP processor 740 is from image Memory 730 receives processing data, and carries out in original domain and in RGB and YCbCr color space to the processing data Image real time transfer.Treated that image data may be output to display 770 for ISP processor 740, for user's viewing and/or It is further processed by graphics engine or GPU (Graphics Processing Unit, graphics processor).In addition, ISP processor 740 output also can be transmitted to video memory 730, and display 770 can read image data from video memory 730.? In one embodiment, video memory 730 can be configured to realize one or more frame buffers.In addition, ISP processor 740 Output can be transmitted to encoder/decoder 760, so as to encoding/decoding image data.The image data of coding can be saved, And it is decompressed before being shown in 770 equipment of display.Encoder/decoder 760 can be real by CPU or GPU or coprocessor It is existing.
The statistical data that ISP processor 740 determines, which can be transmitted, gives control logic device Unit 750.For example, statistical data can wrap Include the image sensings such as automatic exposure, automatic white balance, automatic focusing, flicker detection, black level compensation, 712 shadow correction of lens 714 statistical information of device.Control logic device 750 may include the processor and/or micro-control for executing one or more routines (such as firmware) Device processed, one or more routines can statistical data based on the received, determine the control parameter and ISP processor of imaging device 710 740 control parameter.For example, the control parameter of imaging device 710 may include 720 control parameter of sensor (such as gain, exposure The time of integration, stabilization parameter of control etc.), camera flash control parameter, 712 control parameter of lens (such as focus or zoom With focal length) or these parameters combination.ISP control parameter may include for automatic white balance and color adjustment (for example, in RGB During processing) 712 shadow correction parameter of gain level and color correction matrix and lens.
The following are realize image pickup method provided by the above embodiment with image processing techniques in Fig. 7.
The embodiment of the present application also provides a kind of computer readable storage mediums.One or more is executable comprising computer The non-volatile computer readable storage medium storing program for executing of instruction, when the computer executable instructions are executed by one or more processors When, so that the step of processor executes image pickup method.
A kind of computer program product comprising instruction, when run on a computer, so that computer executes shooting Method.
It may include non-to any reference of memory, storage, database or other media used in the embodiment of the present application Volatibility and/or volatile memory.Suitable nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM), it is used as external cache.By way of illustration and not limitation, RAM in a variety of forms may be used , such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM).
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously The limitation to the application the scope of the patents therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the concept of this application, various modifications and improvements can be made, these belong to the guarantor of the application Protect range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of image pickup method is applied to electronic equipment, which is characterized in that comprising at least three images in the electronic equipment Manage device and corresponding at least three imaging sensor, which comprises
When detecting shooting instruction, at least three imaging sensor and at least three figures are controlled according to the shooting instruction As processor powers on, and each imaging sensor controlled after powering on is connected with corresponding image processor;
It by each described image sensor acquires corresponding original image, and will be obtained by each described image sensor The original image is respectively sent to connected image processor;
The original image is handled respectively by each described image processor, obtains corresponding target image.
2. the method according to claim 1, wherein described image processor is including the first image processor and extremely Few two the second image processors, described image sensor include the first image sensing corresponding to the first image processor Device and at least two second imaging sensors corresponding at least two second image processors, the original image include first Original image and the second original image;
It is described that corresponding original image is acquired by each described image sensor, and incited somebody to action by each described image sensor To the original image be respectively sent to connected image processor, comprising:
The first acquisition parameters are obtained by the first image processor, the second shooting is obtained according to first acquisition parameters and joins Number, and second acquisition parameters are sent at least two second image processor;
By the first image processor according to the first shooting state modulator corresponding first imaging sensor acquisition the One original image, and obtained first original image is sent to by the first image procossing by the first image sensor Device;
It is adopted by each second image processor according to corresponding second imaging sensor of the second shooting state modulator Collect the second original image, and obtained second original image is sent to by the second image by second imaging sensor Processor.
3. according to the method described in claim 2, it is characterized in that, described obtain first count by the first image processor Take the photograph parameter, comprising:
The corresponding environmental parameter of photographed scene locating for the electronic equipment is obtained by the first image processor, according to described Environmental parameter obtains corresponding first acquisition parameters.
4. the method according to claim 1, wherein it is described by each described image processor respectively to described Original image is handled, and corresponding target image is obtained, comprising:
Obtain each original image corresponding generation moment;
If the time interval of any two original images generated between the moment is less than interval threshold, pass through each described image Processor is respectively handled the original image, obtains corresponding target image.
5. method according to claim 1 to 4, which is characterized in that described to be handled by each described image Device is respectively handled the original image, obtains corresponding target image, comprising:
The instruction type for obtaining the shooting instruction obtains processing mode according to described instruction type;
The corresponding processing of the processing mode is carried out to the original image respectively by each described image processor, is obtained pair The target image answered.
6. according to the method described in claim 5, it is characterized in that, the instruction type for obtaining the shooting instruction, according to Described instruction type obtains processing mode, comprising:
Obtain the instruction type of the shooting instruction;
When described instruction type is the first instruction type, corresponding first processing mode of first instruction type is obtained;
When described instruction type is the second instruction type, the corresponding second processing mode of second instruction type is obtained, In, consumed duration is less than when being handled according to the second processing mode and is consumed when being handled according to first processing mode Duration.
7. according to the method described in claim 5, it is characterized in that, the instruction type for obtaining the shooting instruction, according to Described instruction type obtains processing mode, comprising:
The instruction type of the shooting instruction is obtained, and power threshold is obtained according to described instruction type;
Obtain the remaining capacity of the electronic equipment;
When the remaining capacity is less than the power threshold, the first processing mode is obtained;
When the remaining capacity is greater than or equal to the power threshold, second processing mode is obtained.
8. a kind of filming apparatus is applied to electronic equipment, which is characterized in that comprising at least three images in the electronic equipment Reason device and corresponding at least three imaging sensor, described device include:
Module is powered on, for controlling at least three image sensing according to the shooting instruction when detecting shooting instruction Device and at least three image processors power on, and each imaging sensor controlled after powering on connects with corresponding image processor It connects;
Image capture module, for acquiring corresponding original image by each described image sensor, and by each described The obtained original image is respectively sent to connected image processor by imaging sensor;
Image processing module obtains pair for being handled respectively the original image by each described image processor The target image answered.
9. a kind of electronic equipment, including at least three image processors and corresponding at least three imaging sensor, memory and Processor stores computer program in the memory, when the computer program is executed by the processor, so that described Processor executes the step of method as described in any one of claims 1 to 7.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method as described in any one of claims 1 to 7 is realized when being executed by processor.
CN201811457819.5A 2018-11-30 2018-11-30 Image pickup method and device, electronic equipment, computer readable storage medium Pending CN109379535A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811457819.5A CN109379535A (en) 2018-11-30 2018-11-30 Image pickup method and device, electronic equipment, computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811457819.5A CN109379535A (en) 2018-11-30 2018-11-30 Image pickup method and device, electronic equipment, computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109379535A true CN109379535A (en) 2019-02-22

Family

ID=65376154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811457819.5A Pending CN109379535A (en) 2018-11-30 2018-11-30 Image pickup method and device, electronic equipment, computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109379535A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110264473A (en) * 2019-06-13 2019-09-20 Oppo广东移动通信有限公司 Image processing method, device and electronic equipment based on multiple image
CN111050048A (en) * 2019-12-27 2020-04-21 重庆金山医疗技术研究院有限公司 Image acquisition apparatus, method and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979238A (en) * 2016-07-05 2016-09-28 深圳市德赛微电子技术有限公司 Method for controlling global imaging consistency of multiple cameras
CN107659985A (en) * 2017-08-09 2018-02-02 广东欧珀移动通信有限公司 Reduce method, apparatus, storage medium and the mobile terminal of mobile terminal power consumption
CN107830990A (en) * 2017-10-31 2018-03-23 武汉精测电子集团股份有限公司 A kind of automatic optical detecting system based on FPGA platform
CN108093166A (en) * 2016-11-22 2018-05-29 中兴通讯股份有限公司 A kind of display methods, device and terminal
CN108322670A (en) * 2018-04-27 2018-07-24 Oppo广东移动通信有限公司 A kind of control method of multi-camera system, mobile terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979238A (en) * 2016-07-05 2016-09-28 深圳市德赛微电子技术有限公司 Method for controlling global imaging consistency of multiple cameras
CN108093166A (en) * 2016-11-22 2018-05-29 中兴通讯股份有限公司 A kind of display methods, device and terminal
CN107659985A (en) * 2017-08-09 2018-02-02 广东欧珀移动通信有限公司 Reduce method, apparatus, storage medium and the mobile terminal of mobile terminal power consumption
CN107830990A (en) * 2017-10-31 2018-03-23 武汉精测电子集团股份有限公司 A kind of automatic optical detecting system based on FPGA platform
CN108322670A (en) * 2018-04-27 2018-07-24 Oppo广东移动通信有限公司 A kind of control method of multi-camera system, mobile terminal and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110264473A (en) * 2019-06-13 2019-09-20 Oppo广东移动通信有限公司 Image processing method, device and electronic equipment based on multiple image
CN110264473B (en) * 2019-06-13 2022-01-04 Oppo广东移动通信有限公司 Image processing method and device based on multi-frame image and electronic equipment
CN111050048A (en) * 2019-12-27 2020-04-21 重庆金山医疗技术研究院有限公司 Image acquisition apparatus, method and storage medium

Similar Documents

Publication Publication Date Title
US7176962B2 (en) Digital camera and digital processing system for correcting motion blur using spatial frequency
US8581992B2 (en) Image capturing apparatus and camera shake correction method, and computer-readable medium
CN108712608B (en) Terminal equipment shooting method and device
CN109672819B (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN108716983A (en) Optical element detection method and device, electronic equipment, storage medium
WO2006013945A1 (en) Imaging device, imaging method, and imaging control program
US8593547B2 (en) Image processing apparatus, image capturing apparatus, and image processing method
US9049372B2 (en) Electronic camera, computer readable medium recording imaging control program thereon and imaging control method
CN110213502A (en) Image processing method, device, storage medium and electronic equipment
CN109327626A (en) Image-pickup method, device, electronic equipment and computer readable storage medium
CN110266966A (en) Image generating method and device, electronic equipment, computer readable storage medium
CN107613216B (en) Focusing method, device, computer readable storage medium and electronic equipment
CN108322650A (en) Video capture method and apparatus, electronic equipment, computer readable storage medium
CN110198418A (en) Image processing method, device, storage medium and electronic equipment
CN105721741A (en) Imaging device, image processing device, and imaging method
CN110177212A (en) Image processing method and device, electronic equipment, computer readable storage medium
CN110121031A (en) Image-pickup method and device, electronic equipment, computer readable storage medium
CN108924426A (en) Image processing method and device, electronic equipment, computer readable storage medium
CN110166705A (en) High dynamic range HDR image generation method and device, electronic equipment, computer readable storage medium
CN102630381A (en) Electronic camera
JP2013106284A (en) Light source estimation device, light source estimation method, light source estimation program, and imaging apparatus
CN109559352A (en) Camera calibration method, device, electronic equipment and computer readable storage medium
CN109951641A (en) Image capturing method and device, electronic equipment, computer readable storage medium
CN110290325A (en) Image processing method, device, storage medium and electronic equipment
JP2014003496A (en) Image processing device, imaging device, and program

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190222

RJ01 Rejection of invention patent application after publication