CN116013190A - Color bar picture detection method and device, display equipment and readable storage medium - Google Patents

Color bar picture detection method and device, display equipment and readable storage medium Download PDF

Info

Publication number
CN116013190A
CN116013190A CN202211370647.4A CN202211370647A CN116013190A CN 116013190 A CN116013190 A CN 116013190A CN 202211370647 A CN202211370647 A CN 202211370647A CN 116013190 A CN116013190 A CN 116013190A
Authority
CN
China
Prior art keywords
color
determining
source
target
picture
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
CN202211370647.4A
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.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB 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 Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202211370647.4A priority Critical patent/CN116013190A/en
Publication of CN116013190A publication Critical patent/CN116013190A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a color bar picture detection method, a color bar picture detection device, display equipment and a computer readable storage medium, wherein the method comprises the following steps: acquiring a color component histogram and a brightness histogram of a target patch source; judging whether the target film source is a color film source or not according to the color component histogram; and if the target slice source is a color slice source, determining that the target slice source is a color bar picture or a non-color bar picture according to the brightness histogram. By the method and the device, whether the video of the film source being played by the display equipment is a color bar picture can be efficiently and accurately identified, so that corresponding optimization processing can be carried out on the color bar picture.

Description

Color bar picture detection method and device, display equipment and readable storage medium
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to a color stripe image detection method, a color stripe image detection device, a display device, and a computer readable storage medium.
Background
The color bar picture can be used as a display test picture and is composed of bar charts with various different colors, and is mainly used for detecting or highlighting the display effect of various display devices.
At present, in order to better show the wide color gamut of the OLED and high-end LED screen and the technology such as the mounted 3D LUT (Look Up Table), the original color of the image is accurately restored, and in order to highlight the display effect of the display device such as the television, the color bar picture needs to be identified, and after the image source being played is determined to be the color bar picture, the brightness, contrast, saturation, color, definition and the like can be automatically adjusted so as to enhance and optimize the display effect of the display device, so as to highlight the screen quality, so as to be favored and favored by more users. In the existing method for identifying the color bar picture, the color bar is often identified through pixel point combination, but the identification method has large operand and lower identification efficiency, so that the display effect of the display device cannot be timely improved.
Disclosure of Invention
The invention mainly aims to provide a color bar picture detection method, a color bar picture detection device, display equipment and a computer readable storage medium, and aims to solve the technical problem that the efficiency of identifying color bar pictures is low at present.
In order to achieve the above object, the present invention provides a color stripe picture detection method, which includes the following steps:
acquiring a color component histogram and a brightness histogram of a target patch source;
judging whether the target film source is a color film source or not according to the color component histogram;
and if the target slice source is a color slice source, determining that the target slice source is a color bar picture or a non-color bar picture according to the brightness histogram.
Optionally, the step of determining whether the target tile source is a color tile source according to the color component histogram includes:
determining color component values for each color in the color component histogram;
and if the color component values are smaller than the preset gray scale values, determining that the target film source is an achromatic film source.
Optionally, after the step of determining the color component values of the respective colors in the color component histogram, the method further comprises:
and if at least one color component value is greater than or equal to a preset gray level value, determining that the target slice source is a color slice source, and executing the step of determining that the target slice source is a color bar picture or a non-color bar picture according to the brightness histogram.
Optionally, the step of determining that the target tile source is a color bar picture or a non-color bar picture according to the luminance histogram includes:
determining the peak value number of the peak values in the brightness histogram;
if the number of the peaks is in a preset number interval, determining that the target film source is a color bar picture or a non-color bar picture according to distribution among the peaks;
and if the peak value number is not in the preset number interval, determining that the target film source is a non-color bar picture.
Optionally, before the step of determining the number of peaks in the luminance histogram, the method further comprises:
determining the target brightness quantity corresponding to the brightness data smaller than the preset gray scale value in the brightness histogram, and determining the total brightness data quantity in the brightness histogram;
if the target brightness quantity is larger than or equal to a brightness quantity threshold corresponding to the brightness data total quantity, determining that the target film source is a non-color bar picture;
and if the target brightness quantity is smaller than the brightness quantity threshold corresponding to the brightness data total quantity, executing the step of determining the peak quantity of the peaks in the brightness histogram.
Optionally, the step of determining the peak number of peaks in the luminance histogram includes:
and determining target brightness data which is larger than or equal to a preset gray scale value in the brightness histogram, taking the target brightness data as a peak value, and determining the peak value number of the peak value.
Optionally, the step of determining that the target tile source is a color stripe picture or a non-color stripe picture according to the distribution among the peaks includes:
filtering out the maximum peak value in the peak values to obtain each residual peak value, and determining the average peak value among the residual peak values;
determining the difference value between the residual peak value and the average peak value, and judging whether each difference value is in a preset difference value interval;
if the difference values are in a preset difference value interval, determining that the target film source is a color bar picture;
and if at least one difference value is not in the preset difference value interval, determining that the target film source is a non-color bar picture.
In addition, in order to achieve the above object, the present invention also provides a color stripe picture detection device, including:
the data acquisition module is used for acquiring a color component histogram and a brightness histogram of the target film source;
the picture identification module is used for judging whether the target film source is a color film source according to the color component histogram; and if the target slice source is a color slice source, determining that the target slice source is a color bar picture or a non-color bar picture according to the brightness histogram.
In addition, in order to achieve the above object, the present invention also provides a display device, including a processor, a memory, and a color stripe picture detection program stored on the memory and executable by the processor, wherein the color stripe picture detection program, when executed by the processor, implements the steps of the color stripe picture detection method as described above.
The present invention also provides a computer-readable storage medium having a color stripe picture detection program stored thereon, wherein the color stripe picture detection program, when executed by a processor, implements the steps of the color stripe picture detection method as described above.
The color bar picture detection method in the technical scheme of the invention comprises the following steps: acquiring a color component histogram and a brightness histogram of a target patch source; judging whether the target film source is a color film source or not according to the color component histogram; and if the target slice source is a color slice source, determining that the target slice source is a color bar picture or a non-color bar picture according to the brightness histogram. The invention solves the technical problem that the efficiency of identifying color bar pictures is lower at present.
The method and the device identify whether the target film source is a color film source or an achromatic film source according to the color component histogram obtained by the target film source in playing, and if the target film source is identified as the achromatic film source, the target film source can be directly identified as an achromatic strip picture without other processing on the target film source, so that the process of identifying the achromatic strip picture is greatly simplified; if the color source is identified, the color source is a color bar picture or a non-color bar picture can be identified rapidly and efficiently according to the acquired brightness histogram through a brightness value analysis mode. The color component histogram and the brightness histogram can be directly generated by reading the sheet source signal at the front end of the display device, and the target sheet source is determined to be a color bar picture or a non-color bar picture by combining the color component histogram and the brightness histogram which are fast and easy to obtain in a color analysis and brightness analysis mode.
Drawings
FIG. 1 is a schematic diagram of a hardware operating environment of a display device according to an embodiment of the present invention;
FIG. 2 is a flowchart of a color stripe frame detection method according to a first embodiment of the present invention;
FIG. 3 is a detailed flowchart of step S20 of the color stripe picture detection method according to the first embodiment of the present invention;
FIG. 4 is a flowchart of a color stripe frame detection method according to a second embodiment of the present invention;
fig. 5 is a schematic flow chart before step S31 of the color stripe picture detection method according to the second embodiment of the present invention;
FIG. 6 is a luminance histogram of a color bar screen under an analog television channel according to the color bar screen detection method of the present invention;
FIG. 7 is a luminance histogram of a color bar screen under a digital television channel according to the color bar screen detection method of the present invention;
FIG. 8 is a luminance histogram of a color bar screen under an HDMI channel according to the color bar screen detection method of the present invention;
FIG. 9 is a schematic overall flow chart of the color stripe picture detection method of the present invention;
fig. 10 is a schematic diagram of a frame structure of the color stripe picture detection device of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The embodiment of the invention provides a display device. The display device may include any type of display device such as a smart television, a cell phone, a tablet, a personal computer, etc., without limitation.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a hardware running environment of a display device according to an embodiment of the present invention.
As shown in fig. 1, the display device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display (Display), an input unit such as a control panel, and the optional user interface 1003 may also include a standard wired interface, a wireless interface. Network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., a WIFI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above. A color stripe picture detection program may be included in the memory 1005 as a computer storage medium.
Those skilled in the art will appreciate that the hardware configuration shown in fig. 1 does not constitute a limitation of the apparatus, and may include more or fewer components than shown, or may combine certain components, or may be arranged in different components.
With continued reference to fig. 1, the memory 1005 in fig. 1, which is a computer-readable storage medium, may include an operating device, a user interface module, a network communication module, and a color bar screen detection program.
In fig. 1, the network communication module is mainly used for connecting with a server and performing data communication with the server; and the processor 1001 may call the color stripe picture detection program stored in the memory 1005 and perform the steps in the following respective embodiments.
Based on the hardware structure of the controller, various embodiments of the color stripe picture detection method are provided.
The embodiment of the invention provides a color bar picture detection method.
Referring to fig. 2, fig. 2 is a flowchart illustrating a color stripe image detection method according to a first embodiment of the present invention; in a first embodiment of the present invention, the color bar screen detection method is applied to a display device; the color bar picture detection method comprises the following steps:
step S10, a color component histogram and a brightness histogram of a target patch source are obtained;
in this embodiment, when the target film source (video image) is played, the histograms of the brightness and the color of the video layer, that is, the color component histogram and the brightness histogram, may be obtained directly by means of data capturing. The target source may be a source under an analog television channel, a source under a digital television channel, a source under an HDMI (High Definition Multimedia Interface, high-definition multimedia interface) channel, or a source under a local media channel, which is not limited herein.
Step S20, judging whether the target slice source is a color slice source according to the color component histogram;
in the present embodiment, 32 pieces of color component data (color component values) may be included in the color component histogram. The number is a better result obtained based on the test, and the accuracy and the high efficiency of identifying the color film source and the achromatic film source can be ensured simultaneously.
Whether the target patch source is a color patch source or an achromatic patch source (which can be regarded as a black-and-white patch source) can be directly determined by means of color gray-scale analysis based on the color component histogram acquired from the target patch source. If it is determined that the target film source belongs to a color film source, it is further necessary to determine whether the color film source is a color bar screen or other screen, where the color bar screen may be a standard eight color bar screen, including a bar chart of eight colors of white, cyan, yellow, magenta, green, blue, red and black. The other pictures may be, for example, some movie pictures being played.
Referring to fig. 3, fig. 3 is a detailed flowchart of step S20 of the first embodiment of the color stripe image detection method of the present invention; in one embodiment, the step S20 includes:
step S21, determining color component values of each color in the color component histogram;
step S22, if each color component value is smaller than a preset gray level value, determining that the target film source is an achromatic film source.
If the color component values of the three primary colors of red, green and blue are smaller than the preset gray level value, that is, if all the color component values in the color component histogram are smaller than the preset gray level value, then it can be determined that the target tile source is not a color tile source, that is, an achromatic tile source, and since the target tile source is not a color tile source, then it is no longer possible to be a color bar picture, and since the color bar picture has a plurality of colors and belongs to the color tile source, then it is unnecessary to perform the next identification of the target tile source color bar picture, and the process of color bar picture identification is exited. It should be noted that the preset gray-scale value in this embodiment may be 20. If the color component values of the three colors of red, green and blue in the color component histogram are all smaller than 20, the target tile source will not present color on the picture played by the target tile source, and can be regarded as a black-and-white tile source.
In an embodiment, after determining the color component values of the colors in the color component histogram in step S21, the method further includes:
and a step a of determining the target slice source as a color slice source if at least one color component value is larger than or equal to a preset gray level value, and executing the step of determining the target slice source as a color bar picture or a non-color bar picture according to the brightness histogram.
In this embodiment, if there are one or more color component values in the color component histogram that are greater than or equal to the preset gray level value, this indicates that the video picture played out by the target tile source is colored, rather than pure black and white. For example, if the color component value of blue is greater than 20 and the color component values of other colors are less than 20, the video picture of the target tile source will be a picture of pure blue. If there are color component values of both or three colors greater than 20, then more and richer color pictures are presented based on superposition of the three primary colors.
After determining that the current target tile source is a color tile source, but it cannot be determined whether the target tile source has a video picture of a conventional broadcast program content or a pure color tile picture, further determining that the target tile source is a color tile source of a color tile picture or a color tile picture of other non-color tile pictures by analyzing respective luminance data in a luminance histogram obtained from the target tile source is needed, and further continuing to perform the step of determining that the target tile source is a color tile picture or a non-color tile picture according to the luminance histogram.
Step S30, if the target slice source is a color slice source, determining that the target slice source is a color bar picture or a non-color bar picture according to the brightness histogram.
In the present embodiment, the luminance histogram may include 32 pieces of luminance data (luminance values). The number is a better result obtained based on the test, and the accuracy and the high efficiency of identifying the color bar picture and the non-color bar picture can be simultaneously considered.
If the target film source is determined to be a color film source after the color component histogram is identified and analyzed, the color film source is further identified, and specifically, whether the target film source is a color bar picture or other non-color bar pictures is determined by analyzing each brightness value in the brightness histogram, if the target film source is the color bar picture, it is often indicated that some businesses or users are displaying or checking the display effect of the display device through the color bar picture, then the color bar picture can be adjusted according to a preset optimization algorithm, so that the display effect of the display device when displaying the color bar picture is improved, thereby increasing the purchase ideas of the users, and improving sales and economic benefits of the display device. If the target film source is not a color bar picture, the currently displayed picture can be adjusted according to other optimization algorithms, or the adjustment can be omitted.
In addition, the present invention is capable of identifying whether the target slice source is a color bar picture or a non-color bar picture by using a luminance histogram, and its principle is that:
referring to fig. 6-8, fig. 6 is a luminance histogram of a color bar picture under an analog television channel according to the color bar picture detection method of the present invention; FIG. 7 is a luminance histogram of a color bar screen under a digital television channel according to the color bar screen detection method of the present invention; fig. 8 is a luminance histogram of a color bar screen under an HDMI channel according to the color bar screen detection method of the present invention. As shown in fig. 6 to 8, the abscissa of each luminance histogram indicates that the luminance data corresponding to the standard octal bar includes 32 pieces, i.e., serial numbers 1 to 32. The ordinate of each luminance histogram represents luminance data (luminance values) of the octal screen corresponding to the abscissa 1 to 32, respectively.
Taking playing color bar pictures in three channels of an analog television, a digital television and an HDMI channel as an example, respectively obtaining brightness histogram data under the analog television channel, brightness histogram data under the digital television channel and brightness histogram data under the HDMI channel.
Each of the standard eight color bars corresponds to a "peak," i.e., a peak value. The three groups of data are respectively plotted as shown in fig. 6, 7 and 8. From the figure, the analog tv, digital tv, HDMI channel 32 luminance histogram data can be seen. As can be seen from the luminance histograms of the analog tv of fig. 6 and the digital tv of fig. 7, there are 8 "peaks" each with a small difference in height; the luminance histogram of HDMI in fig. 8 is greatly different from that in fig. 6 and 7, because the ratio of the target slice source code stream is not consistent with the television ratio when the target slice source is played by other non-television devices such as computers, so that the television has black edges or edges of other colors (the edge colors of different players may be different, for example, black edges) on two sides of the display screen when the target slice source is played, so that the ratio of black parts is very high, that is, the peak value corresponding to black is significantly higher than the peak value of other 7 colors, and the heights of the remaining 7 "peaks" are not greatly different, that is, are uniformly distributed.
Based on the above, when the display device plays the target film source, each peak is extracted from the brightness histogram of the target film source, the total number of the peaks is judged, if the total number is 7-9, the standard 8 color bar images are possible, then the brightness value with the highest duty ratio, namely the highest peak value, is removed, and whether the distribution is uniform is judged by taking the residual peaks, so that color bar signals are screened out, and the target film source is determined to be a color bar image or a non-color bar image.
The invention identifies whether the target film source is a color film source or an achromatic film source according to the color component histogram obtained by the target film source in playing, if the target film source is identified as the achromatic film source, the target film source can be directly identified as an achromatic strip picture, and other processing is not required to be carried out on the target film source, thereby greatly simplifying the flow of identifying the achromatic strip picture; if the color source is identified, the color source is a color bar picture or a non-color bar picture can be identified rapidly and efficiently according to the acquired brightness histogram through a brightness value analysis mode. The color component histogram and the brightness histogram can be directly generated by reading the sheet source signal at the front end of the display device, and the target sheet source is determined to be a color bar picture or a non-color bar picture by combining the color component histogram and the brightness histogram which are fast and easy to obtain in a color analysis and brightness analysis mode.
Referring to fig. 4, fig. 4 is a flowchart illustrating a color stripe image detection method according to a second embodiment of the present invention; further, a second embodiment of the color stripe picture detection method according to the present invention is proposed based on the first embodiment of the color stripe picture detection method according to the present invention, in this embodiment, the step S30 includes:
step S31, determining the peak value number of the peak values in the brightness histogram;
in this embodiment, the peak values in the luminance histogram of the target patch source refer to those luminance values greater than a preset gray-scale value, where the preset gray-scale value may be 20, that is, the luminance value greater than 20 is the peak value, and the number of peak values in the luminance histogram is counted after the peak value is determined, that is, "peak".
Referring to fig. 5, in an embodiment, before the step S31, the method further includes:
step S100, determining the target brightness quantity corresponding to the brightness data smaller than the preset gray scale value in the brightness histogram, and determining the total brightness data quantity in the brightness histogram;
with the preset gray-scale value as a boundary, each luminance value in the luminance histogram is divided into luminance data smaller than the preset gray-scale value and luminance data larger than or equal to the preset gray-scale value, and in this embodiment, the target luminance number of the luminance data smaller than the preset gray-scale value is counted while determining the total amount of the luminance data in the entire luminance histogram.
Step S200, if the target brightness quantity is greater than or equal to a brightness quantity threshold corresponding to the brightness data total quantity, determining that the target film source is a non-color bar picture;
the luminance quantity threshold corresponding to the luminance data total quantity may be determined according to a certain preset ratio by taking the luminance data total quantity as a reference, for example, the ratio is 3/5, and if the luminance data total quantity is 32, the luminance quantity threshold may be 20 (rounded up). That is, when the number of target brightness is greater than or equal to 20, the target source is determined to be a non-color bar picture.
When the target brightness quantity is larger than or equal to the brightness quantity threshold value corresponding to the brightness data total quantity, the brightness distribution is relatively dense, otherwise, the brightness distribution is relatively discrete, the target film source is illustrated as a non-color bar picture under the condition that the brightness distribution is relatively dense, and the target film source is illustrated as a color bar picture under the condition that the brightness distribution is relatively discrete, further judgment is needed, and the film source pictures of most non-color bar pictures can be primarily and efficiently screened out through the judgment process.
And step S300, if the target brightness quantity is smaller than the brightness quantity threshold corresponding to the brightness data total quantity, executing the step of determining the peak quantity of the peak values in the brightness histogram.
If the target brightness quantity is smaller than the brightness quantity threshold corresponding to the brightness data total quantity, the brightness distribution is discrete, the target film source can be a color bar picture, and therefore, the color bar picture is not required to be judged and completely determined through a series of steps such as determining the peak value quantity of the peak values in the brightness histogram.
In an embodiment, the step S31 includes:
and b, determining target brightness data which is larger than or equal to a preset gray scale value in the brightness histogram, taking the target brightness data as a peak value, and determining the peak value number of the peak value.
In this embodiment, each luminance value greater than or equal to the preset gray-scale value in the luminance histogram is taken as the target luminance data, and the target luminance data is taken as the peak value, so that the number of peak values can be determined, and the non-color bar images can be directly screened out according to the number of peak values.
Step S32, if the number of peaks is in a preset number interval, determining that the target film source is a color bar picture or a non-color bar picture according to the distribution among the peaks;
the preset number interval may be [7,9], if the number of peaks in the luminance histogram is in the preset number interval, it is indicated that the target tile source is likely to be a color stripe picture, and in order to more accurately determine that the target tile source is a color stripe picture, it may be further determined that the target tile source is a color stripe picture or a non-color stripe picture according to distribution (uniform distribution) between the peaks.
In an embodiment, the step S32 of determining that the target tile source is a color bar picture or a non-color bar picture according to the distribution among the peaks includes:
step c, filtering out the maximum peak value in the peak values to obtain each residual peak value, and determining the average peak value among the residual peak values;
step d, determining the difference value between the residual peak value and the average peak value, and judging whether each difference value is in a preset difference value interval;
step e, if the difference values are in a preset difference value interval, determining that the target film source is a color bar picture;
and f, if at least one difference value is not in a preset difference value interval, determining that the target film source is a non-color bar picture.
In this embodiment, the maximum peak value of the peak values in the luminance histogram is filtered to eliminate the influence of the black edge under the channel like HDMI on the color bar picture identification, thereby improving the accuracy of color bar picture identification. After filtering the maximum peak value in the peak values, obtaining each residual peak value, for example, filtering the maximum peak value in 8 peak values, then leaving 7 residual peak values, taking the average value of each residual peak value as an average peak value, further calculating to obtain the difference value between each residual peak value and the average value, and judging whether all the difference values are in a preset difference value interval, wherein the difference value interval can be set according to actual needs, and is not limited. If the difference values are in the preset difference value interval, the residual peak values are basically on a horizontal line without great difference, and are uniformly distributed to be regarded as color stripe signals, so that the target film source is accurately determined to be a color stripe picture. If one or more of the differences are not in the preset difference interval, the target film source can be accurately determined to be a non-color bar picture.
And step S33, if the peak value number is not in the preset number interval, determining that the target film source is a non-color bar picture.
If the number of peaks in the luminance histogram is not in the preset number interval, the target slice source can be determined to be a non-color bar picture without doubt, and the color bar picture identification process is exited.
For further understanding of the above embodiments of the present invention, please refer to fig. 9, fig. 9 is a schematic overall integrated flow chart of the color stripe picture detection method of the present invention.
According to the flow sequence of the invention, the invention can be realized by the following links:
1. respectively playing color bar pictures under the analog television, the digital television, the HDMI and the local media channels, and reading brightness histogram data of the color bar pictures played by the current channel;
2. analyzing the brightness histogram data of the color bar pictures played under each channel, and summarizing rules;
3. the construction algorithm (please refer to the second embodiment of the present invention) identifies the color stripe signal by comprehensively analyzing the target patch source through the luminance histogram and the color component histogram.
In addition, referring to fig. 10, the present invention further provides a color stripe picture detection device, where the color stripe picture detection device includes:
the data acquisition module A10 is used for acquiring a color component histogram and a brightness histogram of a target film source;
the picture identification module A20 is used for judging whether the target film source is a color film source according to the color component histogram; and if the target slice source is a color slice source, determining that the target slice source is a color bar picture or a non-color bar picture according to the brightness histogram.
Optionally, the picture identifying module a20 is further configured to:
determining color component values for each color in the color component histogram;
and if the color component values are smaller than the preset gray scale values, determining that the target film source is an achromatic film source.
Optionally, the picture identifying module a20 is further configured to:
and if at least one color component value is greater than or equal to a preset gray level value, determining that the target slice source is a color slice source, and executing the step of determining that the target slice source is a color bar picture or a non-color bar picture according to the brightness histogram.
Optionally, the picture identifying module a20 is further configured to:
determining the peak value number of the peak values in the brightness histogram;
if the number of the peaks is in a preset number interval, determining that the target film source is a color bar picture or a non-color bar picture according to distribution among the peaks;
and if the peak value number is not in the preset number interval, determining that the target film source is a non-color bar picture.
Optionally, the picture identifying module a20 is further configured to:
determining the target brightness quantity corresponding to the brightness data smaller than the preset gray scale value in the brightness histogram, and determining the total brightness data quantity in the brightness histogram;
if the target brightness quantity is larger than or equal to a brightness quantity threshold corresponding to the brightness data total quantity, determining that the target film source is a non-color bar picture;
and if the target brightness quantity is smaller than the brightness quantity threshold corresponding to the brightness data total quantity, executing the step of determining the peak quantity of the peaks in the brightness histogram.
Optionally, the picture identifying module a20 is further configured to:
and determining target brightness data which is larger than or equal to a preset gray scale value in the brightness histogram, taking the target brightness data as a peak value, and determining the peak value number of the peak value.
Optionally, the picture identifying module a20 is further configured to:
filtering out the maximum peak value in the peak values to obtain each residual peak value, and determining the average peak value among the residual peak values;
determining the difference value between the residual peak value and the average peak value, and judging whether each difference value is in a preset difference value interval;
if the difference values are in a preset difference value interval, determining that the target film source is a color bar picture;
and if at least one difference value is not in the preset difference value interval, determining that the target film source is a non-color bar picture.
The specific implementation of the color stripe picture detection device of the present invention is basically the same as the above embodiments of the color stripe picture detection method, and will not be described herein again.
Furthermore, the invention also provides a computer readable storage medium. The computer readable storage medium of the present invention stores a color stripe picture detection program, wherein the color stripe picture detection program, when executed by a processor, implements the steps of the color stripe picture detection method as described above.
The method implemented when the color stripe picture detection program is executed may refer to various embodiments of the color stripe picture detection method of the present invention, and will not be described herein.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the invention, and all equivalent structural changes made by the present description and drawings or direct/indirect application in other related technical fields are included in the scope of the present invention.

Claims (10)

1. The color stripe picture detection method is characterized by comprising the following steps of:
acquiring a color component histogram and a brightness histogram of a target patch source;
judging whether the target film source is a color film source or not according to the color component histogram;
and if the target slice source is a color slice source, determining that the target slice source is a color bar picture or a non-color bar picture according to the brightness histogram.
2. The color stripe picture detection method as claimed in claim 1, wherein the step of judging whether the target patch source is a color patch source based on the color component histogram comprises:
determining color component values for each color in the color component histogram;
and if the color component values are smaller than the preset gray scale values, determining that the target film source is an achromatic film source.
3. The color stripe picture detection method as claimed in claim 2, wherein after the step of determining color component values of respective colors in the color component histogram, the method further comprises:
and if at least one color component value is greater than or equal to a preset gray level value, determining that the target slice source is a color slice source, and executing the step of determining that the target slice source is a color bar picture or a non-color bar picture according to the brightness histogram.
4. The color stripe picture detection method as claimed in claim 1, wherein the step of determining whether the target slice source is a color stripe picture or a non-color stripe picture according to the luminance histogram comprises:
determining the peak value number of the peak values in the brightness histogram;
if the number of the peaks is in a preset number interval, determining that the target film source is a color bar picture or a non-color bar picture according to distribution among the peaks;
and if the peak value number is not in the preset number interval, determining that the target film source is a non-color bar picture.
5. The color stripe picture detection method as claimed in claim 4, wherein prior to the step of determining the peak number of peaks in the luminance histogram, the method further comprises:
determining the target brightness quantity corresponding to the brightness data smaller than the preset gray scale value in the brightness histogram, and determining the total brightness data quantity in the brightness histogram;
if the target brightness quantity is larger than or equal to a brightness quantity threshold corresponding to the brightness data total quantity, determining that the target film source is a non-color bar picture;
and if the target brightness quantity is smaller than the brightness quantity threshold corresponding to the brightness data total quantity, executing the step of determining the peak quantity of the peaks in the brightness histogram.
6. The color stripe picture detection method as claimed in claim 4, wherein the step of determining the peak number of peaks in the luminance histogram comprises:
and determining target brightness data which is larger than or equal to a preset gray scale value in the brightness histogram, taking the target brightness data as a peak value, and determining the peak value number of the peak value.
7. The method of claim 4, wherein the step of determining whether the target tile source is a color bar or a non-color bar based on the distribution between the peaks comprises:
filtering out the maximum peak value in the peak values to obtain each residual peak value, and determining the average peak value among the residual peak values;
determining the difference value between the residual peak value and the average peak value, and judging whether each difference value is in a preset difference value interval;
if the difference values are in a preset difference value interval, determining that the target film source is a color bar picture;
and if at least one difference value is not in the preset difference value interval, determining that the target film source is a non-color bar picture.
8. A color stripe picture detection device, characterized in that the color stripe picture detection device comprises:
the data acquisition module is used for acquiring a color component histogram and a brightness histogram of the target film source;
the picture identification module is used for judging whether the target film source is a color film source according to the color component histogram; and if the target slice source is a color slice source, determining that the target slice source is a color bar picture or a non-color bar picture according to the brightness histogram.
9. A display device comprising a processor, a memory, and a color stripe picture detection program stored on the memory that is executable by the processor, wherein the color stripe picture detection program, when executed by the processor, implements the steps of the color stripe picture detection method according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein a color stripe picture detection program is stored on the computer-readable storage medium, wherein the color stripe picture detection program, when executed by a processor, implements the steps of the color stripe picture detection method according to any one of claims 1 to 7.
CN202211370647.4A 2022-11-03 2022-11-03 Color bar picture detection method and device, display equipment and readable storage medium Pending CN116013190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211370647.4A CN116013190A (en) 2022-11-03 2022-11-03 Color bar picture detection method and device, display equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211370647.4A CN116013190A (en) 2022-11-03 2022-11-03 Color bar picture detection method and device, display equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN116013190A true CN116013190A (en) 2023-04-25

Family

ID=86018160

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211370647.4A Pending CN116013190A (en) 2022-11-03 2022-11-03 Color bar picture detection method and device, display equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN116013190A (en)

Similar Documents

Publication Publication Date Title
US11425454B2 (en) Dynamic video overlays
Liu et al. CID: IQ–a new image quality database
US7684096B2 (en) Automatic color correction for sequences of images
CN102957934B (en) Display processing method, device and display device
US8290252B2 (en) Image-based backgrounds for images
US8462169B2 (en) Method and system of immersive generation for two-dimension still image and factor dominating method, image content analysis method and scaling parameter prediction method for generating immersive sensation
CN101621704B (en) Method and device for color enhancement for graphic images
CN108009997B (en) Method and device for adjusting image contrast
CN111064942B (en) Image processing method and apparatus
CN109686342B (en) Image processing method and device
CN109978777B (en) Image brightness adjusting method and device
CN112788329A (en) Video static frame detection method and device, television and storage medium
US9712796B2 (en) Metadata for use in color grading
CN102117603A (en) Backlight value extraction method and device
US7920755B2 (en) Video content detector
KR101854432B1 (en) Method and apparatus for detecting and compensating back light frame
CN103974051A (en) Image processing device and image processing method
CN116013190A (en) Color bar picture detection method and device, display equipment and readable storage medium
CN111083468B (en) Short video quality evaluation method and system based on image gradient
CN111292243B (en) Projection seamless edge fusion method and device
US8295539B2 (en) Method and system of immersive sensation enhancement for video sequence displaying
CN113099191A (en) Image processing method and device
US20140198256A1 (en) Image processing apparatus and associated method
CN103986922B (en) Image processing method
CN101123732B (en) A method and image processing device for processing image color

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