Electronic device for reconstructing image and operation method thereof

The electronic device with a phase mask, image sensor, and AI model addresses noise-related distortions in lensless imaging by restoring high-quality images, overcoming process errors in phase mask modulation.

WO2024225663A1PCT designated stage expired Publication Date: 2024-10-31SAMSUNG ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2024/004765
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-08-04
Filing Date
2024-04-09
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

Lensless imaging techniques using phase masks face challenges in restoring high-quality images due to process errors such as assembly and manufacturing noise, which affect the phase modulation of light, leading to distorted encoded images.

Method used

An electronic device comprising a phase mask, an image sensor, and a processor that acquires encoded images and inputs them into an artificial intelligence model learned to restore images, accounting for noise errors associated with the phase mask, thereby producing consistent restored images.

Benefits of technology

The solution effectively addresses the issue of noise-related distortions by consistently producing high-quality restored images even with phase masks containing assembly and manufacturing errors, enhancing the image restoration process in lensless imaging systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2024004765_31102024_PF_FP_ABST
    Figure KR2024004765_31102024_PF_FP_ABST
Patent Text Reader

Abstract

Provided are an electronic device for reconstructing an image from a coded image and a method thereof. The electronic device according to an embodiment of the present disclosure can acquire a coded image on the basis of light of which a phase has been modulated by a first phase mask including noise or a second phase mask not including noise and input the coded image to an artificial intelligence model having been trained to reconstruct an image so as to acquire a reconstructed image. The noise may be an error caused by processing of a phase mask.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device for restoring images and method of operation thereof

[0001] The present disclosure relates to an electronic device for restoring an image and an operating method thereof. Specifically, the present disclosure relates to an electronic device for obtaining a restored image based on an image distorted by a phase mask and an operating method thereof.

[0002] Augmented reality (AR) is a technology that overlays virtual images onto real-world physical environments or objects. Recently, AR devices (e.g., smart glasses) utilizing AR technology have been used in everyday life for purposes such as information retrieval, route guidance, and camera photography.

[0003] In particular, with the advancement of image sensors and AI-based image processing technology, the uses of cameras have expanded beyond simple photography to include object recognition, biometrics, and information acquisition. While camera pixel resolution continues to increase for various applications, physical limitations exist in reducing the size and cost of camera modules.

[0004] Recently, research has focused on lensless imaging, a technique that replaces lenses with thin phase masks. Phase masks are extremely thin optical elements that can modulate the phase of incident light. Lensless imaging utilizes a thin phase mask, which modulates light, instead of a lens to capture images of objects. This technique allows for reduced lens module thickness and focal length, enabling the creation of ultra-thin cameras that overcome the physical limitations of conventional cameras.

[0005] In lensless imaging techniques, the structure of the phase mask determines the camera's performance. Each phase mask can be designed with a different, finely undulated structure. Efforts are ongoing to develop a deep learning-based image restoration network that can restore encoded images acquired through various phase masks in real time and improve the quality of the restored images.

[0006] In order to solve the above-described technical problem, an electronic device according to an embodiment of the present disclosure includes a mask, an image sensor, and at least one processor. The mask may be configured to modulate the phase of incident light. The mask may include a first mask having a first characteristic or a second mask not having the first characteristic. The image sensor may be configured to receive light phase-modulated by the first mask or the second mask. The at least one processor may obtain a first coded image based on the first mask or a second coded image based on the second mask. The at least one processor may input the first coded image or the second coded image to an artificial intelligence model trained to restore an image to obtain a restored image. The first characteristic may be related to a process error associated with the first mask.

[0007] A method according to an embodiment of the present disclosure may include a step of obtaining a first coded image based on a first mask or a second coded image based on a second mask. The first mask may have a first feature. The second mask may not have the first feature. The first mask or the second mask may be configured to modulate a phase of incident light. The method may include a step of inputting the first coded image or the second coded image to an artificial intelligence model trained to restore an image to obtain a restored image. The first feature may be related to a process error associated with the first mask.

[0008] In order to solve the above-described technical problem, another embodiment of the present disclosure provides a computer-readable recording medium having recorded thereon a program for execution on a computer.

[0009] The present disclosure can be readily understood by the following detailed description and its accompanying drawings, wherein reference numerals refer to structural elements.

[0010] FIG. 1 is a conceptual diagram illustrating the operation of an electronic device according to an embodiment of the present disclosure.

[0011] FIG. 2 is a conceptual diagram illustrating the operation of an electronic device according to an embodiment of the present disclosure.

[0012] FIG. 3 is a flowchart illustrating an operation method of an electronic device according to an embodiment of the present disclosure.

[0013] FIG. 4 is a drawing illustrating a phase mask according to an embodiment of the present disclosure.

[0014] FIG. 5 is a drawing illustrating a phase mask according to an embodiment of the present disclosure.

[0015] FIG. 6 is a conceptual diagram specifically illustrating an operation of an electronic device according to an embodiment of the present disclosure to obtain an encoded image using a phase mask.

[0016] FIG. 7A is a drawing illustrating a normal arrangement of a phase mask within an optical system according to one embodiment of the present disclosure.

[0017] FIG. 7b is a drawing for explaining an assembly error due to an abnormal arrangement of a phase mask within an optical system in one embodiment of the present disclosure.

[0018] FIG. 7c is a drawing for explaining an assembly error due to an abnormal arrangement of a phase mask within an optical system in one embodiment of the present disclosure.

[0019] FIG. 8a is a drawing illustrating the structure of a phase mask normally manufactured according to one embodiment of the present disclosure.

[0020] FIG. 8b is a drawing for explaining a manufacturing error according to the structure of an abnormally manufactured phase mask in one embodiment of the present disclosure.

[0021] FIG. 8c is a drawing for explaining a manufacturing error according to the structure of an abnormally manufactured phase mask in one embodiment of the present disclosure.

[0022] FIG. 8d is a drawing for explaining a manufacturing error according to the structure of an abnormally manufactured phase mask in one embodiment of the present disclosure.

[0023] FIG. 8e is a drawing for explaining a manufacturing error according to the structure of an abnormally manufactured phase mask in one embodiment of the present disclosure.

[0024] FIG. 9a is a drawing illustrating the structure of a metalens normally manufactured according to one embodiment of the present disclosure.

[0025] FIG. 9b is a drawing for explaining a manufacturing error that occurs depending on the nanostructure in a metalens according to an embodiment of the present disclosure.

[0026] FIG. 10 is a conceptual diagram illustrating an operation of an electronic device according to an embodiment of the present disclosure to extract feature points using a phase mask.

[0027] FIG. 11 is a drawing for explaining the effect of an electronic device according to an embodiment of the present disclosure.

[0028] FIG. 12 is a conceptual diagram for restoring an image based on a phase mask with noise applied according to one embodiment of the present disclosure, and explaining an artificial intelligence model learned based on the restored image.

[0029] FIG. 13 is a conceptual diagram for extracting feature points based on a phase mask with noise applied according to one embodiment of the present disclosure and explaining an artificial intelligence model learned based on the extracted feature points.

[0030] FIG. 14 is a block diagram illustrating components of an electronic device according to an embodiment of the present disclosure.

[0031] The terms used in the embodiments of this specification have been selected from widely used, current terms, taking into account the functions of the present disclosure. However, these terms may vary depending on the intentions of those skilled in the art, precedents, the emergence of new technologies, etc. Furthermore, in certain cases, terms may be arbitrarily selected by the applicant, and in such cases, their meanings will be described in detail in the description of the relevant embodiments. Therefore, the terms used in this specification should not be defined simply as names of terms, but rather based on their meanings and the overall content of the present disclosure.

[0032] Singular expressions may include plural expressions unless the context clearly indicates otherwise. Terms used herein, including technical or scientific terms, have the same meaning as commonly understood by a person of ordinary skill in the art described herein.

[0033] Throughout this disclosure, when a part is said to "include" a certain component, this does not mean that other components may be included, but rather that other components may be excluded, unless specifically stated otherwise. In addition, terms such as "... part", "... module", etc. described in this specification mean a unit that processes at least one function or operation, which may be implemented by hardware or software, or a combination of hardware and software. In this disclosure, the expression "at least one of a, b, or c" may refer to "a," "b," "c," "a and b," "a and c," "b and c," "all of a, b, and c," or variations thereof.

[0034] As used herein, the expression "configured to" can be used interchangeably with, for example, "suitable for," "having the capacity to," "designed to," "adapted to," "made to," or "capable of." The term "configured to" does not necessarily mean something is "specifically designed to" in terms of hardware. Instead, in some contexts, the expression "a system configured to" can mean that the system is "capable of" in conjunction with other devices or components. For example, the phrase "a processor configured to perform A, B, and C" can mean a dedicated processor for performing the operations (e.g., an embedded processor), or a general-purpose processor (e.g., a CPU or an application processor) that can perform the operations by executing one or more software programs stored in memory.

[0035] Additionally, when a component is referred to as being "connected" or "connected" to another component in the present disclosure, it should be understood that the component may be directly connected or connected to the other component, but may also be connected or connected via another component in between, unless otherwise specifically stated.

[0036] Below, embodiments of the present disclosure are described in detail with reference to the attached drawings so that those skilled in the art can easily implement the present disclosure. However, the present disclosure may be implemented in various different forms and is not limited to the embodiments described herein.

[0037] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings.

[0038] FIG. 1 is a conceptual diagram illustrating the operation of an electronic device according to an embodiment of the present disclosure. For example, FIG. 1 illustrates an operation of an electronic device obtaining a restored image using a phase mask according to an embodiment.

[0039] Referring to FIG. 1, an electronic device may include an optical system (110) and a processor (120). The optical system (110) may include a phase mask (111) and an image sensor (112). However, the present disclosure is not limited thereto, and the optical system (110) may include other elements.

[0040] In one embodiment, the optical system (110) may be a camera module including a phase mask (111) and an image sensor (112). The optical system (110) may capture an image of an object (10). The optical system (110) may be configured to obtain an encoded image (20) of the object (10) as a captured image by modulating the phase of light reflected from the object (10) by the phase mask (111).

[0041] In one embodiment, the phase mask (111) may be configured to modulate the phase of incident light. For example, light may be incident toward the phase mask (111), and the phase of the incident light may be modulated by the phase mask (111). For example, light reflected from an object (10) located in front of the phase mask (111) may be incident toward the phase mask (111). The phase of the incident light may be modulated according to the characteristics of the phase mask (111). For example, the incident light may be refracted by the phase mask (111).

[0042] In the present disclosure, the phase mask (111) may mean a mask. In one embodiment, the mask is not limited to modulating the phase of incident light, and the mask may be configured to alter the incident light in another way.

[0043] In one embodiment, the optical system (110) may further include a light source. The light source may output light. The light source may output light toward the object (10). The light output from the light source may be reflected by the object (10) located in front of the phase mask (111). The light reflected by the object (10) may be incident toward the phase mask (111), and the phase of the incident light may be modulated by the phase mask (111).

[0044] In one embodiment, the phase mask (111) may be a diffractive optical element or a metalens. Diffractive optical elements and metalens may be distinguished according to the scale of the structure on the substrate. The diffractive optical element and metalens may be a phase mask having a predetermined pattern formed thereon, and may be manufactured by an exposure process that generates a pattern by irradiating exposure light onto a substrate having a photosensitive film formed thereon.

[0045] A diffractive optical element may be a phase mask formed with relatively large rods on a substrate. The diffractive optical element may include a pattern formed by a plurality of rods. The phase of transmitted light may be modulated depending on the pattern of the diffractive optical element. The pattern formed on the diffractive optical element is described in detail with reference to FIG. 4.

[0046] A meta-lens may be a lens in which relatively small-scale nanostructures are arranged in a two-dimensional manner. The meta-lens may include a surface composed of multiple nanostructures arranged on a substrate, and the phase of light transmitted through the meta-lens may be modulated depending on the arrangement and shape of the multiple nanostructures of the meta-lens. For example, the optical characteristics of the meta-lens may vary depending on the height, shape, arrangement, and properties of the nanostructures formed on the meta-lens. The nanostructures formed on the meta-lens will be described in detail with reference to FIG. 5.

[0047] In one embodiment, the phase mask (111) may be composed of a first phase mask including noise (e.g., 760 in FIG. 7b) or a second phase mask not including noise (e.g., 710 in FIG. 7a). For example, the phase mask (111) may be a first phase mask including noise or a second phase mask not including noise.

[0048] In the present disclosure, a phase mask that includes noise due to an error occurring during a process related to a phase mask is referred to as a first phase mask, and a phase mask that does not include noise because an error occurring during a process related to a phase mask does not occur is referred to as a second phase mask. For example, errors due to a process may include assembly errors, manufacturing errors, etc. that may occur in relation to a phase mask during the process of manufacturing an optical system including the phase mask. However, the present disclosure is not limited thereto, and in one embodiment, errors may occur in the phase mask due to another process.

[0049] In one embodiment, the phase mask (111) may be a first phase mask.

[0050] In one embodiment, the first phase mask may include noise, which is an error that occurs during the manufacturing process of the first phase mask. The noise may include assembly noise related to an error that occurs due to misplacement (or misconfiguration) of the first phase mask within the optical system (110). The noise may include manufacturing noise related to an error that occurs due to a structural defect in the first phase mask.

[0051] The assembly noise may be an error value from a set reference value related to at least one of the center position and inclination of the first phase mask. For example, the assembly noise may include an error resulting from the first phase mask within the optical system (110) being assembled at a predetermined angle relative to the fixed position. As another example, the assembly noise may include an error resulting from the first phase mask within the optical system (110) being assembled at a predetermined interval relative to the fixed position.

[0052] The fabrication noise may be an error value from a set reference value related to at least one of the length and width of the plurality of rods. For example, the first phase mask may be a diffractive optical element including a plurality of rods extending perpendicularly to the substrate on the substrate. The fabrication noise may include an error resulting from the height of the plurality of rods being fabricated to be lower than the reference height. For reference, considering the scale of the nanostructure, the nanostructure is not illustrated in FIG. 1, but FIGS. 4 and 6 illustrate the rods through enlarged views of the phase mask.

[0053] Fabrication noise may be an error value from a set reference value related to at least one of the shape and arrangement of the nanostructure. For example, the first phase mask may be a metalens including a plurality of nanostructures extending perpendicularly to the substrate on a substrate. Fabrication noise may include an error resulting from the shape of the plurality of nanostructures being fabricated differently from the reference. For reference, although the rod is not illustrated in FIG. 1 due to the scale of the rod, FIG. 5 illustrates the nanostructure through an enlarged view of the metalens.

[0054] In one embodiment, the noise may include focus noise related to an error in the distance between the first phase mask and the object (10). An artificial intelligence model trained to restore an image may be a model trained to obtain a restored image based on an object (10) spaced apart from the first phase mask by a first distance (L1). The difference between the actual distance between the first phase mask and the object (10) and the first distance (L1) may represent focus noise. The artificial intelligence model may be a model trained to obtain a restored image for an object (10) spaced apart from the first phase mask by the actual distance between the first phase mask and the object (10), taking focus noise into account.

[0055] In one embodiment, the noise may include interval noise related to an error in the distance between the first phase mask and the image sensor (112). The artificial intelligence model trained to restore the image may be a model trained to obtain a restored image based on the design of the optical system (110) in which the first phase mask and the image sensor (112) are spaced apart by a second distance (L2). The difference between the actual distance between the first phase mask and the image sensor (112) and the second distance (L2) may represent interval noise. The artificial intelligence model may be a model trained to obtain a restored image through the optical system (110) in which the first phase mask and the image sensor (112) are spaced apart by the actual distance between the first phase mask and the image sensor (112), taking the interval noise into account.

[0056] In one embodiment, the phase mask (111) may be a second phase mask. The second phase mask may not include noise.

[0057] In one embodiment, the electronic device can obtain an encoded image (20) by receiving light transmitted through a phase mask (111) using an image sensor (112). The electronic device can obtain an encoded image corresponding to the object (10) based on a distribution of light transmitted through the phase mask (111) including noise. The light transmitted through the phase mask (111) may be light output from a light source reflected by the object (10). The electronic device can obtain a first encoded image based on light that is phase-modulated by a first phase mask and received by the image sensor (112). The electronic device can obtain a second encoded image based on light that is phase-modulated by a second phase mask and received by the image sensor (112). The electronic device can obtain the first encoded image or the second encoded image.

[0058] For example, as illustrated in FIG. 1, light passing through the phase mask (111) may be light reflected from a rose. As another example, light passing through the phase mask (111) may be light reflected from an eye. Light reflected by the object (10) reaches the phase mask (111), and the path of the light may be changed by the phase mask (111), thereby modulating the phase.

[0059] The phase-modulated light is received by the image sensor (112). For example, the image sensor (112) may be a two-dimensional sensor assembled in the form of an array including a plurality of pixels arranged in a matrix, and each of the plurality of pixels may include at least one photoelectric conversion element. The image sensor (112) may detect light using the photoelectric conversion element and output an image signal, which is an electrical signal according to the detected light. An electronic device may obtain an encoded image (20) by converting light received by the image sensor (112) into an electrical signal.

[0060] The encoded image (20) may vary depending on at least one of the pattern shape of the object reflecting the light and the phase mask (111). In general, an object expressed in the encoded image (20) phase-modulated by the phase mask (111) may be difficult to identify with the naked eye.

[0061] In one embodiment, the electronic device can obtain a restored image (30) from an encoded image (20). The electronic device can input the obtained encoded image (20) into an artificial intelligence model to obtain a restored image (30). The artificial intelligence model may be a model trained to restore an image. The artificial intelligence model may be a model trained to restore an encoded image generated based on a phase mask (111). For example, the restored image (30) may be obtained by taking into account noise generated according to a process related to the first phase mask.

[0062] In one embodiment, the electronic device may obtain a first encoded image based on a first phase mask or a second encoded image based on a second phase mask. The electronic device may obtain a restored image (30) by inputting the first encoded image or the second encoded image into an artificial intelligence model trained to restore the image.

[0063] Depending on the process steps of the phase mask, errors may occur during the assembly process of the phase mask within the optical system, or errors may occur during the manufacturing process of the phase mask. An electronic device according to an embodiment may obtain the same restored image (30) from an encoded image (20) encoded according to various noises by using an artificial intelligence model learned based on noise, which is an error occurring during the process related to the phase mask. An electronic device according to an embodiment may obtain a restored image (30) from an encoded image encoded by transmitting a second phase mask that does not include noise by using an artificial intelligence model. Therefore, an electronic device according to an embodiment may consistently obtain a restored image (30) despite an error occurring during the process related to the phase mask (111).

[0064] FIG. 2 is a conceptual diagram illustrating the operation of an electronic device according to an embodiment of the present disclosure. For example, FIG. 1 is a conceptual diagram illustrating the operation of an electronic device according to an embodiment of the present disclosure to obtain a restored image based on various first phase masks including noise.

[0065] Referring to FIG. 2, in one embodiment, the optical system (110) may include a first optical system (110a) and a second optical system (110b). The first optical system (110a) includes a first phase mask (111a) and a first image sensor (112a), and the second optical system (110b) includes a first phase mask (111b) and a second image sensor (112b). The first phase mask (111a) and the first phase mask (111b) may be different depending on process errors associated with each phase mask. For example, both the first phase mask (111a) and the first phase mask (111b) include noise, but the noise may be different from each other.

[0066] For convenience of explanation, the optical system (110) illustrated in FIG. 2 is described as including a first phase mask, but of course, the first phase mask may be replaced with a second phase mask that does not include noise.

[0067] In one embodiment, noise, which is an error occurring in a process related to a phase mask (111) during the manufacturing of an optical system (110), may be generated. In one embodiment, an artificial intelligence model may be a model trained to acquire a restored image from an encoded image by considering the noise occurring in a process related to the phase mask (111) by setting a range of noise that can be considered. The range of noise settings may vary depending on the purpose, and an electronic device may use the artificial intelligence model to restore an encoded image with various process errors to a minimum or low quality when the range of noise settings is wide, and may restore an encoded image with a narrow range to a high quality image when the range of noise settings is low. The setting of the range of noise that can be considered does not limit the present disclosure. The first phase mask including noise may include a first phase mask (111a) and a first phase mask (111b). The first phase mask (111a) and the first phase mask (111b) may refer to phase masks manufactured within the range of set noise.

[0068] The first phase mask (111a) may include a first noise, and the first phase mask (111b) may include a second noise. The pattern formed on the first phase mask (111a) and the pattern formed on the first phase mask (111b) may be distinguished by the difference between the first noise and the second noise generated in a process related to the first phase mask (111a) or the first phase mask (111b). For example, design errors may occur because the height difference and arrangement of rods included in the phase mask are not manufactured as designed. Accordingly, light incident vertically toward the 1_1 phase mask (111a) may be refracted by a first angle (e.g., 25°), and light incident vertically toward the 1_2 phase mask (111b) may be refracted by a second angle (e.g., 26°) depending on an error occurring in the process related to the phase mask.

[0069] The electronic device can obtain a first encoded image (21) by converting light phase-modulated by a first phase mask (111a) including a first noise and received through a first image sensor (112a) into an electrical signal. The electronic device can obtain a second encoded image (22) by converting light phase-modulated by a first phase mask (111b) including a second noise and received through a second image sensor (112b) into an electrical signal. The first encoded image (21) may be different from the second encoded image (22). That is, the electronic device can obtain the first encoded image (21) based on light phase-modulated by transmitting the first phase mask (111a) or obtain the second encoded image (22) based on light phase-modulated by transmitting the first phase mask (111b).

[0070] In one embodiment, the electronic device can consistently restore an image based on light phase-modulated by a phase mask (111) including arbitrary noise generated in a process related to the phase mask using a learned artificial intelligence model. The electronic device can obtain a restored image (30) from first and second encoded images (21, 22) obtained based on light phase-modulated by a first phase mask (111a, 111b) including arbitrary noise using the learned artificial intelligence model. The electronic device can obtain a restored image (30) by inputting the first encoded image (21) or the second encoded image (22) into the artificial intelligence model.

[0071] For example, there may be a difference between process-related noise related to the 1_1 phase mask (111a) and process-related noise related to the 1_2 phase mask (111b). The electronic device may obtain a restored image (30) based on the first encoded image (21) obtained based on the 1_1 phase mask (111a) using the learned artificial intelligence model. In addition, the electronic device may obtain a restored image (30) based on the second encoded image (22) obtained based on the 1_2 phase mask (111b) using the learned artificial intelligence model. The electronic device may consistently obtain the restored image (30) based on the first encoded image (21) or the second encoded image (22). However, the present disclosure is not limited thereto, and in one embodiment, the electronic device may obtain the restored image (30) based on the first encoded image (21) and the second encoded image (22). For example, the restored image (30) can be generated based on the first encoded image (21) and the second encoded image (22).

[0072] In one embodiment, the electronic device may use the learned artificial intelligence model to restore an image based on light transmitted through a second phase mask that does not include any noise generated in a process related to the phase mask. The electronic device may also use the learned artificial intelligence model to obtain a restored image (30) from the first and second encoded images (21, 22) obtained based on light transmitted through the second phase mask that does not include noise.

[0073] FIG. 3 is a flowchart illustrating an operation method of an electronic device according to an embodiment of the present disclosure.

[0074] For convenience of explanation, parts that overlap with those described using Figures 1 and 2 are simplified or omitted.

[0075] Referring to FIG. 3, in step S310, a method according to an embodiment includes a step of obtaining a coded image based on light phase-modulated by a phase mask. For example, the method includes a step of obtaining a first coded image based on light phase-modulated by a first phase mask or a step of obtaining a second coded image based on light phase-modulated by a second phase mask. For example, an electronic device can obtain a coded image based on light phase-modulated by a phase mask. The coded image can be obtained based on light received by an image sensor. The electronic device can obtain a first coded image based on light phase-modulated by a first phase mask and received by the image sensor, or obtain a second coded image based on light phase-modulated by a second phase mask and received by the image sensor.

[0076] In one embodiment, the phase mask may consist of either a first phase mask including noise or a second phase mask not including noise.

[0077] In one embodiment, the first phase mask may include noise, which is a process-related error associated with the first phase mask. As light is transmitted through the first phase mask, the phase of the light may be modulated, and the noise may further modulate the phase of the light as it passes through the first phase mask. Due to the noise, the phase of the light transmitted through the first phase mask may not be consistently predictable.

[0078] For example, an electronic device may include an optical system including a first phase mask and an image sensor. The first phase mask may include an assembly error that occurs due to misplacement of the phase mask within the optical system. That is, the noise may include assembly noise related to the assembly error. The first phase mask may include an error in which the first phase mask is assembled in a first direction relative to its position when normally assembled within the optical system, or may include an error in which the first phase mask is assembled in a rotational direction by a first angle.

[0079] The form in which an assembly error occurs in the first phase mask is specifically described using FIGS. 7a to 7c.

[0080] As another example, the first phase mask may include manufacturing errors related to structural defects in the phase mask. That is, the noise may include manufacturing noise related to manufacturing errors. The first phase mask may be a diffractive optical element comprising a substrate and a plurality of rods extending perpendicularly to the upper surface of the substrate, or a metalens in which nanostructures are arranged in a two-dimensional manner.

[0081] If the first phase mask is a diffractive optical element, the first phase mask may include manufacturing errors due to the length and width of the plurality of rods being manufactured non-uniformly. If the first phase mask is a metalens, the first phase mask may include manufacturing errors due to the shape and arrangement of the nanostructures being non-uniformly manufactured.

[0082] The form in which the manufacturing error of the first phase mask occurs is specifically described using FIGS. 8a to 8e and FIGS. 9a and 9b.

[0083] In one embodiment, an electronic device can obtain light transmitted through a first phase mask including noise using an image sensor. The electronic device can obtain a distribution of light transmitted through the first phase mask including noise related to errors generated during a process related to the first phase mask. The electronic device can obtain the distribution of light through the image sensor.

[0084] An electronic device can obtain a first encoded image based on light that is phase-modulated by a first phase mask and received by an image sensor. The electronic device can obtain the first encoded image based on a distribution of light.

[0085] In one embodiment, the second phase mask may not include noise. The phase of the light may be modulated as the light is transmitted through the second phase mask. The electronic device may obtain the light transmitted through the second phase mask using an image sensor. The electronic device may obtain a second encoded image based on the light that is phase-modulated by the second phase mask and received by the image sensor. The electronic device may obtain the second encoded image based on the distribution of the light.

[0086] In step S320, the method according to one embodiment may include a step of obtaining a restored image by inputting an encoded image into an artificial intelligence model trained to restore images. For example, the electronic device may obtain a restored image by inputting an encoded image into an artificial intelligence model trained to restore images.

[0087] In one embodiment, the AI ​​model may be a model trained to restore an image. The electronic device may input an encoded image based on light phase-modulated by a phase mask using the AI ​​model, and obtain a restored image as an output.

[0088] In one embodiment, the AI ​​model may be a model trained to restore an encoded image generated by a phase mask. For example, the restored image may be obtained by considering noise generated during the process associated with the phase mask. The electronic device may input the encoded image into the AI ​​model based on light phase-modulated by the phase mask, and obtain the restored image as an output.

[0089] In one embodiment, the phase mask may consist of either a first phase mask or a second phase mask.

[0090] In one embodiment, the electronic device may input a first encoded image obtained based on a first phase mask including noise into an artificial intelligence model and obtain a restored image as an output. The electronic device may input a second encoded image obtained based on a second phase mask not including noise into the artificial intelligence model and obtain a restored image as an output.

[0091] In one embodiment, the electronic device can obtain a restored image by inputting a first encoded image obtained based on light transmitted through a first phase mask or a second encoded image obtained based on light transmitted through a second phase mask into an artificial intelligence model.

[0092] FIG. 4 is a drawing illustrating a phase mask according to an embodiment of the present disclosure.

[0093] In one embodiment, the electronic device can modulate the phase of light incident in a first direction (x) using a phase mask. For example, the phase mask can be a diffractive optical element (430). However, the present disclosure is not limited thereto, and in one embodiment, the electronic device can modulate the phase of light incident in a direction opposite to the first direction (x) using a phase mask.

[0094] Referring to FIG. 4, in one embodiment, the phase mask may be a diffractive optical element (410). The diffractive optical element (410) may have a pattern formed in a circular shape, for example. The diffractive optical element (410) may have a pattern in which a certain shape is regularly repeated. That is, the diffractive optical element (410) may have a concentric pattern in which circular patterns having different radii are repeated.

[0095] However, the shape of the pattern of the diffractive optical element (410) illustrated in FIG. 4 is merely an example, and the present disclosure is not limited thereto. For example, the diffractive optical element (410) may have a pattern formed in a square shape. The diffractive optical element (410) may have a pattern in which a square shape is repeated.

[0096] For convenience of explanation, the diffractive optical element (430) is described by enlarging the third region (C) of the diffractive optical element (410). In one embodiment, the diffractive optical element (430) may include a substrate (431) and a plurality of rods (432).

[0097] The substrate (431) can extend in a second direction (y) perpendicular to the first direction (x) and a third direction (z) perpendicular to the first direction (x). The substrate (431) can be formed on a plane extending in the second direction (y) and the third direction (z).

[0098] A plurality of rods (432) may be arranged on a substrate (431). The plurality of rods (432) may extend perpendicularly to the upper surface of the substrate (431). The plurality of rods (432) may extend in a first direction (x). As illustrated in FIG. 4, the plurality of rods (432) may include columns having a rectangular shape. The plurality of rods (432) may be arranged to be spaced apart from each other at a predetermined interval.

[0099] Although the heights of the plurality of rods (432) in FIG. 4 are shown as being irregularly formed, the present disclosure is not limited thereto. For example, the plurality of rods (432) may be arranged in a form in which the first height and the second height are regularly repeated.

[0100] The plurality of rods (432) included in the diffractive optical element (430) can guide incident light incident on the optical system to an arbitrary focus according to their heights and patterns. Here, the term "height and pattern" may refer to the height difference of each of the plurality of rods (432) and the pattern shape on the diffractive optical element (430) resulting from the height difference.

[0101] FIG. 5 is a drawing illustrating a phase mask according to an embodiment of the present disclosure.

[0102] In one embodiment, the electronic device can modulate the phase of light incident in a first direction (x) using a phase mask. However, the present disclosure is not limited thereto, and in one embodiment, the electronic device can modulate the phase of light incident in a direction opposite to the first direction (x) using a phase mask.

[0103] Referring to FIG. 5, in one embodiment, the phase mask may be a meta-lens (510). The meta-lens (510) may have, for example, a circularly formed pattern. The meta-lens (510) may have a pattern in which a certain shape is regularly repeated. That is, the meta-lens (510) may have a concentric pattern in which circular patterns having different radii are repeated. For reference, since the meta-lens (510) may have a pattern similar to a diffractive optical element (410 of FIG. 4), the fourth region (D) of the meta-lens (510) is enlarged to explain the difference from the diffractive optical element (410 of FIG. 4) of FIG. 4.

[0104] In one embodiment, the meta lens (530) may include a substrate (531) and a plurality of nanostructures (532).

[0105] The substrate (531) may extend in a second direction (y) intersecting the first direction (x) and a third direction (z) intersecting the first direction (x). The substrate (531) may be formed on a plane extending in the second direction (y) and the third direction (z).

[0106] A plurality of nanostructures (532) may be arranged on a substrate (531). The plurality of nanostructures (532) may extend perpendicularly to the upper surface of the substrate (531). The plurality of nanostructures (532) may extend in the first direction (x). The plurality of nanostructures (532) may be arranged spaced apart from each other at a predetermined interval.

[0107] A plurality of nanostructures (532) included in the meta-lens (530) can guide incident light incident to the optical system to an arbitrary focus according to their arrangement shape. Here, the 'array shape' may mean at least one of the size, shape, arrangement interval of each nano-structure (532), size distribution by position, shape distribution by position, and interval distribution by position of the nano-structures (532). The detailed arrangement shape of the nano-structures (532) included in the meta-lens (530) may vary depending on the optical performance required for the meta-lens (530). For example, the arrangement shape of the nano-structures (532) may vary depending on the wavelength band, focal length, etc. of light to be collected through the meta-lens (530).

[0108] FIG. 6 is a conceptual diagram specifically illustrating an operation of an electronic device according to an embodiment of the present disclosure to acquire an encoded image using a phase mask. For reference, the phase mask of FIG. 6 illustrates a cross-section of a diffractive optical element (430 of FIG. 4) cut along section AB of FIG. 4 as an example cross-section of the phase mask of one embodiment.

[0109] Referring to FIG. 6, in one embodiment, an electronic device can obtain a phase-modulated encoded image (20) by receiving light transmitted through a phase mask (111) through an image sensor (112). The electronic device can obtain the encoded image (20) by obtaining a distribution of light transmitted through the phase mask (111).

[0110] A phase mask (111) through which light is transmitted may include a first rod (R1) having a first thickness (T1) and a second rod (R2) having a second thickness (T2). The degree of refracting of light transmitted through the phase mask (111) may vary depending on the thickness of the area through which the light is transmitted, and accordingly, the electronic device may obtain an encoded image (20).

[0111] Light can be reflected from an object (10), transmitted through a phase mask (111), and reach an image sensor (112).

[0112] When explaining the first light and the second light separately, the first light can reach the object (10), i.e., the rose. The first light reaching the object (10) can be reflected from the surface of the object (10). The reflected light can be the first reflected light (RL1). The first reflected light (RL1) reflected from the surface of the object (10) can proceed toward the phase mask (111).

[0113] The first reflected light (RL1) may be refracted by the phase mask (111). The first reflected light (RL1) may be refracted by the first rod (R1) of the phase mask (111). The first rod (R1) may be a pattern area of ​​the phase mask (111) having a first thickness (T1). The first reflected light (RL1) may be refracted by transmitting through the first rod (R1) of the first thickness (T1). The transmitted first reflected light (RL1) may be first transmitted light (TL1). The first thickness (T1) may be relatively thinner than the second thickness (T2) to be described later. Accordingly, the first transmitted light (TL1) may be refracted relatively less and reach the image sensor (112). The image sensor (112) may be configured to receive the first transmitted light (TL1) transmitted through the first rod (R1).

[0114] The second light may reach the object (10). The second light reaching the object (10) may be reflected from the surface of the object (10). The reflected light may be second reflected light (RL2). The second reflected light (RL2) reflected from the surface of the object (10) may proceed toward the phase mask (111).

[0115] The second reflected light (RL2) can be transmitted through the phase mask (111). The second reflected light (RL2) can be transmitted through the second rod (R2) of the phase mask (111). The second rod (R2) may be a pattern area of ​​the phase mask (111) having a second thickness (T2). The second reflected light (RL2) can be refracted by transmitting through the second rod (R2) of the second thickness (T2). The transmitted second reflected light (RL2) can be second transmitted light (TL2). The second thickness (T2) may be relatively thicker than the first thickness (T1). Accordingly, the second transmitted light (TL2) can be refracted relatively more and reach the image sensor (112). The image sensor (112) can be configured to receive the second transmitted light (TL2) transmitted through the second rod (R2).

[0116] An electronic device can obtain a distribution of light by receiving light phase-modulated by a phase mask (111) through an image sensor (112). The electronic device can obtain an encoded image (20) based on the distribution of light. The image sensor (112) can obtain an encoded image (20) by receiving a first transmitted light (TL1) and a second transmitted light (TL2). Since the first transmitted light (TL1) and the second transmitted light (TL2) are refracted to different degrees as they respectively pass through the first rod (R1) and the second rod (R2) of the phase mask (111), the encoded image (20) can include information about an object (10) that cannot be recognized with the naked eye.

[0117] An electronic device according to one embodiment may further include a light source that outputs light. For example, the first reflected light (RL1) may refer to light output from the light source and reflected from a first point of the object (10), and the second reflected light (RL2) may refer to light output from the light source and reflected from a second point of the object (10).

[0118] In FIG. 6, the phase mask (111) is illustrated as having an irregular pattern shape including a first rod (R1) having a first thickness (T1) and a second rod (R2) having a second thickness (T2) based on the diffractive optical element (430 of FIG. 4) of FIG. 4, but the pattern shape of the phase mask (111) is only an example, and the present disclosure is not limited thereto. For example, the phase mask (111) may have a cross-sectional pattern in which the first rod (R1) and the second rod (R2) are repeatedly arranged.

[0119] Although the operation of obtaining an encoded image (20) by receiving light transmitted through a phase mask (111) using FIG. 6 has been exemplarily described, the operation of obtaining an encoded image by receiving light transmitted through a metalens or diffractive optical element also has the same principle.

[0120] For example, a metalens through which light is transmitted may have a different degree of refraction depending on the arrangement shape of the nanostructure, and an electronic device may obtain an encoded image (20) by receiving light transmitted by the metalens.

[0121] FIG. 7A is a diagram illustrating the normal placement of a phase mask within an optical system according to an embodiment of the present disclosure. It depicts a reference optical system (700) manufactured without error according to the design. The phase mask (710) depicted in FIG. 7A may be a second phase mask that does not contain noise.

[0122] Referring to FIG. 7A, a reference optical system (700) may include a housing (720) and a phase mask (710). The phase mask (710) may include a substrate (711) and a structure (712) disposed on the substrate (711). The phase of light transmitted through the phase mask (710) may be influenced by the structure (712). For example, if the phase mask (710) is a diffractive optical element, the structure (712) may be a plurality of rods (432 in FIG. 4) described using FIG. 4, and if the phase mask (710) is a metalens, the structure (712) may be a plurality of nanostructures (532 in FIG. 5) described using FIG. 5.

[0123] The housing (720) may be configured to secure a phase mask (710) therein. In the reference optical system (700), the phase mask (710) may be placed between the inner walls (721L, 721R) of the housing (720). For reference, FIG. 7A only illustrates a cross-section of the reference optical system (700), and the housing (720) may have a cylindrical structure, and the inner walls (721L, 721R) on both sides of the housing (720) may have the same configuration.

[0124] In the reference optical system (700), the center position of the phase mask (710) may be located on the housing center axis. The housing center axis may be an axis connecting the center of the housing (720). The housing center axis may be an axis spaced apart from the inner wall (721L, 721R) of the housing (720) by an equal distance. The housing center axis may coincide with the axis connecting the center of the phase mask (710). That is, the phase mask (710) may be positioned in the correct position without being twisted within the housing (720).

[0125] That is, in the reference optical system (700), the first distance (D1) between the left inner wall (721L) of the housing and the side wall of the phase mask (710) and the second distance (D2) between the right inner wall (721R) of the housing and the side wall of the phase mask (710) may be the same. Fig. 7a only illustrates a cross-section of the reference optical system (700), and the distance between the inner wall of the housing (720) and the side wall of the phase mask (710) may be constant.

[0126] The housing (720) may include a support (722). In the reference optical system (700), the phase mask (710) may be placed on the support (722). Accordingly, in the reference optical system (700), the upper surface of the substrate (711) may be parallel to the horizontal axis. That is, the phase mask (710) may be seated within the housing (720) without being tilted in one direction.

[0127] In one embodiment, light may be incident parallel to the central axis of the housing, and the phase of the incident light may be modulated by a phase mask (710). The phase-modulated light may be received by an image sensor. The electronic device may obtain an encoded image based on the received light. In one embodiment, the electronic device may obtain an encoded image by receiving the light phase-modulated by the phase mask (710) by the image sensor.

[0128] FIG. 7B is a drawing for explaining an assembly error due to an abnormal arrangement of a phase mask within an optical system in one embodiment of the present disclosure. For convenience of explanation, any details that overlap with those described using FIG. 7A are simplified or omitted. For example, FIG. 7B only focuses on the arrangement of the phase mask (760), and the substrate (761) and the structure (762) are identical to the substrate (711) and the structure (712) illustrated in FIG. 7A, and their descriptions are omitted. The phase mask (760) illustrated in FIG. 7B may be a first phase mask that includes noise.

[0129] Referring to FIG. 7b, the optical system (750) according to one embodiment may include an assembly error due to the phase mask (760) being positioned off-center.

[0130] In one embodiment, the phase mask (760) may be abnormally positioned within the space between the inner walls (771L, 771R) of the housing (770). In the optical system (750) in an abnormally assembled state, the center position of the phase mask (760) may not be located on the housing center axis (X1). That is, the center of the phase mask (760) may be located decentered from the housing center axis (X1). The mask center axis (X2) connecting the centers of the phase masks (760) may not coincide with the housing center axis (X1). In the optical system (750) in an abnormally assembled state, the distance between the phase mask (760) and the inner walls (771L, 771R) of the housing (770) may not be constant. For example, the third distance (D3) and the fourth distance (D4) may not be equal.

[0131] FIG. 7C is a drawing for explaining an assembly error due to an abnormal arrangement of a phase mask within an optical system in one embodiment of the present disclosure. For convenience of explanation, any details that overlap with those described using FIG. 7A are simplified or omitted. For example, FIG. 7C only focuses on the arrangement of the phase mask (760), and the substrate (761) and the structure (762) are the same as the substrate (711) and the structure (712) illustrated in FIG. 7A, and their descriptions are omitted. The phase mask (760) illustrated in FIG. 7C may be a first phase mask that includes noise.

[0132] Referring to FIG. 7c, the optical system (750) according to one embodiment may include an assembly error due to the phase mask (760) being misaligned.

[0133] In one embodiment, the phase mask (760) may be abnormally positioned within the space between the inner walls of the housing (770). In the optical system (750) in an abnormally assembled state, the phase mask (760) may be misaligned. The mask central axis (X2) connecting the centers of the phase masks (760) may not be parallel to the housing central axis (X1). The mask central axis (X2) may intersect the housing central axis (X1). The mask central axis (X2) may be angled at a predetermined angle ( ) may be inclined. Accordingly, the upper surface of the substrate (761) may not be parallel to the horizontal axis (X3). The upper surface of the substrate (761) may intersect the horizontal axis (X3).

[0134] FIG. 8A is a drawing illustrating the structure of a phase mask normally manufactured according to one embodiment of the present disclosure. It depicts the structure of a phase mask manufactured without error according to the design. The structure of a reference phase mask is described through FIG. 8A. For convenience of explanation, details that overlap with those described using FIG. 4 are simplified or omitted. The phase mask (800) illustrated in FIG. 8A may be a second phase mask that does not include noise, as the diffractive optical element.

[0135] Referring to FIG. 8A, a phase mask (800) according to an embodiment may be a diffractive optical element. The phase mask (800) may include a substrate (810) and a plurality of rods. The plurality of rods may include first to fifth rods (821, 822, 823, 824, 825). For convenience of explanation, the plurality of rods is illustrated as including five rods, but the number of rods does not limit the present disclosure.

[0136] The substrate (810) may extend in a second direction (y) intersecting the first direction (x). Although FIG. 8A is illustrated in a two-dimensional form, the substrate (810) may be arranged on a plane extending in the second direction (y) intersecting the first direction (x) and the third direction. The first to fifth rods (821, 822, 823, 824, 825) may be arranged on the substrate (810). The first to fifth rods (821, 822, 823, 824, 825) may extend in the first direction (x).

[0137] In one embodiment, a normally manufactured diffractive optical element (800) may include first to fifth rods (821, 822, 823, 824, 825) formed identically with a first width (W1).

[0138] In one embodiment, the heights of the plurality of rods may not be identical. Within the phase mask (800) in a normally manufactured state, the first rod (821) and the fifth rod (825) may be formed to a height equal to the first height (H1). The first rod (821) and the fifth rod (825) may extend in the first direction (x) by the first height (H1). Within the phase mask (800) in a normally manufactured state, the second to fourth rods (822, 823, 824) may be formed to a height equal to the second height (H2). The second to fourth rods (822, 823, 824) may extend in the first direction (x) by the second height (H2). Based on the height difference between the first to fifth loads (821, 822, 823, 824, 825), a pattern of the phase mask (800) can be formed.

[0139] However, for convenience of explanation, within the phase mask (800) in a normally manufactured state, the first rod (821) and the fifth rod (825) have a first height (H1) and the second to fourth rods (822, 823, 824) have a second height (H2), but this is merely an example and does not limit the present disclosure. For example, within the phase mask (800) in a normally manufactured state, the first rod (821), the third rod (823), and the fifth rod (825) may have a first height (H1), and the second rod (822) and the fourth rod (824) may have a second height (H2). The pattern of the phase mask (800) due to the height of each rod does not limit the present disclosure. The structure of the phase mask (800) may vary depending on the optical performance required for the phase mask (800).

[0140] In one embodiment, light may be incident perpendicular to the substrate (810), and the phase of the incident light may be modulated by the phase mask (800). For example, the light may be incident toward the phase mask (800) in a first direction (x). In another example, the light may be incident toward the phase mask (800) in a direction opposite to the first direction (x). In one embodiment, the phase-modulated light may be received by an image sensor. The electronic device may obtain an encoded image based on the received light. In one embodiment, the electronic device may obtain an encoded image by receiving the light phase-modulated by the phase mask through the image sensor.

[0141] FIG. 8b is a diagram illustrating manufacturing errors due to the structure of an abnormally manufactured phase mask according to one embodiment of the present disclosure. For convenience of explanation, details overlapping with those described using FIG. 8a are simplified or omitted. The phase mask (800b) illustrated in FIG. 8b may be a first phase mask containing noise.

[0142] For convenience of explanation, using Fig. 8b, a phase mask (800b) in an abnormally manufactured state is described in comparison with a phase mask (800 in Fig. 8a) in a normally manufactured state of Fig. 8a.

[0143] Referring to FIG. 8b, the optical system according to one embodiment may have a manufacturing error related to the structure of the phase mask (800b). The manufacturing error may include an error related to the height of a plurality of rods, for example, a first to fifth rods (821b, 822b, 823b, 824b, 825b), that occur during the process of forming the rods.

[0144] In one embodiment, the first to fifth rods (821b, 822b, 823b, 824b, 825b) may not be manufactured normally and may have errors in height. For example, the first rod that is manufactured normally should be formed with a first height (H1), but the first rod (821b) that is manufactured abnormally may be formed with a height lower than the first height (H1). The second rod that is manufactured normally should be formed with a second height (H2), but the second rod (822b) that is manufactured abnormally may be formed with a height higher than the second height (H2). The third rod that is manufactured normally should be formed with a second height (H2), but the third rod (823b) that is manufactured abnormally may be formed with a height lower than the second height (H2). A normally manufactured fourth rod should be formed to a second height (H2), but an abnormally manufactured fourth rod (824b) may be formed to a height higher than the second height (H2). A normally manufactured fifth rod should be formed to a first height (H1), but an abnormally manufactured fifth rod (825b) may be formed to a height higher than the first height (H1).

[0145] Due to height errors that occur when manufacturing the first to fifth loads (821b, 822b, 823b, 824b, 825b), the pattern of the phase mask (800b) may differ from the intended manufacturing intention. Due to the height errors, the phase of light transmitted through the phase mask (800b) may be additionally modulated.

[0146] For example, the path of light transmitted through a normally manufactured diffractive optical element (800 in FIG. 8a) may be different from the path of light transmitted through an abnormally manufactured phase mask (800b) described using FIG. 8b. The distribution of light transmitted through a normally manufactured diffractive optical element (800 in FIG. 8a) may be different from the distribution of light transmitted through an abnormally manufactured phase mask (800b) described using FIG. 8b. In one embodiment, even if an electronic device receives light reflected from the same object, an encoded image obtained based on light transmitted through a normally manufactured phase mask (800 in FIG. 8a) may be different from an encoded image obtained based on light transmitted through an abnormally manufactured phase mask (800b) described using FIG. 8b.

[0147] FIG. 8c is a diagram illustrating manufacturing errors due to the structure of an abnormally manufactured phase mask according to one embodiment of the present disclosure. For convenience of explanation, details that overlap with those described using FIG. 8a are simplified or omitted. The phase mask (800c) illustrated in FIG. 8c may be a first phase mask containing noise.

[0148] For convenience of explanation, using Fig. 8c, a phase mask (800c) in an abnormally manufactured state is described in comparison with a phase mask (800 in Fig. 8a) in a normally manufactured state of Fig. 8a.

[0149] Referring to FIG. 8c, the optical system according to one embodiment may have a manufacturing error related to the structure of the phase mask (800c). The manufacturing error may include an error related to the width of a plurality of rods, for example, a first to fifth rods (821c, 822c, 823c, 824c, 825c), that occur during the process of forming the rods.

[0150] In one embodiment, the first to fifth rods (821c, 822c, 823c, 824c, 825c) may not be manufactured normally and may contain errors in width. For example, each of the plurality of normally manufactured rods (the first to fifth rods of FIG. 8a) may be formed with a first width (W1). For convenience of explanation, the third rod (823c) in FIG. 8c is illustrated as being manufactured normally to have the first width (W1).

[0151] In comparison, the abnormally manufactured first rod (821c) can be formed with a second width (W2) that is wider than the first width (W1). The abnormally manufactured second rod (822c) can be formed with a third width (W3) that is thinner than the first width (W1). The description of the widths of the fourth and fifth rods (824c, 825c) is omitted because it overlaps with the description using the first rod (821c) and the second rod (822c).

[0152] Due to errors in width that occur when manufacturing the first to fifth loads (821c, 822c, 823c, 824c, 825c), the pattern of the phase mask (800c) may differ from the intended manufacturing intention. Due to errors in width, the phase of light transmitted through the phase mask (800c) may be additionally modulated.

[0153] For example, the path of light transmitted through a normally manufactured phase mask (800 of FIG. 8A) and the path of light transmitted through an abnormally manufactured phase mask (800c) described using FIG. 8C may be different. The distribution of light transmitted through a normally manufactured phase mask (800 of FIG. 8A) and the distribution of light transmitted through an abnormally manufactured phase mask (800c) described using FIG. 8C may be different. In one embodiment, even if an electronic device receives light reflected from the same object, an encoded image obtained based on light transmitted through a normally manufactured phase mask (800 of FIG. 8A) and an encoded image obtained based on light transmitted through an abnormally manufactured phase mask (800c) described using FIG. 8C may be different.

[0154] FIG. 8d is a diagram illustrating manufacturing errors due to the structure of an abnormally manufactured phase mask according to one embodiment of the present disclosure. For convenience of explanation, details that overlap with those described using FIG. 8a are simplified or omitted. The phase mask (800d) illustrated in FIG. 8d may be a first phase mask containing noise.

[0155] Referring to FIG. 8d, the optical system according to one embodiment may have a manufacturing error related to the structure of the phase mask (800d). The manufacturing error may include an error related to the width of the rods that occurs during the process of forming a plurality of rods.

[0156] In one embodiment, the plurality of rods may have a tapering shape. For example, a first rod (821d) among the plurality of rods may have an upper width (W_h) at the top and a lower width (W_l) at the bottom. The upper width (W_h) may be smaller than the lower width (W_l). That is, the width of the first rod (821d) may decrease along the first direction (x).

[0157] Descriptions of the second to fifth loads are omitted as they overlap with those described using the first load (821d).

[0158] Due to errors in tapering that occur during the fabrication of the first to fifth loads, the pattern of the phase mask (800d) may differ from the intended fabrication. Due to errors in tapering, i.e., width, the phase of light transmitted through the phase mask (800d) may be additionally modulated.

[0159] For example, the path of light transmitted through a normally manufactured phase mask (800 of FIG. 8a) may be different from the path of light transmitted through an abnormally manufactured phase mask (800d) described using FIG. 8d. The distribution of light transmitted through a normally manufactured phase mask (800 of FIG. 8a) may be different from the distribution of light transmitted through an abnormally manufactured phase mask (800d) described using FIG. 8d. In one embodiment, even if an electronic device receives light reflected from the same object, an encoded image obtained based on light transmitted through a normally manufactured phase mask (800 of FIG. 8a) may be different from an encoded image obtained based on light transmitted through an abnormally manufactured phase mask (800d) described using FIG. 8d.

[0160] FIG. 8e is a diagram illustrating manufacturing errors due to the structure of an abnormally manufactured phase mask according to one embodiment of the present disclosure. For convenience of explanation, details overlapping with those described using FIG. 8a are simplified or omitted. The phase mask (800e) illustrated in FIG. 8e may be a first phase mask containing noise.

[0161] Referring to FIG. 8e, the optical system according to one embodiment may have a manufacturing error related to the structure of the phase mask (800e). The manufacturing error may include an error related to the width of the rods that occurs during the process of forming a plurality of rods.

[0162] In one embodiment, the first load (821e) among the plurality of loads may have an upper width (W_h) at the upper portion and a lower width (W_l) at the lower portion. The upper width (W_h) may be greater than the lower width (W_l). That is, the width of the first load (821e) may increase along the first direction (x). Descriptions of the second to fifth loads are omitted because they overlap with those described using the first load (821e).

[0163] Due to errors in width that occur during the fabrication of the first to fifth loads, the pattern of the phase mask (800e) may differ from the intended fabrication. Due to errors in width, the phase of light transmitted through the phase mask (800e) may be additionally modulated.

[0164] For example, the path of light transmitted through a normally manufactured phase mask (800 of FIG. 8A) may be different from the path of light transmitted through an abnormally manufactured phase mask (800e) described using FIG. 8E. The distribution of light transmitted through a normally manufactured phase mask (800 of FIG. 8A) may be different from the distribution of light transmitted through an abnormally manufactured phase mask (800e) described using FIG. 8E. In one embodiment, even if an electronic device receives light reflected from the same object, an encoded image obtained based on light transmitted through a normally manufactured phase mask (800 of FIG. 8A) may be different from an encoded image obtained based on light transmitted through an abnormally manufactured phase mask (800e) described using FIG. 8E.

[0165] FIG. 9A is a drawing illustrating the structure of a metalens normally manufactured according to one embodiment of the present disclosure. It depicts the structure of a metalens manufactured without error according to the design. The structure of a reference metalens is described through FIG. 9A. For reference, FIG. 9A is a plan view specifically illustrating area E of FIG. 5. In addition, FIG. 9A is a cross-sectional view taken along a section perpendicular to the first direction (x).

[0166] For convenience of explanation, any part that overlaps with what was explained using Figure 5 is simplified or omitted.

[0167] As the phase mask illustrated in Fig. 9a, the meta lens (900a) may be a second phase mask that does not include noise.

[0168] Referring to FIG. 9a, a metalens (900a) according to one embodiment may include a substrate (910a) and a plurality of nanostructures. The plurality of nanostructures may include a first nanostructure (920a) to a fourth nanostructure, but for convenience of explanation, the first nanostructure (920a) will be described as the center.

[0169] The substrate (910a) may extend in a second direction (y) intersecting the first direction (x). The substrate (910a) may extend in a third direction (z) intersecting the first direction (x). The substrate (910a) may be arranged on a plane extending in the second direction (y) and the third direction (z). A plurality of nanostructures may be arranged on the substrate (910a). The plurality of nanostructures may extend in the first direction (x).

[0170] In one embodiment, the first nanostructure (920a) may include a central portion (921a) and wing portions (922a). For example, the first nanostructure (920a) may be formed in a shape including four wing portions (922a) on the side surfaces of the central portion (921a).

[0171] In one embodiment, the wing portion (922a) may be formed in an angular shape. For example, a first side surface (S1) of the wing portion (922a) may be parallel to a plane extending in a first direction (x) and a fourth direction (w). The fourth direction (w) may be perpendicular to the first direction (x) and intersect with the second direction (y) and the third direction (z). A second side surface (S2) of the wing portion (922a) may be parallel to the first direction (x) and perpendicular to the fourth direction (w). A third side surface (S3) of the wing portion (922a) may be parallel to a plane extending in the first direction (x) and the fourth direction (w). That is, the wing portion (922a) has an angular shape and may extend in the first direction (x).

[0172] However, the first nanostructure (920a) illustrated in FIG. 9a is only described as a nanostructure that serves as a design reference, and the shape of the first nanostructure (920a) that serves as a design reference may vary depending on the optical performance required for the meta lens (900a) and is merely an example.

[0173] In one embodiment, a plurality of nanostructures may be spaced apart from each other and arranged on a substrate (910a). The detailed arrangement shape of the nanostructures included in the meta-lens (900a) may vary depending on the optical performance required for the meta-lens (900a).

[0174] FIG. 9b is a drawing illustrating manufacturing errors occurring depending on the nanostructure in a metalens according to an embodiment of the present disclosure. For convenience of explanation, details that overlap with those described using FIG. 9a are simplified or omitted.

[0175] For convenience of explanation, using Fig. 9b, a meta-lens (900b) in an abnormally manufactured state is described in comparison with a meta-lens (900a in Fig. 9a) in a normally manufactured state of Fig. 9a.

[0176] As a phase mask illustrated in FIG. 9b, the meta lens (900b) may be a first phase mask including noise.

[0177] Referring to FIG. 9b, the optical system according to one embodiment may have manufacturing errors related to the structure of the meta-lens (900b). The manufacturing errors may include errors related to the shape of the nano-structures (920b) that occur during the process of forming a plurality of nano-structures (920b).

[0178] In one embodiment, multiple nanostructures may not be manufactured normally and may have shape errors. In a normally manufactured nanostructure, the wing portion (922a in FIG. 9A) may be formed in an angular shape. As a comparative example, the wing portion (922b) may be formed in a streamlined shape. The wing portion (922b) may be formed in a shape that becomes narrower as it moves away from the center (921b).

[0179] Due to shape errors that arise when fabricating multiple nanostructures, the pattern of the metalens (900b) may differ from the intended fabrication. Due to shape errors, the phase of light transmitted through the metalens (900b) may be additionally modulated.

[0180] For example, the path of light transmitted through a normally manufactured meta-lens (900a in FIG. 9a) may be different from the path of light transmitted through an abnormally manufactured meta-lens (900b) described using FIG. 9b. The distribution of light transmitted through a normally manufactured meta-lens (900a in FIG. 9a) may be different from the distribution of light transmitted through an abnormally manufactured meta-lens (900b) described using FIG. 9b. In one embodiment, even if an electronic device receives light reflected from the same object, an encoded image obtained based on light transmitted through a normally manufactured meta-lens (900a in FIG. 9a) may be different from an encoded image obtained based on light transmitted through an abnormally manufactured meta-lens (900b) described using FIG. 9b.

[0181] FIG. 10 is a conceptual diagram illustrating an operation of an electronic device according to an embodiment of the present disclosure to extract feature points using a phase mask. For convenience of explanation, details that overlap with those described using FIG. 1 are simplified or omitted.

[0182] In the present disclosure, a feature point may refer to a point representing a key feature or point of interest in an image. For example, a feature point may be a corner where two or more edges intersect, detected based on changes in pixel values, or a point with a maximum or minimum pixel value in an image.

[0183] Referring to FIG. 10, in one embodiment, light may be incident toward a phase mask (111). The incident light may be light reflected from an object (10) positioned in front of the phase mask (111). The phase of the light transmitted by the phase mask (111) may be modulated.

[0184] In one embodiment, the electronic device can obtain an encoded image (20) by using an image sensor (112) to receive light transmitted through a phase mask (111). The electronic device can obtain an encoded image (20) corresponding to an object (10) based on the distribution of light transmitted through the phase mask (111) containing noise.

[0185] In one embodiment, the phase mask (111) may be configured as either a first phase mask including noise or a second phase mask not including noise. The electronic device may obtain a first encoded image by receiving light transmitted through the first phase mask using the image sensor (112). The electronic device may obtain a second encoded image by receiving light transmitted through the second phase mask using the image sensor (112). The electronic device may obtain a first encoded image or a second encoded image corresponding to the object (10) based on the distribution of the light transmitted through the first phase mask or the second phase mask.

[0186] In one embodiment, an electronic device can obtain feature points (35) from an encoded image (20). The electronic device can input the obtained encoded image (20) into an artificial intelligence model to obtain feature points (35). The artificial intelligence model may be a model trained to extract feature points. The artificial intelligence model may be a model trained to extract feature points from an encoded image by passing through a phase mask. The feature points may be extracted by taking into account noise generated during a process related to the phase mask.

[0187] In one embodiment, the electronic device can obtain feature points (35) by inputting the first encoded image or the second encoded image into an artificial intelligence model.

[0188] Depending on the process steps of the phase mask, errors may occur during the assembly process of the phase mask within the optical system, or errors may occur during the manufacturing process of the phase mask. An electronic device according to an embodiment may extract the same feature point (35) from an encoded image (20) encoded according to various noises using an artificial intelligence model learned based on noise, which is an error occurring during the process related to the phase mask. Therefore, the electronic device according to an embodiment may consistently extract the feature point (35) despite process errors related to the phase mask.

[0189] In one embodiment, the electronic device may consistently extract feature points (35) based on light passing through a second phase mask that does not include any noise generated in a process related to the phase mask, using the learned artificial intelligence model. The electronic device may also obtain feature points (35) from an encoded image (20) obtained by passing through the second phase mask that does not include noise, using the learned artificial intelligence model.

[0190] FIG. 11 is a drawing for explaining the effect of an electronic device according to an embodiment of the present disclosure.

[0191] Referring to Figure 11, an image restored by the first system and an image restored by the second system are compared.

[0192] The first system may be a system for restoring an image by taking noise into account using an electronic device according to an embodiment of the present disclosure. For example, the first system may be a system for restoring an image using an artificial intelligence model trained to restore an encoded image obtained based on light transmitted through a phase mask, taking noise associated with the phase mask into account.

[0193] In comparison, the second system may be a system that restores an image without considering noise. The second system may be a system that restores an encoded image obtained based on light transmitted through a phase mask.

[0194] In one embodiment, the quality of a restored image may deteriorate as the relative magnitude of noise, which is an error generated during a process related to a phase mask, increases. The first system may obtain a restored image of lower quality as the relative magnitude of noise increases. The second system may obtain a restored image of lower quality as the relative magnitude of noise increases.

[0195] In one embodiment, the first system can obtain a high-quality restored image when the relative magnitude of noise is small. The first image (1811) may be a high-quality restored image. The first system can obtain a high-quality restored image even when the relative magnitude of noise is medium. The second image (1812) may be a high-quality restored image. However, the quality of the second image (1812) may be lower than that of the first image (1811). In other words, the first system can consistently obtain a high-quality restored image from an encoded image when the relative magnitude of noise is medium or lower.

[0196] The first system may obtain a low-quality reconstructed image when the relative magnitude of noise is large. The third image (1813) may be a low-quality reconstructed image. The quality of the third image (1813) may be lower than that of the second image (1812). That is, the first system may not obtain a high-quality reconstructed image from the encoded image when the relative magnitude of noise is greater than medium. In one embodiment, a noise level limit for the first system may be set to restore a high-quality image. For example, the limit may be a medium-sized noise.

[0197] However, the noise level limit that enables obtaining a high-quality restored image is not limited to the present disclosure. For example, the noise limit may vary depending on the learning direction of an AI model trained to restore an encoded image obtained based on light transmitted through a phase mask containing noise. Specifically, the AI ​​model may be trained to consistently restore images for a wide range of noises, or it may be trained to precisely restore images for a narrow range of noises, depending on the user's intent.

[0198] In comparison, the second system can obtain a high-quality restored image when the relative size of noise is small. The fourth image (1821) may be a high-quality restored image. The second system may be a system capable of obtaining a high-quality restored image from an encoded image when noise is minimal.

[0199] However, the second system may obtain a low-quality restored image when the relative size of noise is medium. The fifth image (1822) may be a low-quality restored image. However, the quality of the fifth image (1822) may be lower than that of the fourth image (1821). The second system may obtain a low-quality restored image when the relative size of noise is large. The sixth image (1823) may be a low-quality restored image. The quality of the sixth image (1823) may be lower than that of the fifth image (1822). The second system may be a system that has difficulty in consistently obtaining a high-quality restored image from an encoded image when noise is present.

[0200] FIG. 12 is a conceptual diagram illustrating an image restoration based on a phase mask with noise applied according to one embodiment of the present disclosure, and an artificial intelligence model trained based on the restored image. For convenience of explanation, details that overlap with those described using FIGS. 1 and 2 are simplified or omitted.

[0201] Referring to FIG. 12, in one embodiment, the electronic device includes an artificial intelligence model (130). For example, the processor of the electronic device may perform various operations to train the artificial intelligence model (130). The artificial intelligence model (130) may be trained to obtain a training encoded image (60) from an input image (50), and to obtain a training restored image (70) by receiving the training encoded image (60). The artificial intelligence model (130) may be trained to optimize the design of the phase mask (111) through a device optimization algorithm (132) based on the training restored image (70), and to update the parameters of the artificial intelligence model (130) for restoring the image through an image restoration algorithm (131).

[0202] The artificial intelligence model (130) can be trained to acquire an input image (50). For example, the input image (50) may be image data obtainable from a server. The input image (50) may include a predetermined object. In FIG. 1, the object is depicted as a rose, but this is merely an example, and the present disclosure is not limited thereto. For example, the object may refer to any object that an electronic device seeks to recognize, such as an eye, a laptop, a cell phone, or coffee.

[0203] As another example, the input image (50) may refer to a scene of an object located in front of an electronic device. The artificial intelligence model (130) may be trained to acquire a scene including an object located in front of the electronic device as the input image (50). The type of object is not limited to the present disclosure.

[0204] In one embodiment, the operation performed through the phase mask (111) and the image sensor (112) may be an operation simulated by the artificial intelligence model (130). For example, the artificial intelligence model (130) may be trained to simulate the process in which light reflected from an object passes through the phase mask (111) and is imaged through the image sensor (112). The artificial intelligence model (130) may be trained to obtain a training encoded image (60) by converting the light received by the image sensor (112) into an electrical signal through the simulation. The optical system (110) may be a virtual configuration required in the process in which the artificial intelligence model (130) simulates the distribution of light passing through the phase mask (111).

[0205] In one embodiment, the artificial intelligence model (130) can be trained to obtain a training encoded image (60) corresponding to an input image (50) by simulating the distribution of light transmitted through a phase mask (111) to which random noise is applied.

[0206] Random noise may refer to any random noise applicable to the phase mask (111). Random noise may include noise related to assembly errors caused by misplacement of the phase mask (111) and noise related to manufacturing errors caused by structural defects of the phase mask (111). The artificial intelligence model (130) may implement a virtual phase mask (111) including random noise, which is any noise, and may be trained to obtain a distribution of light transmitted by the phase mask (111) implemented through simulation. The artificial intelligence model (130) may be trained to obtain a training encoded image (60) based on the simulated distribution of light. The description of the random noise overlaps with the noise described using FIG. 1, so it will be brief.

[0207] For example, the artificial intelligence model (130) can be trained to calculate the distribution of light obtained by transmitting light from a predetermined light source through a phase mask (111). The artificial intelligence model (130) can be trained to obtain a point spread function for light transmitted through the phase mask (111). The artificial intelligence model (130) can be trained to obtain a training encoded image (60) by performing a convolution operation on the input image (50) and the point spread function. The obtained training encoded image (60) can correspond to the input image (50).

[0208] The artificial intelligence model (130) can be trained to obtain multiple training encoded images (60) corresponding to the same input image (50) based on random noise. The multiple training encoded images (60) correspond to one input image (50), but may differ depending on whether they are obtained based on light passing through a phase mask (111) to which random noise of a certain size is applied.

[0209] In one embodiment, the artificial intelligence model (130) may be trained to obtain a training restored image (70) based on a training encoded image (60). The artificial intelligence model (130) may be trained to receive the training encoded image (60) as input and obtain the training restored image (70). For example, the artificial intelligence model (130) may be trained to obtain the training restored image (70) from the training encoded image (60) through an image restoration algorithm (131).

[0210] In one embodiment, the artificial intelligence model (130) can be trained to calculate a loss function regarding the difference between the training restored image (70) and the input image (50). The artificial intelligence model (130) can be trained to minimize the loss function. By calculating the loss function, the artificial intelligence model (130) can be trained to restore an image close to the input image (50).

[0211] In one embodiment, the artificial intelligence model (130) can be trained to optimize the phase mask (111) and update the parameters of the artificial intelligence model (130) by minimizing a loss function. The artificial intelligence model (130) can be trained to optimize the design of the phase mask (111) and update the parameters so as to restore the image to be close to the input image (50).

[0212] In one embodiment, the design of the phase mask (111) can be optimized to advantageously obtain a training reconstruction image (70) from a training encoded image (60) through a device optimization algorithm (132). For example, device design variables related to the design of the phase mask (111) can be set, and the electronic device can update the device design variables to obtain a training reconstruction image (70) similar to the input image (50) through learning to minimize a loss function. The device design variables can include information related to the design of the devices, such as, for example, the position and angle of the phase mask (111) within the optical system (110), and the height and arrangement of the components within the phase mask (111).

[0213] In one embodiment, the artificial intelligence model (130) can update the parameters of the artificial intelligence model (130) by learning to minimize a loss function. For example, the artificial intelligence model (130) can update the parameters of an image restoration algorithm (131). The parameters of the artificial intelligence model (130) can be updated to minimize the difference between the training restoration image (70) and the input image (50). Accordingly, the artificial intelligence model (130) can update the parameters of the artificial intelligence model (130) so as to obtain a training restoration image (70) that is close to the input image (50).

[0214] FIG. 13 is a conceptual diagram illustrating a method for extracting feature points based on a phase mask with noise applied according to an embodiment of the present disclosure, and an artificial intelligence model trained based on the extracted feature points. For convenience of explanation, details that overlap with those described using FIGS. 1, 2, and 12 are simplified or omitted.

[0215] Referring to FIG. 13, in one embodiment, the electronic device includes a feature extraction model (140). The feature extraction model (140) can obtain a training encoded image (60) from an input image (50), and extract training feature points (75) by receiving the training encoded image (60). The feature extraction model (140) can optimize the design of a phase mask (111) through a device optimization algorithm (142) based on the training restored image (70), and update parameters of the feature extraction model (140) for extracting feature points through a feature extraction algorithm (141).

[0216] In one embodiment, the feature point extraction model (140) can obtain a training encoded image (60) corresponding to an input image (50) by simulating the distribution of light passing through a phase mask (111) to which random noise is applied.

[0217] In one embodiment, the feature extraction model (140) can obtain training feature points (75) based on the training encoded image (60). The feature extraction model (140) can receive the training encoded image (60) as input and obtain training feature points (75). For example, the feature extraction model (140) can obtain training feature points (75) from the training encoded image (60) through a feature extraction algorithm (141).

[0218] In one embodiment, the feature extraction model (140) can calculate a loss function regarding the difference between the training feature points (75) and the input feature points (55) regarding the object in the input image (50). The feature extraction model (140) can be trained to minimize the loss function. The feature extraction model (140) can be trained to accurately extract the input feature points (55) regarding the object in the input image (50) by minimizing the loss function.

[0219] In one embodiment, the feature extraction model (140) can optimize the design of the phase mask (111) and update the parameters of the feature extraction model (140) by minimizing the loss function. The feature extraction model (140) can optimize the design of the phase mask (111) and update the parameters so as to accurately extract input feature points (55) regarding an object in an input image (50).

[0220] In one embodiment, the design of the phase mask (111) can be optimized to advantageously obtain training feature points (75) from the training encoded image (60) through a component optimization algorithm (142). For example, component design variables regarding the design of the phase mask (111) can be set, and the feature point extraction model (140) can update the component design variables to obtain training feature points (75) similar to input feature points (55) regarding objects in the input image (50) through learning to minimize a loss function. The component design variables can include information regarding the design of the components, such as, for example, the position and angle of the phase mask (111) within the optical system (110), and the height and arrangement of the components within the phase mask (111).

[0221] In one embodiment, the feature extraction model (140) can update the parameters of the feature extraction model (140) by learning to minimize a loss function. For example, the feature extraction model (140) can update the parameters of the feature extraction algorithm (141). The parameters of the feature extraction model (140) can be updated so that the difference between the training feature points (75) and the input feature points (55) regarding the object in the input image (50) is minimized. Accordingly, the feature extraction model (140) can update the parameters of the feature extraction model (140) so that the input feature points (55) regarding the object in the input image (50) can be accurately extracted.

[0222] FIG. 14 is a block diagram illustrating components of an electronic device according to an embodiment of the present disclosure.

[0223] For convenience of explanation, parts that overlap with those described using Figures 1 and 2 are simplified or omitted.

[0224] The electronic device (1400) may be a device that acquires an image by receiving light transmitted through a phase mask (1411) via an image sensor (1412). The electronic device (1400) may be implemented as various devices, such as, for example, a mobile device, a smart phone, a laptop computer, a desktop, a tablet PC, a wearable device, an e-book reader, a digital broadcasting terminal, a PDA (Personal Digital Assistants), a PMP (Portable Multimedia Player), a navigation device, an MP3 player, a camcorder, etc. In one embodiment of the present disclosure, the electronic device (1400) may be an augmented reality device. An augmented reality device is a device that can express 'augmented reality', and can include not only augmented reality glasses that are generally worn on the user's face, but also a head-mounted display apparatus (HMD) or an augmented reality helmet that is worn on the head.

[0225] Referring to FIG. 14, an electronic device (1400) may include an optical system (1410), a processor (1420), and a memory (1430). The optical system (1410) may include a phase mask (1411) and an image sensor (1412). The optical system (1410), the processor (1420), and the memory (1430) may each be electrically and / or physically connected to each other.

[0226] The components illustrated in FIG. 14 are merely in accordance with one embodiment of the present disclosure, and the components included in the electronic device (1400) are not limited to those illustrated in FIG. 14. The electronic device (1400) may not include some of the components illustrated in FIG. 14, and may further include components not illustrated in FIG. 14. For example, the electronic device (1400) may further include a power supply (e.g., a battery) that supplies driving power to the optical system (1410), the processor (1420), and the memory (1430).

[0227] For another example, the electronic device (1400) may further include a low-resolution Light Detection and Ranging (LDAR) sensor or a Time of Flight (TOF) sensor that acquires depth value information of a photographing object. The electronic device (1400) can acquire an encoded image by receiving light through the TOF sensor, and can acquire a restored image based on the acquired encoded image. That is, the type of the image sensor (1412) that receives light is not limited to the present disclosure.

[0228] In one embodiment, the image sensor (1412) or the TOF sensor of the present disclosure may be used to track gaze. In this case, the gaze tracking sensor or the TOF sensor typically uses an infrared (IR) light source. To track gaze using the gaze tracking sensor, light in the infrared band output from the infrared light source may be reflected from the eye and transmitted through a phase mask (1411). The light reflected from the eye and transmitted through the phase mask (1411) may be received by the gaze tracking sensor. To obtain depth information using the TOF sensor, light in the infrared band output from the infrared light source may be reflected from an object and transmitted through a phase mask (1411). The light reflected from the object and transmitted through the phase mask (1411) may be received by the TOF sensor. In this case, the light sources corresponding to the gaze tracking sensor and the TOF sensor may be used as multiple separate infrared light sources.

[0229] The phase mask (1411) may be a mask having a predetermined pattern formed thereon. The phase of light transmitted through the phase mask (1411) may be modulated according to the pattern. The phase mask (1411) may have different patterns, and the plurality of regions constituting the pattern may be formed with various thicknesses. Depending on the shape of the pattern including the plurality of regions formed with various thicknesses, the amount of light transmitted through the phase mask (1411) may vary, the phase, and the path of the light, and the original image may be distorted depending on the amount of light transmitted, the phase, and the path of the light.

[0230] The image sensor (1412) is a photographing element configured to receive light transmitted through the phase mask (1411), convert the brightness or intensity of the received light into an electrical signal, and image the electrical signal, thereby obtaining a coded image. The image sensor (1412) may be implemented as, for example, a CCD (Charge Coupled Device) or a CMOS (Complementary Metal-Oxide Semiconductor), but is not limited thereto.

[0231] The processor (1420) may execute one or more instructions or program codes stored in the memory (1430), and perform functions and / or operations corresponding to the instructions or program codes. The processor (1420) may be configured with hardware components that perform arithmetic, logic, and input / output operations and signal processing. The processor (1420) may be configured with at least one of, for example, a central processing unit (CPU), a microprocessor, a graphic processing unit (GRAP), an application processor (AP), an application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), and field programmable gate arrays (FPGAs), but is not limited thereto.

[0232] Although the processor (1420) is illustrated as a single element in FIG. 14, it is not limited thereto. In one embodiment, the processor (1420) may be configured as one or more than one processor.

[0233] In one embodiment of the present disclosure, the processor (1420) may be configured as a dedicated hardware chip that performs artificial intelligence (AI) learning.

[0234] The memory (1430) may store instructions and program codes that can be read by the processor (1420). The memory (1430) may include, for example, at least one of a flash memory type, a hard disk type, a multimedia card micro type, a card type memory (e.g., SD or XD memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a mask ROM, a flash ROM, a flash ROM, etc.), a hard disk drive (HDD), or a solid state drive (SSD).

[0235] The memory (1430) may store instructions or program codes for performing functions or operations of the electronic device (1400). In one embodiment of the present disclosure, the memory (1430) may store at least one of instructions, algorithms, data structures, program codes, and application programs that can be read by the processor (1420). The instructions, algorithms, data structures, and program codes stored in the memory (1430) may be implemented in a programming or scripting language such as, for example, C, C++, Java, or an assembler.

[0236] The memory (1430) may store instructions, algorithms, data structures, or program codes related to an artificial intelligence model for obtaining a restored image from an encoded image. A 'module' included in the memory (1430) refers to a unit that processes a function or operation performed by the processor (1420), and this may be implemented as software such as instructions, algorithms, data structures, or program codes.

[0237] In the following embodiments, the processor (1420) may be implemented by executing instructions or program codes stored in the memory (1430).

[0238] In one embodiment, the processor (1420) may obtain a first coded image based on light received by the image sensor (1412) and phase-modulated by a first phase mask including noise. The processor (1420) may obtain a second coded image based on light received by the image sensor (1412) and phase-modulated by a second phase mask not including noise. The processor (1420) may obtain the first coded image or the second coded image. The processor (1420) may input the first coded image or the second coded image into an artificial intelligence model trained to restore an image to obtain a restored image.

[0239] In one embodiment, the processor (1420) may obtain a first encoded image based on light received by the image sensor (1412) and phase-modulated by the first phase mask including the first noise. The processor (1420) may obtain a first encoded image based on light received by the image sensor (1412) and phase-modulated by the first phase mask including the second noise. The processor (1420) may obtain a first encoded image based on light received by the image sensor (1412) and phase-modulated by the first phase mask including the second noise. The processor (1420) may input the first encoded image or the first encoded image into an artificial intelligence model to obtain a restored image.

[0240] In one embodiment, the processor (1420) may acquire feature points by inputting the first encoded image or the second encoded image acquired into a feature point extraction model trained to extract feature points.

[0241] The processor (1420) may be configured in multiple units, and may include, for example, a first processor and a second processor. In one embodiment, the first processor may obtain a restored image using a first encoded image, and the second processor may obtain a restored image using a second encoded image. At this time, as a light source for obtaining the first encoded image and a light source for obtaining the second encoded image, a plurality of light sources having different wavelength bands may be used. In addition, as a light source for obtaining the first encoded image and a light source for obtaining the second encoded image, a light source configured as a light emitting device including a plurality of LEDs that output light of a plurality of wavelength bands may be used.

[0242] The processor (1420) can obtain a restored image from an encoded image. The processor (1420) can obtain a restored image by using an artificial intelligence algorithm trained to restore an image from an encoded image phase-modulated by a predetermined pattern. The restored image may refer to an image based on light before the light is modulated by the phase mask (1411).

[0243] The processor (1420) can extract feature points from an encoded image. The processor (1420) can obtain feature points by using an artificial intelligence algorithm trained to extract feature points from an encoded image phase-modulated by a predetermined pattern.

[0244] A feature point may include information about at least one of the position coordinates and shape of an object. For example, a feature point may include at least one of a pupil feature point and a glint feature point.

[0245] The processor (1420) can obtain the user's gaze information based on the feature points. That is, the processor (1420) can determine the user's gaze direction by considering the shape of the pupil, the position of the glint coordinates, etc.

[0246] According to an embodiment, the processor (1420) of the electronic device (1400) may utilize an artificial intelligence model trained to restore an image from an encoded image. In one embodiment of the present disclosure, the artificial intelligence model may be a deep neural network model trained by a supervised learning method by applying an encoded image obtained according to a distribution of light simulated based on a plurality of phase masks including various noises as input data, and applying a restored image corresponding to the encoded image as an output ground truth. 'Training' may mean training a neural network to be able to discover or acquire on its own a method of analyzing input data for the neural network, a method of classifying input data, and / or a method of extracting features necessary for generating result data from input data. Specifically, through the learning process, the deep neural network model may learn learning data (e.g., a plurality of original images and a plurality of feature points) and optimize weight values ​​within the neural network. A deep neural network model processes input data through a neural network with optimized weight values ​​to output the desired result.

[0247] The type of artificial intelligence model is not limited to the present disclosure, and the artificial intelligence model may be implemented as any one of a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), or a deep Q-network. In addition, the artificial intelligence model may be subdivided. For example, the convolutional neural network model may be subdivided into a deep convolutional neural network (D-CNN) or a Capsnet neural network (not shown).

[0248] The processor (1420) can obtain a restored image from an encoded image using a pre-trained artificial intelligence model. In one embodiment of the present disclosure, the processor (1420) inputs an encoded image obtained through an image sensor (1412) into the artificial intelligence model and performs inference using the artificial intelligence model, thereby obtaining a restored image corresponding to the encoded image.

[0249] In one embodiment, the processor (1420) may extract feature points from an encoded image using a pre-trained artificial intelligence model. In one embodiment of the present disclosure, the processor (1420) may input feature points acquired through the image sensor (1412) into the artificial intelligence model and perform inference using the artificial intelligence model to acquire feature points corresponding to the encoded image.

[0250] The artificial intelligence model may be stored in the memory (1430) of the electronic device (1400). However, this is merely an example and does not limit the present disclosure. For example, the artificial intelligence model may be stored in an external server. In this case, the electronic device (1400) further includes a communication interface capable of performing data communication with the external server, and may receive the artificial intelligence model or the inference result data (e.g., feature points) by the artificial intelligence model from the external server through the communication interface. In general, the electronic device (1400) may be limited compared to the server in terms of memory storage capacity, computational processing speed, and training data set collection capability. Therefore, operations requiring large-scale data storage and large-scale computational volume may be performed on the server, and then the necessary data and / or the artificial intelligence model may be transmitted to the electronic device (1400) via a communication network. In this case, the electronic device (1400) may receive and utilize the artificial intelligence model or the inference data by the artificial intelligence model through the server, without requiring a processor with large-scale memory and fast computational capabilities, thereby performing the necessary operations quickly and easily.

[0251] A device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, the term "non-transitory storage medium" simply means a tangible device that does not contain signals (e.g., electromagnetic waves). This term does not distinguish between cases where data is permanently stored in the storage medium and cases where data is temporarily stored. For example, a "non-transitory storage medium" may include a buffer in which data is temporarily stored.

[0252] According to one embodiment, the method according to various embodiments disclosed in the present document may be provided as included in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) through an application store or directly between two user devices (e.g., smartphones). In the case of online distribution, at least a portion of the computer program product (e.g., a downloadable app) may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.

Claims

1. A mask configured to modulate the phase of incident light, the mask comprising a first mask having a first characteristic or a second mask not having the first characteristic; An image sensor configured to receive light phase-modulated by the first mask or the second mask; and At least one processor; Including, At least one processor of the above, Obtaining a first coded image based on the first mask, or obtaining a second coded image based on the second phase mask, By inputting the first encoded image or the second encoded image into an artificial intelligence model trained to restore an image, a restored image is obtained, An electronic device, wherein the first feature relates to a process error associated with the first mask.

2. In paragraph 1, The above first mask includes a 1_1 mask or a 1_2 mask, At least one processor of the above, Obtaining a first encoded image based on a first mask, or obtaining a first encoded image based on a first mask, wherein the first mask includes a first process error, and the first mask includes a second process error that is different from the first process error, An electronic device that inputs the first_1 encoded image or the first_2 encoded image into the artificial intelligence model to obtain a restored image.

3. In paragraph 1, An electronic device, wherein the first feature includes assembly noise regarding an error corresponding to misplacement of the first mask or manufacturing noise regarding an error corresponding to a structural defect of the first mask.

4. In paragraph 3, An electronic device wherein the above assembly noise is an error value from a set reference value corresponding to at least one of the center position and inclination of the first mask.

5. In paragraph 3, The first mask comprises a substrate and a diffractive optical element comprising a plurality of rods extending vertically from the substrate on the substrate, An electronic device wherein the above-mentioned production noise is an error value from a set reference value corresponding to at least one of the length and width of the plurality of loads.

6. In paragraph 3, The first mask includes a metalens in which nanostructures are arranged in two dimensions, An electronic device wherein the above-mentioned production noise is an error value from a set reference value corresponding to at least one of the shape and arrangement of the nanostructure.

7. In paragraph 3, An electronic device wherein the first feature further includes focus noise corresponding to an error in a separation distance between the first mask and the object, wherein the object reflects light incident on the first mask.

8. In paragraph 1, An electronic device wherein the first feature further includes gap noise relating to an error in a separation distance between the first mask and the image sensor.

9. A step of obtaining a first coded image based on a first mask or obtaining a second coded image based on a second phase mask, wherein the first mask has a first feature and the second mask does not have the first feature, and the first mask or the second mask is configured to modulate the phase of incident light; and A step of obtaining a restored image by inputting the first encoded image or the second encoded image into an artificial intelligence model learned to restore an image, A method wherein the first feature relates to a process error associated with the first mask.

10. In paragraph 9, The above first mask includes a 1_1 mask or a 1_2 mask, The step of obtaining the first encoded image is: A method comprising: obtaining a first encoded image based on a first mask, or obtaining a first encoded image based on a first mask, wherein the first mask includes a first process error, and the first mask includes a second process error that is different from the first process error; The steps for obtaining the above restored image are: An electronic device that obtains a restored image by inputting the first_1 encoded image or the first_2 encoded image into the artificial intelligence model.

11. In paragraph 9, A method wherein the first feature comprises assembly noise relating to an error corresponding to a misplacement of the first phase mask or manufacturing noise relating to an error corresponding to a structural defect of the first mask.

12. In paragraph 11, A method wherein the above assembly noise is an error value from a set reference value corresponding to at least one of the center position and inclination of the first mask.

13. In paragraph 11, The first mask comprises a substrate and a diffractive optical element comprising a plurality of rods extending vertically from the substrate on the substrate, A method wherein the above production noise is an error value from a set reference value corresponding to at least one of the length and width of the plurality of loads.

14. In paragraph 11, The first mask includes a metalens in which nanostructures are arranged in two dimensions, A method wherein the above-mentioned production noise is an error value from a set reference value corresponding to at least one of the shape and arrangement of the nanostructure.

15. In paragraph 11, A method wherein the first feature further includes spacing noise relating to an error in a separation distance between the first mask and the image sensor.

Citation Information

Patent Citations

  • Novel three-step lens-free coherent diffractive imaging method

    CN107101974A

  • Lensless double-type fusion target detection device and method based on deep learning

    CN110927115A

  • Dual-Load Heat Pump System

    KR1020240068239A

  • Estimating phase for phase-stepping algorithms

    US20140369623A1

  • Phase filter for enhanced defect detection in multilayer structure

    US20190355601A1