This application is a national stage filing under 35 U.S.C. § 371 of international application number PCT/CN2020/119975, filed Oct. 9, 2020, which claims priority to Chinese patent application No. 201911416995.9 filed Dec. 31, 2019. The contents of these applications are incorporated herein by reference in their entirety.
Embodiments of the present disclosure relate to the field of camera optical-zoom, and in particular, to an electronic apparatus for camera optical-zoom, a camera optical-zoom method, a camera optical-zoom unit, and a memory.
With the rapid development of mobile Internet, mobile terminals have become an indispensable part of people's daily life. People use mobile terminals for communication, socialization, sharing, and other activities, and one of the most frequently used functions of mobile terminals is taking photos. When taking photos of distant objects, it is necessary to use a camera optical-zoom function to take clear photos of the distant objects. In existing products and technical schemes, generally, wide-angle and telephoto modules are switched to implement optical zoom, and at least two cameras are required.
In view of this, the present disclosure provides an electronic apparatus for camera optical-zoom, a camera optical-zoom method, a camera optical-zoom unit, and a memory.
According to an embodiment of the present disclosure, there is provided an electronic apparatus. The electronic apparatus may include a camera, a sensor, a processor, and a memory. The memory stores a program instruction. The processor is configured to process the program instruction to perform the following steps: receiving image data of a photographed object acquired by the camera; and integrating image data of a full pixel area corresponding to a zoom value of the camera according to a preset algorithm, and outputting the integrated image data according to a coordinate sequence of pixels on the sensor, where the full pixel area may include pixel areas of the sensor corresponding to the zoom value and pixel areas of the sensor corresponding to a value greater than the zoom value.
According to an embodiment of the present disclosure, there is further provided a camera optical-zoom method for an electronic apparatus. The camera optical-zoom method may include: receiving image data of a photographed object acquired by a camera; and integrating image data of a full pixel area corresponding to a zoom value of the camera according to a preset algorithm, and outputting the integrated image data according to a coordinate sequence of pixels on a sensor, where the full pixel area may include pixel areas of the sensor corresponding to the zoom value and pixel areas of the sensor corresponding to a value greater than the zoom value.
According to an embodiment of the present disclosure, there is further provided a camera optical-zoom unit for an electronic apparatus. The camera optical-zoom unit for an electronic apparatus may include: a receiving module, configured to receive image data of a photographed object acquired by a camera; and an integration module, configured to integrate image data of a full pixel area corresponding to a zoom value of the camera according to a preset algorithm, and output the integrated image data according to a coordinate sequence of pixels on a sensor, where the full pixel area may include pixel areas of the sensor corresponding to the zoom value and pixel areas of the sensor corresponding to a value greater than the zoom value.
According to an embodiment of the present disclosure, there is further provided a memory storing a computer program, where the computer program is configured to be run to perform the foregoing camera optical-zoom method for an electronic apparatus.
The accompanying drawings are used to provide a further understanding of the technical schemes of the present disclosure, and form part of the specification. The accompanying drawings and the embodiments of the present disclosure are used together to illustrate the technical schemes of the present disclosure, and do not constitute a limitation on the technical schemes of the present disclosure.
To make the objectives, technical schemes and advantages of the present disclosure clearer, the present disclosure is further described below in detail with reference to the accompanying drawings and embodiments. It is to be noted that the embodiments in the present disclosure and the features in the embodiments may be arbitrarily combined with each other if not conflicted.
The receiving module 20 is configured to receive the image data of the photographed object acquired by the camera 10. When the camera 10 enters a photographing state, light emitted or reflected by the photographed object is converged by the lens of the camera 10 to focus on the sensor 100. The sensor 100 receives an optical signal of the light, converts the optical signal into a corresponding electrical signal, and converts the electrical signal into a digital image signal through a digital-to-analog conversion circuit. The receiving module 20 receives the digital image signal, processes the digital image signal, converts the digital image signal into image data that can be normally read by the electronic apparatus 1, and sends the image data to the memory 13 for storage.
The obtaining module 21 is configured to obtain a zoom photographing mode option selected by a user on the display screen 11, and turn on the camera 10 to enter a corresponding zoom photographing mode. In this embodiment, the camera 10 has M zoom photographing modes. M is an integer greater than or equal to 2. The electronic apparatus 1 provides M zoom photographing mode options displayed on the display screen 11 for selection by the user. In an embodiment, all the M zoom photographing mode options may be displayed on the display screen 11, or only one of the zoom photographing mode options is displayed on the display screen 11, or no zoom photographing mode option is displayed on the display screen 11.
In an embodiment, as shown in
In another embodiment, the display screen 11 displays only one zoom photographing mode option of the M zoom photographing mode options. As shown in
In another embodiment, no zoom photographing mode option is displayed on the display screen 11. As shown in
The determining module 22 is configured to determine whether a zoom value of the camera 10 is a maximum zoom value. In this embodiment, the determining module 22 is configured to determine whether the zoom value of the camera 10 is a maximum zoom value a, where a is a positive number greater than 0. When the camera 10 uses the zoom value a, the camera 10 uses an ax zoom photographing mode, and the ax zoom photographing mode is the highest-magnification zoom photographing mode in the M zoom photographing modes of the camera 10. That is, the user selects the highest-magnification zoom photographing mode option from the M zoom photographing mode options displayed on the display screen 11. As shown in
When the zoom value of the camera 10 is the maximum zoom value, the output module 24 is configured to output image data of pixel areas of the sensor 100 corresponding to the zoom value according to the coordinate sequence of the pixels on the sensor 100. That is, when the camera 10 uses the zoom value a, the zoom value a corresponds to the highest-magnification zoom photographing mode in the M zoom photographing modes. The output module 24 is configured to output image data of pixel areas of the sensor 100 corresponding to the zoom value a according to the coordinate sequence of the pixels on the sensor 100. The pixel areas of the sensor 100 include an nx zoom pixel area, where n is a positive number greater than 0. As shown in
When the zoom value of the camera 10 is a non-maximum zoom value, the integration module 23 is configured to integrate image data of pixel areas of the sensor 100 corresponding to the zoom value and image data of pixel areas of the sensor 100 corresponding to a value greater than the zoom value according to the preset algorithm. That is, when the camera 10 uses a zoom value b, where b is a positive number greater than 0, and b is less than a, the integration module 23 is configured to integrate image data of a full pixel area corresponding to the zoom value b of the sensor 100 according to the preset algorithm. The full pixel area corresponding to the zoom value b include pixel areas of the sensor 100 corresponding to the zoom value b and pixel areas of the sensor 100 corresponding to a value greater than the zoom value b. A pixel area of the sensor 100 corresponding to the zoom value b is a bx zoom pixel area. The preset algorithm includes, but is not limited to, an interpolation algorithm and a remosaic algorithm. The integrating includes synthesizing, according to the preset algorithm, pixels in a pixel area of the sensor 100 corresponding to a value greater than the zoom value b according to a size of each pixel in the pixel area of the sensor 100 corresponding to the zoom value b, and integrating a synthesized pixel with image data of pixels in the pixel area of the sensor 100 corresponding to the zoom value b.
The output module 24 is further configured to output, according to the coordinate sequence of the pixels on the sensor 100, the image data integrated by the integration module 23.
In this embodiment, when the camera 10 uses the zoom value b, that is, when the camera 10 uses a bx zoom photographing mode, the quantity of pixels that are outputted by the output module 24 and are obtained after integration of the full pixel area corresponding to the zoom value b is x*y, where x and y are respectively the quantity of pixels in a length direction and the quantity of pixels in a width direction after the integration of the full pixel area corresponding to the zoom value b. The ax zoom pixel area may be any (bx/a)*(by/a) pixel area in the full pixel area corresponding to the zoom value b. In this embodiment, the present disclosure is described only by an example in which the ax zoom pixel area is a central (bx/a)*(by/a) pixel area in the full pixel area corresponding to the zoom value b. That is, a central coordinate point of the ax zoom pixel area overlaps with a central coordinate point of the full pixel area corresponding to the zoom value b. A size of each pixel in the ax zoom pixel area is b2/a2 of a size of each pixel in the bx zoom pixel area. That is, the ratio of pixel quantity in the same pixel area size of the ax zoom pixel area to the bx zoom pixel area is a2:b2.
As shown in
At S70, the receiving module 20 receives image data of a photographed object acquired by a camera 10. When the camera 10 enters a photographing state, light emitted or reflected by the photographed object is converged by the lens of the camera 10 to focus on a sensor 100. The sensor 100 receives an optical signal of the light, converts the optical signal into a corresponding electrical signal, and converts the electrical signal into a digital image signal through a digital-to-analog conversion circuit. The receiving module 20 receives the digital image signal, processes the digital image signal, converts the digital image signal into image data that can be normally read by the electronic apparatus 1, and sends the image data to the memory 13 for storage.
At S71, the obtaining module 21 obtains a zoom photographing mode option selected by a user on a display screen 11, and turns on the camera 10 to enter a corresponding zoom photographing mode. In this embodiment, the camera 10 has M zoom photographing modes. M is an integer greater than or equal to 2. The electronic apparatus 1 provides M zoom photographing mode options displayed on the display screen 11 for selection by the user. In an embodiment, all the M zoom photographing mode options may be displayed on the display screen 11, or only one of the zoom photographing mode options is displayed on the display screen 11, or no zoom photographing mode option is displayed on the display screen 11.
In an embodiment, as shown in
In another embodiment, the display screen 11 displays only one zoom photographing mode option of the M zoom photographing mode options. As shown in
In another embodiment, no zoom photographing mode option is displayed on the display screen 11. As shown in
At S72, the determining module 22 determines whether a zoom value of the camera 10 is a maximum zoom value. In this embodiment, the determining module 22 determines whether the zoom value of the camera 10 is a maximum zoom value a, where a is a positive number greater than 0. When the camera 10 uses the zoom value a, the camera 10 uses an ax zoom photographing mode, and the ax zoom photographing mode is the highest-magnification zoom photographing mode in the M zoom photographing modes of the camera 10. That is, the user selects the highest-magnification zoom photographing mode option from the M zoom photographing mode options displayed on the display screen 11. As shown in
At S73, when the zoom value of the camera 10 is the maximum zoom value, the output module 24 outputs image data of pixel areas of the sensor 100 corresponding to the zoom value according to the coordinate sequence of the pixels on the sensor 100. That is, when the camera 10 uses the zoom value a, the zoom value a corresponds to the highest-magnification zoom photographing mode in the M zoom photographing modes. The output module 24 outputs image data of pixel areas of the sensor 100 corresponding to the zoom value a according to the coordinate sequence of the pixels on the sensor 100. The pixel areas of the sensor 100 include an nx zoom pixel area, where n is a positive number greater than 0. As shown in
At S74, when the zoom value of the camera 10 is a non-maximum zoom value, the integration module 23 integrates image data of pixel areas of the sensor 100 corresponding to the zoom value and image data of pixel areas of the sensor 100 corresponding to a value greater than the zoom value according to the preset algorithm. That is, when the camera 10 uses a zoom value b, where b is a positive number greater than 0, and b is less than a, the integration module 23 integrates image data of the full pixel area corresponding to the zoom value b of the sensor 100 according to the preset algorithm. The full pixel area corresponding to the zoom value b includes pixel areas of the sensor 100 corresponding to the zoom value b and pixel areas of the sensor 100 corresponding to a value greater than the zoom value b. A pixel area of the sensor 100 corresponding to the zoom value b is a bx zoom pixel area. The preset algorithm includes, but is not limited to, an interpolation algorithm and a remosaic algorithm. The integrating includes synthesizing, according to the preset algorithm, pixels in a pixel area of the sensor 100 corresponding to a value greater than the zoom value b according to a size of each pixel in the pixel area of the sensor 100 corresponding to the zoom value b, and integrating a synthesized pixel with image data of pixels in the pixel area of the sensor 100 corresponding to the zoom value b.
At S75, the output module 24 outputs, according to the coordinate sequence of the pixels on the sensor 100, the image data integrated by the integration module 23.
In this embodiment, when the camera 10 uses the zoom value b, that is, when the camera 10 uses a bx zoom photographing mode, the quantity of pixels that are outputted by the output module 24 and are obtained after integration of the full pixel area corresponding to the zoom value b is x*y, where x and y are respectively the quantity of pixels in a length direction and the quantity of pixels in a width direction after the integration of the full pixel area corresponding to the zoom value b. The ax zoom pixel area may be any (bx/a)*(by/a) pixel area in the full pixel area corresponding to the zoom value b. In this embodiment, the present disclosure is described only by an example in which the ax zoom pixel area is a central (bx/a)*(by/a) pixel area in the full pixel area corresponding to the zoom value b. That is, a central coordinate point of the ax zoom pixel area overlaps with a central coordinate point of the full pixel area corresponding to the zoom value b. A size of each pixel in the ax zoom pixel area is b2/a2 of a size of each pixel in the bx zoom pixel area. That is, the ratio of pixel quantity in the same pixel area size of the ax zoom pixel area to the bx zoom pixel area is a2:b2.
As shown in
At S80, image data of a photographed object acquired by a camera is received.
At S81, image data of the full pixel area corresponding to a zoom value of the camera according to a preset algorithm is integrated, and the integrated image data is outputted according to a coordinate sequence of pixels on a sensor, where the full pixel area includes pixel areas of the sensor corresponding to the zoom value and pixel areas of the sensor corresponding to a value greater than the zoom value.
In the technical schemes in the embodiments of the present disclosure, image data of a photographed object that is acquired by a camera is received, image data of the full pixel area corresponding to a zoom value of the camera is integrated according to a preset algorithm, and the integrated image data is outputted according to a coordinate sequence of pixels on the sensor, so that when an electronic apparatus is used for taking photos, an optical zoom function can be implemented by using a single camera, thereby greatly reducing the costs of cameras.
Although the embodiments disclosed in the present disclosure are as described above, the content of the present disclosure is only for the purpose of understanding the embodiments of the present disclosure and is not intended to limit the present disclosure. Those having ordinary skill in the art of the present disclosure may make any modification or change in the form and details of the implementation without departing from the technical scheme and scope of the present disclosure. However, the scope of patent protection of the present disclosure shall be subjected to the scope defined in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
201911416995.9 | Dec 2019 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2020/119975 | 10/9/2020 | WO |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2021/135487 | 7/8/2021 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
6873358 | Shimizu | Mar 2005 | B1 |
20020154912 | Koseki et al. | Oct 2002 | A1 |
20070257996 | Kurosawa | Nov 2007 | A1 |
20080055429 | Yoshida | Mar 2008 | A1 |
20100053377 | Yanai | Mar 2010 | A1 |
20110069206 | LeGall et al. | Mar 2011 | A1 |
20130250150 | Malone et al. | Sep 2013 | A1 |
20140184855 | Yanai | Jul 2014 | A1 |
20140253761 | Okada et al. | Sep 2014 | A1 |
20170064174 | Xiao | Mar 2017 | A1 |
20210400206 | Yim | Dec 2021 | A1 |
20220321797 | Bian | Oct 2022 | A1 |
Number | Date | Country |
---|---|---|
101018299 | Aug 2007 | CN |
101326816 | Dec 2008 | CN |
101668121 | Mar 2010 | CN |
104301605 | Jan 2015 | CN |
105100622 | Nov 2015 | CN |
106254767 | Dec 2016 | CN |
106657780 | May 2017 | CN |
109089036 | Dec 2018 | CN |
109286750 | Jan 2019 | CN |
110620861 | Dec 2019 | CN |
2008017090 | Jan 2008 | JP |
WO-2021129198 | Jul 2021 | WO |
Entry |
---|
International Searching Authority. International Search Report and Written Opinion for PCT Application No. PCT/CN2020/119975 and English translation, dated Dec. 30, 2020, pp. 1-10. |
The State Intellectual Property Office of People's Republic of China. First Office Action for CN Application No. 2019114169959 and English translation, dated Oct. 14, 2022, pp. 1-9. |
The State Intellectual Property Office of People's Republic of China. First Search Report for CN Application No. 2019114169959 and English translation, dated Oct. 10, 2022, pp. 1-6. |
European Patent Office. Extended European Search Report for EP Application No. 20910112.0, dated Nov. 28, 2022, pp. 1-9. |
Vizgaitis, J. “Increasing dual band infrared zoom ranges”, Proc. SPIE 9580, Zoom Lenses V, 95800, Sep. 9, 2015, pp. 1-10. |
Number | Date | Country | |
---|---|---|---|
20230319412 A1 | Oct 2023 | US |