CN108881731A - Panorama shooting method, device and imaging device - Google Patents
Panorama shooting method, device and imaging device Download PDFInfo
- Publication number
- CN108881731A CN108881731A CN201810886716.4A CN201810886716A CN108881731A CN 108881731 A CN108881731 A CN 108881731A CN 201810886716 A CN201810886716 A CN 201810886716A CN 108881731 A CN108881731 A CN 108881731A
- Authority
- CN
- China
- Prior art keywords
- exposure
- pixel
- pixel elements
- sensitive
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/698—Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/741—Circuitry for compensating brightness variation in the scene by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors
Abstract
The present invention proposes a kind of panorama shooting method, device and imaging device, wherein method includes:During pan-shot, the movement speed of detection imaging equipment, if movement speed is higher than threshold velocity, control the synchronous exposure of each sensitive pixel elements in sensitive pixel elements array, first object image is calculated according to the original pixels information that photosensitive pixel each in same sensitive pixel elements exports to obtain the original pixels information of each photosensitive pixel output in each sensitive pixel elements, spliced according to first object image, obtains panoramic picture.Movement speed when by detection pan-shot, when movement speed is excessively high, original pixels information is merged, to improve the treatment effeciency of image, image quality has been combined, has been solved in the prior art, when shooting high dynamic panoramic picture, when imaging device high-speed mobile, the technical issues of image quality and processing speed cannot be considered in terms of.
Description
Technical field
The present invention relates to technical field of mobile terminals more particularly to a kind of panorama shooting methods, device and imaging device.
Background technique
With the development of mobile terminal and image processing techniques, people increasingly increase the demand of shooting, when shooting field
When scape dynamic range changes greatly, people need to shoot high dynamic range panoramic picture, to show current scene.
In the prior art, high dynamic range (High-Dynamic Range, HDR) technology be usually control pixel array with
The multiple image of preset pixel output different exposure time, then merge multiple image and be calculated high dynamic range, but at
When as equipment high-speed mobile, this mode cannot be considered in terms of the image quality of image and treatment effeciency.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, the present invention proposes a kind of panorama shooting method, movement speed when by detection pan-shot, when mobile speed
When spending high, original pixels information is merged, to improve the treatment effeciency of image, has combined image quality.
The present invention proposes a kind of panorama shooting device.
The present invention proposes a kind of imaging device.
The present invention proposes a kind of electronic equipment.
The present invention proposes a kind of computer readable storage medium.
One aspect of the present invention embodiment proposes a kind of panorama shooting method, is applied to imaging device, the imaging device
Including the sensitive pixel elements array being made of multiple sensitive pixel elements, each sensitive pixel elements include at least one light-sensitive image
Element, this method include:
During pan-shot, the movement speed of the imaging device is detected;
If the movement speed is higher than threshold velocity, it is same to control each sensitive pixel elements in the sensitive pixel elements array
Step exposure, to obtain the original pixels information of each photosensitive pixel output in each sensitive pixel elements;
According to the original pixels information that photosensitive pixel each in same sensitive pixel elements exports, the first mesh is calculated
Logo image;
Spliced according to the first object image, obtains panoramic picture.
Another aspect of the invention embodiment proposes a kind of panorama shooting device, which is set to imaging device, described
Imaging device includes the sensitive pixel elements array being made of multiple sensitive pixel elements, and each sensitive pixel elements include at least one
A photosensitive pixel, the device include:
Detecting module, for detecting the movement speed of the imaging device during pan-shot;
First control module controls the sensitive pixel elements array if being higher than threshold velocity for the movement speed
In the synchronous exposure of each sensitive pixel elements, to obtain the original pixels letter of each photosensitive pixel output in each sensitive pixel elements
Breath;
Computing module, the original pixels information for being exported according to photosensitive pixel each in same sensitive pixel elements,
First object image is calculated;
Splicing module obtains panoramic picture for being spliced according to the first object image.
Another aspect of the invention embodiment proposes a kind of imaging device, and the imaging device includes by multiple photosensitive pixels
The sensitive pixel elements array of unit composition, each sensitive pixel elements include at least one photosensitive pixel, and the imaging device is also
Including processor, the processor is used for:
During pan-shot, the movement speed of the imaging device is detected;
If the movement speed is higher than threshold velocity, it is same to control each sensitive pixel elements in the sensitive pixel elements array
Step exposure, to obtain the original pixels information of each photosensitive pixel output in each sensitive pixel elements;
According to the original pixels information that photosensitive pixel each in same sensitive pixel elements exports, the first mesh is calculated
Logo image;
Spliced according to the first object image, obtains panoramic picture.
Another aspect of the invention embodiment proposes a kind of electronic equipment, including:Memory, processor and it is stored in storage
On device and the computer program that can run on a processor, when the processor executes described program, such as aforementioned one side face is realized
The panorama shooting method.
Another aspect of the invention embodiment proposes a kind of computer readable storage medium, is stored thereon with computer journey
Sequence when the program is executed by processor, realizes the panorama shooting method as described in aforementioned one side face.
Technical solution provided by the embodiment of the present invention may include following beneficial effect:
During pan-shot, the movement speed of detection imaging equipment, if movement speed is higher than threshold velocity, control sense
The synchronous exposure of each sensitive pixel elements in light pixel cell array, to obtain each photosensitive pixel output in each sensitive pixel elements
Original pixels information be calculated the according to the original pixels information that photosensitive pixel each in same sensitive pixel elements exports
One target image is spliced according to first object image, obtains panoramic picture.Mobile speed when by detection pan-shot
Degree, when movement speed is excessively high, original pixels information is merged, to improve the treatment effeciency of image, combined at
Image quality amount.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, wherein:
Fig. 1 is a kind of flow diagram of panorama shooting method provided by the embodiment of the present invention;
Fig. 2 is the flow diagram of another kind panorama shooting method provided by the embodiment of the present invention;
Fig. 3 is the flow diagram of another panorama shooting method provided by the embodiment of the present invention;
Fig. 4 is the flow diagram of another panorama shooting method provided by the embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of panorama shooting device provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another panorama shooting device provided in an embodiment of the present invention;
Fig. 7 is the schematic diagram of internal structure of electronic equipment 200 in one embodiment;And
Fig. 8 is the schematic diagram of image processing circuit 90 in one embodiment.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the panorama shooting method, device and imaging device of the embodiment of the present invention are described.
Fig. 1 is a kind of flow diagram of panorama shooting method provided by the embodiment of the present invention.
As shown in Figure 1, this approach includes the following steps:
Step 101, during pan-shot, the movement speed of detection imaging equipment.
The method of the present embodiment can be applied to imaging device, and imaging device includes the sense being made of multiple sensitive pixel elements
Light pixel cell array, each sensitive pixel elements include at least one photosensitive pixel.For example, imaging device can be video camera, hand
Machine, ipad etc..
As a kind of possible implementation, during pan-shot, visited by velocity sensor either gyroscope
Survey the movement speed of imaging device.
Step 102, if movement speed is higher than threshold velocity, it is same that each sensitive pixel elements in sensitive pixel elements array are controlled
Step exposure, to obtain the original pixels information of each photosensitive pixel output in each sensitive pixel elements.
Specifically, the movement speed of imaging device detection obtained is compared with threshold velocity, if movement speed is higher than threshold
It is worth speed, then the synchronous exposure of each sensitive pixel elements in sensitive pixel elements array is controlled, to obtain in each sensitive pixel elements
The original pixels information of each photosensitive pixel output can control sensitive pixel elements array as a kind of possible implementation
In multiple original pixels information for being exposed using the identical time for exposure of each sensitive pixel elements output.As alternatively possible
Implementation, control the synchronous exposure of each sensitive pixel elements in sensitive pixel elements array, and export and be respectively at different exposures
Multiple original pixels information under between light time.
It should be noted that two kinds of exposure modes will be described in detail in following embodiments.
It is to be appreciated that output after original pixels information, i.e. photosensitive pixel in sensitive pixel elements array are exposed
Untreated Pixel Information.
Step 103, the original pixels information exported according to photosensitive pixel each in same sensitive pixel elements is calculated the
One target image.
Wherein, first object image is generated according to merging Pixel Information, and by closing to original pixels information
And obtained merging Pixel Information, pixel quantity reduce, that is to say, that the resolution ratio of first object image reduces.
In the embodiment of the present application, when the movement speed of imaging device is higher than threshold velocity, by same photosensitive pixel
The original pixels information of each photosensitive pixel output is calculated in unit, obtains merging Pixel Information, wherein each photosensitive pixel
Unit corresponds to a merging Pixel Information, exports first object image according to multiple merging Pixel Informations, improves first object
The formation speed of image.This is because when the movement speed of imaging device is higher than threshold velocity, the image procossing of imaging device
Speed must match with the movement speed of imaging device, when having started to acquire next frame image to avoid imaging device, imaging
Equipment has handled previous frame image not yet, causes frame losing or image quality lower, and by original pixels information into
Row pixel combination, when ensure that imaging device high-speed cruising, treatment effeciency and image quality are taken into account.
Wherein, the method for merging Pixel Information is calculated, can be discussed in detail in following embodiments.
Step 104, spliced according to first object image, obtain panoramic picture.
Specifically, according to obtained multiframe first object image, according to the genesis sequence of multiframe target image, to multiframe
One target image is spliced, will be same or similar in the first object image of consecutive frame as a kind of possible implementation
Part merge splicing, the splicing of first object image is realized, to obtain panoramic picture.
In the panorama shooting method of the embodiment of the present invention, during pan-shot, the movement speed of detection imaging equipment,
If movement speed is higher than threshold velocity, the synchronous exposure of each photosensitive pixel in sensitive pixel elements array is controlled, it is each photosensitive to obtain
The original pixels information of each photosensitive pixel output, exports according to photosensitive pixel each in same sensitive pixel elements in pixel unit
Original pixels information, first object image is calculated, is spliced according to first object image, obtains panoramic picture.It is logical
Movement speed when crossing detection pan-shot merges original pixels information when movement speed is excessively high, to improve image
Treatment effeciency, combined image quality.
For an embodiment in clear explanation, the embodiment of the invention provides the possible realities of another panorama shooting method
Existing mode, illustrates in imaging device high-speed mobile, and each sensitive pixel elements controlled in sensitive pixel elements array use
The mode of identical time for exposure exports original pixels information, and exports to each photosensitive pixel in same feeling pixel unit original
Pixel Information calculates average value, so that the pixel value for the merging pixel unit information that same sensitive pixel elements obtain reduces,
To improve the processing speed of first object image, Fig. 2 is another kind panorama shooting method provided by the embodiment of the present invention
Flow diagram.
As shown in Fig. 2, this method may comprise steps of:
Step 201, during pan-shot, the movement speed of detection imaging equipment.
It can refer to the step 101 in an embodiment, repeated no more in the present embodiment.
Step 202, if movement speed is higher than threshold velocity, each sensitive pixel elements in sensitive pixel elements array is controlled and are adopted
It is synchronized and is exposed with the identical time for exposure, to obtain the original pixels information of each photosensitive pixel output in each sensitive pixel elements.
In the embodiment of the present invention, belong in the photosensitive pixel of same sensitive pixel elements include at least one long exposing pixels,
Exposing pixels and an at least short exposure pixel at least one, wherein when long exposing pixels refer to photosensitive pixel corresponding exposure
Between be the long time for exposure, middle exposing pixels refer to that the photosensitive pixel corresponding time for exposure is middle time for exposure, short exposure pixel
Refer to that the photosensitive pixel corresponding time for exposure is short exposure time.And in embodiments of the present invention, in imaging device work,
Long exposing pixels, middle exposing pixels and short exposure pixel refer to long exposing pixels, middle exposure using the synchronous exposure of identical time for exposure
Light pixel and short exposure pixel use corresponding exposure time, synchronize exposure in same frame image imaging process.But this
In the synchronous exposure that describes, be not limited to the beginning time for exposure phase of long exposing pixels, middle exposing pixels and short exposure pixel
Together, it is identical to be also not limited to the end time for exposure, but says, the exposure of long exposing pixels, middle exposing pixels and short exposure pixel
Process is for being imaged same frame image.
Specifically, when imaging device movement speed is higher than threshold velocity, imaging device controls sensitive pixel elements first
The synchronous exposure of the long exposing pixels in each sensitive pixel elements, middle exposing pixels and short exposure pixel in array, and be arranged
The identical time for exposure, so that each sensitive pixel elements in sensitive pixel elements array will export after end exposure
Multiple original pixels information under the identical time for exposure.For example, when each sensitive pixel elements include:1 long exposure picture
When element, 2 middle exposing pixels, 1 short exposure pixel, each sensitive pixel elements in sensitive pixel elements array will export four
A original pixels information, i.e., 2 originals that 1 original pixels information of 1 long exposing pixels output, 2 middle exposing pixels export
Beginning Pixel Information and 1 and the output of short exposure pixel 1 original pixels information, and 4 original pixels information are in identical exposure
It is obtained under between light time.
Step 203, merging is calculated to the original pixels information of photosensitive pixel each in same sensitive pixel elements output
Pixel Information exports first object image according to multiple merging Pixel Informations.
In the embodiment of the present invention, the original pixels information of photosensitive pixel each in same sensitive pixel elements output is counted
Calculating specifically, can be to same for each sensitive pixel elements in sensitive pixel elements array to obtain merging Pixel Information
The original pixels information of each photosensitive pixel output calculates average value in one sensitive pixel elements, using the average value being calculated as
The merging Pixel Information of the sensitive pixel elements, the corresponding merging Pixel Information of each sensitive pixel elements similarly can be obtained
The corresponding merging Pixel Information of all sensitive pixel elements in sensitive pixel elements array.
Still with above-mentioned example, four original pixels information of sensitive pixel elements output, i.e., 1 long exposure picture are marked
1 original pixels information of element output, 2 original pixels information of 2 middle exposing pixels output and 1 and short exposure pixel
Output 1 original pixels information be respectively:R1, R2, R3 and R4, then the merging Pixel Information of the sensitive pixel elements be:(R1
+ R2+R3+R4)/4, the pixel size for the merging Pixel Information that sensitive pixel elements obtain is reduced, subsequent output the can be improved
The speed of one target image.
In turn, according to the exportable first object image of multiple merging Pixel Informations being calculated.It is photosensitive by reducing
The pixel size for the merging Pixel Information that pixel unit obtains improves the speed of output first object image.
Step 204, spliced according to first object image, obtain panoramic picture.
Specifically, according to obtained multiframe first object image, according to the genesis sequence of multiframe target image, to multiframe
One target image is spliced, will be same or similar in the first object image of consecutive frame as a kind of possible implementation
Part merge splicing, the splicing of first object image is realized, to obtain panoramic picture.
In the embodiment of the present invention, when imaging device movement speed is higher than threshold velocity, sensitive pixel elements array is controlled
In multiple original pixels information for being exposed using the identical time for exposure of each photosensitive pixel output, to same sensitive pixel elements
In the original pixels information of each photosensitive pixel output calculate average value, using the average value being calculated as merging Pixel Information,
First object image is exported according to multiple merging Pixel Informations, reduces the picture for the merging Pixel Information that sensitive pixel elements obtain
Plain size improves the speed of output first object image, improves the formation efficiency of panoramic picture, combined panorama sketch
The image quality of picture.
In a upper embodiment, after synchronous exposure, output is the multiple original images exposed using the identical time for exposure
Prime information, and average value is calculated to the original pixels information of output, it obtains merging Pixel Information, thus the merging reduced
Number of pixels, that is, reduce the resolution ratio of first object image, so that the combined coefficient of first object image is improved, as another
It is multiple original under different exposure time can also to control the output of sensitive pixel elements array for a kind of possible implementation
Pixel Information, and according to the original pixels information under different exposure time, merging Pixel Information is calculated, purpose is also to reduce
Obtained merging number of pixels, to improve the combined coefficient of first object image.
For this purpose, the embodiment of the present invention proposes the possible implementation of another panorama shooting method, Fig. 3 is the present invention
The flow diagram of another panorama shooting method provided by embodiment, as shown in figure 3, this method comprises the following steps:
Step 301, during pan-shot, the movement speed of detection imaging equipment.
Step 302, if movement speed is higher than threshold velocity, control sensitive pixel elements array output is respectively at different exposures
Multiple original pixels information under between light time.
In the embodiment of the present invention, belong in the photosensitive pixel of same sensitive pixel elements include at least one long exposing pixels,
Exposing pixels and an at least short exposure pixel at least one, wherein long time for exposure>The middle time for exposure>Short exposure time is that is, long
The long time for exposure of exposing pixels is greater than the middle time for exposure of middle exposing pixels, and the middle time for exposure of middle exposing pixels is greater than short
The short exposure time of exposing pixels.In imaging device work, long exposing pixels, middle exposing pixels and short exposure pixel are synchronous to expose
Light, it is synchronous to expose the exposure progress for referring to that the exposure progress time of middle exposing pixels and short exposure pixel is located at long exposing pixels
Within time.
Specifically, long exposing pixels can be controlled first to start to expose at first, during the exposure of long exposing pixels, then
Exposing pixels and short exposure pixel exposure in control, wherein the exposure deadline of middle exposing pixels and short exposure pixel answers
Before the exposure deadline identical or positioned at long exposing pixels as the exposure deadline of long exposing pixels;Alternatively, control length
Exposing pixels, middle exposing pixels and short exposure pixel start simultaneously at exposure, i.e., long exposing pixels, middle exposing pixels and short exposure
The exposure initial time of light pixel is identical.In this way, long exposure, middle exposure and short exposure are successively carried out without controlling pixel unit array, it can
Reduce the shooting time of target image.
Specifically, imaging device controls the long exposure in each sensitive pixel elements in sensitive pixel elements array first
The synchronous exposure of pixel, middle exposing pixels and short exposure pixel, wherein the long exposing pixels corresponding time for exposure is initial long exposure
Time, middle exposing pixels corresponding time for exposure are the time for exposure in initial, and the short exposure pixel corresponding time for exposure is initial
Short exposure time, initial long time for exposure, initial middle time for exposure and initial short exposure time are pre-set.Exposure
After, output is respectively at multiple under different exposure time by each sensitive pixel elements in sensitive pixel elements array
Original pixels information.
Step 303, in same pixel unit, the original pixels information of long exposing pixels, the original of short exposure pixel are chosen
The original pixels information of beginning Pixel Information or middle exposing pixels.
In the embodiment of the present invention, in same sensitive pixel elements, the original pixels information of long exposing pixels, short exposure are chosen
The original pixels information of light pixel or the original pixels information of middle exposing pixels, i.e., from the original pixels information of long exposing pixels,
In the original pixels information of short exposure pixel or the original pixels information of middle exposing pixels, an original pixels information is chosen,
It is exactly that time for exposure identical original pixels information is chosen from same sensitive pixel elements.
For example, when including 1 long exposing pixels, 2 middle exposing pixels, 1 short exposure picture in a sensitive pixel elements
Element, and the original pixels information of long exposing pixels is 80, the original pixels information of two middle exposing pixels is 255, short exposure picture
Element original pixels information be 255 when, due to 255 be original pixels information the upper limit, middle exposing pixels and short exposure picture
Plain overexposure, cannot choose as original pixels information, and therefore, selection can be believed for the original pixels of long exposing pixels
Breath:80.Similarly, if long exposing pixels and short exposure pixel exposure are excessive, and the exposure of middle exposing pixels is normal, then the exposure chosen
Identical original pixels information is the original pixels information of middle exposing pixels between light time, and by the original image of two middle exposing pixels
Prime information averaged obtains and merges Pixel Information.
It is to be appreciated that being described in the embodiment of the present invention includes 4 photosensitive pixels in a sensitive pixel elements,
By synthesis, so that 4 photosensitive pixel values synthesize to obtain a photosensitive pixel value, that is to say, that so that being obtained after synthesis photosensitive
Number of pixels is reduced, and is the 1/4 of former photosensitive pixel number, so that image resolution ratio reduces.
Step 304, according to the original pixels information of selection and long time for exposure, middle time for exposure and short exposure time
Between exposure ratio, the merging Pixel Information of first object image is calculated.
Still with above-mentioned example, it is assumed that the exposure between long time for exposure, middle time for exposure and short exposure time, which is compared, is:
16:4:1, then merging Pixel Information is:80*16=1280.
Since the upper limit of original pixels information in the prior art is 255, by the original pixels information according to selection, and
Exposure ratio between long time for exposure, middle time for exposure and short exposure time, is calculated the merging pixel of first object image
Information can obtain high dynamic range images with extended dynamic range, to promote the imaging effect of first object image.
In turn, according to Pixel Information is merged, first object image is exported.
For example, including 1 long exposing pixels, 2 middle exposing pixels, 1 short exposure pixel in each sensitive pixel elements
When, the original pixels information of unique long exposing pixels is the merging Pixel Information of long exposure, 2 middle exposing pixels it is original
The sum of Pixel Information is the middle merging Pixel Information exposed, and the original pixels information of unique short exposure pixel is short exposure
Merging Pixel Information;When in pixel unit including 2 long exposing pixels, 4 middle exposing pixels, 2 short exposure pixels, 2
The sum of original pixels information of a long exposing pixels is the merging Pixel Information of long exposure, the original image of 4 middle exposing pixels
The sum of prime information is the middle merging Pixel Information exposed, and the sum of original pixels information of 2 short exposure pixels is short exposure
Merging Pixel Information.In this way, merging Pixel Informations of multiple long exposures of entire sensitive pixel elements array, more can be obtained
Merging Pixel Information, the merging Pixel Information of multiple short exposures of a middle exposure.
Then, according to the time for exposure of selection identical original pixels information, such as the long exposure picture chosen in the present embodiment
The original pixels information of element obtains the merging Pixel Information of long exposure, and each sensitive pixel elements correspond to a long exposure
Merge Pixel Information, according to multiple merging Pixel Information, that is, exportable first object images.
Further, for further improve first object image image quality, long exposing pixels, middle exposing pixels and
It, can after short exposure pixel synchronizes exposure according to initial long time for exposure, initial middle time for exposure and initial short exposure time respectively
To calculate long exposure histogram, the original exported according to short exposure pixel according to the original pixels information of long exposing pixels output first
Beginning Pixel Information calculates short exposure histogram, and initially the long time for exposure obtains correcting long exposure according to long exposure histogram modification
Time obtains amendment short exposure time according to the initial short exposure time of short exposure histogram modification.Then, then long exposure picture is controlled
Plain, middle exposing pixels and short exposure pixel are respectively according to amendment long time for exposure, initial middle time for exposure and when correcting short exposure
Between synchronous exposure.Wherein, makeover process not settles at one go, but imaging device needs to carry out the synchronous exposure of multiple long, medium and short
Light, after synchronous exposure each time, imaging device can continue to repair according to the long exposure histogram and short exposure histogram of generation
Just long time for exposure and short exposure time, and corrected when exposing next time using last moment the amendment long time for exposure,
Amendment short exposure time and original middle time for exposure synchronize exposure, continue to obtain long exposure histogram and short exposure histogram
Scheme, so in cycles, up to there is no deficient exposure region, short exposure histogram are corresponding in the corresponding image of long exposure histogram
There is no until overexposure region in image, the amendment long time for exposure and amendment short exposure time at this time is that final amendment is long
Time for exposure and amendment short exposure time.Further according to long exposing pixels, middle exposing pixels and short exposure pixel after end exposure
Output carries out the calculating of first object image, and the calculation is identical as the calculation in a upper embodiment, herein no longer
It repeats.
Wherein, long exposure histogram can be one or more.It, can be according to all length when long exposure histogram is one
The original pixels information of exposing pixels output generates one long exposure histogram.It, can be to length when long exposure histogram is multiple
Exposing pixels divide region, and generate one long exposure directly according to multiple long original pixels letter elements for exposing pictures in each region
Fang Tu, in this way, multiple regions correspond to multiple long exposure histograms.The effect for dividing region is can to promote modified length each time
The accuracy of time for exposure accelerates the amendment process of long time for exposure.Similarly, short exposure histogram can be one or more
It is a.When short exposure histogram is one, the original pixels information that can be exported according to all short exposure pixels generates a short exposure
Light histogram.When short exposure histogram is multiple, region can be divided to short exposure pixel, and according to multiple in each region
The original pixels information of short exposure pixel generates a short exposure histogram, in this way, multiple regions correspond to multiple short exposure histograms
Figure.The effect for dividing region is can to promote the accuracy of modified short exposure time each time, accelerates repairing for short exposure time
Positive process.
Step 305, spliced according to first object image, obtain panoramic picture.
In the panorama shooting method of the embodiment of the present invention, when imaging device movement speed is higher than threshold velocity, control sense
The synchronous exposure of each sensitive pixel elements in light pixel cell array, and export be respectively at it is multiple original under different exposure time
Pixel Information, and in same sensitive pixel elements, choose the original pixels information of long exposing pixels, middle exposing pixels it is original
The original pixels information of Pixel Information and short exposure pixel, according to the original pixels information of selection and long time for exposure, middle exposure
Exposure ratio between light time between short exposure time, is calculated merging Pixel Information, exports to obtain according to Pixel Information is merged
First object image.By from same sensitive pixel elements, choosing time for exposure identical original pixels information, and closed
And obtain merging Pixel Information, the pixel quantity after merging in sensitive pixel elements array is reduced, first object figure is reduced
As generating the time expended, improves formation efficiency and combined generation quality.
In above-described embodiment, when describing imaging device movement speed higher than threshold velocity, the generating mode of panoramic picture,
And in practical application, the movement speed of imaging device is variation, and the movement speed of imaging device may also be below or be equal to threshold
It is worth speed, for this purpose, based on the above embodiment, the embodiment of the invention provides the possible realization sides of another panorama shooting method
Formula, Fig. 4 is the flow diagram of another panorama shooting method provided by the embodiment of the present invention, as shown in figure 4, this method packet
Containing following steps:
Step 401, during pan-shot, the movement speed of detection imaging equipment.
Step 402, judge whether movement speed is higher than threshold velocity, if so, step 406 is executed, if it is not, executing step
403。
Specifically, during imaging device photographing panorama picture, the movement speed of imaging device could possibly be higher than threshold value
Speed, it is also possible to be less than or equal to threshold velocity, the movement speed of imaging device is different, and imaging device controls sensitive pixel elements
Exposure method used by array is different, in the present embodiment, when the movement speed of imaging device is higher than threshold velocity, executes step
Rapid 406, when the movement speed of imaging device is less than or equal to threshold velocity, execute step 403.
Step 403, each sensitive pixel elements in sensitive pixel elements array are controlled, different exposure times progress is respectively adopted
Multiple exposure.
Specifically, during pan-shot, each sensitive pixel elements in sensitive pixel elements array is controlled and are respectively adopted
Different exposure times carry out multiple exposure, according to each exposure time, the original pixels letter of the corresponding different exposure times of output
Breath.
Step 404, the original pixels information exported according to sensitive pixel elements array with photosensitive pixel each when single exposure,
Generate a frame original image.
Specifically, according to different exposure times, for the original pixels information of output corresponding under exposure time each time,
It is synthesized, generates corresponding frame original image and obtain the multiframe original image under different exposure times in turn.
Step 405, the original image generated using the exposure of different exposures is synthesized, obtains the second target image.
Second target image refers to the target image generated according to the original pixels information not synthesized, also
It is to say in the second target image, image resolution ratio is identical with the resolution ratio of the sensitive pixel elements array of imaging device, so that the
The image detail of two target images is more preferable, and picture quality is high.After with different exposure shoot multi-frame images, to multiple image
It is synthesized, to obtain second target image.
Step 406, the synchronous exposure of each sensitive pixel elements in sensitive pixel elements array is controlled, to obtain each photosensitive pixel
The original pixels information of each photosensitive pixel output in unit.
Step 407, the original pixels information exported according to photosensitive pixel each in same sensitive pixel elements is calculated the
One target image.
Specifically, step 406-407 can refer to the step 102-103 in Fig. 1 corresponding embodiment, and principle is identical, herein not
It repeats again.
Step 408, interpolation processing, the resolution ratio and second of the first object image after interpolation are carried out to first object image
The resolution match of target image.
Specifically, first object image is exported according to merging Pixel Information, that is to say, that first object image
Resolution ratio reduce, it is therefore desirable to by first object image carry out difference processing so that the first object image obtained after difference
Resolution ratio and the second target image resolution match.
For example, then being carried out original if the corresponding image resolution ratio of original pixels information is 200,000 pixels when not merging
After pixel combination, merging the corresponding first object image resolution ratio of Pixel Information is then 50,000 pixels, after the completion of pan-shot,
It needs to carry out difference to first object image, the resolution ratio of first object image is increased to 200,000 pixels from 50,000 pixel value differences,
So that the resolution match of first object image and the second target image.
Step 409, first object image and the second target image are spliced, obtains panoramic picture.
Specifically, the first object image that difference is handled is spliced with the second target image, to obtain dynamic
Range height and the higher panoramic picture of quality.
In the panorama shooting method of the embodiment of the present invention, during photographing panorama picture, the movement of detection imaging equipment
Speed controls the synchronous exposure of each sensitive pixel elements in pixel unit array, when movement speed is higher than threshold velocity to obtain
The original pixels information of each photosensitive pixel output, merges original pixels information in each sensitive pixel elements, to reduce
Obtained original pixels quantity, so that the merging pixel quantity for generating first object image is reduced, i.e., image resolution ratio reduces,
To improve the formation efficiency of first object image, and when imaging device movement speed is less than or equal to threshold velocity, picture is controlled
Each sensitive pixel elements are respectively adopted different exposure times and carry out multiple exposure in plain cell array, and according to pixel unit array
In the original pixels information that is exported with photosensitive pixel each when single exposure of each sensitive pixel elements, generate a frame original image, and
Each frame original image corresponding to different exposure times synthesizes, and the second target image is obtained, because in the second target image
Pixel quantity is there is no lowering, i.e., for image resolution ratio there is no reducing, therefore, it is necessary to carry out first object image at interpolation
Reason, so that the resolution match of first object image and the second target image, and by obtained first object image and second
Target image is spliced, and the panoramic picture of high dynamic range and high quality is obtained.
In order to realize above-described embodiment, the present invention also proposes a kind of panorama shooting device, which is applied to imaging device,
Imaging device includes the sensitive pixel elements array being made of multiple sensitive pixel elements, and each sensitive pixel elements include at least one
A photosensitive pixel.
Fig. 5 is a kind of structural schematic diagram of panorama shooting device provided in an embodiment of the present invention.
As shown in figure 5, the device includes:Detecting module 51, the first control module 52, computing module 53 and splicing module
54。
Detecting module 51 is used for the movement speed of detection imaging equipment during pan-shot.
First control module 52 controls and respectively feels in sensitive pixel elements array if being higher than threshold velocity for movement speed
The synchronous exposure of light pixel unit, to obtain the original pixels information of each photosensitive pixel output in each sensitive pixel elements.
Computing module 53, the original pixels information for being exported according to photosensitive pixel each in same sensitive pixel elements, meter
Calculation obtains first object image.
Splicing module 54 obtains panoramic picture for being spliced according to first object image.
Further, in a kind of possible implementation of the embodiment of the present invention, referring to Fig. 6, embodiment shown in Fig. 5
On the basis of, which can also include:Second control module 55, generation module 56, synthesis module 57 and interpolating module 58.
Second control module 55 controls sensitive pixel elements array if being less than or equal to threshold velocity for movement speed
Different exposure times are respectively adopted and carry out multiple exposure.
Generation module 56, the original image for being exported according to sensitive pixel elements array with photosensitive pixel each when single exposure
Prime information generates a frame original image.
Synthesis module 57 obtains the second mesh for synthesizing to the original image generated using the exposure of different exposures
Logo image.
Interpolating module 58 carries out interpolation processing to first object image, the resolution ratio of the first object image after interpolation with
The resolution match of second target image.
As a kind of possible realization implementation, above-mentioned splicing module 54 be can be also used for:
First object image and the second target image are spliced, panoramic picture is obtained.
As a kind of possible implementation, above-mentioned control module 52 is specifically used for:
Control multiple original pixels letter that the sensitive pixel elements array output is exposed using the identical time for exposure
Breath.
As a kind of possible implementation, above-mentioned computing module 53 further includes:First computing unit and output unit.
First computing unit, the original pixels information for exporting to photosensitive pixel each in same sensitive pixel elements calculate
It obtains merging Pixel Information, the corresponding merging Pixel Information of each sensitive pixel elements;
Output unit, for exporting first object image according to multiple merging Pixel Informations.
As a kind of possible implementation, the first computing unit be can be also used for:
Average value is calculated to the original pixels information of each photosensitive pixel output in same sensitive pixel elements, is merged
Pixel Information.
As a kind of possible implementation, above-mentioned control module 52 be can be also used for:
Control sensitive pixel elements array exports the multiple original pixels information being respectively under different exposure time.
As a kind of possible implementation, belongs in the photosensitive pixel of same sensitive pixel elements and include:At least one is long
Exposing pixels, exposing pixels and an at least short exposure pixel, above-mentioned computing module 53 can also include at least one:It chooses single
Member and the second computing unit.
Selection unit, for choosing original pixels information, the short exposure pixel of long exposing pixels in same pixel unit
Original pixels information or middle exposing pixels original pixels information.
Second computing unit, for according to the original pixels information of selection and long time for exposure, middle time for exposure and short
Exposure ratio between time for exposure, is calculated merging Pixel Information, wherein the long time for exposure of long exposing pixels is greater than middle exposure
The middle time for exposure of light pixel, and the middle time for exposure of middle exposing pixels is greater than the short exposure time of the short exposure pixel.It needs
It is noted that the aforementioned device for being also applied for the embodiment to the explanation of embodiment of the method, details are not described herein again.
In the panorama shooting device of the embodiment of the present invention, during photographing panorama picture, the movement of detection imaging equipment
Speed controls the synchronous exposure of each sensitive pixel elements in pixel unit array, when movement speed is higher than threshold velocity to obtain
The original pixels information of each photosensitive pixel output, merges original pixels information in each sensitive pixel elements, to reduce
Obtained original pixels quantity, so that the merging pixel quantity for generating first object image is reduced, to improve first object figure
The formation efficiency of picture, and when imaging device movement speed is less than or equal to threshold velocity, it controls and respectively feels in pixel unit array
Light pixel unit is respectively adopted different exposure times and carries out multiple exposure, and according to sensitive pixel elements each in pixel unit array
With the original pixels information of photosensitive pixel each when single exposure output, a frame original image is generated, and to different exposure times pair
Each frame original image answered is synthesized, and the second target image is obtained, because the pixel quantity in the second target image does not subtract
It is low, therefore, it is necessary to which first object image is carried out interpolation processing, so that the resolution of first object image and the second target image
Rate matching, and obtained first object image and the second target image is spliced, and obtains high dynamic range and high quality
Panoramic picture.
Based on the above embodiment, the embodiment of the invention also provides a kind of imaging device, imaging device includes by multiple senses
The sensitive pixel elements array of light pixel unit composition, each sensitive pixel elements include at least one photosensitive pixel, imaging device
It further include processor, processor is used for:
During pan-shot, the movement speed of detection imaging equipment;
If movement speed is higher than threshold velocity, the synchronous exposure of each sensitive pixel elements in sensitive pixel elements array is controlled,
To obtain the original pixels information of each photosensitive pixel output in each sensitive pixel elements;
According to the original pixels information that sensitive pixel elements each in same sensitive pixel elements export, the first mesh is calculated
Logo image;
Spliced according to first object image, obtains panoramic picture.
In order to realize above-described embodiment, the embodiment of the invention also provides a kind of electronic equipment, including:Memory, processing
Device and storage on a memory and the computer program that can run on a processor, when the processor executes described program, reality
The now panorama shooting method as described in preceding method embodiment.
Fig. 7 is the schematic diagram of internal structure of electronic equipment 200 in one embodiment.The electronic equipment 200 includes passing through to be
Processor 60, the memory 50 (for example, non-volatile memory medium), built-in storage 82,83 and of display screen of bus 81 of uniting connection
Input unit 84.Wherein, the memory 50 of electronic equipment 200 is stored with operating system and computer-readable instruction.The computer
Readable instruction can be executed by processor 60, to realize the control method of the application embodiment.The processor 60 is based on providing
Calculation and control ability, support the operation of entire electronic equipment 200.The built-in storage 50 of electronic equipment 200 is in memory 52
The operation of computer-readable instruction provides environment.The display screen 83 of electronic equipment 200 can be liquid crystal display or electronic ink
Water display screen etc., input unit 84 can be the touch layer covered on display screen 83, be also possible to set on 200 shell of electronic equipment
Key, trace ball or the Trackpad set, are also possible to external keyboard, Trackpad or mouse etc..The electronic equipment 200 can be
Mobile phone, tablet computer, laptop, personal digital assistant or wearable device (such as Intelligent bracelet, smartwatch, intelligence
The helmet, intelligent glasses) etc..It will be understood by those skilled in the art that structure shown in Fig. 7, only with application scheme phase
The schematic diagram of the part-structure of pass does not constitute the restriction for the electronic equipment 200 being applied thereon to application scheme, specifically
Electronic equipment 200 may include perhaps combining certain components than more or fewer components as shown in the figure or there is difference
Component layout.
Referring to Fig. 8, including image processing circuit 90, image processing circuit in the electronic equipment 200 of the embodiment of the present application
90 can be realized using hardware and or software component, including define ISP (Image Signal Processing, at picture signal
Reason) pipeline various processing units.Fig. 8 is the schematic diagram of image processing circuit 90 in one embodiment.As shown in figure 8, for just
In explanation, the various aspects of image processing techniques relevant to the embodiment of the present application are only shown.
As shown in figure 8, image processing circuit 90 includes ISP processor 91 (ISP processor 91 can be processor 60) and controls
Logic device 92 processed.The image data that camera 93 captures is handled by ISP processor 91 first, and ISP processor 91 is to image data
It is analyzed to capture the image statistics for the one or more control parameters that can be used for determining camera 93.Camera 93 can
Including one or more lens 932 and imaging sensor 934.Imaging sensor 934 may include colour filter array (such as Bayer
Filter), imaging sensor 934 can obtain the luminous intensity and wavelength information that each imaging pixel captures, and provide and can be handled by ISP
One group of raw image data of the processing of device 91.Sensor 94 (such as gyroscope) can be based on 94 interface type of sensor the figure of acquisition
As the parameter (such as stabilization parameter) of processing is supplied to ISP processor 91.94 interface of sensor can be SMIA (Standard
Mobile Imaging Architecture, Standard Mobile Imager framework) interface, other serial or parallel camera interfaces or
The combination of above-mentioned interface.
In addition, raw image data can also be sent to sensor 94 by imaging sensor 934, sensor 94 can be based on sensing
Raw image data is supplied to ISP processor 91 or sensor 94 and arrives raw image data storage by 94 interface type of device
In video memory 95.
ISP processor 91 handles raw image data pixel by pixel in various formats.For example, each image pixel can have
There is the bit depth of 8,10,12 or 14 bits, ISP processor 91 can carry out one or more image procossing behaviour to raw image data
Make, statistical information of the collection about image data.Wherein, image processing operations can by identical or different bit depth precision into
Row.
ISP processor 91 can also receive image data from video memory 95.For example, 94 interface of sensor is by original image
Data are sent to video memory 95, and the raw image data in video memory 95 is available to ISP processor 91 for place
Reason.Video memory 95 can be independent special in memory 50, a part of memory 50, storage equipment or electronic equipment
It with memory, and may include DMA (Direct Memory Access, direct direct memory access (DMA)) feature.
When receiving the original from 934 interface of imaging sensor or from 94 interface of sensor or from video memory 95
When beginning image data, ISP processor 91 can carry out one or more image processing operations, such as time-domain filtering.Treated image
Data can be transmitted to video memory 95, to carry out other processing before shown.ISP processor 91 is stored from image
Device 95 receives processing data, and carries out at the image data in original domain and in RGB and YCbCr color space to processing data
Reason.Treated that image data may be output to display 97 (display 97 may include display screen 83) for ISP processor 91, for
Family is watched and/or is further processed by graphics engine or GPU (Graphics Processing Unit, graphics processor).This
Outside, the output of ISP processor 91 also can be transmitted to video memory 95, and display 97 can read image from video memory 95
Data.In one embodiment, video memory 95 can be configured to realize one or more frame buffers.In addition, ISP is handled
The output of device 91 can be transmitted to encoder/decoder 96, so as to encoding/decoding image data.The image data of coding can be protected
It deposits, and is decompressed before being shown in 97 equipment of display.Encoder/decoder 96 can be real by CPU or GPU or coprocessor
It is existing.
The statistical data that ISP processor 91 determines, which can be transmitted, gives control logic device Unit 92.For example, statistical data may include
The imaging sensors such as automatic exposure, automatic white balance, automatic focusing, flicker detection, black level compensation, 932 shadow correction of lens
934 statistical informations.Control logic device 92 may include the processing element and/or microcontroller for executing one or more routines (such as firmware)
Device, one or more routines can statistical data based on the received, determine the control parameter of camera 93 and the control of ISP processor 91
Parameter processed.For example, the control parameter of camera 93 may include 94 control parameter of sensor (such as the integral of gain, spectrum assignment
Time, stabilization parameter etc.), camera flash control parameter, 932 control parameter of lens (such as focus or zoom focal length) or
The combination of these parameters.ISP control parameter may include for automatic white balance and color adjustment (for example, during RGB processing)
932 shadow correction parameter of gain level and color correction matrix and lens.
For example, the following are the processor 60 used in Fig. 7 or with the image processing circuit 90 in Fig. 8 (at specially ISP
Manage device 91) realize control method the step of:
01:During pan-shot, the movement speed of detection imaging equipment;
02:If movement speed is higher than threshold velocity, control sensitive pixel elements array synchronization exposure, and exports multiple original
Pixel Information;
03:According to the original pixels information that same sensitive pixel elements export, the merging of first object image is calculated
Pixel Information;
04:Spliced according to first object image, obtains panoramic picture.
In order to realize above-described embodiment, the embodiment of the present invention also proposed a kind of computer readable storage medium, deposit thereon
Computer program is contained, when the processor executes described program, realizes the pan-shot side as described in preceding method embodiment
Method.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used
Any one of art or their combination are realized:With for data-signal realize logic function logic gates from
Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile
Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention
Type.
Claims (12)
1. a kind of panorama shooting method, which is characterized in that be applied to imaging device, the imaging device includes by multiple light-sensitive images
The sensitive pixel elements array of plain unit composition, each sensitive pixel elements include at least one photosensitive pixel, the method includes
Following steps:
During pan-shot, the movement speed of the imaging device is detected;
If the movement speed is higher than threshold velocity, the synchronous exposure of each sensitive pixel elements in the sensitive pixel elements array is controlled
Light, to obtain the original pixels information of each photosensitive pixel output in each sensitive pixel elements;
According to the original pixels information that photosensitive pixel each in same sensitive pixel elements exports, first object figure is calculated
Picture;
Spliced according to the first object image, obtains panoramic picture.
2. panorama shooting method according to claim 1, which is characterized in that each in each sensitive pixel elements of acquisition
The original pixels information of photosensitive pixel output, including:
Control multiple original pixels information that the sensitive pixel elements array output is exposed using the identical time for exposure.
3. panorama shooting method according to claim 1, which is characterized in that described according to each in same sensitive pixel elements
The original pixels information of photosensitive pixel output, is calculated first object image, including:
Merging pixel is calculated to the original pixels information of photosensitive pixel each in same sensitive pixel elements output
Information, each corresponding merging Pixel Information of the sensitive pixel elements;
The first object image is exported according to multiple merging Pixel Informations.
4. panorama shooting method according to claim 3, which is characterized in that described in the same sensitive pixel elements
Merging Pixel Information is calculated in the original pixels information of each photosensitive pixel output, including:
Average value is calculated to the original pixels information of photosensitive pixel each in same sensitive pixel elements output, obtains institute
State merging Pixel Information.
5. panorama shooting method according to claim 1, which is characterized in that each in each sensitive pixel elements of acquisition
The original pixels information of photosensitive pixel output, including:
It controls the sensitive pixel elements array and exports the multiple original pixels information being respectively under different exposure time.
6. panorama shooting method according to claim 1, which is characterized in that belong to the light-sensitive image of same sensitive pixel elements
Include in element:At least one long exposing pixels, exposing pixels and an at least short exposure pixel at least one, it is described according to same photosensitive
The original pixels information of each photosensitive pixel output, is calculated first object image in pixel unit, including:
In same pixel unit, choose the original pixels information of long exposing pixels, the original pixels information of short exposure pixel or
The original pixels information of middle exposing pixels;
According to the original pixels information of selection and the long time for exposure, the middle time for exposure and the short exposure time
Between exposure ratio, the merging Pixel Information is calculated;Wherein, the long time for exposure of the long exposing pixels is greater than described
The middle time for exposure of middle exposing pixels, and the middle time for exposure of the middle exposing pixels is greater than the short exposure of the short exposure pixel
Time.
7. panorama shooting method according to claim 1-6, which is characterized in that the method also includes:
If the movement speed is less than or equal to the threshold velocity, controls the sensitive pixel elements array and difference is respectively adopted
Exposure time carries out multiple exposure;
According to the original pixels information that the sensitive pixel elements array is exported with photosensitive pixel each when single exposure, a frame is generated
Original image;
The original image generated using the exposure of different exposures is synthesized, the second target image is obtained;
Described to be spliced according to the first object image, obtaining panoramic picture includes:
The first object image and second target image are spliced, panoramic picture is obtained.
8. panorama shooting method according to claim 7, which is characterized in that it is described by the first object image with it is described
Second target image is spliced, and before obtaining panoramic picture, further includes:
Interpolation processing, the resolution ratio and second target of the first object image after interpolation are carried out to the first object image
The resolution match of image.
9. a kind of panorama shooting device, which is characterized in that be applied to imaging device, the imaging device includes by multiple light-sensitive images
The sensitive pixel elements array of plain unit composition, each sensitive pixel elements include at least one photosensitive pixel, and described device includes:
Detecting module, for detecting the movement speed of the imaging device during pan-shot;
First control module controls each in the sensitive pixel elements array if being higher than threshold velocity for the movement speed
The synchronous exposure of sensitive pixel elements, to obtain the original pixels information of each photosensitive pixel output in each sensitive pixel elements;
Computing module, the original pixels information for being exported according to photosensitive pixel each in same sensitive pixel elements calculate
Obtain first object image;
Splicing module obtains panoramic picture for being spliced according to the first object image.
10. a kind of imaging device, which is characterized in that the imaging device includes the light-sensitive image being made of multiple sensitive pixel elements
Plain cell array, each sensitive pixel elements include at least one photosensitive pixel, and the imaging device further includes processor, the place
Reason device is used for:
During pan-shot, the movement speed of the imaging device is detected;
If the movement speed is higher than threshold velocity, the synchronous exposure of each sensitive pixel elements in the sensitive pixel elements array is controlled
Light, to obtain the original pixels information of each photosensitive pixel output in each sensitive pixel elements;
According to the original pixels information that photosensitive pixel each in same sensitive pixel elements exports, first object figure is calculated
Picture;
Spliced according to the first object image, obtains panoramic picture.
11. a kind of electronic equipment, which is characterized in that including:Memory, processor and storage are on a memory and can be in processor
The computer program of upper operation when the processor executes described program, realizes such as panorama described in any one of claims 1-8
Image pickup method.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
Such as panorama shooting method described in any one of claims 1-8 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810886716.4A CN108881731B (en) | 2018-08-06 | 2018-08-06 | Panoramic shooting method and device and imaging equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810886716.4A CN108881731B (en) | 2018-08-06 | 2018-08-06 | Panoramic shooting method and device and imaging equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108881731A true CN108881731A (en) | 2018-11-23 |
CN108881731B CN108881731B (en) | 2021-07-02 |
Family
ID=64307779
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810886716.4A Active CN108881731B (en) | 2018-08-06 | 2018-08-06 | Panoramic shooting method and device and imaging equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108881731B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111479072A (en) * | 2020-04-14 | 2020-07-31 | 深圳市道通智能航空技术有限公司 | High dynamic range image synthesis method and device, image processing chip and aerial camera |
CN112437237A (en) * | 2020-12-16 | 2021-03-02 | 维沃移动通信有限公司 | Shooting method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120300023A1 (en) * | 2011-05-25 | 2012-11-29 | Samsung Electronics Co., Ltd. | Image photographing device and control method thereof |
CN103200365A (en) * | 2013-03-29 | 2013-07-10 | 东莞宇龙通信科技有限公司 | Method for panorama shooting through mobile terminal and mobile terminal |
CN105814880A (en) * | 2014-07-28 | 2016-07-27 | 联发科技股份有限公司 | Portable device with adaptive panoramic image processor |
CN107172361A (en) * | 2017-07-12 | 2017-09-15 | 维沃移动通信有限公司 | The method and mobile terminal of a kind of pan-shot |
CN107707812A (en) * | 2017-09-06 | 2018-02-16 | 维沃移动通信有限公司 | A kind of image processing method, mobile terminal and computer-readable recording medium |
CN108270977A (en) * | 2018-03-06 | 2018-07-10 | 广东欧珀移动通信有限公司 | Control method and device, imaging device, computer equipment and readable storage medium storing program for executing |
-
2018
- 2018-08-06 CN CN201810886716.4A patent/CN108881731B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120300023A1 (en) * | 2011-05-25 | 2012-11-29 | Samsung Electronics Co., Ltd. | Image photographing device and control method thereof |
CN103200365A (en) * | 2013-03-29 | 2013-07-10 | 东莞宇龙通信科技有限公司 | Method for panorama shooting through mobile terminal and mobile terminal |
CN105814880A (en) * | 2014-07-28 | 2016-07-27 | 联发科技股份有限公司 | Portable device with adaptive panoramic image processor |
CN107172361A (en) * | 2017-07-12 | 2017-09-15 | 维沃移动通信有限公司 | The method and mobile terminal of a kind of pan-shot |
CN107707812A (en) * | 2017-09-06 | 2018-02-16 | 维沃移动通信有限公司 | A kind of image processing method, mobile terminal and computer-readable recording medium |
CN108270977A (en) * | 2018-03-06 | 2018-07-10 | 广东欧珀移动通信有限公司 | Control method and device, imaging device, computer equipment and readable storage medium storing program for executing |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111479072A (en) * | 2020-04-14 | 2020-07-31 | 深圳市道通智能航空技术有限公司 | High dynamic range image synthesis method and device, image processing chip and aerial camera |
CN112437237A (en) * | 2020-12-16 | 2021-03-02 | 维沃移动通信有限公司 | Shooting method and device |
Also Published As
Publication number | Publication date |
---|---|
CN108881731B (en) | 2021-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109005364A (en) | Image formation control method, device, electronic equipment and computer readable storage medium | |
CN108322669B (en) | Image acquisition method and apparatus, imaging apparatus, and readable storage medium | |
CN108989700B (en) | Imaging control method, imaging control device, electronic device, and computer-readable storage medium | |
EP3609177B1 (en) | Control method, control apparatus, imaging device, and electronic device | |
CN109005342A (en) | Panorama shooting method, device and imaging device | |
CN108683861A (en) | Shoot exposal control method, device, imaging device and electronic equipment | |
CN108200354A (en) | Control method and device, imaging device, computer equipment and readable storage medium storing program for executing | |
CN108833804A (en) | Imaging method, device and electronic equipment | |
CN108683862A (en) | Image formation control method, device, electronic equipment and computer readable storage medium | |
CN109068067A (en) | Exposal control method, device and electronic equipment | |
CN109040609A (en) | Exposal control method, device and electronic equipment | |
CN108632537A (en) | Control method and device, imaging device, computer equipment and readable storage medium storing program for executing | |
CN109167930A (en) | Image display method, device, electronic equipment and computer readable storage medium | |
CN108024056B (en) | Imaging method and device based on dual camera | |
CN108270977A (en) | Control method and device, imaging device, computer equipment and readable storage medium storing program for executing | |
CN109005343A (en) | Control method, device, imaging device, electronic equipment and readable storage medium storing program for executing | |
CN108683863A (en) | Image formation control method, device, electronic equipment and readable storage medium storing program for executing | |
CN109194855A (en) | Imaging method, device and electronic equipment | |
CN108024054A (en) | Image processing method, device and equipment | |
CN109040607A (en) | Image formation control method, device, electronic equipment and computer readable storage medium | |
CN108965729A (en) | Control method, device, electronic equipment and computer readable storage medium | |
CN108833802A (en) | Exposal control method, device and electronic equipment | |
US11601600B2 (en) | Control method and electronic device | |
CN107509044A (en) | Image combining method, device, computer-readable recording medium and computer equipment | |
CN110166706A (en) | Image processing method, device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |