Electronic device that compensates for light passing through a display
A method for driving an electronic device may include receiving light passing through a display panel, generating an image signal based on the light, compensating the image signal with a compensation algorithm to generate a compensated image signal, wherein the compensation algorithm is trained with training data including a first comparison image and a second comparison image, and displaying, on the display panel, a compensated image based on the compensated image signal, wherein the first comparison image is a target restoration image and the second comparison image is a composite image.
1. An electronic device comprising:
a display panel comprising a first display region, and a second display region;
a camera module under the display panel and overlapping the second display region, and configured to output an image signal; and
a compensator configured to generate a compensated image signal by compensating the image signal by a compensation algorithm, wherein the compensation algorithm is trained with training data comprising a first comparison image and a second comparison image,
wherein each of the first comparison image and the second comparison image is a composite image,
wherein based on a same area, a number of pixels arranged in the first display region is greater than a number of pixels arranged in the second display region,
wherein the first comparison image is the composite image synthesized based on a first processed image, for restoration,
wherein the second comparison image is generated by compositing a second processed image formed based on light that does not pass through the display panel with a third processed image, and
wherein each of the first processed image and the second processed image is obtained by processing a first image.
2. The electronic device of claim 1 , wherein the second display region has a lower pixel density than that of the first display region.
3. The electronic device of claim 1 , wherein the second display region has a higher transmittance than that of the first display region.
4. The electronic device of claim 1 , wherein the second display region is at least partially surrounded by the first display region.
5. The electronic device of claim 1 , wherein the second display region has a lower resolution than that of the first display region.
6. The electronic device of claim 1 , wherein the second display region comprises a transmissive region in which pixels are not disposed.
7. The electronic device of claim 1 , wherein the first comparison image is a target restoration image.
8. The electronic device of claim 1 , wherein the third processed image is an artificial light source image.
9. The electronic device of claim 1 , wherein the third processed image is a measured image captured based on a light passing through the display panel.
10. The electronic device of claim 1 , wherein the first display region includes first unit pixel regions,
wherein the second display region includes second unit pixel regions, and
wherein a number of the first unit pixel regions disposed per unit region is greater than a number of the second unit pixel regions disposed per unit region.
11. The electronic device of claim 1 , wherein the second display region includes a unit pixel region in which a light-emitting element is disposed and a non-unit pixel region in which the light-emitting element is not disposed, and a transmittance of the non-unit pixel region is higher than a transmittance of the unit pixel region.
12. The electronic device of claim 11 , wherein the unit pixel region and the non-unit pixel region are alternately arranged.
13. An electronic device comprising:
a display panel comprising a first display region, and a second display region;
a camera module under the display panel and overlapping the second display region, and configured to output an image signal; and
a compensator configured to generate a compensated image signal by compensating the image signal by a compensation algorithm, wherein the compensation algorithm is trained with training data comprising a first comparison image and a second comparison image,
wherein the first comparison image is a composite image synthesized based on a first processed image, for restoration,
wherein the second comparison image comprises a simulation image reproducing an image that is generated by light passing through the display panel, the simulation image being generated by compositing a second processed image formed based on light that does not pass through the display panel either with an artificial light source or with a first measured image captured based on the light passing through the display panel,
wherein each of the first processed image and the second processed image is obtained by processing a first image, and
wherein based on a same area, a number of pixels arranged in the first display region is greater than a number of pixels arranged in the second display region.
14. An electronic device comprising:
a display panel comprising a display region to display an image;
a camera module under the display panel, overlapping the display region, and configured to output an image signal; and
a compensator configured to generate a compensated image signal by compensating the image signal through a compensation algorithm,
wherein the compensation algorithm is trained by using a target image and a simulation image that is generated to reproduce an image captured based on light passing through the display panel,
wherein the target image is a composite image synthesized based on a first processed image, for restoration,
wherein the simulation image is generated by compositing a second processed image either with an artificial light source or with a first measured image captured based on the light passing through the display panel,
wherein each of the first processed image and the second processed image is obtained by processing a first image,
wherein the first image comprises an image generated through light that does not pass through the display panel,
wherein the display panel comprises a first display region non-overlapping with the camera module, and a second display region overlapping with the camera module, and
wherein based on a same area, a number of pixels arranged in the first display region is greater than a number of pixels arranged in the second display region.