WO2019223521A1 - Imaging module, electronic device, image processing method and storage medium - Google Patents

Imaging module, electronic device, image processing method and storage medium Download PDF

Info

Publication number
WO2019223521A1
WO2019223521A1 PCT/CN2019/085609 CN2019085609W WO2019223521A1 WO 2019223521 A1 WO2019223521 A1 WO 2019223521A1 CN 2019085609 W CN2019085609 W CN 2019085609W WO 2019223521 A1 WO2019223521 A1 WO 2019223521A1
Authority
WO
WIPO (PCT)
Prior art keywords
light
imaging
concave lens
image
display screen
Prior art date
Application number
PCT/CN2019/085609
Other languages
French (fr)
Chinese (zh)
Inventor
张磊
孙景阳
杨乐
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN201820778482.7U external-priority patent/CN208386719U/en
Priority claimed from CN201810500609.3A external-priority patent/CN110536045A/en
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2019223521A1 publication Critical patent/WO2019223521A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/14Picture signal circuitry for video frequency region
    • H04N5/20Circuitry for controlling amplitude response
    • H04N5/202Gamma control

Definitions

  • the present disclosure relates to the technical field of mobile terminals, and in particular, to an imaging module, an electronic device, an image processing method, and a storage medium.
  • a preset position of the display screen is hollowed out, or a preset position of the display screen is set to transmit light, and then the front camera is set below the preset position of the display screen, thereby The front camera can capture images through hollowed out positions or light-transmitting areas.
  • the present disclosure provides an imaging module, an electronic device, an image processing method, and a storage medium, so as to display a larger framing range in the same imaging area, which can effectively improve the user's photographing experience, and is used to solve the problems in the prior art.
  • the technical problem that the front camera is set below the light-transmitting area of the display screen and the viewfinder range of the front camera is small.
  • An embodiment of one aspect of the present disclosure proposes an imaging module.
  • the imaging module is disposed below a display screen of an electronic device and corresponds to a light-transmitting area of the display screen.
  • the imaging module includes: a concave lens, and an imaging module. Lens group and image sensor;
  • the concave lens is disposed at a position corresponding to the light-transmitting area of the display screen, and is used to diffuse the light passing through the light-transmitting area;
  • the imaging lens group is disposed on one side of the light-emitting surface of the concave lens, and is used for optically transforming the light diffused by the concave lens;
  • the image sensor is disposed on one side of a light emitting surface of the imaging lens group, and is configured to collect an imaging image according to light emitted from the imaging lens group.
  • the imaging module in the embodiment of the present disclosure uses a concave lens at a position corresponding to the light-transmitting area of the display screen to diffuse the light transmitted through the light-transmitting area, and then uses an imaging lens group disposed on the light-emitting surface side of the concave lens to The divergent light is optically transformed, and then an image sensor is used to acquire an imaged image based on the light emitted from the imaging lens group by using an image sensor disposed on the light emitting surface side of the imaging lens group.
  • a concave lens at a position corresponding to the light-transmitting area of the display screen a larger framing range can be displayed in the same imaging area, which can effectively improve the photographing experience of the user.
  • An embodiment of another aspect of the present disclosure provides an electronic device, where the electronic device includes a display screen and an imaging module;
  • the display screen includes a light-transmitting area and a non-light-transmitting area, wherein the light-transmitting area is provided with a concave lens for diverging light;
  • the imaging module is disposed on one side of the light-emitting surface of the concave lens, and is configured to perform imaging according to the light emitted by the concave lens.
  • the electronic device diffuses light by providing a concave lens in a light-transmitting area of a display screen of the electronic device, and then uses an imaging module on the light emitting surface side of the concave lens to perform imaging based on the light emitted by the concave lens. Therefore, a larger framing range can be displayed in the same imaging area, which can effectively improve the user's photographing experience.
  • An embodiment of another aspect of the present disclosure provides an image processing method, where the method includes:
  • the image processing method includes acquiring an imaging image acquired by an image sensor; performing interpolation processing on gray values of at least two adjacent pixel points in the imaging image to obtain gray values of the interpolation pixel points; and according to the interpolation pixels
  • the gray value of the point is used to correct the image.
  • correction of the compressed imaging image can be achieved, distortion of the imaging image can be reduced, and the imaging effect can be effectively improved, which can be beneficial to overall Development of display electronic equipment.
  • An embodiment of yet another aspect of the present disclosure provides another electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor executes the program, the processor implements the present invention.
  • the image processing method proposed by the foregoing embodiment is disclosed.
  • An embodiment of still another aspect of the present disclosure provides a computer-readable storage medium on which a computer program is stored, which is characterized in that when the program is executed by a processor, the image processing method according to the foregoing embodiment of the present disclosure is implemented.
  • FIG. 1 is a schematic diagram of a light path when a conventional front camera collects an imaging image
  • FIG. 2 is a schematic structural diagram of an imaging module according to a first embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of an optical path when an imaging module collects an imaging image in an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of an electronic device according to a second embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of an electronic device according to a third embodiment of the present disclosure.
  • FIG. 6 is a schematic flowchart of an image processing method according to a fourth embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of a correspondence relationship between a gray value and brightness of a pixel in an embodiment of the present disclosure
  • FIG. 8 is a schematic diagram of determining interpolation pixels in an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present disclosure.
  • a preset position of the display screen is hollowed out, or a preset position of the display screen is set to transmit light, and then the front camera is set below the preset position of the display screen, thereby The front camera can capture images through hollowed out positions or light-transmitting areas.
  • FIG. 1 is a schematic diagram of an optical path when a conventional front camera collects an imaging image.
  • 11 indicates a non-transparent area of the display screen
  • the front camera includes: an imaging lens group 12 and an image sensor 13.
  • the imaging lens group 12 receives light from a light-transmitting area in the middle of the non-light-transmitting area 11 of the display screen, and emits the light to the image sensor 13 so that the image sensor 13 can collect an imaging image.
  • the image sensor 13 in FIG. 1 is a complementary metal oxide semiconductor device (Complementary Metal Oxide Semiconductor) (CMOS for short), and the CMOS collects an imaging image according to the light emitted from the imaging lens group 12.
  • CMOS complementary metal oxide semiconductor device
  • the CMOS collects an imaging image according to the light emitted from the imaging lens group 12.
  • CMOS can only capture 4 image points, resulting in the framing screen not being fully displayed.
  • the front-facing camera has a smaller viewing range.
  • the present disclosure is mainly directed to the technical problem that the front camera is set under the light-transmitting area of the display screen, which causes the viewfinder image to be incompletely displayed, that is, the front camera has a small viewfinder range, and proposes an imaging module.
  • a concave lens is provided at a position corresponding to the light transmitting area of the display screen to diffuse the light transmitted through the light transmitting area, and then the imaging lens group provided on the light emitting surface side of the concave lens is used to diffuse the concave lens.
  • the light is optically transformed, and then an image sensor disposed on the light emitting surface side of the imaging lens group is used to acquire an imaging image according to the light emitted from the imaging lens group.
  • FIG. 2 is a schematic structural diagram of an imaging module provided in Embodiment 1 of the present disclosure.
  • the connection relationship between the concave lens 110, the imaging lens group 120, and the image sensor 130 in FIG. 2 represents a light transmission sequence, and light passes from the concave lens 110 to the imaging lens.
  • the group 120 is incident on the image sensor 130 to form an image.
  • the imaging module 100 is disposed below a display screen of an electronic device and corresponds to a transparent area of the display screen.
  • the imaging module 100 includes a concave lens 110, an imaging lens group 120, and an image sensor 130. among them,
  • the concave lens 110 is disposed at a position corresponding to the light-transmitting area of the display screen, and is used to diffuse the light passing through the light-transmitting area.
  • a concave lens 110 may be provided at a position corresponding to the light-transmitting area of the display screen, so that the light passing through the light-transmitting area can be diffused by the concave lens 110.
  • the concave lens 110 may be a plano-concave lens, a light incident surface side of the concave lens 110 is a concave surface, and a light emitting surface side of the concave lens 120 is a flat surface.
  • the non-light-transmitting area of the display screen may be covered with a cover plate, and the light-transmitting area of the display screen may not be covered with the cover plate. Further, in order to ensure that the light path is clean, the edge of the concave lens 110 may be connected to the edge of the cover plate.
  • the thickness of the concave lens 110 may match the thickness of the cover plate, and the upper edge of the concave lens 110 is flush with the upper edge of the cover plate.
  • both the light-transmitting area 220 and the non-light-transmitting area 210 of the display screen 200 may cover the cover plate, and the light incident side of the concave lens 110 is adhered to the surface of the cover plate, or the light output of the concave lens 110 is One side of the surface is in contact with the cover surface.
  • the imaging lens group 120 is disposed on the light-emitting surface side of the concave lens 110 and is used for optically transforming the light emitted by the concave lens 110.
  • the imaging lens group 120 may be set to meet the imaging requirements and achieve the specified optical performance such as relative aperture and field of view.
  • the imaging lens group 120 may be disposed on the light emitting surface side of the concave lens 110 to perform optical conversion on the light emitted by the concave lens 110.
  • the optical conversion process here is mainly used for clear imaging at the image sensor 130, including focus adjustment, depth of field adjustment, and the like.
  • the optical axis of the concave lens 110 may be coaxial with the optical axis of the imaging lens group 120.
  • the image sensor 130 is disposed on a light emitting surface side of the imaging lens group 120, and is configured to collect an imaging image according to light emitted from the imaging lens group 120.
  • the image sensor 130 may be used to acquire images for imaging.
  • the image sensor 130 may be a charge coupled device (CCD) or a CMOS, which is not limited.
  • the image sensor 130 may be disposed on the light-emitting surface side of the imaging lens group 120, and the image sensor 130 acquires an imaging image according to light emitted from the imaging lens group 120.
  • FIG. 3 is a schematic diagram of an optical path when an imaging module collects an imaging image in an embodiment of the present disclosure.
  • 210 represents a non-light-transmitting area of the display screen.
  • FIG. 3 only uses the concave lens 110 as a plano-concave lens, and the image sensor 130 is a CMOS example.
  • the non-light-transmitting area 210 of the display screen is covered with a cover plate.
  • the light-transmitting area of the display screen does not cover the cover plate, and the edge of the concave lens 110 may be connected to the edge of the cover plate.
  • FIG. 3 is only an example in which the edge of the concave lens 110 is not in contact with the edge of the cover plate.
  • the concave lens 110 when the concave lens 110 is provided on the electronic device, the concave lens 110 diffuses the light transmitted through the light-transmitting area, and can display 8 image points on 4 CMOS, that is, when set on the electronic device After the concave lens 110, a larger framing range can be displayed in the same imaging area.
  • the imaging module 100 provides a concave lens 110 at a position corresponding to a light-transmitting area of a display screen to diffuse light transmitted through the light-transmitting area, and then uses an imaging lens group provided on the light-emitting surface side of the concave lens 110 120. Optically transform the light diffused by the concave lens 110, and then use the image sensor 130 disposed on the light-emitting surface side of the imaging lens group 120 to acquire an imaging image according to the light emitted from the imaging lens group 120.
  • a larger framing range can be displayed in the same imaging area, which can effectively improve the photographing experience of the user.
  • the present disclosure also proposes an electronic device.
  • FIG. 4 is a schematic structural diagram of an electronic device according to a second embodiment of the present disclosure.
  • the electronic device includes a display screen 200 and an imaging module 100. among them,
  • the display screen 200 includes a non-light-transmitting area 210 and a light-transmitting area 220.
  • the light-transmitting area 220 is provided with a concave lens 110 for diverging light.
  • a concave lens 110 may be provided at a position corresponding to the light-transmitting area 220 of the display screen 200, so that the light passing through the light-transmitting area 220 can be diffused by the concave lens 110.
  • the concave lens 110 may be a plano-concave lens, a light incident surface side of the concave lens 110 is a concave surface, and a light emitting surface side of the concave lens 120 is a flat surface.
  • the non-light-transmitting area 210 of the display screen 200 may be covered with a cover plate, and the light-transmitting area 220 of the display screen 200 may not cover the cover plate. Further, in order to ensure that the light path is clean, the edge of the concave lens 110 may be connected to the edge of the cover plate.
  • the thickness of the concave lens 110 may match the thickness of the cover plate, and the upper edge of the concave lens 110 is flush with the upper edge of the cover plate.
  • both the light-transmitting area 220 and the non-light-transmitting area 210 of the display screen 200 may cover the cover plate, and the light incident side of the concave lens 110 is adhered to the surface of the cover plate, or the light output of the concave lens 110 is One side of the surface is in contact with the cover surface.
  • the non-light-transmitting area 210 of the display screen 200 is covered with the cover plate, and the light-transmitting area 220 is not covered with the cover plate, and the upper edge of the concave lens 110 is flush with the upper edge of the cover plate.
  • the imaging module 100 is disposed on one side of the light-emitting surface of the concave lens 110, and is configured to perform imaging according to the light emitted by the concave lens 110.
  • imaging module 100 in the embodiment of FIG. 2 is also applicable to the imaging module 100 in this embodiment, and details are not described herein again.
  • the optical axis of the concave lens 110 may be coaxial with the optical axis of the imaging module 100.
  • a concave lens 110 is provided on the light-transmitting area 220 of the display screen 200 of the electronic device to diffuse the light, and then the imaging module 100 on the light emitting surface side of the concave lens 110 is used to diffuse the light according to the concave lens 110.
  • the electronic device may further include a processor 300, wherein the imaging module 100 and the processor 300 Electrical connection.
  • the processor 300 is configured to obtain an imaging image from the imaging module 100, perform interpolation processing on at least two adjacent pixel points in the imaging image according to the gray values of the prime points of the at least two adjacent images, and obtain interpolation pixel points.
  • the gray value of the image is corrected according to the gray value of the interpolation pixel.
  • the electronic device obtains an imaging image from an imaging module through a processor in the electronic device, and determines at least two adjacent pixel points in the imaging image according to the gray values of the prime points of the at least two adjacent images. Interpolation processing is performed to obtain the gray value of the interpolated pixel; according to the gray value of the interpolated pixel, the imaging image is corrected.
  • interpolation processing is performed to obtain the gray value of the interpolated pixel; according to the gray value of the interpolated pixel, the imaging image is corrected.
  • by inserting interpolation pixel points between at least two adjacent pixel points it is possible to correct the compressed imaged image, reduce distortion of the imaged image, and thereby improve the imaging effect.
  • the present disclosure also proposes an image processing method.
  • FIG. 6 is a schematic flowchart of an image processing method according to a fourth embodiment of the present disclosure.
  • the image processing method may include the following steps:
  • Step 101 Acquire an imaging image collected by an image sensor.
  • the image sensor is a photosensitive element, such as a CCD or a CMOS, which is not limited.
  • the image sensor may collect an imaging image according to the light emitted from the imaging lens group.
  • Step 102 Interpolate the gray values of at least two adjacent pixels in the imaging image to obtain the gray values of the interpolated pixels.
  • the framing range when the framing range is enlarged by setting a concave lens, a larger framing range will be displayed in the same imaging area, resulting in compression of the imaged image, which may cause distortion of the imaged image. Therefore, in the present disclosure, in order to correct the compressed image and reduce the distortion of the image, thereby improving the imaging effect, the gray values of at least two adjacent pixels in the image can be interpolated. Get the gray value of the interpolated pixel.
  • a mapping relationship between the gray value of at least two adjacent pixel points and the gray value of the interpolated pixel point may be established in advance, and at least two adjacent pixel points in the imaging image may be determined.
  • the grayscale value of the interpolated pixel point corresponding to the grayscale value of at least two adjacent pixel points can be obtained by querying the above mapping relationship, and the operation is simple and easy to implement.
  • a grayscale value and a brightness value of a pixel have a non-linear relationship.
  • a correspondence between the grayscale value and the brightness value may be a gamma curve as shown in FIG. 7.
  • the gray value of the interpolated pixel point can be determined according to the non-linear relationship between the gray value and the brightness value of the pixel point.
  • a correspondence relationship between a gray value and a brightness value of a pixel can be established in advance. After determining a gray value of at least two adjacent pixels, a correspondence relationship between the gray value and the brightness value can be queried. To determine a brightness value corresponding to each pixel of at least two adjacent pixels. Then, the brightness value of the interpolated pixel point is determined according to the brightness value query of at least two adjacent pixel points. For example, the average value of the brightness value query of at least two adjacent pixel points may be calculated, and the average value may be used as Interpolate the brightness values of pixels. For example, see 8.
  • the luminance value of the pixel is interpolated points may be (S 1 + S 2) / 2.
  • any brightness value between the brightness values queried by at least two adjacent pixel points may be used as the brightness value of the interpolated pixel point.
  • the brightness value corresponding to A can be determined as S 1
  • the brightness value corresponding to B is S 2
  • the brightness value of the interpolation pixel can be Alternatively, the brightness value between the brightness values queried by at least two adjacent pixel points may be determined according to any other algorithm, which is not limited.
  • the corresponding relationship between the gray value and the brightness can be queried according to the brightness value of the interpolation pixel to obtain the gray value of the interpolation pixel.
  • the gray value of the interpolation pixel point can be determined according to the gamma curve.
  • Step 103 Perform correction processing on the imaged image according to the gray value of the interpolation pixel point.
  • a correction process may be performed on the imaging image according to the gray value of the interpolation pixel point.
  • an interpolation pixel point may be inserted between at least two adjacent pixel points to obtain a corrected imaging image.
  • the gray value c corresponding to the interpolation pixel point can be inserted between a and b.
  • the image processing method of this embodiment obtains an imaging image collected by an image sensor; performs interpolation processing on the gray values of at least two adjacent pixels in the imaging image to obtain the gray values of the interpolation pixels; and according to the interpolation pixels
  • the gray value of the image is corrected for the image.
  • correction of the compressed imaging image can be achieved, distortion of the imaging image can be reduced, and the imaging effect can be effectively improved, which can be beneficial to overall Development of display electronic equipment.
  • the present disclosure also proposes another electronic device.
  • FIG. 9 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present disclosure.
  • the electronic device includes: a memory 401, a processor 402, and a computer program stored on the memory 401 and executable on the processor 402.
  • the processor 402 executes the program, the implementation as proposed in the foregoing embodiment of the present disclosure Image processing method.
  • the present disclosure also proposes a computer-readable storage medium on which a computer program is stored, which is characterized in that when the program is executed by a processor, the image processing method as proposed in the foregoing embodiment of the present disclosure is implemented.
  • first and second are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as “first” and “second” may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality” is at least two, for example, two, three, etc., unless it is specifically and specifically defined otherwise.
  • any process or method description in a flowchart or otherwise described herein can be understood as representing a module, fragment, or portion of code that includes one or more executable instructions for implementing steps of a custom logic function or process
  • the scope of the preferred embodiments of the present disclosure includes additional implementations in which the functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present disclosure belong.
  • a sequenced list of executable instructions that can be considered to implement a logical function can be embodied in any computer-readable medium,
  • the instruction execution system, device, or device such as a computer-based system, a system including a processor, or other system that can fetch and execute instructions from the instruction execution system, device, or device), or combine these instruction execution systems, devices, or devices Or equipment.
  • a "computer-readable medium” may be any device that can contain, store, communicate, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device.
  • computer readable media include the following: electrical connections (electronic devices) with one or more wirings, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disk read-only memory (CDROM).
  • the computer-readable medium may even be paper or other suitable medium on which the program can be printed, because, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable Processing to obtain the program electronically and then store it in computer memory.
  • portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof.
  • multiple steps or methods may be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system.
  • Discrete logic circuits with logic gates for implementing logic functions on data signals Logic circuits, ASICs with suitable combinational logic gate circuits, programmable gate arrays (PGA), field programmable gate arrays (FPGAs), etc.
  • a person of ordinary skill in the art can understand that all or part of the steps carried by the methods in the foregoing embodiments may be implemented by a program instructing related hardware.
  • the program may be stored in a computer-readable storage medium.
  • the program is When executed, one or a combination of the steps of the method embodiment is included.
  • each functional unit in each embodiment of the present disclosure may be integrated into one processing module, or each unit may exist separately physically, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or software functional modules. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
  • the aforementioned storage medium may be a read-only memory, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

Provided are an imaging module, an electronic device, an image processing method and a storage medium. The imaging module is arranged below a display screen of an electronic device, at a position that corresponds to a light-transmitting region of the display screen. The imaging module comprises: a concave lens, an imaging lens group and an image sensor. The concave lens is arranged at a position corresponding to the light-transmitting region of the display screen, and is used for diverging light passing through the light-transmitting region. The imaging lens group is arranged at a side of a light emergent face of the concave lens and is used for conducting optical transformation on the light diverged by the concave lens. The image sensor is arranged at a side of a light emergent face of the imaging lens group, and is used for collecting an imaged image according to light emitted from the imaging lens group. By means of the imaging module, a larger viewfinder coverage can be displayed in the same imaging region, effectively enhancing the photography experience of a user.

Description

成像模组、电子设备、图像处理方法和存储介质Imaging module, electronic device, image processing method and storage medium
相关申请的交叉引用Cross-reference to related applications
本公开要求OPPO广东移动通信有限公司于2018年05月23日提交的、申请名称为“成像模组、电子设备、图像处理方法和存储介质”的、中国专利申请号“201810500609.3”的优先权,以及于2018年05月23日提交的、申请名称为“成像模组和电子设备”的、中国专利申请号“201820778482.7”的优先权。This disclosure claims the priority of China Patent Application No. “201810500609.3” filed by OPPO Guangdong Mobile Communication Co., Ltd. on May 23, 2018, with the application name “Imaging Module, Electronic Equipment, Image Processing Method and Storage Medium”, And the priority of the Chinese patent application number "201820778482.7", filed on May 23, 2018, with the application name "Imaging Module and Electronic Equipment".
技术领域Technical field
本公开涉及移动终端技术领域,尤其涉及一种成像模组、电子设备、图像处理方法和存储介质。The present disclosure relates to the technical field of mobile terminals, and in particular, to an imaging module, an electronic device, an image processing method, and a storage medium.
背景技术Background technique
目前,在设计全面屏的电子设备时,通过将显示屏的预设位置挖空,或者将显示屏的预设位置处透光设置,而后将前置摄像头设置在显示屏预设位置下方,从而前置摄像头可以通过挖空位置或者透光区域拍摄图像。At present, when designing a full-screen electronic device, a preset position of the display screen is hollowed out, or a preset position of the display screen is set to transmit light, and then the front camera is set below the preset position of the display screen, thereby The front camera can capture images through hollowed out positions or light-transmitting areas.
公开内容Public content
本公开提出一种成像模组、电子设备、图像处理方法和存储介质,以实现在相同的成像区域中,显示更大的取景范围,能够有效提升用户的拍照体验,用于解决现有技术中将前置摄像头设置在显示屏的透光区域下方,前置摄像头的取景范围较小的技术问题。The present disclosure provides an imaging module, an electronic device, an image processing method, and a storage medium, so as to display a larger framing range in the same imaging area, which can effectively improve the user's photographing experience, and is used to solve the problems in the prior art. The technical problem that the front camera is set below the light-transmitting area of the display screen and the viewfinder range of the front camera is small.
本公开一方面实施例提出了一种成像模组,所述成像模组设置于电子设备的显示屏下方,与所述显示屏的透光区域对应位置,所述成像模组包括:凹透镜、成像透镜组和图像传感器;An embodiment of one aspect of the present disclosure proposes an imaging module. The imaging module is disposed below a display screen of an electronic device and corresponds to a light-transmitting area of the display screen. The imaging module includes: a concave lens, and an imaging module. Lens group and image sensor;
所述凹透镜,设置于所述显示屏的透光区域对应位置,用于对透过所述透光区域的光线进行发散;The concave lens is disposed at a position corresponding to the light-transmitting area of the display screen, and is used to diffuse the light passing through the light-transmitting area;
所述成像透镜组,设置于所述凹透镜的出光面一侧,用于对所述凹透镜发散后的光线进行光学变换;The imaging lens group is disposed on one side of the light-emitting surface of the concave lens, and is used for optically transforming the light diffused by the concave lens;
所述图像传感器,设置于所述成像透镜组的出光面一侧,用于根据所述成像透镜组出射的光线采集成像图像。The image sensor is disposed on one side of a light emitting surface of the imaging lens group, and is configured to collect an imaging image according to light emitted from the imaging lens group.
本公开实施例的成像模组,通过在显示屏的透光区域对应位置设置凹透镜,对透过透光区域的光线进行发散,而后利用设置于凹透镜的出光面一侧的成像透镜组,对凹透镜发散后的光线进行光学变换,之后利用设置于成像透镜组的出光面一侧的图像传感器,根据成像透镜组出射的光线采集成像图像。本公开中,利用在显示屏的透光区域对应位置设置凹透镜,可以实现在相同的成像区域中,显示更大的取景范围,能够有效提升用户的拍照体验。The imaging module in the embodiment of the present disclosure uses a concave lens at a position corresponding to the light-transmitting area of the display screen to diffuse the light transmitted through the light-transmitting area, and then uses an imaging lens group disposed on the light-emitting surface side of the concave lens to The divergent light is optically transformed, and then an image sensor is used to acquire an imaged image based on the light emitted from the imaging lens group by using an image sensor disposed on the light emitting surface side of the imaging lens group. In the present disclosure, by setting a concave lens at a position corresponding to the light-transmitting area of the display screen, a larger framing range can be displayed in the same imaging area, which can effectively improve the photographing experience of the user.
本公开又一方面实施例提出了一种电子设备,所述电子设备包括显示屏,和成像模组;An embodiment of another aspect of the present disclosure provides an electronic device, where the electronic device includes a display screen and an imaging module;
所述显示屏,包括透光区域以及非透光区域,其中,所述透光区域设置有凹透镜,用于对光线进行发散;The display screen includes a light-transmitting area and a non-light-transmitting area, wherein the light-transmitting area is provided with a concave lens for diverging light;
所述成像模组,设置于所述凹透镜的出光面一侧,用于根据所述凹透镜发散后的光线进行成像。The imaging module is disposed on one side of the light-emitting surface of the concave lens, and is configured to perform imaging according to the light emitted by the concave lens.
本公开实施例的电子设备,通过在电子设备的显示屏的透光区域设置凹透镜,对光线进行发散,而后利用凹透镜的出光面一侧的成像模组,根据凹透镜发散后的光线进行成像。由此,可以实现在相同的成像区域中,显示更大的取景范围,能够有效提升用户的拍照体验。The electronic device according to the embodiment of the present disclosure diffuses light by providing a concave lens in a light-transmitting area of a display screen of the electronic device, and then uses an imaging module on the light emitting surface side of the concave lens to perform imaging based on the light emitted by the concave lens. Therefore, a larger framing range can be displayed in the same imaging area, which can effectively improve the user's photographing experience.
本公开又一方面实施例提出了一种图像处理方法,所述方法包括:An embodiment of another aspect of the present disclosure provides an image processing method, where the method includes:
获取图像传感器采集的成像图像;Acquiring imaging images acquired by an image sensor;
对所述成像图像中至少两个相邻的像素点的灰度值进行插值处理,得到插值像素点的灰度值;Performing interpolation processing on the gray values of at least two adjacent pixels in the imaging image to obtain the gray values of the interpolated pixels;
根据所述插值像素点的灰度值,对所述成像图像进行修正处理。Performing correction processing on the imaging image according to the gray value of the interpolation pixel point.
本公开实施例的图像处理方法,通过获取图像传感器采集的成像图像;对成像图像中至少两个相邻的像素点的灰度值进行插值处理,得到插值像素点的灰度值;根据插值像素点的灰度值,对成像图像进行修正处理。本公开中,通过在至少两个相邻的像素点之间,插入插值像素点,可以实现将压缩后的成像图像进行修正,减小成像图像的畸变,能够有效提升成像效果,从而可以利于全面屏电子设备的发展。The image processing method according to the embodiment of the present disclosure includes acquiring an imaging image acquired by an image sensor; performing interpolation processing on gray values of at least two adjacent pixel points in the imaging image to obtain gray values of the interpolation pixel points; and according to the interpolation pixels The gray value of the point is used to correct the image. In the present disclosure, by inserting interpolation pixels between at least two adjacent pixels, correction of the compressed imaging image can be achieved, distortion of the imaging image can be reduced, and the imaging effect can be effectively improved, which can be beneficial to overall Development of display electronic equipment.
本公开又一方面实施例提出了另一种电子设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时,实现如本公开前述实施例提出的图像处理方法。An embodiment of yet another aspect of the present disclosure provides another electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the processor implements the present invention. The image processing method proposed by the foregoing embodiment is disclosed.
本公开又一方面实施例提出了一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如本公开前述实施例提出的图像处理方法。An embodiment of still another aspect of the present disclosure provides a computer-readable storage medium on which a computer program is stored, which is characterized in that when the program is executed by a processor, the image processing method according to the foregoing embodiment of the present disclosure is implemented.
本公开附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本公开的实践了解到。Additional aspects and advantages of the present disclosure will be given in part in the following description, and part of them will become apparent from the following description, or be learned through the practice of the present disclosure.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present disclosure more clearly, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present disclosure. Those of ordinary skill in the art can obtain other drawings based on these drawings without paying creative labor.
图1为传统前置摄像头采集成像图像时的光路示意图;FIG. 1 is a schematic diagram of a light path when a conventional front camera collects an imaging image; FIG.
图2为本公开实施例一所提供的成像模组的结构示意图;2 is a schematic structural diagram of an imaging module according to a first embodiment of the present disclosure;
图3为本公开实施例中成像模组采集成像图像时的光路示意图;3 is a schematic diagram of an optical path when an imaging module collects an imaging image in an embodiment of the present disclosure;
图4为本公开实施例二所提供的电子设备的结构示意图;4 is a schematic structural diagram of an electronic device according to a second embodiment of the present disclosure;
图5为本公开实施例三所提供的电子设备的结构示意图;5 is a schematic structural diagram of an electronic device according to a third embodiment of the present disclosure;
图6为本公开实施例四所提供的图像处理方法的流程示意图;6 is a schematic flowchart of an image processing method according to a fourth embodiment of the present disclosure;
图7为本公开实施例中像素点的灰度值和亮度之间的对应关系示意图;FIG. 7 is a schematic diagram of a correspondence relationship between a gray value and brightness of a pixel in an embodiment of the present disclosure; FIG.
图8为本公开实施例中插值像素点的确定示意图;FIG. 8 is a schematic diagram of determining interpolation pixels in an embodiment of the present disclosure;
图9为本公开实施例五所提供的电子设备的结构示意图。FIG. 9 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present disclosure.
具体实施方式Detailed ways
下面详细描述本公开的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本公开,而不能理解为对本公开的限制。Hereinafter, embodiments of the present disclosure will be described in detail. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the drawings are exemplary and are intended to explain the present disclosure, and should not be construed as limiting the present disclosure.
目前,在设计全面屏的电子设备时,通过将显示屏的预设位置挖空,或者将显示屏的预设位置处透光设置,而后将前置摄像头设置在显示屏预设位置下方,从而前置摄像头可以通过挖空位置或者透光区域拍摄图像。At present, when designing a full-screen electronic device, a preset position of the display screen is hollowed out, or a preset position of the display screen is set to transmit light, and then the front camera is set below the preset position of the display screen, thereby The front camera can capture images through hollowed out positions or light-transmitting areas.
例如,参见图1,图1为传统前置摄像头采集成像图像时的光路示意图。其中,11表示显示屏的非透光区域,前置摄像头包括:成像透镜组12和图像传感器13。成像透镜组12从显示屏的非透光区域11中间的透光区域,接收光线,并将光线出射至图像传感器13,从而图像传感器13可以采集成像图像。For example, refer to FIG. 1, which is a schematic diagram of an optical path when a conventional front camera collects an imaging image. Among them, 11 indicates a non-transparent area of the display screen, and the front camera includes: an imaging lens group 12 and an image sensor 13. The imaging lens group 12 receives light from a light-transmitting area in the middle of the non-light-transmitting area 11 of the display screen, and emits the light to the image sensor 13 so that the image sensor 13 can collect an imaging image.
其中,图1中的图像传感器13为互补金属氧化物半导体器件(Complementary Metal Oxide Semiconductor,简称CMOS),由CMOS根据成像透镜组12出射的光线,采集成像图像。Among them, the image sensor 13 in FIG. 1 is a complementary metal oxide semiconductor device (Complementary Metal Oxide Semiconductor) (CMOS for short), and the CMOS collects an imaging image according to the light emitted from the imaging lens group 12.
由图1可知,将前置摄像头设置在显示屏的透光区域下方,当取景画面中有10个图像点位时,CMOS只能采集4个图像点位,导致取景画面无法完全显示,可知,前置摄像头的 取景范围较小。As can be seen from Figure 1, when the front camera is set under the light-transmitting area of the display screen, when there are 10 image points in the framing screen, CMOS can only capture 4 image points, resulting in the framing screen not being fully displayed. The front-facing camera has a smaller viewing range.
本公开主要针对现有技术中将前置摄像头设置在显示屏的透光区域下方,导致取景画面无法完全显示,即前置摄像头的取景范围较小的技术问题,提出了一种成像模组。The present disclosure is mainly directed to the technical problem that the front camera is set under the light-transmitting area of the display screen, which causes the viewfinder image to be incompletely displayed, that is, the front camera has a small viewfinder range, and proposes an imaging module.
本公开实施例中,通过在显示屏的透光区域对应位置设置凹透镜,对透过透光区域的光线进行发散,而后利用设置于凹透镜的出光面一侧的成像透镜组,对凹透镜发散后的光线进行光学变换,之后利用设置于成像透镜组的出光面一侧的图像传感器,根据成像透镜组出射的光线采集成像图像。本公开中,利用在显示屏的透光区域对应位置设置凹透镜,可以实现在相同的成像区域中,显示更大的取景范围,能够有效提升用户的拍照体验。In the embodiment of the present disclosure, a concave lens is provided at a position corresponding to the light transmitting area of the display screen to diffuse the light transmitted through the light transmitting area, and then the imaging lens group provided on the light emitting surface side of the concave lens is used to diffuse the concave lens. The light is optically transformed, and then an image sensor disposed on the light emitting surface side of the imaging lens group is used to acquire an imaging image according to the light emitted from the imaging lens group. In the present disclosure, by setting a concave lens at a position corresponding to the light-transmitting area of the display screen, a larger framing range can be displayed in the same imaging area, which can effectively improve the photographing experience of the user.
下面参考附图描述本公开实施例的成像模组、电子设备、图像处理方法和存储介质。Hereinafter, an imaging module, an electronic device, an image processing method, and a storage medium according to embodiments of the present disclosure will be described with reference to the drawings.
图2为本公开实施例一所提供的成像模组的结构示意图,图2中凹透镜110、成像透镜组120和图像传感器130之间的连接关系,表示光线传输顺序,光线从凹透镜110经过成像透镜组120入射到图像传感器130成像。FIG. 2 is a schematic structural diagram of an imaging module provided in Embodiment 1 of the present disclosure. The connection relationship between the concave lens 110, the imaging lens group 120, and the image sensor 130 in FIG. 2 represents a light transmission sequence, and light passes from the concave lens 110 to the imaging lens. The group 120 is incident on the image sensor 130 to form an image.
如图2所示,该成像模组100,设置于电子设备的显示屏下方,与显示屏的透光区域对应位置,成像模组100包括:凹透镜110、成像透镜组120和图像传感器130。其中,As shown in FIG. 2, the imaging module 100 is disposed below a display screen of an electronic device and corresponds to a transparent area of the display screen. The imaging module 100 includes a concave lens 110, an imaging lens group 120, and an image sensor 130. among them,
凹透镜110,设置于显示屏的透光区域对应位置,用于对透过透光区域的光线进行发散。The concave lens 110 is disposed at a position corresponding to the light-transmitting area of the display screen, and is used to diffuse the light passing through the light-transmitting area.
本公开实施例中,为了扩大取景范围,可以在显示屏的透光区域对应位置处设置凹透镜110,从而可以通过凹透镜110对透过透光区域的光线进行发散。In the embodiment of the present disclosure, in order to expand the framing range, a concave lens 110 may be provided at a position corresponding to the light-transmitting area of the display screen, so that the light passing through the light-transmitting area can be diffused by the concave lens 110.
作为一种可能的实现方式,本公开中,凹透镜110可以为平凹透镜,凹透镜110的入光面一侧为凹面,凹透镜120的出光面一侧为平面。As a possible implementation manner, in the present disclosure, the concave lens 110 may be a plano-concave lens, a light incident surface side of the concave lens 110 is a concave surface, and a light emitting surface side of the concave lens 120 is a flat surface.
作为一种可能的实现方式,显示屏的非透光区域可以覆盖有盖板,而显示屏的透光区域可以未覆盖盖板。进一步地,为了保证光路清洁,凹透镜110的边缘可以与盖板的边缘相接。As a possible implementation manner, the non-light-transmitting area of the display screen may be covered with a cover plate, and the light-transmitting area of the display screen may not be covered with the cover plate. Further, in order to ensure that the light path is clean, the edge of the concave lens 110 may be connected to the edge of the cover plate.
可选地,为了保证电子设备外观的美观性,凹透镜110的厚度可以与盖板的厚度匹配,且凹透镜110的上边缘与盖板的上边缘平齐。Optionally, in order to ensure the aesthetic appearance of the electronic device, the thickness of the concave lens 110 may match the thickness of the cover plate, and the upper edge of the concave lens 110 is flush with the upper edge of the cover plate.
作为另一种可能的实现方式,显示屏200的透光区域220和非透光区域210可以均覆盖盖板,凹透镜110的入光面一侧与盖板表面贴合,或者,凹透镜110的出光面一侧与盖板表面贴合。As another possible implementation manner, both the light-transmitting area 220 and the non-light-transmitting area 210 of the display screen 200 may cover the cover plate, and the light incident side of the concave lens 110 is adhered to the surface of the cover plate, or the light output of the concave lens 110 is One side of the surface is in contact with the cover surface.
成像透镜组120,设置于凹透镜110的出光面一侧,用于对凹透镜110发散后的光线进行光学变换。The imaging lens group 120 is disposed on the light-emitting surface side of the concave lens 110 and is used for optically transforming the light emitted by the concave lens 110.
一般情况下,单独一片透镜可能无法满足校正像差的要求,因此,可以通过设置成像透镜组120,满足成像要求,以及达到指定的相对孔径、视场角等光学性能。具体地,本 公开实施例中,成像透镜组120可以设置于凹透镜110的出光面一侧,对凹透镜110发散后的光线进行光学变换。具体的这里光学变换过程主要用于在图像传感器130处清晰成像,包括调焦,景深调整等。In general, a single lens may not meet the requirements for correcting aberrations. Therefore, the imaging lens group 120 may be set to meet the imaging requirements and achieve the specified optical performance such as relative aperture and field of view. Specifically, in the embodiment of the present disclosure, the imaging lens group 120 may be disposed on the light emitting surface side of the concave lens 110 to perform optical conversion on the light emitted by the concave lens 110. Specifically, the optical conversion process here is mainly used for clear imaging at the image sensor 130, including focus adjustment, depth of field adjustment, and the like.
作为一种可能的实现方式,为了降低成像畸变,保证较好的成像效果,本公开实施例中,凹透镜110的光轴,可以与成像透镜组120的光轴共轴。As a possible implementation manner, in order to reduce imaging distortion and ensure a good imaging effect, in the embodiment of the present disclosure, the optical axis of the concave lens 110 may be coaxial with the optical axis of the imaging lens group 120.
图像传感器130,设置于成像透镜组120的出光面一侧,用于根据成像透镜组120出射的光线采集成像图像。The image sensor 130 is disposed on a light emitting surface side of the imaging lens group 120, and is configured to collect an imaging image according to light emitted from the imaging lens group 120.
本公开实施例中,可以通过图像传感器130,采集图像成像。其中,图像传感器130可以为电荷耦合元件(Charge Coupled Device,简称CCD),或者为CMOS,对此不作限制。In the embodiment of the present disclosure, the image sensor 130 may be used to acquire images for imaging. The image sensor 130 may be a charge coupled device (CCD) or a CMOS, which is not limited.
具体地,图像传感器130可以设置于成像透镜组120的出光面一侧,图像传感器130根据成像透镜组120出射的光线,采集成像图像。Specifically, the image sensor 130 may be disposed on the light-emitting surface side of the imaging lens group 120, and the image sensor 130 acquires an imaging image according to light emitted from the imaging lens group 120.
作为一种示例,参见图3,图3为本公开实施例中成像模组采集成像图像时的光路示意图。其中,210表示显示屏的非透光区域。需要说明的是,图3仅以凹透镜110为平凹透镜,以及图像传感器130为CMOS示例。As an example, refer to FIG. 3, which is a schematic diagram of an optical path when an imaging module collects an imaging image in an embodiment of the present disclosure. Among them, 210 represents a non-light-transmitting area of the display screen. It should be noted that FIG. 3 only uses the concave lens 110 as a plano-concave lens, and the image sensor 130 is a CMOS example.
显示屏的非透光区域210覆盖有盖板,为了增大入射到图像传感器130的光通量,显示屏的透光区域未覆盖盖板,而凹透镜110的边缘可以与盖板的边缘相接。为了便于分析和表述,图3仅以凹透镜110的边缘未与盖板的边缘相接示例。The non-light-transmitting area 210 of the display screen is covered with a cover plate. In order to increase the light flux incident on the image sensor 130, the light-transmitting area of the display screen does not cover the cover plate, and the edge of the concave lens 110 may be connected to the edge of the cover plate. For the convenience of analysis and expression, FIG. 3 is only an example in which the edge of the concave lens 110 is not in contact with the edge of the cover plate.
由图3可知,当在电子设备上设置凹透镜110后,凹透镜110对透过透光区域的光线进行发散,在4个CMOS上可以显示8个图像点,也就是说,当在电子设备上设置凹透镜110后,在相同的成像区域中,可以显示更大的取景范围。It can be seen from FIG. 3 that when the concave lens 110 is provided on the electronic device, the concave lens 110 diffuses the light transmitted through the light-transmitting area, and can display 8 image points on 4 CMOS, that is, when set on the electronic device After the concave lens 110, a larger framing range can be displayed in the same imaging area.
本公开实施例的成像模组100,通过在显示屏的透光区域对应位置设置凹透镜110,对透过透光区域的光线进行发散,而后利用设置于凹透镜110的出光面一侧的成像透镜组120,对凹透镜110发散后的光线进行光学变换,之后利用设置于成像透镜组120的出光面一侧的图像传感器130,根据成像透镜组120出射的光线采集成像图像。本公开中,利用在显示屏的透光区域对应位置设置凹透镜110,可以实现在相同的成像区域中,显示更大的取景范围,能够有效提升用户的拍照体验。The imaging module 100 according to the embodiment of the present disclosure provides a concave lens 110 at a position corresponding to a light-transmitting area of a display screen to diffuse light transmitted through the light-transmitting area, and then uses an imaging lens group provided on the light-emitting surface side of the concave lens 110 120. Optically transform the light diffused by the concave lens 110, and then use the image sensor 130 disposed on the light-emitting surface side of the imaging lens group 120 to acquire an imaging image according to the light emitted from the imaging lens group 120. In the present disclosure, by setting the concave lens 110 at a position corresponding to the light-transmitting area of the display screen, a larger framing range can be displayed in the same imaging area, which can effectively improve the photographing experience of the user.
为了实现上述实施例,本公开还提出一种电子设备。In order to implement the above embodiments, the present disclosure also proposes an electronic device.
图4为本公开实施例二所提供的电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device according to a second embodiment of the present disclosure.
如图4所示,该电子设备包括:显示屏200和成像模组100。其中,As shown in FIG. 4, the electronic device includes a display screen 200 and an imaging module 100. among them,
显示屏200,包括非透光区域210以及透光区域220,其中,透光区域220设置有凹透镜110,用于对光线进行发散。The display screen 200 includes a non-light-transmitting area 210 and a light-transmitting area 220. The light-transmitting area 220 is provided with a concave lens 110 for diverging light.
本公开实施例中,为了扩大取景范围,可以在显示屏200的透光区域220对应位置处设置凹透镜110,从而可以通过凹透镜110对透过透光区域220的光线进行发散。In the embodiment of the present disclosure, in order to expand the framing range, a concave lens 110 may be provided at a position corresponding to the light-transmitting area 220 of the display screen 200, so that the light passing through the light-transmitting area 220 can be diffused by the concave lens 110.
作为一种可能的实现方式,本公开中,凹透镜110可以为平凹透镜,凹透镜110的入光面一侧为凹面,凹透镜120的出光面一侧为平面。As a possible implementation manner, in the present disclosure, the concave lens 110 may be a plano-concave lens, a light incident surface side of the concave lens 110 is a concave surface, and a light emitting surface side of the concave lens 120 is a flat surface.
作为一种可能的实现方式,显示屏200的非透光区域210可以覆盖有盖板,而显示屏200的透光区域220可以未覆盖盖板。进一步地,为了保证光路清洁,凹透镜110的边缘可以与盖板的边缘相接。As a possible implementation manner, the non-light-transmitting area 210 of the display screen 200 may be covered with a cover plate, and the light-transmitting area 220 of the display screen 200 may not cover the cover plate. Further, in order to ensure that the light path is clean, the edge of the concave lens 110 may be connected to the edge of the cover plate.
可选地,为了保证电子设备外观的美观性,凹透镜110的厚度可以与盖板的厚度匹配,且凹透镜110的上边缘与盖板的上边缘平齐。Optionally, in order to ensure the aesthetic appearance of the electronic device, the thickness of the concave lens 110 may match the thickness of the cover plate, and the upper edge of the concave lens 110 is flush with the upper edge of the cover plate.
作为另一种可能的实现方式,显示屏200的透光区域220和非透光区域210可以均覆盖盖板,凹透镜110的入光面一侧与盖板表面贴合,或者,凹透镜110的出光面一侧与盖板表面贴合。As another possible implementation manner, both the light-transmitting area 220 and the non-light-transmitting area 210 of the display screen 200 may cover the cover plate, and the light incident side of the concave lens 110 is adhered to the surface of the cover plate, or the light output of the concave lens 110 is One side of the surface is in contact with the cover surface.
本公开实施例仅以显示屏200的非透光区域210覆盖有盖板,而透光区域220未覆盖有盖板,且凹透镜110的上边缘与盖板的上边缘平齐示例。In the embodiment of the present disclosure, only the non-light-transmitting area 210 of the display screen 200 is covered with the cover plate, and the light-transmitting area 220 is not covered with the cover plate, and the upper edge of the concave lens 110 is flush with the upper edge of the cover plate.
成像模组100,设置于凹透镜110的出光面一侧,用于根据凹透镜110发散后的光线进行成像。The imaging module 100 is disposed on one side of the light-emitting surface of the concave lens 110, and is configured to perform imaging according to the light emitted by the concave lens 110.
需要说明的是,上述图2实施例中对成像模组100的解释说明也适应于本实施例中的成像模组100,此处不再赘述。It should be noted that the explanation of the imaging module 100 in the embodiment of FIG. 2 is also applicable to the imaging module 100 in this embodiment, and details are not described herein again.
作为一种可能的实现方式,为了降低成像畸变,从而保证较好的成像效果,本公开实施例中,凹透镜110的光轴,可以与成像模组100的光轴共轴。As a possible implementation manner, in order to reduce imaging distortion and thereby ensure a better imaging effect, in the embodiment of the present disclosure, the optical axis of the concave lens 110 may be coaxial with the optical axis of the imaging module 100.
本公开实施例的电子设备,通过在电子设备的显示屏200的透光区域220设置凹透镜110,对光线进行发散,而后利用凹透镜110的出光面一侧的成像模组100,根据凹透镜110发散后的光线进行成像。由此,可以实现在相同的成像区域中,显示更大的取景范围,能够有效提升用户的拍照体验。In the electronic device according to the embodiment of the present disclosure, a concave lens 110 is provided on the light-transmitting area 220 of the display screen 200 of the electronic device to diffuse the light, and then the imaging module 100 on the light emitting surface side of the concave lens 110 is used to diffuse the light according to the concave lens 110. Light for imaging. Therefore, a larger framing range can be displayed in the same imaging area, which can effectively improve the user's photographing experience.
本公开实施例中,当通过设置凹透镜110来扩大取景范围后,在相同的成像区域中,将显示更大的取景范围,从而导致成像图像被压缩。例如,参见图1和图3,当未在电子设备上设置凹透镜110时,由图1可知,在4个CMOS上显示了4个图像点,而当在电子设备上设置凹透镜110后,在4个CMOS上显示了8个图像点,也就是说,当在电子设备上设置凹透镜110后,在相同的成像区域中,可以显示更大的取景范围,从而导致成像图像被压缩,可能造成成像图像的畸变。因此,本公开中,为了实现对成像图像进行修正,减小成像图像的畸变,从而提升成像效果,参见图5,该电子设备还可以包括处理器300,其中,成像模组100与处理器300电性连接。In the embodiment of the present disclosure, when the framing range is enlarged by setting the concave lens 110, a larger framing range will be displayed in the same imaging area, thereby causing the imaging image to be compressed. For example, referring to FIGS. 1 and 3, when the concave lens 110 is not provided on the electronic device, it can be known from FIG. 1 that 4 image points are displayed on 4 CMOS, and when the concave lens 110 is provided on the electronic device, the 8 image points are displayed on each CMOS, that is, after the concave lens 110 is set on the electronic device, a larger framing range can be displayed in the same imaging area, which results in the imaging image being compressed, which may cause the imaging image Distortion. Therefore, in the present disclosure, in order to correct the imaged image and reduce the distortion of the imaged image, thereby improving the imaging effect, referring to FIG. 5, the electronic device may further include a processor 300, wherein the imaging module 100 and the processor 300 Electrical connection.
处理器300,用于从成像模组100获取成像图像,对成像图像中至少两个相邻的像素点,根据至少两个相邻像的素点的灰度值进行插值处理,得到插值像素点的灰度值;根据插值像素点的灰度值,对成像图像进行修正处理。具体执行过程可以参见后续实施例中图像处理方法的执行过程,此处不做赘述。The processor 300 is configured to obtain an imaging image from the imaging module 100, perform interpolation processing on at least two adjacent pixel points in the imaging image according to the gray values of the prime points of the at least two adjacent images, and obtain interpolation pixel points. The gray value of the image is corrected according to the gray value of the interpolation pixel. For the specific execution process, refer to the execution process of the image processing method in the subsequent embodiments, and details are not described herein.
本公开实施例的电子设备,通过电子设备中的处理器从成像模组获取成像图像,对成像图像中至少两个相邻的像素点,根据至少两个相邻像的素点的灰度值进行插值处理,得到插值像素点的灰度值;根据插值像素点的灰度值,对成像图像进行修正处理。本公开中,通过在至少两个相邻的像素点之间,插入插值像素点,可以实现将压缩后的成像图像进行修正,减小成像图像的畸变,从而提升成像效果。The electronic device according to the embodiment of the present disclosure obtains an imaging image from an imaging module through a processor in the electronic device, and determines at least two adjacent pixel points in the imaging image according to the gray values of the prime points of the at least two adjacent images. Interpolation processing is performed to obtain the gray value of the interpolated pixel; according to the gray value of the interpolated pixel, the imaging image is corrected. In the present disclosure, by inserting interpolation pixel points between at least two adjacent pixel points, it is possible to correct the compressed imaged image, reduce distortion of the imaged image, and thereby improve the imaging effect.
为了实现上述实施例,本公开还提出一种图像处理方法。In order to implement the above embodiments, the present disclosure also proposes an image processing method.
图6为本公开实施例四所提供的图像处理方法的流程示意图。FIG. 6 is a schematic flowchart of an image processing method according to a fourth embodiment of the present disclosure.
如图6所示,该图像处理方法可以包括以下步骤:As shown in FIG. 6, the image processing method may include the following steps:
步骤101,获取图像传感器采集的成像图像。Step 101: Acquire an imaging image collected by an image sensor.
本公开实施例中,图像传感器为感光元件,例如可以为CCD,或者为CMOS,对此不作限制。In the embodiment of the present disclosure, the image sensor is a photosensitive element, such as a CCD or a CMOS, which is not limited.
具体地,图像传感器可以根据成像透镜组出射的光线采集成像图像。Specifically, the image sensor may collect an imaging image according to the light emitted from the imaging lens group.
步骤102,对成像图像中至少两个相邻的像素点的灰度值进行插值处理,得到插值像素点的灰度值。Step 102: Interpolate the gray values of at least two adjacent pixels in the imaging image to obtain the gray values of the interpolated pixels.
本公开实施例中,当通过设置凹透镜来扩大取景范围后,在相同的成像区域中,将显示更大的取景范围,从而导致成像图像被压缩,可能造成成像图像的畸变。因此,本公开中,为了实现将压缩后的成像图像进行修正,减小成像图像的畸变,从而提升成像效果,可以对成像图像中至少两个相邻的像素点的灰度值进行插值处理,得到插值像素点的灰度值。In the embodiment of the present disclosure, when the framing range is enlarged by setting a concave lens, a larger framing range will be displayed in the same imaging area, resulting in compression of the imaged image, which may cause distortion of the imaged image. Therefore, in the present disclosure, in order to correct the compressed image and reduce the distortion of the image, thereby improving the imaging effect, the gray values of at least two adjacent pixels in the image can be interpolated. Get the gray value of the interpolated pixel.
作为一种可能的实现方式,可以预先建立至少两个相邻的像素点的灰度值与插值像素点的灰度值之间的映射关系,在确定成像图像中至少两个相邻的像素点的灰度值时,可以通过查询上述映射关系,获取与至少两个相邻的像素点的灰度值对应的插值像素点的灰度值,操作简单且易于实现。As a possible implementation manner, a mapping relationship between the gray value of at least two adjacent pixel points and the gray value of the interpolated pixel point may be established in advance, and at least two adjacent pixel points in the imaging image may be determined. When querying the grayscale value, the grayscale value of the interpolated pixel point corresponding to the grayscale value of at least two adjacent pixel points can be obtained by querying the above mapping relationship, and the operation is simple and easy to implement.
作为另一种可能的实现方式,像素点的灰度值与亮度值之间具有非线性关系,例如灰度值和亮度值之间的对应关系可以为如图7所示的gamma曲线。可以根据像素点的灰度值与亮度值之间的非线性关系,确定插值像素点的灰度值。As another possible implementation manner, a grayscale value and a brightness value of a pixel have a non-linear relationship. For example, a correspondence between the grayscale value and the brightness value may be a gamma curve as shown in FIG. 7. The gray value of the interpolated pixel point can be determined according to the non-linear relationship between the gray value and the brightness value of the pixel point.
具体地,可以预先建立像素点的灰度值与亮度值之间的对应关系,在确定至少两个相 邻的像素点的灰度值后,可以查询灰度值与亮度值之间的对应关系,确定至少两个相邻的像素点中每个像素点对应的亮度值。而后,根据至少两个相邻的像素点查询到的亮度值,确定插值像素点的亮度值,例如,可以对至少两个相邻的像素点查询到的亮度值计算平均值,将平均值作为插值像素点的亮度值,举例而言,参见8,当确定两个相邻的像素点的灰度值为A和B时,根据gamma曲线,可以确定A对应的亮度值为S 1,B对应的亮度值为S 2,则插值像素点的亮度值可以为(S 1+S 2)/2。 Specifically, a correspondence relationship between a gray value and a brightness value of a pixel can be established in advance. After determining a gray value of at least two adjacent pixels, a correspondence relationship between the gray value and the brightness value can be queried. To determine a brightness value corresponding to each pixel of at least two adjacent pixels. Then, the brightness value of the interpolated pixel point is determined according to the brightness value query of at least two adjacent pixel points. For example, the average value of the brightness value query of at least two adjacent pixel points may be calculated, and the average value may be used as Interpolate the brightness values of pixels. For example, see 8. When the gray values of two adjacent pixels are determined as A and B, according to the gamma curve, the brightness value corresponding to A can be determined as S 1 , and B corresponds to luminance value S 2, the luminance value of the pixel is interpolated points may be (S 1 + S 2) / 2.
或者,可以将至少两个相邻的像素点查询到的亮度值之间的任一亮度值,作为插值像素点的亮度值。举例而言,当确定两个相邻的像素点的灰度值为A和B时,根据像素点的灰度值与亮度值之间的对应关系,可以确定A对应的亮度值为S 1,B对应的亮度值为S 2,则插值像素点的亮度值可以为
Figure PCTCN2019085609-appb-000001
或者可以根据其他任一算法,确定至少两个相邻的像素点查询到的亮度值之间的亮度值,对此不作限制。
Alternatively, any brightness value between the brightness values queried by at least two adjacent pixel points may be used as the brightness value of the interpolated pixel point. For example, when the gray values of two adjacent pixels are determined as A and B, according to the corresponding relationship between the gray values of the pixels and the brightness value, the brightness value corresponding to A can be determined as S 1 , The brightness value corresponding to B is S 2 , then the brightness value of the interpolation pixel can be
Figure PCTCN2019085609-appb-000001
Alternatively, the brightness value between the brightness values queried by at least two adjacent pixel points may be determined according to any other algorithm, which is not limited.
在确定插值像素点的亮度值后,可以根据插值像素点的亮度值,查询灰度值和亮度之间的对应关系,得到插值像素点的灰度值。例如,参见图8,根据gamma曲线可以确定插值像素点的灰度值为c。After the brightness value of the interpolation pixel is determined, the corresponding relationship between the gray value and the brightness can be queried according to the brightness value of the interpolation pixel to obtain the gray value of the interpolation pixel. For example, referring to FIG. 8, the gray value of the interpolation pixel point can be determined according to the gamma curve.
步骤103,根据插值像素点的灰度值,对成像图像进行修正处理。Step 103: Perform correction processing on the imaged image according to the gray value of the interpolation pixel point.
本公开实施例中,在确定插值像素点的灰度值后,可以根据插值像素点的灰度值,对成像图像进行修正处理。具体地,可以将插值像素点插入至少两个相邻的像素点之间,以得到修正后的成像图像。In the embodiment of the present disclosure, after determining the gray value of the interpolation pixel point, a correction process may be performed on the imaging image according to the gray value of the interpolation pixel point. Specifically, an interpolation pixel point may be inserted between at least two adjacent pixel points to obtain a corrected imaging image.
仍以上述例子示例,可以将插值像素点对应的灰度值c插入至a和b之间。Taking the above example as an example, the gray value c corresponding to the interpolation pixel point can be inserted between a and b.
本实施例的图像处理方法,通过获取图像传感器采集的成像图像;对成像图像中至少两个相邻的像素点的灰度值进行插值处理,得到插值像素点的灰度值;根据插值像素点的灰度值,对成像图像进行修正处理。本公开中,通过在至少两个相邻的像素点之间,插入插值像素点,可以实现将压缩后的成像图像进行修正,减小成像图像的畸变,能够有效提升成像效果,从而可以利于全面屏电子设备的发展。The image processing method of this embodiment obtains an imaging image collected by an image sensor; performs interpolation processing on the gray values of at least two adjacent pixels in the imaging image to obtain the gray values of the interpolation pixels; and according to the interpolation pixels The gray value of the image is corrected for the image. In the present disclosure, by inserting interpolation pixels between at least two adjacent pixels, correction of the compressed imaging image can be achieved, distortion of the imaging image can be reduced, and the imaging effect can be effectively improved, which can be beneficial to overall Development of display electronic equipment.
为了实现上述实施例,本公开还提出另一种电子设备。In order to implement the above embodiments, the present disclosure also proposes another electronic device.
图9为本公开实施例五所提供的电子设备的结构示意图。FIG. 9 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present disclosure.
如图9所示,该电子设备包括:存储器401、处理器402及存储在存储器401上并可在处理器402上运行的计算机程序,处理器402执行程序时,实现如本公开前述实施例提出的图像处理方法。As shown in FIG. 9, the electronic device includes: a memory 401, a processor 402, and a computer program stored on the memory 401 and executable on the processor 402. When the processor 402 executes the program, the implementation as proposed in the foregoing embodiment of the present disclosure Image processing method.
为了实现上述实施例,本公开还提出一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如本公开前述实施例提出的图像处理方法。In order to implement the above embodiments, the present disclosure also proposes a computer-readable storage medium on which a computer program is stored, which is characterized in that when the program is executed by a processor, the image processing method as proposed in the foregoing embodiment of the present disclosure is implemented.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本公开的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, the description with reference to the terms “one embodiment”, “some embodiments”, “examples”, “specific examples”, or “some examples” and the like means specific features described in conjunction with the embodiments or examples , Structure, material, or characteristic is included in at least one embodiment or example of the present disclosure. In this specification, the schematic expressions of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. In addition, without any contradiction, those skilled in the art may combine and combine different embodiments or examples and features of the different embodiments or examples described in this specification.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本公开的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality" is at least two, for example, two, three, etc., unless it is specifically and specifically defined otherwise.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本公开的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本公开的实施例所属技术领域的技术人员所理解。Any process or method description in a flowchart or otherwise described herein can be understood as representing a module, fragment, or portion of code that includes one or more executable instructions for implementing steps of a custom logic function or process And, the scope of the preferred embodiments of the present disclosure includes additional implementations in which the functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present disclosure belong.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and / or steps represented in the flowchart or otherwise described herein, for example, a sequenced list of executable instructions that can be considered to implement a logical function, can be embodied in any computer-readable medium, For the instruction execution system, device, or device (such as a computer-based system, a system including a processor, or other system that can fetch and execute instructions from the instruction execution system, device, or device), or combine these instruction execution systems, devices, or devices Or equipment. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections (electronic devices) with one or more wirings, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, because, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable Processing to obtain the program electronically and then store it in computer memory.
应当理解,本公开的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或 固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods may be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it may be implemented using any one or a combination of the following techniques known in the art: Discrete logic circuits with logic gates for implementing logic functions on data signals Logic circuits, ASICs with suitable combinational logic gate circuits, programmable gate arrays (PGA), field programmable gate arrays (FPGAs), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。A person of ordinary skill in the art can understand that all or part of the steps carried by the methods in the foregoing embodiments may be implemented by a program instructing related hardware. The program may be stored in a computer-readable storage medium. The program is When executed, one or a combination of the steps of the method embodiment is included.
此外,在本公开各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing module, or each unit may exist separately physically, or two or more units may be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本公开的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本公开的限制,本领域的普通技术人员在本公开的范围内可以对上述实施例进行变化、修改、替换和变型。The aforementioned storage medium may be a read-only memory, a magnetic disk, or an optical disk. Although the embodiments of the present disclosure have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limitations on the present disclosure. Those skilled in the art can understand the above within the scope of the present disclosure. Embodiments are subject to change, modification, substitution, and modification.

Claims (20)

  1. 一种成像模组,其特征在于,所述成像模组设置于电子设备的显示屏下方,与所述显示屏的透光区域对应位置,所述成像模组包括:凹透镜、成像透镜组和图像传感器;An imaging module, characterized in that the imaging module is disposed below a display screen of an electronic device and corresponds to a light-transmitting area of the display screen. The imaging module includes a concave lens, an imaging lens group, and an image. sensor;
    所述凹透镜,设置于所述显示屏的透光区域对应位置,用于对透过所述透光区域的光线进行发散;The concave lens is disposed at a position corresponding to the light-transmitting area of the display screen, and is used to diffuse the light passing through the light-transmitting area;
    所述成像透镜组,设置于所述凹透镜的出光面一侧,用于对所述凹透镜发散后的光线进行光学变换;The imaging lens group is disposed on one side of the light-emitting surface of the concave lens, and is used for optically transforming the light diffused by the concave lens;
    所述图像传感器,设置于所述成像透镜组的出光面一侧,用于根据所述成像透镜组出射的光线采集成像图像。The image sensor is disposed on one side of a light emitting surface of the imaging lens group, and is configured to collect an imaging image according to light emitted from the imaging lens group.
  2. 根据权利要求1所述的成像模组,其特征在于,The imaging module according to claim 1, wherein:
    所述显示屏的非透光区域覆盖有盖板,所述显示屏的透光区域未覆盖所述盖板;A non-light-transmitting area of the display screen is covered with a cover plate, and the light-transmitting area of the display screen does not cover the cover plate;
    所述凹透镜的边缘与所述盖板的边缘相接。An edge of the concave lens is in contact with an edge of the cover plate.
  3. 根据权利要求2所述的成像模组,其特征在于,The imaging module according to claim 2, wherein:
    所述凹透镜的厚度与所述盖板的厚度匹配;The thickness of the concave lens matches the thickness of the cover plate;
    所述凹透镜的上边缘与所述盖板的上边缘平齐。The upper edge of the concave lens is flush with the upper edge of the cover plate.
  4. 根据权利要求1所述的成像模组,其特征在于,The imaging module according to claim 1, wherein:
    所述显示屏的透光区域和非透光区域均覆盖盖板;Both the transparent and non-transparent areas of the display screen cover the cover;
    所述凹透镜的入光面一侧与所述盖板表面贴合,或者,所述凹透镜的出光面一侧与所述盖板表面贴合。One side of the light-incident surface of the concave lens is bonded to the surface of the cover plate, or one side of the light-emitting surface of the concave lens is bonded to the surface of the cover plate.
  5. 根据权利要求1-4任一项所述的成像模组,其特征在于,The imaging module according to any one of claims 1-4, wherein:
    所述凹透镜为平凹透镜;The concave lens is a plano-concave lens;
    所述凹透镜的入光面一侧为凹面,所述凹透镜的出光面一侧为平面。The light incident surface side of the concave lens is a concave surface, and the light emitting surface side of the concave lens is a flat surface.
  6. 根据权利要求1-5任一项所述的成像模组,其特征在于,The imaging module according to any one of claims 1 to 5, wherein:
    所述凹透镜的光轴,与所述成像透镜组的光轴共轴。The optical axis of the concave lens is coaxial with the optical axis of the imaging lens group.
  7. 根据权利要求1-6任一项所述的成像模组,其特征在于,所述光学变换包括调焦和/或景深调整。The imaging module according to any one of claims 1-6, wherein the optical transformation includes focus adjustment and / or depth of field adjustment.
  8. 一种电子设备,其特征在于,所述电子设备包括显示屏,和成像模组;An electronic device, characterized in that the electronic device includes a display screen and an imaging module;
    所述显示屏,包括透光区域以及非透光区域,其中,所述透光区域设置有凹透镜,用于对光线进行发散;The display screen includes a light-transmitting area and a non-light-transmitting area, wherein the light-transmitting area is provided with a concave lens for diverging light;
    所述成像模组,设置于所述凹透镜的出光面一侧,用于根据所述凹透镜发散后的光线进行成像。The imaging module is disposed on one side of the light-emitting surface of the concave lens, and is configured to perform imaging according to the light emitted by the concave lens.
  9. 根据权利要求8所述的电子设备,其特征在于,The electronic device according to claim 8, wherein:
    所述显示屏的透光区域未覆盖盖板;The light-transmitting area of the display screen does not cover the cover;
    所述显示屏的非透光区域覆盖所述盖板;The non-light-transmitting area of the display screen covers the cover plate;
    所述凹透镜的边缘与所述盖板的边缘相接。An edge of the concave lens is in contact with an edge of the cover plate.
  10. 根据权利要求9所述的电子设备,其特征在于,The electronic device according to claim 9, wherein:
    所述凹透镜的厚度与所述盖板的厚度匹配;The thickness of the concave lens matches the thickness of the cover plate;
    所述凹透镜的上边缘与所述盖板的上边缘平齐。The upper edge of the concave lens is flush with the upper edge of the cover plate.
  11. 根据权利要求8所述的电子设备,其特征在于,The electronic device according to claim 8, wherein:
    所述显示屏的透光区域和非透光区域均覆盖盖板;Both the transparent and non-transparent areas of the display screen cover the cover;
    所述凹透镜的入光面一侧与所述盖板表面贴合,或者,所述凹透镜的出光面一侧与所述盖板表面贴合。One side of the light-incident surface of the concave lens is bonded to the surface of the cover plate, or one side of the light-emitting surface of the concave lens is bonded to the surface of the cover plate.
  12. 根据权利要求8-11任一项所述的电子设备,其特征在于,The electronic device according to any one of claims 8 to 11, wherein:
    所述凹透镜为平凹透镜;The concave lens is a plano-concave lens;
    所述凹透镜的入光面一侧为凹面,所述凹透镜的出光面一侧为平面。The light incident surface side of the concave lens is a concave surface, and the light emitting surface side of the concave lens is a flat surface.
  13. 根据权利要求8-12任一项所述的电子设备,其特征在于,The electronic device according to any one of claims 8 to 12, wherein:
    所述凹透镜的光轴,与所述成像模组的光轴共轴。The optical axis of the concave lens is coaxial with the optical axis of the imaging module.
  14. 根据权利要求8-13任一项所述的电子设备,其特征在于,The electronic device according to any one of claims 8 to 13, wherein:
    所述成像模组与处理器电性连接;The imaging module is electrically connected to the processor;
    所述处理器,用于从所述成像模组获取成像图像,对所述成像图像中至少两个相邻的像素点,根据所述至少两个相邻像的素点的灰度值进行插值处理,得到插值像素点的灰度值;根据所述插值像素点的灰度值,对所述成像图像进行修正处理。The processor is configured to obtain an imaging image from the imaging module, and perform interpolation on at least two adjacent pixel points in the imaging image according to a gray value of a prime point of the at least two adjacent images. Processing to obtain the gray value of the interpolation pixel point; and performing correction processing on the imaging image according to the gray value of the interpolation pixel point.
  15. 一种图像处理方法,其特征在于,所述方法包括:An image processing method, wherein the method includes:
    获取图像传感器采集的成像图像;Acquiring imaging images acquired by an image sensor;
    对所述成像图像中至少两个相邻的像素点的灰度值进行插值处理,得到插值像素点的灰度值;Performing interpolation processing on the gray values of at least two adjacent pixels in the imaging image to obtain the gray values of the interpolated pixels;
    根据所述插值像素点的灰度值,对所述成像图像进行修正处理。Performing correction processing on the imaging image according to the gray value of the interpolation pixel point.
  16. 根据权利要求15所述的图像处理方法,其特征在于,所述对所述成像图像中至少两个相邻的像素点的灰度值进行插值处理,得到插值像素点的灰度值,包括:The image processing method according to claim 15, wherein the performing interpolation processing on the gray values of at least two adjacent pixel points in the imaging image to obtain the gray values of the interpolated pixel points comprises:
    根据所述至少两个相邻的像素点的灰度值,查询灰度值和亮度之间的对应关系,得到对应的亮度值;Querying the corresponding relationship between the gray value and the brightness according to the gray values of the at least two adjacent pixels to obtain the corresponding brightness value;
    根据所述至少两个相邻的像素点查询到的亮度值,确定插值像素点的亮度值;Determining the brightness value of the interpolated pixel point according to the brightness value queried by the at least two adjacent pixel points;
    根据所述插值像素点的亮度值,查询所述灰度值和亮度之间的对应关系,得到所述插 值像素点的灰度值。According to the brightness value of the interpolated pixel, query the correspondence between the gray value and the brightness to obtain the gray value of the interpolated pixel.
  17. 根据权利要求16所述的图像处理方法,其特征在于,所述根据所述至少两个相邻的像素点查询到的亮度值,确定插值像素点的亮度值,包括:The image processing method according to claim 16, wherein determining the brightness value of the interpolated pixel based on the brightness value queried by the at least two adjacent pixel points comprises:
    对所述至少两个相邻的像素点查询到的亮度值计算平均值,将所述平均值作为所述插值像素点的亮度值。An average value is calculated for the brightness values queried for the at least two adjacent pixel points, and the average value is used as the brightness value of the interpolation pixel point.
  18. 根据权利要求15-17任一项所述的图像处理方法,其特征在于,所述根据所述插值像素点的灰度值,对所述成像图像进行修正处理,包括:The image processing method according to any one of claims 15 to 17, wherein the performing a correction process on the imaging image according to a gray value of the interpolation pixel point comprises:
    将所述插值像素点插入所述至少两个相邻的像素点之间,以得到修正后的成像图像。Inserting the interpolation pixel point between the at least two adjacent pixel points to obtain a corrected imaging image.
  19. 一种电子设备,其特征在于,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时,实现如权利要求15-18中任一所述的图像处理方法。An electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the program, the method according to any one of claims 15 to 18 is implemented. An image processing method.
  20. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求15-18中任一所述的图像处理方法。A computer-readable storage medium having stored thereon a computer program, characterized in that when the program is executed by a processor, the image processing method according to any one of claims 15-18 is implemented.
PCT/CN2019/085609 2018-05-23 2019-05-06 Imaging module, electronic device, image processing method and storage medium WO2019223521A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201820778482.7 2018-05-23
CN201820778482.7U CN208386719U (en) 2018-05-23 2018-05-23 Imaging modules and electronic equipment
CN201810500609.3 2018-05-23
CN201810500609.3A CN110536045A (en) 2018-05-23 2018-05-23 Imaging modules, electronic equipment, image processing method and storage medium

Publications (1)

Publication Number Publication Date
WO2019223521A1 true WO2019223521A1 (en) 2019-11-28

Family

ID=68616531

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/085609 WO2019223521A1 (en) 2018-05-23 2019-05-06 Imaging module, electronic device, image processing method and storage medium

Country Status (1)

Country Link
WO (1) WO2019223521A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113746960A (en) * 2020-05-29 2021-12-03 北京小米移动软件有限公司 Display screen assembly and terminal equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1042172A (en) * 1996-07-24 1998-02-13 Nec Corp Wide view/large wavelength range image pickup device
US20120093363A1 (en) * 2010-10-13 2012-04-19 Fuji Machine Mfg. Co., Ltd. Image processing apparatus and image processing method
CN106062861A (en) * 2014-02-26 2016-10-26 夏普株式会社 Field-sequential image display device and image display method
CN106791321A (en) * 2016-12-30 2017-05-31 维沃移动通信有限公司 A kind of image processing method and mobile terminal based on front camera
CN107645634A (en) * 2017-10-09 2018-01-30 深圳市天视通电子科技有限公司 A kind of undistorted wide angle network video camera and safety defense monitoring system
CN107872611A (en) * 2017-12-21 2018-04-03 广东欧珀移动通信有限公司 CCD camera assembly, electronic equipment, camera case ring and its processing method
CN208386719U (en) * 2018-05-23 2019-01-15 Oppo广东移动通信有限公司 Imaging modules and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1042172A (en) * 1996-07-24 1998-02-13 Nec Corp Wide view/large wavelength range image pickup device
US20120093363A1 (en) * 2010-10-13 2012-04-19 Fuji Machine Mfg. Co., Ltd. Image processing apparatus and image processing method
CN106062861A (en) * 2014-02-26 2016-10-26 夏普株式会社 Field-sequential image display device and image display method
CN106791321A (en) * 2016-12-30 2017-05-31 维沃移动通信有限公司 A kind of image processing method and mobile terminal based on front camera
CN107645634A (en) * 2017-10-09 2018-01-30 深圳市天视通电子科技有限公司 A kind of undistorted wide angle network video camera and safety defense monitoring system
CN107872611A (en) * 2017-12-21 2018-04-03 广东欧珀移动通信有限公司 CCD camera assembly, electronic equipment, camera case ring and its processing method
CN208386719U (en) * 2018-05-23 2019-01-15 Oppo广东移动通信有限公司 Imaging modules and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113746960A (en) * 2020-05-29 2021-12-03 北京小米移动软件有限公司 Display screen assembly and terminal equipment

Similar Documents

Publication Publication Date Title
CN108391035B (en) Shooting method, device and equipment
WO2020034737A1 (en) Imaging control method, apparatus, electronic device, and computer-readable storage medium
WO2017101451A1 (en) Imaging method, imaging device, and electronic device
US8937677B2 (en) Digital photographing apparatus, method of controlling the same, and computer-readable medium
WO2015081556A1 (en) Photographing method for dual-camera device and dual-camera device
US20150097932A1 (en) Digital cinema projection method, optimization device and projection system
CN108668093A (en) The generation method and device of HDR image
WO2020034701A1 (en) Imaging control method and apparatus, electronic device, and readable storage medium
WO2021008052A1 (en) Lens accuracy calibration method, apparatus and device for 3d photographic module
JP2004222231A (en) Image processing apparatus and image processing program
KR20150078127A (en) Photographing apparatus and method
WO2023279862A1 (en) Image processing method and apparatus, and electronic device
CN116416122A (en) Image processing method and related device
WO2019223521A1 (en) Imaging module, electronic device, image processing method and storage medium
US8681245B2 (en) Digital photographing apparatus, and method for providing bokeh effects
CN208386719U (en) Imaging modules and electronic equipment
TW201014346A (en) An image brightness compensation method and digital photographic device with an image brightness compensation function
US9113088B2 (en) Method and apparatus for photographing an image using light from multiple light sources
US9219869B1 (en) Image capturing device and method for shading compensation thereof
CN110536045A (en) Imaging modules, electronic equipment, image processing method and storage medium
JP2004222233A (en) Image processing apparatus and image processing program
TWI286839B (en) Signal processing method and image acquiring device
JP2008252227A (en) Image processor, imaging apparatus, and image processing program
JP7440389B2 (en) Display method and display device
JP2004222232A (en) Image processor and image processing program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19808285

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19808285

Country of ref document: EP

Kind code of ref document: A1