CN112468718A - Image processing method, device, equipment and storage medium - Google Patents

Image processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN112468718A
CN112468718A CN202011239608.1A CN202011239608A CN112468718A CN 112468718 A CN112468718 A CN 112468718A CN 202011239608 A CN202011239608 A CN 202011239608A CN 112468718 A CN112468718 A CN 112468718A
Authority
CN
China
Prior art keywords
image
information
pixel
protected
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011239608.1A
Other languages
Chinese (zh)
Inventor
谭凯
黄逸涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN202011239608.1A priority Critical patent/CN112468718A/en
Publication of CN112468718A publication Critical patent/CN112468718A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/646Circuits for processing colour signals for image enhancement, e.g. vertical detail restoration, cross-colour elimination, contour correction, chrominance trapping filters

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses an image processing method, an image processing device, image processing equipment and a storage medium. The method comprises the following steps: the method comprises the steps of obtaining a video signal, reading image information of each frame of image data in the video signal, determining a local image to be protected by eyes according to the image information, reducing the brightness of the local image to be protected by eyes to obtain a target image signal, and transmitting the target image signal to a display device. The eye protection function is realized by reading the image information of each frame of image data in the input video signal, determining the local image to be protected by eyes according to the image information, then processing the local image to be protected by eyes to reduce the output brightness of the local image to be protected by eyes to obtain a target image signal, and finally transmitting the target image signal to a display device. Each frame of image data is processed in real time before the video signals are transmitted to the display equipment, so that the phenomenon of delay of eye protection function is eliminated, and the eye protection effect is improved.

Description

Image processing method, device, equipment and storage medium
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to an image processing method, an image processing apparatus, an image processing device, and a storage medium.
Background
With the development of science and technology, electronic products gradually become an essential part of people's life. The life of people can be enriched by using electronic products (such as mobile phones, computers and the like). However, the long-time browsing of the screen interface of the electronic product also causes bad effects such as visual fatigue and visual deterioration.
Disclosure of Invention
The invention provides an image processing method, an image processing device and a storage medium, which are used for relieving the problems of visual fatigue and visual deterioration caused by long-time browsing of a display interface of an electronic product by a user.
In a first aspect, an embodiment of the present invention provides an image processing method, including:
acquiring a video signal;
reading image information of each frame of image data in the video signal;
determining a local image to be protected by eyes according to the image information;
reducing the brightness of the local image to be protected by eyes to obtain a target image signal;
and transmitting the target image signal to a display device.
Optionally, reading image information of each frame of image data in the video signal, including:
the luminance information and the position information of each pixel are read out as image information from the image data for each frame.
Optionally, reading out the luminance information and the position information of each pixel from the image data of each frame as image information, including:
reading out the coordinates of each pixel from the image data of each frame as the position information of the pixel;
reading the numerical values of an R channel, a G channel and a B channel of each pixel from the image data of each frame;
determining the brightness information of each pixel according to the numerical values of the R channel, the G channel and the B channel;
the luminance information and the position information of each pixel are taken as image information.
Optionally, the image information includes brightness information and position information of each pixel in the image, and the determining the local image to be protected by eye according to the image information includes:
judging whether the brightness value of the brightness information of the pixel is larger than a preset value or not;
if yes, the pixel is used as a target pixel of a local image to be protected by eyes;
and determining a local image to be protected by eyes according to the position information of the target pixel.
Optionally, reducing the brightness of the local image to be protected by eyes to obtain a target image signal, including:
and reducing the brightness value of each target pixel in the local image to be protected by eyes.
Optionally, reducing the brightness of the local image to be protected by eyes to obtain a target image signal, including:
generating an eye protection image according to the position information of each target pixel in the local image;
and superposing the eye protection image on the local image to obtain a target image signal, wherein the eye protection image is completely superposed with the local image.
Optionally, before the target image signal is transmitted to a display device, the method further includes:
and adapting the target image signal based on the resolution of the display device so as to adapt the target image corresponding to the target image signal to the display device.
In a second aspect, an embodiment of the present invention further provides an image processing apparatus, including:
the video signal acquisition module is used for acquiring a video signal;
the image information determining module is used for reading the image information of each frame of image data in the video signal;
the local image determining module is used for determining a local image to be protected by eyes according to the image information;
the brightness adjusting module is used for reducing the brightness of the local image to be protected by eyes to obtain a target image signal;
and the signal sending module is used for transmitting the target image signal to a display device.
In a third aspect, an embodiment of the present invention further provides a computer device, including:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement an image processing method as provided by the first aspect of the invention.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the image processing method according to the first aspect of the present invention.
According to the image processing method provided by the embodiment of the invention, the image information of each frame of image data in the input video signal is read, the local image to be protected by eyes is determined according to the image information, then the local image to be protected by eyes is processed to reduce the output brightness of the local image to be protected by eyes, a target image signal is obtained, and finally the target image signal is transmitted to the display device, so that the eye protection function is realized. Each frame of image data is processed in real time before the video signals are transmitted to the display equipment, so that the phenomenon of delay of eye protection function is eliminated, and the eye protection effect is improved.
Drawings
Fig. 1 is a flowchart of an image processing method according to an embodiment of the present invention;
fig. 2A is a flowchart of an image processing method according to a second embodiment of the present invention;
fig. 2B is a schematic diagram of an eye-protecting image covering a partial image according to an embodiment of the present invention;
fig. 3 is an image processing apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of an image processing method according to an embodiment of the present invention, where this embodiment is applicable to a case where a video signal to be input to a display device is processed to implement an eye protection function, and the method may be executed by an image processing apparatus according to an embodiment of the present invention, where the image processing apparatus may be implemented in a software and/or hardware manner and is integrated into a computer device according to an embodiment of the present invention, as shown in fig. 1, the method may specifically include the following steps:
s101, acquiring a video signal.
Specifically, a video signal to be input to the display device is acquired, and the video signal may include a plurality of frames of image data, each frame of image data representing one frame of image. For example, each second of the video signal includes 12 frames or 24 frames of image data, and the embodiment of the present invention is not limited herein.
S102, determining image information of each frame of image data in the video signal.
Specifically, after the video signal is acquired, the video signal is read, and image information of each frame of image data in the video signal is read. Illustratively, in some embodiments of the present invention, the image information of each frame of image data may include luminance information of each pixel of the frame of image, a value of R, G, B channel, and position information of each pixel in the image.
S103, determining a local image to be protected by eyes according to the image information.
Specifically, a partial image to be protected by eyes is determined from the image represented by each frame of image data according to the image information. For example, in some embodiments of the present invention, the partial image to be protected from eye may be determined according to brightness information of each pixel in each frame of image data. For example, the partial image to be protected by the eye may be a background with a higher brightness.
And S104, reducing the brightness of the local image to be protected by eyes to obtain a target image signal.
Specifically, the local image to be protected by the eye is processed, the output brightness of the local image to be protected by the eye is reduced, and a target image signal is obtained. For example, in some embodiments of the present invention, the purpose of reducing the brightness of the local image to be protected by eye may be achieved by directly changing the local image on the basis of the frame image, or a new eye protection pattern may be generated on the basis of the frame image, and the eye protection pattern is superimposed on the local image, so as to achieve the purpose of reducing the brightness of the local image to be protected by eye.
And S105, transmitting the target image signal to a display device.
Specifically, the target image signal obtained in the above step is transmitted to a display device, and the display device is configured to display a target image according to the target image signal. In the displayed target image, the luminance of the partial image originally having high luminance is reduced. The display device may be a display, an intelligent device (e.g., a mobile terminal, a tablet computer, etc.), a mobile computer, etc., and the embodiment of the present invention is not limited herein.
In the prior art, a common eye protection scheme is to process a displayed image after a video signal is transmitted to a display device for display, so as to realize an eye protection function. However, since the displayed image is processed after being displayed, the eye-protecting function according to the conventional art has a delay phenomenon, which causes poor eye-protecting effect, and even causes visual fatigue due to the delay phenomenon. According to the image processing method provided by the embodiment of the invention, each frame of image data is processed in real time before the video signal is transmitted to the display equipment, so that the eye protection function is realized, the phenomenon of delay of the eye protection function is eliminated, and the eye protection effect is improved.
According to the image processing method provided by the embodiment of the invention, the image information of each frame of image data in the input video signal is read, the local image to be protected by eyes is determined according to the image information, then the local image to be protected by eyes is processed to reduce the output brightness of the local image to be protected by eyes, a target image signal is obtained, and finally the target image signal is transmitted to the display device, so that the eye protection function is realized. Each frame of image data is processed in real time before the video signals are transmitted to the display equipment, so that the phenomenon of delay of eye protection function is eliminated, and the eye protection effect is improved.
Example two
Fig. 2A is a flowchart of an image processing method according to a second embodiment of the present invention, which is optimized based on the first embodiment of the present invention, and describes in detail the detailed processes of the steps in the embodiment of the present invention, specifically, as shown in fig. 2A, the method according to the second embodiment of the present invention may include the following steps:
s201, acquiring a video signal.
Specifically, a video signal to be input to the display device is acquired, and the video signal may include a plurality of frames of image data, each frame of image data representing one frame of image. For example, each second of the video signal includes 12 frames or 24 frames of image data, and the embodiment of the present invention is not limited herein.
S202, reading out the brightness information and the position information of each pixel from each frame of image data as image information.
Specifically, each frame of image data may include luminance information (or referred to as gray scale information) and position information of each pixel in the frame of image. For example, in some embodiments of the present invention, the image data is transmitted in a certain data structure, and the data structure of each frame of image data is stored in the form of gray-scale values (luminance values) of pixels of the image, which are usually stored in the form of corresponding elements of a one-dimensional or two-dimensional array. Specifically, when the image is a black-and-white image, the values of the elements in the array are only two values, namely 0 and 1, so that the black-and-white image is also called a binary image or a binary image. When the image is a gray scale image, the elements in the array are described by a quantized gray scale level, which is typically 8 bits, i.e., an integer between 0 and 255, where 0 represents black and 255 represents white. When the image is a color image, each pixel of the color image is described by three channels of red (R), green (G) and blue (B) with different gray levels, each monochrome has an array, the elements in the array are described by a quantized gray level, the gray level is usually 8 bits, i.e. an integer between 0 and 255, where 0 represents the lowest brightness of the monochrome and 255 represents the maximum brightness of the monochrome.
The position information of the pixel is the position of the pixel in the image, and can be represented by pixel coordinates. The image is composed of pixels, and the pixel coordinates are the locations of the pixels in the image.
Specifically, the step S202 may include the following sub-steps:
s2021, reading out the coordinates of each pixel from each frame of image data as the position information of the pixel.
Specifically, after receiving the video signal, the data structure of the image data of each frame is analyzed, and the coordinates of each pixel are read out as the position information of the pixel.
S2022, reading the values of the R channel, the G channel, and the B channel of each pixel from each frame of image data.
Specifically, as described above, the data structure of the image data of each frame is stored in the manner of the gray-scale value of the image pixel, and after receiving the video signal, the data structure of the image data of each frame is analyzed to read the luminance information (or the gray-scale value) of each pixel. In a specific embodiment of the invention, the image is a color image, and as mentioned above, each pixel of the color image is described by three channels of red (R), green (G) and blue (B) with different gray levels, each single color has an array, and the elements in the array are described by a quantized gray level, the gray level is usually 8 bits, i.e. an integer between 0 and 255, where 0 represents the lowest brightness of the single color and 255 represents the maximum brightness of the single color. In the embodiment of the invention, the values of the R channel, the G channel and the B channel of each pixel are read from each frame of image data.
S2023, determining the brightness information of each pixel according to the values of the R channel, the G channel, and the B channel.
After the values of the R channel, the G channel and the B channel of each pixel are read, the brightness information of each pixel is determined according to the values of the R channel, the G channel and the B channel. Illustratively, when the values of the R, G, and B channels are the same, the luminance value of the pixel is the same as the values of the R, G, and B channels. When the values of the R channel, the G channel, and the B channel are not the same, the luminance value of the pixel may be determined by an average method, a weighting algorithm, or the like. Specifically, the average value method is to obtain an average value of values of the R channel, the G channel, and the B channel as a luminance value of the pixel. The weighting algorithm assigns different weights to the values of the R channel, the G channel, and the B channel, and then sums up, typically the weights of the values of the R channel, the G channel, and the B channel are 0.3, 0.59, and 0.11, respectively.
S2024, the luminance information and the positional information of each pixel are used as image information.
Specifically, the luminance information and the position information read in the above steps are used as image information.
S203, judging whether the brightness value of the brightness information of the pixel is larger than a preset value.
Specifically, the brightness value of the pixel is compared with a preset value, and whether the brightness value of the pixel is greater than the preset value is judged. In one embodiment of the present invention, the content in the image is text, table, etc., and the background of the image is highlighted white, so that when the values of the R channel, the G channel, and the B channel are equal and all greater than a preset value (e.g., 234), it is determined that the brightness value of the pixel is greater than the preset value.
If the brightness value of the pixel is greater than the predetermined value, step S204 is executed.
And S204, taking the pixel as a target pixel forming a local image to be protected by eyes.
Because the brightness value of the pixel is greater than the preset value and belongs to the highlighted pixel, the eye fatigue of people can be caused, and the brightness of the pixel is reduced, therefore, the pixel is used as a target pixel forming a local image to be protected by eyes.
And S205, determining a local image to be protected by eyes according to the position information of the target pixel.
After all the target pixels are determined, the local image to be protected by eyes is determined according to the position information of the target pixels, namely the local image is formed by all the target pixels.
And S206, reducing the brightness of the local image to be protected by eyes to obtain a target image signal.
Because the brightness values of the pixels in the local image to be protected from the eye are all greater than the preset value, the frame of image data needs to be processed to reduce the brightness of the local image, and thus the target image signal is obtained.
In some embodiments of the present invention, the frame of image data may be directly processed to reduce the brightness value of each target pixel in the local image to be protected by eye, for example, modify the gray value in the array of the target pixels, so as to achieve the purpose of reducing the brightness value of each target pixel in the local image to be protected by eye.
Fig. 2B is a schematic diagram of covering a partial image with an eye-protecting image according to an embodiment of the present invention, as shown in fig. 2B, in another embodiment of the present invention, the frame of image data may be processed to form an eye-protecting image on the partial image to be protected by the eye, the eye-protecting image completely covers the partial image to be protected by the eye, and the eye-protecting image has a lower brightness, so as to shield the highlighted partial image, thereby achieving an eye-protecting function. Specifically, the method comprises the following steps:
1. and generating an eye protection image according to the position information of each target pixel in the local image.
Specifically, for each target pixel in the local image, pixels having the same position information (i.e., pixel coordinates) as the target pixel are generated, and these pixels are combined to form the protective eye image. In an embodiment of the invention, the brightness value of each pixel in the eye-protection image is the same, so as to reduce the problem of poor user experience caused by different brightness of local pixels in the eye-protection image. In another embodiment of the present invention, as shown in fig. 2B, the eye-protecting pattern may have specific textures, such as wood grain, rice paper grain, cloth grain, etc., so that the eye-protecting pattern can simulate different reading backgrounds, increase the reading reality, improve the reading experience, and reduce the brightness of the local image.
2. And superposing the eye protection image on the local image to obtain a target image signal, wherein the eye protection image is completely superposed with the local image.
As shown in fig. 2B, the eye protection pattern is superimposed on the local image to be protected by the eye, and the eye protection image and the local image are completely overlapped to obtain a new target image signal.
According to the embodiment of the invention, the local image to be protected by eyes is determined according to the position information of the highlighted target pixel, and then the brightness value of each target pixel in the local image to be protected by eyes is reduced, or the eye protection image is generated according to the position information of each target pixel in the local image, so that the pixel-level eye protection function is realized, and the eye protection accuracy is improved.
And S207, adapting the target image signal based on the resolution of the display device so that the target image corresponding to the target image signal is adapted to the display device.
Specifically, the resolution of the display device may be obtained in advance, and then the target image signal may be adapted according to the resolution of the display device, for example, scaling or the like, so that the target image corresponding to the target image signal is adapted to the display device.
And S208, transmitting the target image signal to the display device.
Specifically, after the target image corresponding to the target image signal is adapted, the target image signal is transmitted to a display device, and the display device is configured to display the target image according to the target image signal. In the displayed target image, the brightness of the local image with high brightness is reduced, and in an embodiment of the present invention, the eye protection image is superimposed on the local image with high brightness, so that the brightness of the local image with high brightness is reduced, and the purpose of protecting eyes is achieved.
According to the image processing method provided by the embodiment of the invention, the image information of each frame of image data in the input video signal is read, the local image to be protected by eyes is determined according to the image information, then the local image to be protected by eyes is processed to reduce the output brightness of the local image to be protected by eyes, a target image signal is obtained, and finally the target image signal is transmitted to the display device, so that the eye protection function is realized. Each frame of image data is processed in real time before the video signals are transmitted to the display equipment, so that the phenomenon of delay of eye protection function is eliminated, and the eye protection effect is improved. Furthermore, according to the embodiment of the invention, the local image to be protected by eyes is determined according to the position information of the highlighted target pixel, and then the brightness value of each target pixel in the local image to be protected by eyes is reduced, or the eye protection image is generated according to the position information of each target pixel in the local image, so that the pixel-level eye protection function is realized, and the eye protection accuracy is improved.
EXAMPLE III
Fig. 3 is an image processing apparatus according to a third embodiment of the present invention, as shown in fig. 3, the apparatus includes:
a video signal acquisition module 301, configured to acquire a video signal;
an image information determining module 302, configured to read image information of each frame of image data in the video signal;
a local image determining module 303, configured to determine a local image to be protected by eyes according to the image information;
the brightness adjusting module 304 is configured to reduce the brightness of the local image to be protected by eyes to obtain a target image signal;
a signal sending module 305, configured to send the target image signal to a display device.
In some embodiments of the present invention, the image information determination module 302 may include:
and the information reading sub-module is used for reading out the brightness information and the position information of each pixel from the image data of each frame as image information.
In some embodiments of the invention, the information reading sub-module comprises:
a position information reading unit configured to read coordinates of each pixel from the image data of each frame as position information of the pixel;
an RGB channel numerical value reading unit for reading numerical values of an R channel, a G channel, and a B channel of each pixel from the image data of each frame;
the brightness information determining unit is used for determining the brightness information of each pixel according to the numerical values of the R channel, the G channel and the B channel;
and an image information determination unit for determining the luminance information and the position information of each pixel as image information.
In some embodiments of the present invention, the image information includes brightness information and position information of each pixel in the image, and the local image determining module 303 may include:
the judgment submodule is used for judging whether the brightness value of the brightness information of the pixel is greater than a preset value or not;
the target pixel determining submodule is used for taking the pixel as a target pixel forming a local image to be protected by eyes when the brightness value of the brightness information of the pixel is determined to be larger than a preset value;
and the local image determining submodule is used for determining a local image to be protected by eyes according to the position information of the target pixel.
In some embodiments of the present invention, the brightness adjustment module 304 may include:
and the brightness adjusting submodule is used for reducing the brightness value of each target pixel in the local image to be protected by eyes.
In some embodiments of the present invention, the brightness adjustment module 304 may include:
the eye protection image generation submodule is used for generating an eye protection image according to the position information of each target pixel in the local image;
and the image superposition submodule is used for superposing the eye protection image on the local image to obtain a target image signal, and the eye protection image is completely superposed with the local image.
In some embodiments of the present invention, the image processing apparatus may further include:
and the adaptation module is used for adapting the target image signal based on the resolution of the display device before the target image signal is transmitted to the display device, so that a target image corresponding to the target image signal is adapted to the display device.
The image processing device can execute the image processing method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example four
A fourth embodiment of the present invention provides a computer device, and fig. 4 is a schematic structural diagram of the computer device provided in the fourth embodiment of the present invention, as shown in fig. 4, the computer device includes:
a processor 401, a memory 402, a communication module 403, an input device 404, and an output device 405; the number of the processors 401 in the computer device may be one or more, and one processor 401 is taken as an example in fig. 4; the processor 401, the memory 402, the communication module 403, the input device 404 and the output device 405 in the computer apparatus may be connected by a bus or other means, and fig. 4 illustrates an example of connection by a bus. The processor 401, memory 402, communication module 403, input device 404, and output device 405 described above may be integrated on a computer device.
The memory 402 may be used to store software programs, computer-executable programs, and modules, such as the modules corresponding to the image processing methods in the above-described embodiments (for example, the video signal acquisition module 301, the image information determination module 302, the local image determination module 303, the brightness adjustment module 304, and the signal transmission module 305 in an image processing apparatus), as a computer-readable storage medium. The processor 401 executes various functional applications of the computer device and data processing by running software programs, instructions, and modules stored in the memory 402, that is, implements the image processing method described above.
The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the microcomputer, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 402 may further include memory located remotely from the processor 401, which may be connected to an electronic device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
And a communication module 403, configured to establish a connection with an external device (e.g., an intelligent terminal), and implement data interaction with the external device. The input device 404 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function controls of the computer apparatus.
The computer device provided by the embodiment can execute the image processing method provided by the first embodiment and the second embodiment of the invention, and has corresponding functions and beneficial effects.
EXAMPLE five
An embodiment of the present invention provides a storage medium containing computer-executable instructions, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the method for processing an image according to any of the above embodiments of the present invention is implemented, where the method includes:
acquiring a video signal;
reading image information of each frame of image data in the video signal;
determining a local image to be protected by eyes according to the image information;
reducing the brightness of the local image to be protected by eyes to obtain a target image signal;
and transmitting the target image signal to a display device.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the image processing method provided by the embodiment of the present invention.
It should be noted that, as for the apparatus, the computer device and the storage medium embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and in relation to the description, reference may be made to part of the description of the method embodiment.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes instructions for enabling a computer device to execute the image processing method according to any embodiment of the present invention.
It should be noted that, in the above apparatus, each module, sub-module, and unit included in the apparatus is only divided according to functional logic, but is not limited to the above division as long as the corresponding function can be implemented; in addition, the specific names of the functional modules are only for convenience of distinguishing from each other and are not used for limiting the protection scope of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by suitable instruction execution devices. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An image processing method, comprising:
acquiring a video signal;
reading image information of each frame of image data in the video signal;
determining a local image to be protected by eyes according to the image information;
reducing the brightness of the local image to be protected by eyes to obtain a target image signal;
and transmitting the target image signal to a display device.
2. The image processing method of claim 1, wherein reading image information of each frame of image data in the video signal comprises:
the luminance information and the position information of each pixel are read out as image information from the image data for each frame.
3. The method according to claim 2, wherein reading out luminance information and position information of each pixel as image information from each frame of the image data comprises:
reading out the coordinates of each pixel from the image data of each frame as the position information of the pixel;
reading the numerical values of an R channel, a G channel and a B channel of each pixel from the image data of each frame;
determining the brightness information of each pixel according to the numerical values of the R channel, the G channel and the B channel;
the luminance information and the position information of each pixel are taken as image information.
4. The image processing method according to any one of claims 1 to 3, wherein the image information includes brightness information and position information of each pixel in the image, and the determining the partial image to be protected by eye according to the image information includes:
judging whether the brightness value of the brightness information of the pixel is larger than a preset value or not;
if yes, the pixel is used as a target pixel of a local image to be protected by eyes;
and determining a local image to be protected by eyes according to the position information of the target pixel.
5. The image processing method of claim 4, wherein reducing the brightness of the partial image to be protected by eye to obtain a target image signal comprises:
and reducing the brightness value of each target pixel in the local image to be protected by eyes.
6. The image processing method of claim 4, wherein reducing the brightness of the partial image to be protected by eye to obtain a target image signal comprises:
generating an eye protection image according to the position information of each target pixel in the local image;
and superposing the eye protection image on the local image to obtain a target image signal, wherein the eye protection image is completely superposed with the local image.
7. The image processing method according to any one of claims 1 to 3, further comprising, before transmitting the target image signal to a display device:
and adapting the target image signal based on the resolution of the display device so as to adapt the target image corresponding to the target image signal to the display device.
8. An image processing apparatus characterized by comprising:
the video signal acquisition module is used for acquiring a video signal;
the image information determining module is used for reading the image information of each frame of image data in the video signal;
the local image determining module is used for determining a local image to be protected by eyes according to the image information;
the brightness adjusting module is used for reducing the brightness of the local image to be protected by eyes to obtain a target image signal;
and the signal sending module is used for transmitting the target image signal to a display device.
9. A computer device, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the image processing method of any one of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the image processing method according to any one of claims 1 to 7.
CN202011239608.1A 2020-11-09 2020-11-09 Image processing method, device, equipment and storage medium Pending CN112468718A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011239608.1A CN112468718A (en) 2020-11-09 2020-11-09 Image processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011239608.1A CN112468718A (en) 2020-11-09 2020-11-09 Image processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112468718A true CN112468718A (en) 2021-03-09

Family

ID=74826782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011239608.1A Pending CN112468718A (en) 2020-11-09 2020-11-09 Image processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112468718A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710955A (en) * 2009-11-24 2010-05-19 北京中星微电子有限公司 Method and equipment for adjusting brightness and contrast
CN105426079A (en) * 2015-11-25 2016-03-23 小米科技有限责任公司 Picture brightness adjustment method and apparatus
CN105898156A (en) * 2016-04-18 2016-08-24 乐视控股(北京)有限公司 Shooting method and system based on reduction of luminance values
CN106169290A (en) * 2016-06-28 2016-11-30 广东欧珀移动通信有限公司 Control method, control device and electronic installation
CN106991972A (en) * 2017-05-02 2017-07-28 深圳市华星光电技术有限公司 A kind of start brightness control method of organic luminous panel
JP2017219566A (en) * 2016-06-02 2017-12-14 キヤノン株式会社 Display device and display method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710955A (en) * 2009-11-24 2010-05-19 北京中星微电子有限公司 Method and equipment for adjusting brightness and contrast
CN105426079A (en) * 2015-11-25 2016-03-23 小米科技有限责任公司 Picture brightness adjustment method and apparatus
CN105898156A (en) * 2016-04-18 2016-08-24 乐视控股(北京)有限公司 Shooting method and system based on reduction of luminance values
JP2017219566A (en) * 2016-06-02 2017-12-14 キヤノン株式会社 Display device and display method
CN106169290A (en) * 2016-06-28 2016-11-30 广东欧珀移动通信有限公司 Control method, control device and electronic installation
CN106991972A (en) * 2017-05-02 2017-07-28 深圳市华星光电技术有限公司 A kind of start brightness control method of organic luminous panel

Similar Documents

Publication Publication Date Title
EP3614335B1 (en) Method for image processing and electronic device
CN109166159B (en) Method and device for acquiring dominant tone of image and terminal
KR20070116236A (en) Image processing method, display image processing method, image processing device, image processing program, and integrated circuit containing the image processing device
CN109298912B (en) Theme color adjusting method and device, storage medium and electronic equipment
CN107799093A (en) Adjust method, terminal and the computer-readable recording medium of screen luminance of terminal
CN113096035A (en) High dynamic range image generation method and device, intelligent terminal and storage medium
CN111626967A (en) Image enhancement method, image enhancement device, computer device and readable storage medium
CN111179370B (en) Picture generation method and device, electronic equipment and storage medium
CN110618852B (en) View processing method, view processing device and terminal equipment
CN113742025A (en) Page generation method, device, equipment and storage medium
CN110444181B (en) Display method, display device, terminal and computer-readable storage medium
CN110880164B (en) Image processing method, device, equipment and computer storage medium
CN111090384B (en) Soft keyboard display method and device
CN111968605A (en) Exposure adjusting method and device
CN110473156B (en) Image information processing method and device, storage medium and electronic equipment
CN115660997B (en) Image data processing method and device and electronic equipment
CN112468718A (en) Image processing method, device, equipment and storage medium
CN116843566A (en) Tone mapping method, tone mapping device, display device and storage medium
CN111462158A (en) Image processing method and device, intelligent device and storage medium
JP4599551B2 (en) Leakage countermeasure image generation device
CN112070096B (en) Color recognition method, device, terminal equipment and storage medium
US20230410706A1 (en) Method for image rendering, terminal device and non-transitory computer-readable storage medium
CN116954771A (en) Screen backlight adjusting method and device
CN114374830A (en) Image white balance method, electronic device and computer readable storage medium
CN112511890A (en) Video image processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210309