Method and device for displaying pure monochrome picture
A picture and monochrome technology, applied in the field of image processing, can solve the problems of occupying system resources and displaying pure monochrome pictures for a long time, so as to release memory space and save time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0053] see figure 1 , which is the flow chart of the first embodiment of the method for displaying a purely monochromatic image in this application:
[0054] Step 101: Decode the picture to be displayed in the target area.
[0055] After the picture to be displayed is acquired, the picture is saved and decoded to generate decoded image data. Both the original picture and the decoded image data need to occupy system memory.
[0056] Step 102: Determine whether the picture is a pure monochrome picture according to the decoded image data.
[0057] Specifically, the color value of each pixel in the decoded image data can be counted, and if the color values of each pixel are consistent, it can be determined that the picture is a pure monochrome picture.
[0058] Step 103: When the picture is a pure monochrome picture, call the rectangle filling interface of the drawing module to fill the target area according to the pure monochrome color value, and complete the display of the pu...
no. 1 example
[0107] see Figure 4 , which is the block diagram of the first embodiment of the display device for pure monochrome pictures in this application:
[0108] The device includes: a decoding unit 410 , a judging unit 420 and a display unit 430 .
[0109] Wherein, the decoding unit 410 is configured to decode the picture to be displayed in the target area;
[0110] A judging unit 420, configured to judge whether the picture is a pure monochrome picture according to the decoded image data;
[0111] The display unit 430 is configured to call the rectangle filling interface of the drawing module to fill the target area according to the pure monochrome color value when the judging unit 420 judges that the picture is a pure monochrome picture, and complete the pure monochrome color. Display of monochrome pictures.
no. 2 example
[0112] see Figure 5 , which is the block diagram of the second embodiment of the display device for pure monochrome pictures in this application:
[0113] The device includes: a decoding unit 510 , a judging unit 520 , a display unit 530 , a releasing unit 540 and a saving unit 550 .
[0114] Wherein, the decoding unit 510 is configured to decode the picture to be displayed in the target area;
[0115] A judging unit 520, configured to judge whether the picture is a pure monochrome picture according to the decoded image data;
[0116] The display unit 530 is configured to call the rectangle filling interface of the drawing module to fill the target area according to the pure monochrome color value when the judging unit judges that the picture is a pure monochrome picture, and completes the processing of the pure monochrome color. color picture display;
[0117] The release unit 540 is configured to release the system memory occupied by the decoded image data of the pure mo...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


