Legal claims defining the scope of protection, as filed with the USPTO.
1. A digital zooming method, adapted to an image capturing device having a primary lens and a secondary lens, comprising: capturing a scene by using the primary lens and the secondary lens to generate a primary image and a secondary image; performing image rectification on the primary image and the secondary image to generate a primary rectified image and a secondary rectified image; performing feature point detection on the primary rectified image and the secondary rectified image so as to detect overlapping regions respectively in the primary rectified image and the secondary rectified image, and further obtaining a plurality of pixel displacements and a depth map of the overlapping regions respectively in the primary rectified image and the secondary rectified image; when a zooming factor is between 1 and a primary-secondary image factor, performing image zooming and image warping on the primary rectified image and the secondary rectified image to generate a primary warped image and a secondary warped image according to the zooming factor, the pixel displacements, and the depth map, wherein the primary-secondary image factor is a ratio of the secondary rectified image to the primary rectified image; and performing image fusion on overlapping regions respectively in the primary warped image and the secondary warped image to generate a digital zoomed image.
2. The digital zooming method of claim 1 , wherein the step of performing image rectification on the primary image and the secondary image to generate the primary rectified image and the secondary rectified image comprises: obtaining a plurality of rectification parameters associated with the primary lens and the secondary lens; and rectifying the primary image and the secondary image to generate the primary rectified image and the secondary rectified image according to the rectification parameters.
3. The digital zooming method of claim 1 , wherein the step of performing feature point detection on the primary rectified image and the secondary rectified image so as to detect the overlapping regions respectively in the primary rectified image and the secondary rectified image, and further obtaining the pixel displacements and the depth map of the overlapping regions respectively in the primary rectified image and the secondary rectified image comprises: detecting a plurality of feature points from the primary rectified image and the secondary rectified image; identifying a plurality of feature point correspondences to calculate a homography matrix according to color information of a plurality of neighboring points of each of the feature points in the primary rectified image and the secondary rectified image; obtaining the overlapping regions respectively in the primary rectified image and the secondary rectified image according to the homography matrix and accordingly obtaining each of the pixel displacements; and performing stereo matching on each of the feature point correspondences in the primary rectified image and the secondary rectified image to obtain the depth map.
4. The digital zooming method of claim 1 , wherein the primary lens and the secondary lens have different fields of view and same distortion levels, wherein the field of view of the primary lens is greater than the field of view of the secondary lens, and wherein when the zooming factor is between 1 and the primary-secondary image factor, the step of performing image zooming and image warping on the primary rectified image and the secondary rectified image to generate the primary warped image and the secondary warped image according to the zooming factor, the pixel displacements, and the depth map comprises: enlarging the primary rectified image to generate an enlarged primary rectified image according to the zooming factor; shrinking the secondary rectified image to generate a shrunken secondary rectified image according to the zooming factor; and performing image warping on the enlarged primary rectified image and the shrunken secondary rectified image to generate the primary warped image and the secondary warped image according to the pixel displacements and the depth map, wherein a warping level is associated with the depth map.
5. The digital zooming method of claim 1 , wherein the primary lens and the secondary lens have same fields of view and same distortion levels, and wherein after the step of performing image rectification on the primary image and the secondary image to generate the primary rectified image and the secondary rectified image, the digital zooming method further comprises: performing image binning on the primary rectified image to generate a binned primary rectified image; performing image cropping on the secondary rectified image to generate a cropped secondary rectified image, wherein a size of the binned primary rectified image and a size of the cropped secondary rectified image are the same; and setting the binned primary rectified image and the cropped secondary rectified image respectively as the primary rectified image and the secondary rectified image.
6. The digital zooming method of claim 1 , wherein when the zooming factor is between 1 and the primary-secondary image factor, the step of performing image zooming and image warping on the primary rectified image and the secondary rectified image to generate the primary warped image and the secondary warped image according to the zooming factor, the pixel displacements, and the depth map comprises: enlarging the primary rectified image to generate an enlarged primary rectified image according to the zooming factor; shrinking the secondary rectified image to generate a shrunken secondary rectified image according to the zooming factor; and performing image warping on the enlarged primary rectified image and the shrunken secondary rectified image to generate the primary warped image and the secondary warped image according to the pixel displacements and the pixel depth map, wherein a warping level is associated with the depth map.
7. The digital zooming method of claim 1 , wherein the primary lens and the secondary lens have same fields of view and different distortion levels, wherein the distortion level of the primary lens is much less than the distortion level of the secondary lens, and wherein after the step of performing image rectification on the primary image and the secondary image to generate the primary rectified image and the secondary rectified image, the digital zooming method further comprises: performing image cropping on a center region of the secondary rectified image to generate a cropped secondary rectified image; and setting the cropped secondary rectified image as the secondary rectified image.
8. The digital zooming method of claim 7 , wherein when the zooming factor is between 1 and the primary-secondary image factor, the step of performing image zooming and image warping on the primary rectified image and the secondary rectified image to generate the primary warped image and the secondary warped image according to the zooming factor, the pixel displacements, and the depth map comprises: enlarging the primary rectified image to generate an enlarged primary rectified image according to the zooming factor; shrinking the secondary rectified image to generate a shrunken secondary rectified image; and performing image warping on the enlarged primary rectified image and the shrunken secondary rectified image to generate the primary warped image and the secondary warped image according to the pixel displacements and the depth map, wherein a warping level is associated with the depth map.
9. The digital zooming method of claim 1 , wherein the step of performing image fusion on the overlapping regions respectively in the primary warped image and the secondary warped image to generate the digital zoomed image comprises: setting a first weight and a second weight respectively corresponding to the primary warped image and the secondary warped image according to the zooming factor; performing image fusion on the overlapping regions respectively in the primary warped image and the secondary warped image to generate a fused overlapping image based on the first weight and the second weight; and substituting the overlapping regions respectively in the primary warped image and the secondary warped image by the fused overlapping image to generate the digital zoomed image.
10. The digital zooming method of claim 1 , wherein when the zooming factor is greater than the primary-secondary image factor, the digital zooming method further comprises: enlarging the secondary rectified image to generate an enlarged secondary rectified image according to the zooming factor; performing image warping on the shrunken secondary rectified image to generate the secondary warped image according to the pixel displacements and the depth map, wherein a warping level is associated with the depth map; and setting the secondary warped image as the digital zoomed image.
11. The digital zooming method of claim 1 , wherein when the zooming factor is less than 1, the digital zooming method further comprises: shrinking the primary rectified image to generate a shrunken primary rectified image; performing image warping on the shrunken primary rectified image to generate the primary warped image according to the pixel displacements and the pixel depth map, wherein a warping level is associated with the depth map; and setting the primary warped image as the digital zoomed image.
12. An image capturing device comprising: a primary lens; a secondary lens; a storage unit, recording a plurality of modules; and one or more processing unit, coupled to the primary lens, the secondary lens and the storage unit, and accessing and executing the modules recorded in the storage unit, wherein the modules comprise: an image capturing module, capturing a scene by using the primary lens and the secondary lens to generate a primary image and a secondary image; an image preprocessing module, performing image rectification on the primary image and the secondary image to generate a primary rectified image and a secondary rectified image; a feature analyzing module, performing feature point detection on the primary rectified image and the secondary rectified image so as to detect overlapping regions respectively in the primary rectified image and the secondary rectified image, and further obtaining a plurality of pixel displacements and a depth map of the overlapping regions respectively in the primary rectified image and the secondary rectified image; an image zooming-warping module, when a zooming factor is between 1 and a primary-secondary image factor, performing image zooming and image warping on the primary rectified image and the secondary rectified image to generate a primary warped image and a secondary warped image according to the zooming factor, the pixel displacements, and the depth map, wherein the primary-secondary image factor is a ratio of the secondary rectified image to the primary rectified image; and an image fusion module, performing image fusion on overlapping regions respectively in the primary warped image and the secondary warped image to generate a digital zoomed image.
13. The image capturing device of claim 12 , wherein the image preprocessing module obtains a plurality of rectification parameters associated with the primary lens and the secondary lens, and rectifies the primary image and the secondary image to generate the primary rectified image and the secondary rectified image according to the rectification parameters.
14. The image capturing device of claim 12 , wherein the feature analyzing module detects a plurality of feature points from the primary rectified image and the secondary rectified image, identifies a plurality of feature point correspondences to calculate a homography matrix according to color information of a plurality of neighboring points of each of the feature points in the primary rectified image and the secondary rectified image, obtains the overlapping regions respectively in the primary rectified image and the secondary rectified image according to the homography matrix and accordingly obtains each of the pixel displacements, and performs stereo matching on each of the feature point correspondences in the primary rectified image and the secondary rectified image to obtain the depth map.
15. The image capturing device of claim 12 , wherein the primary lens and the secondary lens have different fields of view and same distortion levels, wherein the field of view of the primary lens is greater than the field of view of the secondary lens, and wherein when the zooming factor is between 1 and the primary-secondary image factor, the image zooming-warping module enlarges the primary rectified image to generate an enlarged primary rectified image according to the zooming factor, shrinks the secondary rectified image to generate a shrunken secondary rectified image according to the zooming factor, and performs image warping on the enlarged primary rectified image and the shrunken secondary rectified image to respectively generate the primary warped image and the secondary warped image according to the pixel displacements and the depth map, wherein a warping level is associated with the depth map.
16. The image capturing device of claim 12 , wherein the primary lens and the secondary lens have same fields of view and same distortion levels, and the image preprocessing module further performs image binning on the primary rectified image to generate a binned primary rectified image, performs image cropping on the secondary rectified image to generate a cropped secondary rectified image, and sets the binned primary rectified image and the cropped secondary rectified image respectively as the primary rectified image and the secondary rectified image, wherein a size of the binned primary rectified image and a size of the cropped secondary rectified image are the same.
17. The image capturing device according to claim 16 , wherein when the zooming factor is between 1 and the primary-secondary image factor, the image zooming-warping module enlarges the primary rectified image to generate an enlarged primary rectified image according to the zooming factor, shrinks the secondary rectified image to generate a shrunken secondary rectified image according to the zooming factor, and performs image warping on the enlarged primary rectified image and the shrunken secondary rectified image to generate the primary warped image and the secondary warped image according to the pixel displacements and the pixel depth map, wherein a warping level is associated with the depth map.
18. The image capturing device according to claim 12 , wherein the primary lens and the secondary lens have the same fields of view and different distortion levels, wherein the distortion level of the primary lens is much less than the distortion level of the secondary lens, and wherein the image preprocessing module further performs image cropping on a center region of the secondary rectified image to generate a cropped secondary rectified image, and sets the cropped secondary rectified image as the second rectified image.
19. The image capturing device according to claim 18 , wherein when the zooming factor is between 1 and the primary-secondary image factor, the image zooming-warping module enlarges the primary rectified image to generate an enlarged primary rectified image according to the zooming factor, shrinks the secondary rectified image to generate a shrunken secondary rectified image, and performs image warping on the enlarged primary rectified image and the shrunken secondary rectified image to generate the primary warped image and the secondary warped image according to the pixel displacements and the depth map, wherein a warping level is associated with the depth map.
20. The image capturing device according to claim 12 , wherein the image fusion module sets a first weight and a second weight respectively corresponding to the primary warped image and the secondary warped image according to the zooming factor, performs image fusion on the overlapping regions respectively in the primary warped image and the secondary warped image to generate a fused overlapping image based on the first weight and the second weight, and substitutes the overlapping regions respectively in the primary warped image and the secondary warped image by the fused overlapping image to generate the digital zoomed image.
21. The image capturing device according to claim 12 , wherein when the zooming factor is greater than the primary-secondary image factor, the image zooming-warping module further enlarges the secondary rectified image to generate an enlarged secondary rectified image according to the zooming factor, performs image warping on the shrunken secondary rectified image to generate the secondary warped image according to the pixel displacements and the depth map, and sets the secondary warped image as the digital zoomed image, wherein a warping level is associated with the depth map.
22. The image capturing device according to claim 12 , wherein when the zooming factor is less than 1, the image zooming-warping module shrinks the primary rectified image to generate a shrunken primary rectified image, performs image warping on the shrunken primary rectified image to generate the primary warped image according to the pixel displacements and the depth map, and sets the primary warped image as the digital zoomed image, wherein a warping level is associated with the depth map.
Unknown
April 26, 2016
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.