Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
DUAL APERTURE ZOOM CAMERA WITH VIDEO SUPPORT AND SWITCHING / NON-SWITCHING DYNAMIC CONTROL
Document Type and Number:
WIPO Patent Application WO/2017/025822
Kind Code:
A1
Abstract:
A dual-aperture zoom digital camera operable in both still and video modes. The camera includes Wide and Tele imaging sections with respective lens/sensor combinations and image signal processors and a camera controller operatively coupled to the Wide and Tele imaging sections. The Wide and Tele imaging sections provide respective image data. The controller is configured to output, in a zoom-in operation between a lower zoom factor (ZF) value and a higher ZF value, a zoom video output image that includes only Wide image data or only Tele image data, depending on whether a no-switching criterion is fulfilled or not.

Inventors:
COHEN NOY (IL)
GEVA NADAV (IL)
GIGUSHINSKI ODED (IL)
SHABTAY GAL (IL)
ASHKENAZI ESTER (IL)
KATZ RUTHY (IL)
GOLDENBERG EPHRAIM (IL)
Application Number:
PCT/IB2016/053803
Publication Date:
February 16, 2017
Filing Date:
June 26, 2016
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
COREPHOTONICS LTD (IL)
International Classes:
H04N5/262; G02B15/00; G06T5/50
Domestic Patent References:
WO2014199338A22014-12-18
Foreign References:
US20030179303A12003-09-25
US8401276B12013-03-19
US20090102950A12009-04-23
US20080030592A12008-02-07
US6104432A2000-08-15
US5710670A1998-01-20
Other References:
See also references of EP 3335415A4
Download PDF:
Claims:
WHAT IS CLAIMED IS:

1. A zoom digital camera comprising:

a) a Wide imaging section that includes a fixed focal length Wide lens with a Wide field of view (FOV) and a Wide sensor, the Wide imaging section operative to provide Wide image data of an object or scene;

b) a Tele imaging section that includes a fixed focal length Tele lens with a Tele FOV that is narrower than the Wide FOV and a Tele sensor, the Tele imaging section operative to provide Tele image data of the object or scene; and

c) a camera controller operatively coupled to the Wide and Tele imaging sections, the camera controller configured to evaluate a no-switching criterion determined by inputs from both Wide and Tele image data, and, if the no-switching criterion is fulfilled, to output a zoom video output image that includes only Wide image data in a zoom-in operation between a lower zoom factor (ZF) value and a higher ZF value.

2. The camera of claim 1, wherein the no-switching criterion includes a shift between the Wide and Tele images calculated by global registration, the shift being greater than a first threshold.

3. The camera of claim 1, wherein the no-switching criterion includes a disparity range calculated by global registration, the disparity range being greater than a second threshold.

4. The camera of claim 1, wherein the no-switching criterion includes an effective resolution of the Tele image being lower than an effective resolution of the Wide image.

5. The camera of claim 1, wherein the no-switching criterion includes a number of corresponding features in the Wide and Tele images being smaller than a third threshold.

6. The camera of claim 1, wherein the no-switching criterion includes a majority of objects imaged in an overlap area of the Wide and Tele images being calculated to be closer to the camera than a first threshold distance.

7. The camera of claim 1, wherein the no-switching criterion includes some objects imaged in an overlap area of the Wide and Tele images being calculated to be closer than a second threshold distance while other objects imaged in the overlap area of the Wide and Tele images being calculated to be farther than a third distance threshold.

8. The camera of claim 1, wherein the camera controller includes a user control module for receiving user inputs and a sensor control module for configuring each sensor to acquire the Wide and Tele image data based on the user inputs.

9. The camera of claim 8, wherein the user inputs include a zoom factor, a camera mode and a region of interest.

10. The camera of any of the claims 1-9, wherein the Tele lens includes a ratio of total track length (TTL)/effective focal length (EFL) smaller than 1.

11. The camera of any of the claims 1-9, wherein, if the no-switching criterion is not fulfilled, the camera controller is further configured to output video output images with a smooth transition when switching between the lower ZF value and the higher ZF value or vice versa, wherein at the lower ZF value the output image is determined by the Wide sensor, and wherein at the higher ZF value the output image is determined by the Tele sensor.

12. The camera of any of the claims 1-9, wherein the camera controller is further configured to combine in still mode, at a predefined range of ZF values, at least some of the Wide and Tele image data to provide a fused output image of the object or scene from a particular point of view.

13. A method for obtaining zoom images of an object or scene using a digital camera, comprising the steps of:

a) providing in the digital camera a Wide imaging section having a Wide lens with a Wide field of view (FOV) and a Wide sensor, a Tele imaging section having a Tele lens with a Tele FOV that is narrower than the Wide FOV and a Tele sensor, and a camera controller operatively coupled to the Wide and Tele imaging sections; and

b) configuring the camera controller to evaluate a no-switching criterion determined by inputs from both Wide and Tele image data, and, if the no-switching criterion is fulfilled, to output a zoom video output image that includes only Wide image data in a zoom-in operation between a lower zoom factor (ZF) value and a higher ZF value.

14. The method of claim 13, wherein the no-switching criterion includes a shift between the Wide and Tele images calculated by global registration, the shift being greater than a first threshold.

15. The method of claim 13, wherein the no-switching criterion includes a disparity range calculated by global registration, the disparity range being greater than a second threshold.

16. The method of claim 13, wherein the no-switching criterion includes an effective resolution of the Tele image being lower than an effective resolution of the Wide image.

17. The method of claim 13, wherein the no-switching criterion includes a number of corresponding features in the Wide and Tele images being smaller than a third threshold.

18. The method of claim 13, wherein the no-switching criterion includes a majority of objects imaged in an overlap area of the Wide and Tele images being calculated to be closer to the camera than a first threshold distance.

19. The method of claim 13, wherein the no-switching criterion includes some objects imaged in an overlap area of the Wide and Tele images being calculated to be closer than a second threshold distance while other objects imaged in the overlap area of the Wide and Tele images being calculated to be farther than a third threshold distance.

20. The method of any of the claims 13-19, further comprising the step of configuring the camera controller to combine in still mode, at a predefined range of ZF values, at least some of the Wide and Tele image data to provide a fused output image of the object or scene from a particular point of view.

21. The method of any of the claims 13-19, wherein the step of configuring the camera controller to combine in still mode, at a predefined range of ZF values, at least some of the Wide and Tele image data to provide a fused output image includes configuring the camera controller to combine Wide and Tele image data only in focused areas.

Description:
DUAL APERTURE ZOOM CAMERA WITH VIDEO SUPPORT AND SWITCHING /

NON-SWITCHING DYNAMIC CONTROL

CROSS REFERENCE TO RELATED APPLICATIONS

This application claims priority from US Provisional Patent Application No. 62/204,667 filed on August 13, 2015 which is expressly incorporated herein by reference in its entirety. FIELD

Embodiments disclosed herein relate in general to digital cameras and in particular to zoom digital cameras with video capabilities. BACKGROUND

Digital camera modules are currently being incorporated into a variety of host devices. Such host devices include cellular telephones, personal data assistants (PDAs), computers, and so forth. Consumer demand for digital camera modules in host devices continues to grow.

Host device manufacturers prefer digital camera modules to be small, so that they can be incorporated into the host device without increasing its overall size. Further, there is an increasing demand for such cameras to have higher-performance characteristics. One such characteristic possessed by many higher-performance cameras (e.g., standalone digital still cameras) is the ability to vary the focal length of the camera to increase and decrease the magnification of the image. This ability, typically accomplished with a zoom lens, is known as optical zooming. "Zoom" is commonly understood as a capability to provide different magnifications of the same scene and/or object by changing the focal length of an optical system, with a higher level of zoom associated with greater magnification and a lower level of zoom associated with lower magnification. Optical zooming is typically accomplished by mechanically moving lens elements relative to each other. Such zoom lenses are typically more expensive, larger and less reliable than fixed focal length lenses. An alternative approach for approximating the zoom effect is achieved with what is known as digital zooming. With digital zooming, instead of varying the focal length of the lens, a processor in the camera crops the image and interpolates between the pixels of the captured image to create a magnified but lower-resolution image.

Attempts to use multi- aperture imaging systems to approximate the effect of a zoom lens are known. A multi-aperture imaging system (implemented for example in a digital camera) includes a plurality of optical sub-systems (also referred to as "cameras"). Each camera includes one or more lenses and/or other optical elements which define an aperture such that received electro-magnetic radiation is imaged by the optical sub-system and a resulting image is directed towards a two-dimensional (2D) pixelated image sensor region. The image sensor (or simply "sensor") region is configured to receive the image and to generate a set of image data based on the image. The digital camera may be aligned to receive electromagnetic radiation associated with scenery having a given set of one or more objects. The set of image data may be represented as digital image data, as well known in the art. Hereinafter in this description, "image" "image data" and "digital image data" may be used interchangeably. Also, "object" and "scene" may be used interchangeably. As used herein, the term "object" is an entity in the real world imaged to a point or pixel in the image.

Multi-aperture imaging systems and associated methods are described for example in US Patent Publications No. 2008/0030592, 2010/0277619 and 2011/0064327. In US 2008/0030592, two sensors are operated simultaneously to capture an image imaged through an associated lens. A sensor and its associated lens form a lens/sensor combination. The two lenses have different focal lengths. Thus, even though each lens/sensor combination is aligned to look in the same direction, each combination captures an image of the same subject but with two different fields of view (FOV). One sensor is commonly called "Wide" and the other "Tele". Each sensor provides a separate image, referred to respectively as "Wide" (or "W") and "Tele" (or "T") images. A W-image reflects a wider FOV and has lower resolution than the T-image. The images are then stitched (fused) together to form a composite ("fused") image. In the composite image, the central portion is formed by the relatively higher- resolution image taken by the lens/sensor combination with the longer focal length, and the peripheral portion is formed by a peripheral portion of the relatively lower-resolution image taken by the lens/sensor combination with the shorter focal length. The user selects a desired amount of zoom and the composite image is used to interpolate values from the chosen amount of zoom to provide a respective zoom image. The solution offered by US 2008/0030592 requires, in video mode, very large processing resources in addition to high frame rate requirements and high power consumption (since both cameras are fully operational). US 2010/0277619 teaches a camera with two lens/sensor combinations, the two lenses having different focal lengths, so that the image from one of the combinations has a FOV approximately 2-3 times greater than the image from the other combination. As a user of the camera requests a given amount of zoom, the zoomed image is provided from the lens/sensor combination having a FOV that is next larger than the requested FOV. Thus, if the requested FOV is less than the smaller FOV combination, the zoomed image is created from the image captured by that combination, using cropping and interpolation if necessary. Similarly, if the requested FOV is greater than the smaller FOV combination, the zoomed image is created from the image captured by the other combination, using cropping and interpolation if necessary. The solution offered by US 2010/0277619 leads to parallax artifacts when moving to the Tele camera in video mode.

In both US 2008/0030592 and US 2010/0277619, different focal length systems cause matching Tele and Wide FOVs to be exposed at different times using CMOS sensors. This degrades the overall image quality. Different optical F numbers ("F#") cause image intensity differences. Working with such a dual sensor system requires double bandwidth support, i.e. additional wires from the sensors to the following HW component. Neither US 2008/0030592 nor US 2010/0277619 deal with registration errors.

US 2011/0064327 discloses multi- aperture imaging systems and methods for image data fusion that include providing first and second sets of image data corresponding to an imaged first and second scene respectively. The scenes overlap at least partially in an overlap region, defining a first collection of overlap image data as part of the first set of image data, and a second collection of overlap image data as part of the second set of image data. The second collection of overlap image data is represented as a plurality of image data cameras such that each of the cameras is based on at least one characteristic of the second collection, and each camera spans the overlap region. A fused set of image data is produced by an image processor, by modifying the first collection of overlap image data based on at least a selected one of, but less than all of, the image data cameras. The systems and methods disclosed in this application deal solely with fused still images.

None of the known art references provide a thin (e.g. fitting in a cell-phone) dual- aperture zoom digital camera with fixed focal length lenses, the camera configured to operate in both still mode and video mode to provide still and video images, wherein the camera configuration does not use any fusion to provide a continuous, smooth zoom in video mode.

Therefore there is a need for, and it would be advantageous to have thin digital cameras with optical zoom operating in both video and still mode that do not suffer from commonly encountered problems and disadvantages, some of which are listed above. SUMMARY Embodiments disclosed herein teach the use of dual-aperture (also referred to as dual- lens or two-sensor) optical zoom digital cameras. The cameras include two cameras, a Wide camera and a Tele camera, each camera including a fixed focal length lens, an image sensor and an image signal processor (ISP). The Tele camera is the higher zoom camera and the Wide camera is the lower zoom camera. In some embodiments, the thickness/effective focal length (EFL) ratio of the Tele lens is smaller than about 1. The image sensor may include two separate 2D pixelated sensors or a single pixelated sensor divided into at least two areas. The digital camera can be operated in both still and video modes. In video mode, optical zoom is achieved "without fusion", by, in some embodiments, switching between the W and T images to shorten computational time requirements, thus enabling high video rate. To avoid discontinuities in video mode, the switching includes applying additional processing blocks, which include in some embodiments image scaling and shifting. In some embodiments, when a no- switching criterion is fulfilled, optical zoom is achieved in video mode without switching.

As used herein, the term "video" refers to any camera output that captures motion by a series of pictures (images), as opposed to "still mode" that friezes motion. Examples of "video" in cellphones and smartphones include "video mode" or "preview mode".

In order to reach optical zoom capabilities, a different magnification image of the same scene is captured (grabbed) by each camera, resulting in FOV overlap between the two cameras. Processing is applied on the two images to fuse and output one fused image in still mode. The fused image is processed according to a user zoom factor request. As part of the fusion procedure, up-sampling may be applied on one or both of the grabbed images to scale it to the image grabbed by the Tele camera or to a scale defined by the user. The fusion or up- sampling may be applied to only some of the pixels of a sensor. Down-sampling can be performed as well if the output resolution is smaller than the sensor resolution.

The cameras and associated methods disclosed herein address and correct many of the problems and disadvantages of known dual-aperture optical zoom digital cameras. They provide an overall zoom solution that refers to all aspects: optics, algorithmic processing and system hardware (HW). In a dual-aperture camera image plane, as seen by each camera (and respective image sensor), a given object will be shifted and have different perspective (shape). This is referred to as point-of-view (POV). The system output image can have the shape and position of either camera image or the shape or position of a combination thereof. If the output image retains the Wide image shape then it has the Wide perspective POV. If it retains the Wide camera position then it has the Wide position POV. The same applies for Tele images position and perspective. As used in this description, the perspective POV may be of the Wide or Tele cameras, while the position POV may shift continuously between the Wide and Tele cameras. In fused images, it is possible to register Tele image pixels to a matching pixel set within the Wide image pixels, in which case the output image will retain the Wide POV ("Wide fusion"). Alternatively, it is possible to register Wide image pixels to a matching pixel set within the Tele image pixels, in which case the output image will retain the Tele POV ("Tele fusion"). It is also possible to perform the registration after either camera image is shifted, in which case the output image will retain the respective Wide or Tele perspective POV.

In an exemplary embodiment, there is provided a zoom digital camera comprising a

Wide imaging section that includes a fixed focal length Wide lens with a Wide FOV and a Wide sensor, the Wide imaging section operative to provide Wide image data of an object or scene, a Tele imaging section that includes a fixed focal length Tele lens with a Tele FOV that is narrower than the Wide FOV and a Tele sensor, the Tele imaging section operative to provide Tele image data of the object or scene, and a camera controller operatively coupled to the Wide and Tele imaging sections, the camera controller configured to evaluate a no- switching criterion determined by inputs from both Wide and Tele image data, and, if the no- switching criterion is fulfilled, to output a zoom video output image that includes only Wide image data in a zoom-in operation between a lower zoom factor (ZF) value and a higher ZF value.

In an exemplary embodiment there is provided a method for obtaining zoom images of an object or scene using a digital camera, comprising the steps of providing in the digital camera a Wide imaging section having a Wide lens with a Wide FOV and a Wide sensor, a Tele imaging section having a Tele lens with a Tele FOV that is narrower than the Wide FOV and a Tele sensor, and a camera controller operatively coupled to the Wide and Tele imaging sections, and configuring the camera controller to evaluate a no-switching criterion determined by inputs from both Wide and Tele image data, and, if the no-switching criterion is fulfilled, to output a zoom video output image that includes only Wide image data in a zoom-in operation between a lower ZF value and a higher ZF value. In some exemplary embodiments, the no-switching criterion includes a shift between the Wide and Tele images calculated by global registration, the shift being greater than a first threshold.

In some exemplary embodiments, the no-switching criterion includes a disparity range calculated by global registration, the disparity range being greater than a second threshold.

In some exemplary embodiments, the no-switching criterion includes an effective resolution of the Tele image being lower than an effective resolution of the Wide image.

In some exemplary embodiments, the no-switching criterion includes a number of corresponding features in the Wide and Tele images being smaller than a third threshold.

In some exemplary embodiments, the no-switching criterion includes a majority of objects imaged in an overlap area of the Wide and Tele images being calculated to be closer to the camera than a first threshold distance.

In some exemplary embodiments, the no-switching criterion includes some objects imaged in an overlap area of the Wide and Tele images being calculated to be closer than a second threshold distance while other objects imaged in the overlap area of the Wide and Tele images being calculated to be farther than a third distance threshold.

In some exemplary embodiments, the camera controller includes a user control module for receiving user inputs and a sensor control module for configuring each sensor to acquire the Wide and Tele image data based on the user inputs.

In some exemplary embodiments, the user inputs include a zoom factor, a camera mode and a region of interest.

In some exemplary embodiments, the Tele lens includes a ratio of total track length (TTL)/effective focal length (EFL) smaller than 1. For a definition of TTL and EFL see e,g. co-assigned US published patent application No. 20150244942.

In some exemplary embodiments, if the no-switching criterion is not fulfilled, the camera controller is further configured to output video output images with a smooth transition when switching between the lower ZF value and the higher ZF value or vice versa, wherein at the lower ZF value the output image is determined by the Wide sensor, and wherein at the higher ZF value the output image is determined by the Tele sensor.

In some exemplary embodiments, the camera controller is further configured to combine in still mode, at a predefined range of ZF values, at least some of the Wide and Tele image data to provide a fused output image of the object or scene from a particular point of view. BRIEF DESCRIPTION OF THE DRAWINGS

Non-limiting examples of embodiments disclosed herein are described below with reference to figures attached hereto that are listed following this paragraph. Identical structures, elements or parts that appear in more than one figure are generally labeled with a same numeral in all the figures in which they appear. The drawings and descriptions are meant to illuminate and clarify embodiments disclosed herein, and should not be considered limiting in any way.

FIG. 1A shows schematically a block diagram illustrating an exemplary dual-aperture zoom imaging system disclosed herein;

FIG. IB is a schematic mechanical diagram of the dual-aperture zoom imaging system of FIG. 1A:

FIG. 2 shows an example of a Wide sensor, a Tele sensor and their respective FOVs; FIG. 3A shows an embodiment of an exemplary method disclosed herein for acquiring a zoom image in video/preview mode;

FIG. 3B shows exemplary feature points in an object;

FIG. 3C shows schematically a known rectification process;

FIG. 4 shows a graph illustrating an effective resolution zoom factor. DETAILED DESCRIPTION

Definitions:

Sharpness score: the gradients (dx, dy) of the image are compared (through subtraction) to the gradients of its low pass filtered version. A higher difference indicates a sharper original image. The result of this comparison is normalized with respect to the average variations (for example, sum of absolute gradients) of the original image, to obtain an absolute sharpness score.

Edge score: for each image, the edges are found (for example, using Canny edge detection) and the average intensity of gradients along them is calculated, for example, by calculating the magnitude of gradients (dx, dy) for each edge pixel, summing the results and dividing by the total number of edge pixels. The result is the edge score.

Effective resolution score: this score is calculated only in a region of interest (ROI) and provides a good indication of the effective resolution level in the image. As used herein, "ROI" is a user-defined sub-region of the image that may be exemplarily 4% or less of the image area. The effective resolution score can be derived from a combination of the sharpness scores and edge scores for each image, for example by normalizing both to be between [0, 1] and by taking their average.

FIG. 1A shows schematically a block diagram illustrating an exemplary embodiment of a dual-aperture zoom imaging system (also referred to simply as "dual-camera" or "dual- aperture camera") disclosed herein and numbered 100. Dual-aperture camera 100 comprises a Wide imaging section ("Wide camera") that includes a Wide lens block 102, a Wide image sensor 104 and a Wide image processor 106. Dual-aperture camera 100 further comprises a Tele imaging section ("Tele camera") that includes a Tele lens block 108, a Tele image sensor 110 and a Tele image processor 112. The image sensors may be physically separate or may be part of a single larger image sensor. The Wide sensor pixel size can be equal to or different from the Tele sensor pixel size. Dual-aperture camera 100 further comprises a camera fusion processing core (also referred to as "controller") 114 that includes a sensor control module 116, a user control module 118, a video processing module 126 and a capture processing module 128, all operationally coupled to sensor control block 110. User control module 118 comprises an operational mode function 120, a ROI function 122 and a zoom factor (ZF) function 124.

Sensor control module 116 is connected to the two (Wide and Tele) cameras and to the user control module 118 and used to choose, according to the zoom factor, which of the sensors is operational and to control the exposure mechanism and the sensor readout. Mode choice function 120 is used for choosing capture/video modes. ROI function 122 is used to choose a region of interest. The ROI is the region on which both cameras are focused on. Zoom factor function 124 is used to choose a zoom factor. Video processing module 126 is connected to mode choice function 120 and used for video processing. It is configurable to evaluate a no-switching criterion determined by inputs from both Wide and Tele image data and to make a decision regarding video output. Specifically, upon evaluation of a no- switching criterion, if the no- switching criterion is fulfilled, module 126 is configurable to output a zoom video output image that includes only Wide image data in a zoom-in operation between a lower zoom factor (ZF) value and a higher ZF value. If the no- switching criterion is not fulfilled, module 126 is configurable to combine in still mode, at a predefined range of ZF values, at least some of the Wide and Tele image data to provide a fused output image of the object or scene from a particular point of view. Still processing module 128 is connected to the mode choice function 120 and used for high image quality still mode images. The video processing module is applied when the user desires to shoot in video mode. The capture processing module is applied when the user wishes to shoot still pictures.

FIG. IB is a schematic mechanical diagram of the dual-aperture zoom imaging system of FIG. 1A. Exemplary dimensions: Wide lens TTL = 4.2mm and EFL = 3.5mm; Tele lens TTL = 6mm and EFL = 7 mm; both Wide and Tele sensors 1/3 inch; external dimensions of Wide and Tele cameras: width (w) and length (1) = 8.5 mm and height (h) = 6.8 mm; distance "d" between camera centers = 10mm.

Following is a detailed description and examples of different methods of use of dual- aperture camera 100. Still mode operation/function

In still camera mode, the obtained image is fused from information obtained by both cameras at all zoom levels, see FIG. 2, which shows a Wide sensor 202 and a Tele sensor 204 and their respective FOVs. Exemplarily, as shown, the Tele sensor FOV is half the Wide sensor FOV. The still camera mode processing includes two stages: the first stage includes setting HW settings and configuration, where a first objective is to control the sensors in such a way that matching FOVs in both images (Tele and Wide) are scanned at the same time, a second objective is to control the relative exposures according to the lens properties, and a third objective is to minimize the required bandwidth from both sensors for the ISPs. The second stage includes image processing that fuses the Wide and the Tele images to achieve optical zoom, improves SNR and provides wide dynamic range.

FIG. 3A shows image line numbers vs. time for an image section captured by CMOS sensors. A fused image is obtained by line (row) scans of each image. To prevent matching FOVs in both sensors to be scanned at different times, a particular configuration is applied by the camera controller on both image sensors while keeping the same frame rate. The difference in FOV between the sensors determines the relationship between the rolling shutter time and the vertical blanking time for each sensor.

Video mode operation/function

Smooth transition

When a dual-aperture camera switches the camera output between cameras or points of view, a user will normally see a "jump" (discontinuous) image change. However, a change in the zoom factor for the same camera and POV is viewed as a continuous change. A "smooth transition" (ST) is a transition between cameras or POVs that minimizes the jump effect. This may include matching the position, scale, brightness and color of the output image before and after the transition. However, an entire image position matching between the camera outputs is in many cases impossible, because parallax causes the position shift to be dependent on the object distance. Therefore, in a smooth transition as disclosed herein, the position matching is achieved only in the ROI region while scale brightness and color are matched for the entire output image area.

Zoom-in and Zoom-out in video mode

In video mode, sensor oversampling is used to enable continuous and smooth zoom experience. Processing is applied to eliminate the changes in the image during crossover from one camera to the other. Zoom from 1 to Z sw i tC h is performed using the Wide sensor only. From Zswitch and on, it is performed mainly by the Tele sensor. To prevent "jumps" (roughness in the image), switching to the Tele image is done using a zoom factor which is a bit higher (Z switch +AZoom) than Z switch . AZoom is determined according to the system's properties and is different for cases where zoom-in is applied and cases where zoom-out is applied (ΔΖοοηΐι η ≠ AZoom ou t)- This is done to prevent residual jumps artifacts to be visible at a certain zoom factor. The switching between sensors, for an increasing zoom and for decreasing zoom, is done on a different zoom factor.

The zoom video mode operation includes two stages: (1) sensor control and configuration and (2) image processing. In the range from 1 to Z sw i tC h, only the Wide sensor is operational, hence, power can be supplied only to this sensor. Similar conditions hold for a Wide AF mechanism. From Z sw i tC h+AZoom to Z max only the Tele sensor is operational, hence, power is supplied only to this sensor. Similarly, only the Tele sensor is operational and power is supplied only to it for a Tele AF mechanism. Another option is that the Tele sensor is operational and the Wide sensor is working in low frame rate. From Z sw i tC h to Z sw i tC h+AZoom, both sensors are operational.

Zoom-in: at low ZF up to slightly above ZF T (the zoom factor that enables switching between Wide and Tele outputs) the output image is the digitally zoomed, unchanged Wide camera output. ZF T is defined as follows:

ZF T = Tan (FOV Wl de)/Tan (FOV Te i e ) where Tan refers to "tangent", while FOVwide and FOV Te i e refer respectively to the Wide and Tele lens fields of view (in degrees). As used herein, the FOV is measured from the center axis to the corner of the sensor (i.e. half the angle of the normal definition). Switching cannot take place below ZFT and it can above it.

In some embodiments for the up-transfer ZF, as disclosed in co-invented and co- owned US patent 9,185,291, the output is a transformed Tele camera output, where the transformation is performed by a global registration (GR) algorithm to achieve smooth transition. As used herein "global registration" refers to an action for which the inputs are the Wide and Tele images. The Wide image is cropped to display the same FOV as the Tele image. The Tele image is passed through a low pass filter (LPF) and resized to make its appearance as close as possible to the Wide image (lower resolution and same pixel count). The outputs of GR are corresponding feature point pairs in the images along with their disparities, and parameters for differences between the images, i.e. shift and scale. As used herein, "feature point" refers to a point such as points lOa-d in FIG. 3B and refers to a point (pixel) of interest on an object in an image. For purposes set forth in this description, a feature point should be reproducible and invariant to changes in image scale, noise and illumination. Such points usually lie on corners or other high-contrast regions of the object.

Stages of Global Registration

In some exemplary embodiments, global registration may be performed as follows:

1. Find interest points (features) in each image separately by filtering it with, exemplarily, a Difference of Gaussians filter, and finding local extrema on the resulting image.

2. Find feature correspondences (features in both images that describe the same point in space) in a "matching" process. These are also referred to as "feature pairs", "correspondence pairs" or "matching pairs". This is done by comparing each feature point from one (Tele or Wide) image (referred to hereinafter as "image 1 ") to all feature points in that region from the other (respectively Wide or Tele) image (referred to hereinafter as "image 2"). The features are compared only within their group of minima/maxima, using patch normalized cross- correlation. As used herein, "patch" refers to a group of neighboring pixels around an origin pixel.

3. The normalized cross correlation of two image patches t(x, y) and f(x, y) is ~∑x,y ^^ X y ^ ^^ Χ'γ ^ ^ where n is the number of pixels in both patches, is the average of and Of is the standard deviation of . A match for a feature point from image 1 is only confirmed if its correlation score is much higher (for example, xl.2) than the next-best matching feature from image 2.

4. Find the disparity between each pair of corresponding features (also referred to as "matching pair") by subtracting their x and y coordinate values.

5. Filter bad matching points:

a. Following the matching process, matches that include feature points from image 2 that were matched to more than one feature from image 1 are discarded.

b. Matching pairs whose disparity is inconsistent with the other matching pairs are discarded. For example, if there is one corresponding pair which whose disparity is lower or higher than the others by 20 pixels.

6. The localization accuracy for matched points from image 2 is refined by calculating a correlation of neighboring pixel patches from image 2 with the target patch (the patch around the current pixel (of the current matching pair) from image 1, modeling the results as a parabola and finding its maximum.

7. Rotation and fine scale differences are calculated between the two images according to the matching points (for example, by subtracting the center of mass from each set of points, i.e. the part of the matching points belonging to either the Wide or the Tele image, and solving a least squares problem).

8. After compensating for these differences, since the images were rectified, the disparity in the Y axis should be close to 0. Matching points that do not fit this criterion are discarded.

A known rectification process is illustrated in FIG. 3C.

9. Finally, the remaining matching points are considered true and the disparities for them are calculated. A weighted average of the disparity is taken as the shift between both images. The maximum difference between disparity values is taken as the disparity range.

10. At various stages during GR, if there are not enough feature/matching points remaining, the GR is stopped and returns a failure flag.

In addition, it is possible to find range calibration to the rectification process by finding the shiftl = shift for objects at infinity and defining shiftD=shift-shiftI and disparity D = disparity- shiftl. We then calculate object distance = f° calLen 3 th basel i ne ^ere r J disparity D-pixelSize

"baseline" is the distance between cameras.

Returning now to the Zoom-in process, in some embodiments, for higher ZF than the up-transfer ZF the output is the transformed Tele camera output, digitally zoomed. However, in other embodiments for the up-transfer ZF there will be no switching from the Wide to the Tele camera output, i.e. the output will be from the Wide camera, digitally zoomed. This "no switching" process is described next.

No Switching

Switching from the Wide camera output to the transformed Tele camera output will be performed unless some special condition (criterion), determined based on inputs obtained from the two camera images, occurs. In other words, switching will not be performed only if at least one of the following no-switching criteria is fulfilled:

1. if the shift calculated by GR is greater than a first threshold, for example 50 pixels.

2. if the disparity range calculated by GR is greater than a second threshold, for example 20 pixels, because in this case there is no global shift correction that will suppress movement/jump for all objects distances (smooth transition is impossible for all objects).

3. if the effective resolution score of the Tele image is lower than that of the Wide image. In this case, there is no point in performing the transition because no value (i.e. resolution) is gained. Smooth transition is possible but undesirable.

4. if the GR fails, i.e. if the number of matching pairs found is less than a third threshold, for example 20 matching pairs.

5. if, for example, that are imaged onto the overlap area are calculated to be closer than a first threshold distance, for example 30 cm, because this can result in a large image shift to obtain ST.

6. if some objects (for example two objects) that are imaged in the overlap area are calculated to be closer than a second threshold distance, for example 50 cm, while other objects (for example two objects) are calculated to be farther than a third threshold distance for example 10 m. The reason is that the shift between an object position in the Wide and Tele cameras is object distance dependent, where the closer the objects the larger the shift, so an image containing significantly close and far objects cannot be matched by simple transformation (shift scale) to be similar and thus provide ST between cameras.

Zoom-out: at high ZF down to slightly below ZFT, the output image is the digitally zoomed transformed Tele camera output. For the down-transfer ZF, the output is a shifted Wide camera output, where the Wide shift correction is performed by the GR algorithm to achieve smooth transition, i.e. with no jump in the ROI region. For lower (than the down- transfer) ZF, the output is basically the down-transfer ZF output digitally zoomed but with gradually smaller Wide shift correction, until for ZF=1 the output is the unchanged Wide camera output. Note that if a no-switching criterion is not fulfilled, then the camera will output without fusion continuous zoom video mode output images of the object or scene, each output image having a respective output resolution, the video output images being provided with a smooth transition when switching between the lower ZF value and the higher ZF value or vice versa, wherein at the lower ZF value the output resolution is determined by the Wide sensor, and wherein at the higher ZF value the output resolution is determined by the Tele sensor.

FIG. 3A shows an embodiment of a method disclosed herein for acquiring a zoom image in video/preview mode for 3 different zoom factor (ZF) ranges: (a) ZF range = 1 : Zswitch; (b) ZF range = Z swit ch : Z swit ch + AZoom in : and (c) Zoom factor range = Z swit ch + AZoomi n : Z max . The description is with reference to a graph of effective resolution vs. zoom factor (FIG. 4). In step 302, sensor control module 116 chooses (directs) the sensor (Wide, Tele or both) to be operational. Specifically, if the ZF range = l:Z sw itch, module 116 directs the Wide sensor to be operational and the Tele sensor to be non-operational. If the ZF range is Zswitch : Zswitch + AZoomi n , module 116 directs both sensors to be operational and the zoom image is generated from the Wide sensor. If the ZF range is Z sw itch + ΔΖοοηΐι η : Z max , module 116 directs the Wide sensor to be non-operational and the Tele sensor to be operational. After the sensor choice in step 302, all following actions are performed in video processing core 126. Optionally, in step 304, color balance is calculated if two images are provided by the two sensors. Optionally yet, in step 306, the calculated color balance is applied in one of the images (depending on the zoom factor). Further optionally, in step 308, registration is performed between the Wide and Tele images to output a transformation coefficient. The transformation coefficient can be used to set an AF position in step 310. In step 312, an output of any of steps 302-308 is applied on one of the images (depending on the zoom factor) for image signal processing that may include denoising, demosaicing, sharpening, scaling, etc. In step 314, the processed image is resampled according to the transformation coefficient, the requested ZF (obtained from zoom function 124) and the output video resolution (for example 1080p). To avoid a transition point to be executed at the same ZF, AZoom can change while zooming in and while zooming out. This will result in hysteresis in the sensor switching point.

In more detail, for ZF range 1: Z sw itch, for ZF < Z sw itch, the Wide image data is transferred to the ISP in step 312 and resampled in step 314. For ZF range = Z sw itch : Z sw itch + AZoomi n , both sensors are operational and the zoom image is generated from the Wide sensor. The color balance is calculated for both images according to a given ROI. In addition, for a given ROI, registration is performed between the Wide and Tele images to output a transformation coefficient. The transformation coefficient is used to set an AF position. The transformation coefficient includes the translation between matching points in the two images. This translation can be measured in a number of pixels. Different translations will result in a different number of pixel movements between matching points in the images. This movement can be translated into depth and the depth can be translated into an AF position. This enables to set the AF position by only analyzing two images (Wide and Tele). The result is fast focusing.

Both color balance ratios and transformation coefficient are used in the ISP step. In parallel, the Wide image is processed to provide a processed image, followed by resampling. For ZF range = Z sw i tC h + ΔΖοοηΐι η : Z max and for Zoom factor > Z sw i tC h , + ΔΖοοηΐι η , the color balance calculated previously is now applied on the Tele image. The Tele image data is transferred to the ISP in step 312 and resampled in step 314. To eliminate crossover artifacts and to enable smooth transition to the Tele image, the processed Tele image is resampled according to the transformation coefficient, the requested ZF (obtained from zoom function 124) and the output video resolution (for example 1080p).

FIG. 4 shows the effective resolution as a function of the zoom factor for a zoom-in case and for a zoom-out case AZoom up is set when one zooms in, and AZoom dOWn is set when one zooms out. Setting AZoom up to be different from AZoomdow n will result in transition between the sensors to be performed at different zoom factor ("hysteresis") when zoom-in is used and when zoom-out is used. This hysteresis phenomenon in the video mode results in smooth continuous zoom experience.

In conclusion, dual aperture optical zoom digital cameras and associate methods disclosed herein reduce the amount of processing resources, lower frame rate requirements, reduce power consumption, remove parallax artifacts and provide continuous focus (or provide loss of focus) when changing from Wide to Tele in video mode. They provide a dramatic reduction of the disparity range and avoid false registration in capture mode. They reduce image intensity differences and enable work with a single sensor bandwidth instead of two, as in known cameras.

All patent applications mentioned in this specification are herein incorporated in their entirety by reference into the specification, to the same extent as if each individual patent application was specifically and individually indicated to be incorporated herein by reference. In addition, citation or identification of any reference in this application shall not be construed as an admission that such reference is available as prior art to the present disclosure.

While this disclosure has been described in terms of certain embodiments and generally associated methods, alterations and permutations of the embodiments and methods will be apparent to those skilled in the art. The disclosure is to be understood as not limited by the specific embodiments described herein, but only by the scope of the appended claims.