Scanned Image Color Inversion for Dark Mode Eye Fatigue Reduction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing image processing applications fail to effectively implement OS color mode settings when displaying scanned images, particularly in dark mode, as they do not adjust the background color of images scanned from white backgrounds, thereby not fully utilizing the intended eye fatigue reduction benefits of dark mode.
Innovation Solution
A method and system that allow an information processing device to receive scan instructions, determine if an image includes text, and apply black-white inversion when the OS is set to dark mode and the image has a white background, ensuring the image is displayed with a black background, thus aligning with the OS color mode settings.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Object-affected harmful factors
If the application program displays the scanned image with the original white background regardless of OS color mode setting, then the image fidelity is maintained, but the eye fatigue reduction effect of dark mode cannot be achieved
Solution Approach 1:
The application dynamically adjusts the displayed image's color scheme based on the OS color mode setting. When dark mode is detected, the application inverts the scanned image colors; when light mode is detected, it displays the original image. This dynamic adaptation resolves the contradiction by making the image display flexible rather than static, allowing eye fatigue reduction in dark mode while maintaining image fidelity through reversible color transformation.
Solution Approach 2:
The application changes the color parameters of the displayed image based on the OS color mode. By detecting the OS setting and applying color inversion (changing brightness and contrast parameters) when in dark mode, the application achieves adaptability to different color schemes while preserving the original image data, thus reducing eye fatigue without permanently altering image fidelity.
2Object-affected harmful factors
If the application applies black-white inversion to all monochrome scanned images in dark mode, then the eye fatigue reduction is maximized, but images without text may become harder to view
Solution Approach 1:
The application uses feedback from image analysis to determine whether color inversion is appropriate. It analyzes the scanned image to detect the presence of text regions, and only applies black-white inversion when text is detected. This feedback mechanism resolves the contradiction by using image content information to make intelligent decisions, ensuring eye fatigue reduction for text-heavy images while preserving the original appearance of images without text that would become harder to view when inverted.
Solution Approach 2:
The application applies different processing to different regions of the image based on content analysis. When text regions are detected, color inversion is applied specifically to those regions or conditionally based on the overall image type. This local quality approach ensures that text-containing images benefit from dark mode adaptation while avoiding degradation of images where inversion would be harmful.
Data Source
AI summary
A non-transitory computer-readable medium stores computer-readable program instructions configured to, when executed, cause an information processing device to receive a scan instruction to cause an image scanner to perform image scanning of a document sheet, the scan instruction including a scan setting indicating whether to perform monochrome scanning or color scanning, receive image data generated by the image scanning of the document sheet according to the scan instruction, obtain base color information representing whether black is set as a base color in an OS of the information processing device, determine whether an image represented by the image data includes a text, and display the image in a black-white inverted manner, when the scan instruction includes the scan setting indicating to perform the monochrome scanning, the base color information represents that black is set as the base color, and it is determined that the image includes a text.


