Summary of the invention
The present invention provides a kind of dual camera image acquiring device and its image capture method, can be using at single image signal
In the case where managing device, the processing of original map file acquired in dual camera is supported.
Dual camera image acquiring device of the invention includes the first camera, second camera, the first buffer, second
Buffer and image-signal processor.Wherein, the second buffer couples second camera, to receive and keep in second camera
The original map file of output.Image-signal processor couples the first camera, second camera, the first buffer and the second buffering
Device controls first respectively and images with second camera acquisition picture signal to export the first original map file and the second original map file,
The picture signal in the first original map file is handled to export the first image to the first buffer, and after exporting the first image,
The therein second original map file is kept in from the reception of the second buffer, handles the picture signal in the second original map file to export second
Image is to the first buffer.
In one embodiment of this invention, first camera is via the first camera interface (Camera
Interface, CAMIF) the first original map file is exported to image-signal processor and second camera via second camera
Interface exports the second original map file to the second buffer.
In one embodiment of this invention, the dual camera image acquiring device further includes processor, be to
The first image and the second image are received from the first buffer, takes the photograph application so that execution is double.
The image capture method of the image acquiring device of dual camera of the invention is suitable for including the first camera, the second camera shooting
The image acquiring device of head, the first buffer, the second buffer and image-signal processor.The method includes by picture signal
Processor controls the first camera and second camera respectively and obtains picture signal to export the first original map file and second original
Map file.Then, the picture signal in the first original map file is handled by image-signal processor to delay to export the first image to first
Rush device.Image-signal processor keeps in the therein second original map file after exporting the first image, from the reception of the second buffer, locates
The picture signal in the second original map file is managed to export the second image to the first buffer.
In one embodiment of this invention, described to control the first camera and the second camera shooting respectively by image-signal processor
The step of head acquisition picture signal is to export the first original map file and the second original map file includes by the first camera via first
Camera interface exports the first original map file to image-signal processor, and by second camera via second camera interface
Export the second original map file to the second buffer.
In one embodiment of this invention, the image-signal processor includes synchronous first camera and the second camera shooting
The automation pretreatment parameter of head obtains picture signal with synchronous, wherein the automation pretreatment parameter includes auto-focusing
(Auto focus, AF), automatic exposure (Auto exposure, AE) and automatic white balance (Auto white balance,
AWB)。
In one embodiment of this invention, the image acquiring device further includes processor, and in described image signal
After processor exports second image, the method also includes receiving the first image and the from the first buffer by processor
Two images take the photograph application so that execution is double.
Based on above-mentioned, in dual camera image acquiring device of the invention and its image capture method, dual camera image is obtained
Taking device is sequentially to handle the first camera and second camera by image-signal processor and obtain picture signal to be exported
Original map file, wherein handle the first camera original map file in picture signal when first keep in second camera original graph
Shelves reprocess the original map file of second camera after to be done.It whereby, can be the case where using single image signal processor
Under, support the processing of dual camera picture signal.
To make the foregoing features and advantages of the present invention clearer and more comprehensible, special embodiment below, and cooperate institute's accompanying drawings
It is described in detail below.
Specific embodiment
For the present invention by adjusting camera shooting process, the main camera of dual camera image acquiring device is the camera shooting stream according to script
Journey is first handled the original map file of its output by image-signal processor, and the original map file of secondary camera output can be temporarily stored at this time
In buffer, after image-signal processor completes the processing of original map file of main camera, then by temporary secondary camera
Original map file fills back image-signal processor and is handled, and final to obtain that treated double takes the photograph image.It whereby, can be using single
In the case where one image-signal processor, the processing of dual camera acquired image signal is supported.
Fig. 1 is the block diagram according to dual camera image acquiring device shown by one embodiment of the invention.Please refer to figure
1, the image acquiring device 10 of the present embodiment be, for example, mobile phone, tablet computer, notebook computer, navigation device, driving recorder,
Digital camera, digital camera (Digital video camcorder, DVC) etc. have the electronic device of camera function.Image
It include the first camera 11, second camera 12, the first buffer 13, the second buffer 14 and picture signal in acquisition device 10
Processor 15, function is described below:
First camera 11 and second camera 12 respectively include camera lens and imaging sensor, and wherein camera lens is by several recessed
Convex lens is composed, and is to be driven by actuators such as stepper motor or voice coil motors to change the relative position between lens,
To change the focal length of camera lens, so that subject can be imaged on the image sensor.Charge coupling is configured in imaging sensor
Close element (Charge coupled device, CCD), Complimentary Metal-Oxide semiconductor (Complementary metal-
Oxide semiconductor, CMOS) element or other kinds of photosensitive element, and the light intensity into camera lens can be sensed,
To obtain picture signal to generate and export original map file.
First buffer 13 and the second buffer 14 be, for example, random access memory (Random access memory,
RAM), the electronics formula of erasing can make carbon copies read-only memory (Electrically erasable programmable read only
Memory, EEPROM), flash memory (Flash memory) etc. can keep in the memory or hard disc of data.In this implementation
In example, the first buffer 13 couples image-signal processor 15, and treated storing image-signal processor 15 image,
Second buffer 14 then couples second camera 12, and is configured to temporarily store the original map file of the output of second camera 12.
It is slow that image-signal processor 15 is coupled to the first camera 11, second camera 12, the first buffer 13 and second
Device 14 is rushed, to control the running of the first camera 11 and second camera 12.In one embodiment, image-signal processor 15
Be to the first camera 11 or second camera 12 acquisition picture signal carry out for example auto-focusing (Auto focus,
AF), the 3A of automatic exposure (Auto exposure, AE) and automatic white balance (Auto white balance, AWB) is calculated
Deng processing.In other embodiments, image-signal processor 15 can also carry out such as brightness value meter to above-mentioned picture signal
The colour corrections such as the pre-treatment of the images such as calculation, setting contrast and image form and aspect, saturation degree processing.In the present embodiment, image
Signal processor 15 includes the first camera of control 11 and the acquisition picture signal of second camera 12, and carries out figure to picture signal
As processing, to implement the image capture method of dual camera image acquiring device described in the embodiment of the present invention.
In detail, Fig. 2 is the image capture method according to dual camera image acquiring device shown by one embodiment of the invention
Flow chart.Fig. 3 A to Fig. 3 C is the camera shooting side according to dual camera image acquiring device 20 shown by one embodiment of the invention
The example of method, there is shown with the thin portion processes that each element in image acquiring device 20 implements the image capture method of the present embodiment.Below
Arrange in pairs or groups Fig. 3 A to Fig. 3 C, illustrates the detailed step of the image capture method of the present embodiment:
Firstly, as shown in Figure 3A, sending a control signal to the first camera 11 and the respectively by image-signal processor 15
Two cameras 12 obtain picture signal respectively to control the first camera 11 and second camera 22 to export the first original map file
And the second original map file (step S202).Wherein, image-signal processor 15 can for example synchronize the first camera 11 and take the photograph with second
As the automation pretreatment parameter such as first 22 auto-focusing (AF), automatic exposure (AE) and automatic white balance (AWB), obtained with synchronizing
It takes picture signal and exports the first original map file and the second original map file, thereby ensure that the first camera 11 and second camera 22
It is synchronous under identical shooting condition to obtain picture signal.
Then, as shown in Figure 3B, the first original map file exported by the first camera 11 for example can be via the first camera
Interface (Camera interface, CAMIF) is exported to image-signal processor 15, and second exported by second camera 12
Original map file can be for example exported via second camera interface to the second buffer 14.At this point, image-signal processor 15 can be located
Manage the picture signal in the first original map file, and the first image to the first buffer 13 (step S204) that exports that treated.
Then, as shown in Figure 3 C, image-signal processor 15 is in the processing for completing the picture signal in the first original map file
And export the first image generated after processing to the first buffer 13, i.e., it receives and is previously kept in wherein from the second buffer 14
The second original map file, then handle picture signal in this second original map file, and second image that exports that treated is extremely
First buffer 13 (step S206).
By the above method, dual camera image acquiring device can be in the feelings for being only equipped with single channel image signal processor
Under condition, the original map file exported by sequentially handling two cameras reaches the effect of similar Channel Image signal processor
Fruit.
Fig. 4 is the block diagram according to dual camera image acquiring device shown by one embodiment of the invention.Please refer to figure
4, it include that the first camera 11, second camera 12, the first buffer 13, second are slow in the image acquiring device 40 of the present embodiment
Rush device 14, image-signal processor 15 and processor 16, wherein the first camera 11, second camera 12, the first buffer 13,
The function of second buffer 14 and image-signal processor 15 is identical as function described in Fig. 1 embodiment, therefore its detailed content exists
This is repeated no more.
Unlike previous embodiment, in the present embodiment, image acquiring device 40 additionally includes being coupled to first to delay
The processor 16 of device 13 is rushed, this processor 16 is, for example, central processing unit (Central Processing Unit, CPU), micro-
Processor (Microprocessor), digital signal processor, programmable controller, Application Specific Integrated Circuit
(Application Specific Integrated Circuits, ASIC) or programmable logic device
(Programmable Logic Device, PLD) can be received from the first buffer 13 by image-signal processor 15
The first image and the second image managed, and application is taken the photograph in execution pair accordingly.It is described it is double take the photograph using for example including the use of this first
Image and the second image generate stereo-picture, using the first image and the second image executes focusing, image scaling, depth of field calculating,
Any applications using dual camera image such as shallow depth image processing.
In conclusion dual camera image acquiring device of the invention and its image capture method penetrate the change of camera shooting process,
The original map file for first exporting secondary camera during camera shooting is temporarily stored in buffer storage, first by image-signal processor
The original map file for managing main camera output when main camera completion shooting, image-signal processor free time being waited to get off, then pair is taken the photograph
It is handled as the original map file of head fills back image-signal processor, the final image for obtaining dual camera.Whereby, it can reach list
The image-signal processor in channel can also support the image signal process of dual camera, to increase product competitiveness.
Although the present invention is disclosed as above with embodiment, however, it is not to limit the invention, any technical field
Middle technical staff, without departing from the spirit and scope of the present invention, when can make a little change and retouching, therefore protection of the invention
Subject to range ought be defined depending on claims.