CN115373621B - Method, system, equipment and storage medium for eliminating messy code image of intelligent photo frame - Google Patents
Method, system, equipment and storage medium for eliminating messy code image of intelligent photo frame Download PDFInfo
- Publication number
- CN115373621B CN115373621B CN202211299544.3A CN202211299544A CN115373621B CN 115373621 B CN115373621 B CN 115373621B CN 202211299544 A CN202211299544 A CN 202211299544A CN 115373621 B CN115373621 B CN 115373621B
- Authority
- CN
- China
- Prior art keywords
- image
- information source
- judging
- format
- launched
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/02—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Character Input (AREA)
Abstract
The invention is suitable for the technical field of intelligent photo frames, and provides a method, a system, equipment and a storage medium for eliminating messy code images of an intelligent photo frame, wherein the method comprises the following steps: identifying a target information source format; judging the consistency of the current information source format and the target information source format, and when the current information source format is inconsistent with the target information source format, pre-judging that the image to be launched has a messy code condition; judging whether the color value of the image to be put conforms to a set condition; and when the color value of the image to be released does not accord with the set condition, sequentially processing the pixel points of the image to be released which do not accord with the set condition until all the pixel points which do not accord with the set condition are processed. The embodiment of the invention can avoid the problem that the image is disordered when the image is displayed by the intelligent photo frame due to the fact that the size of the image transmitted by the access equipment is not matched with that of the screen of the intelligent photo frame.
Description
Technical Field
The invention belongs to the technical field of intelligent photo frames, and particularly relates to a method, a system, equipment and a storage medium for eliminating messy code images of an intelligent photo frame.
Background
Along with the improvement of living standard of people, more and more people are willing to use photos to record the intravenous drip of their own life, and as the photos of people are more and more, the traditional photo frame can not meet the requirements of people too much. Therefore, the intelligent photo frame appears in people's life, and the appearance of the intelligent photo frame brings various possibilities for people to show photos, for example: the favorite photos can be switched at any time without occupying the positions, and the like.
However, in the image switching process, the phenomenon that the image is messy codes when the image is displayed by the intelligent photo frame due to the fact that the size of the image transmitted by the access equipment cannot be matched with the size of the screen of the intelligent photo frame is avoided.
Disclosure of Invention
The embodiment of the invention aims to provide a method, a system, equipment and a storage medium for eliminating messy code images of an intelligent photo frame, and aims to solve the technical problems in the prior art determined in the background art.
The embodiment of the invention is realized in such a way that the method for eliminating the messy code image of the intelligent photo frame comprises the following steps:
identifying a target information source format;
judging the consistency of the current information source format and the target information source format, and when the current information source format is inconsistent with the target information source format, pre-judging that the image to be launched has a messy code condition;
when the messy code condition exists in the image to be launched, judging whether the color value of the image to be launched meets the set condition;
and when the color value of the image to be launched does not accord with the set condition, sequentially processing the pixel points of the image to be launched which do not accord with the set condition until all the pixel points which do not accord with the set condition are processed.
Another object of an embodiment of the present invention is to provide an intelligent photo frame scrambled image elimination system, where the system includes:
the format identification module is used for identifying the format of the target information source;
the first judgment module is used for judging the consistency of the current information source format and the target information source format, and when the current information source format is inconsistent with the target information source format, the condition that the image to be launched has a messy code is judged in advance;
the second judging module is used for judging whether the color value of the image to be launched meets the set condition or not when the image to be launched has the messy code condition; and
and the messy code processing module is used for sequentially processing the pixel points of the image to be released which do not accord with the set condition when the color value of the image to be released does not accord with the set condition until all the pixel points which do not accord with the set condition are processed.
It is another object of an embodiment of the present invention to provide a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to execute the steps of the intelligent photo frame scrambling code image elimination method.
It is another object of an embodiment of the present invention to provide a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the processor is enabled to execute the steps of the method for eliminating the scrambled image of the smart photo frame.
The embodiment of the invention has the beneficial effects that: the method comprises the steps of judging the consistency of a current information source format and a target information source format by identifying the target information source format, when the current information source format is inconsistent with the target information source format, pre-judging whether the image to be launched has a disorder code condition, and judging whether the color value of the image to be launched meets a set condition; and when the color value of the image to be launched does not accord with the set condition, sequentially processing the pixel points of the image to be launched which do not accord with the set condition until all the pixel points which do not accord with the set condition are processed. The problem that the image is messy when the image is displayed by the intelligent photo frame due to the fact that the size of the image transmitted by the access equipment is not matched with that of the screen of the intelligent photo frame can be avoided.
Drawings
FIG. 1 is a flowchart of a method for eliminating a scrambled image of an intelligent photo frame according to an embodiment of the present invention;
fig. 2 is a flowchart of identifying a target source format according to an embodiment of the present invention;
fig. 3 is a flowchart for determining whether a color value of an image to be delivered meets a set condition according to an embodiment of the present invention;
fig. 4 is a flowchart for processing the pixel point of the image to be launched which does not meet the set condition according to the embodiment of the present invention;
FIG. 5 is a block diagram of a system for eliminating a scrambled image of an intelligent photo frame according to an embodiment of the present invention;
FIG. 6 is a block diagram of a format recognition module according to an embodiment of the present invention;
fig. 7 is a block diagram of a second determination module according to an embodiment of the present invention;
fig. 8 is a block diagram of a scrambling code processing module according to an embodiment of the present invention;
FIG. 9 is a block diagram showing an internal configuration of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements should not be limited by these terms unless otherwise specified. These terms are only used to distinguish one element from another. For example, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script, without departing from the scope of the present application.
As shown in fig. 1, in one embodiment, a method for eliminating a scrambled image of an intelligent photo frame is provided, the method comprising the following steps:
and S100, identifying a target information source format.
In the embodiment of the invention, the target information source format refers to an input mode of the image to be launched, and the embodiment of the invention adopts an HDMI interface and a VGA interface, namely, the image to be launched can be input into the intelligent photo frame through the HDMI interface and the VGA interface.
Step S200, judging the consistency of the current information source format and the target information source format, and when the current information source format is inconsistent with the target information source format, pre-judging that the messy code condition exists in the image to be launched.
In the embodiment of the invention, for the images to be released with the same input mode, taking the mode of inputting through the HDMI as an example, the images which have been released before are necessarily displayed or released for a period of time, if the images to be released which are input through the HDMI are input in the same way as the images to be released which are input through the HDMI in the subsequent input, the problem of messy codes cannot occur due to the fact that the images to be released are input in the same mode as the images which have been released, and the image to be released with the input mode switched can be judged to have the messy codes in advance.
In practical application, assuming that the current source format is an HDMI format, the basic information (such as the name, resolution, and operating time of the access device) of the access device in the format is obtained. Specifically, as shown in table 1:
TABLE 1 HDMI interface format basic information table
Access device | Resolution ratio | Working time |
Computer with a display | 4K | 2 days |
In fact, since the mode has normally worked for two days, the intelligent photo frame image is defaulted to have no messy codes, otherwise the user can close the intelligent photo frame.
For the target information source format, if it is recognized that the intelligent photo frame is switched to the VGA interface format, the basic information (such as the name, resolution, and working time of the access device) of the access device in the format is acquired at this time. Specifically, as shown in table 2:
TABLE 2 VGA interface format basic information table
Access device | Resolution ratio | Working time |
Mobile phone | 0.5K | Day 0 |
For the judgment of the consistency of the current information source format and the target information source format, the resolutions of the current information source format and the target information source format can be directly subjected to subtraction operation, if the resolution is equal to 0, the image is judged to have no messy code phenomenon, and if the resolution is not equal to 0, the image is judged to have the messy code phenomenon.
And step S300, when the messy codes exist in the image to be launched, judging whether the color value of the image to be launched meets the set condition.
In the embodiment of the present invention, the color value of the image to be launched refers to its RGB color, and the purpose of this step is to determine whether its RGB color meets the set condition.
And step S400, when the color value of the image to be launched does not accord with the set condition, sequentially processing the pixel points of the image to be launched which do not accord with the set condition until all the pixel points which do not accord with the set condition are processed. If the color value of the image to be launched meets the set condition, judging that no messy code phenomenon exists, and not executing the processing step.
In the embodiment of the present invention, the setting condition is already defined, and then, only the pixels that do not meet the setting condition need to be processed here, so that the RGB values of the pixels are (255, 255, 255) or (0, 0).
The steps of the embodiment of the invention can avoid the problem that the image is disordered when the image is displayed by the intelligent photo frame due to the mismatching of the size of the image transmitted by the access equipment and the screen of the intelligent photo frame.
As shown in fig. 2, in an embodiment, the step S100 may specifically include the following steps:
step S101, reading the high and low level variation of an interface pin CEC or the SYNC pulse of an interface;
step S102, judging whether the high-low level variation of an interface pin CEC exceeds a set threshold or whether the SYNC pulse of the interface is 1;
step S103, when the high-low level variation of the interface pin CEC exceeds a set threshold, determining that the target information source format is an HDMI interface format; and when the SYNC pulse of the interface is 1, judging that the target information source format is a VGA interface format.
The embodiment of the invention is realized by aiming at two modes of an HDMI interface and a VGA interface, and particularly takes the HDMI interface mode as an example:
firstly, the high-low level variation (high level 3.3V, lasting 20ms, low level lasting 10 ms) of the CEC of the HDMI interface is read, and at this time, it is determined that the HDMI device is connected, and it is identified that there is a picture output, and the resolution is X1 (the resolution can be directly obtained, and it is assumed here that the resolution is 0.5 k). If the high-low level variation of the pin CEC is that the low level lasts for 30ms and no high level variation exists, the situation that no HDMI equipment is connected is judged at the moment, and no picture output and no resolution information are marked.
Taking VGA interface mode as an example: reading SYNC (synchronous signal correction) pulse change of an ADC (analog to digital converter) interface, if the SYNC pulse is 1, judging that VGA equipment is accessed, and identifying that picture output exists, wherein the resolution is X2 (the resolution can be directly obtained, and the resolution is assumed to be 4 k); if the SYNC pulse is 0, the intelligent photo frame system judges that no VGA equipment is accessed, and the identification is no picture output and no resolution information.
As shown in fig. 3, in an embodiment, the step S300 may specifically include the following steps:
step S301, an RGB color table of the image to be put in is obtained.
In the embodiment of the present invention, various colors are obtained by changing three color channels of red (R), green (G), and blue (B) and superimposing them with each other, where RGB is a color representing three channels of red, green, and blue.
Step S302, outputting the color value of each pixel point and the coordinate value corresponding to the pixel point.
In the embodiment of the present invention, each pixel point is strictly distributed according to a certain space, and therefore, in order to distinguish the pixel points, a corresponding coordinate value may be set for the pixel points, so as to facilitate subsequent processing.
And step S303, judging the color value of the image to be launched.
In the embodiment of the present invention, according to the color displayed by most of the pixel points, three channel values of the RGB color table are all 0 or 255, that is, (255, 255, 255) or (0, 0), where (255, 255, 255) represents black and (0, 0) represents white, and in fact, the color value of the image to be delivered is determined, that is, whether all three channel values of the RGB color table are 0 or 255 is determined.
As shown in fig. 4, in an embodiment, the step S400 may specifically include the following steps:
step S401, the pixel points of the image to be launched which do not accord with the set conditions are sequenced to form a processing queue.
In the embodiment of the present invention, the specific sorting manner may be: and for the pixel points of the image to be put which do not accord with the set condition, sorting the pixel points according to the R value, and then sorting the pixel points according to the G value and the B value. Of course, the ordering manner may be various, and the embodiment of the present invention is not specifically limited herein.
And step S402, assigning values to each pixel point in the processing queue in sequence, so that each RGB channel value in the pixel point is a set target value.
In the embodiment of the present invention, the purpose of the assignment is to set each RGB channel value of a pixel that does not meet the requirement as a set target value, and a specific implementation manner, taking an RGB color table of the pixel as (255, 4, 2) for example, may be:
for the R value (255), 0 is subtracted from the R value (255), i.e., the R value (255-0), the result is inverted, i.e., the R value (-255) is obtained, and then the result is accumulated and summed with the initial R value (255), i.e., the R value (0), which is actually equivalent to assigning 0 to the R value. In the same way, the G value and the B value may be assigned, and the embodiment of the present invention is not specifically explained.
And step S403, judging whether the processing queue is empty, and finishing the processing of the image to be released when the processing queue is empty.
As shown in fig. 5, in an embodiment, an intelligent photo frame scrambled image elimination system is provided, which may specifically include a format recognition module 100, a first determination module 200, a second determination module 300, and a scrambled processing module 400. Wherein:
the format identification module 100 is configured to identify a target source format;
the first judging module 200 is configured to judge consistency of a current information source format and a target information source format, and when the current information source format is inconsistent with the target information source format, pre-judge that a messy code condition exists in an image to be launched;
the second determination module 300 is configured to determine whether the color value of the image to be released meets a set condition when the image to be released has a messy code condition; and
the messy code processing module 400 is configured to, when the color value of the image to be delivered does not meet the setting condition, sequentially process the pixel points of the image to be delivered that do not meet the setting condition until all the pixel points that do not meet the setting condition are processed.
As shown in fig. 6, in an embodiment, the format identifying module 100 specifically includes: a reading unit 101, a third determination unit 102, and a format recognition output unit 103. Wherein:
the reading unit 101 is configured to read a high-low level variation of an interface pin CEC or a SYNC pulse of an interface;
a third determining unit 102, configured to determine whether a high-low level variation of the interface pin CEC exceeds a set threshold or whether a SYNC pulse of the interface is 1; and
the format identification output unit 103 is used for judging that the target information source format is the HDMI format when the high-low level variation of the interface pin CEC exceeds a set threshold; and when the SYNC pulse of the interface is 1, judging that the target information source format is the VGA interface format.
As shown in fig. 7, in an embodiment, the second determining module 300 specifically includes: an RGB color table acquisition unit 301, an output unit 302, and a determination execution unit 303. Wherein:
the RGB color table obtaining unit 301 is configured to obtain an RGB color table of an image to be released;
the output unit 302 is configured to output a color value of each pixel point and a coordinate value corresponding to the pixel point; and
and the determination executing unit 303 is configured to determine a color value of the image to be delivered.
As shown in fig. 8, in an embodiment, the scrambling code processing module 400 specifically includes: a processing queue unit 401, an assignment unit 402 and a fourth decision unit 403. Wherein:
a processing queue unit 401, configured to sort pixel points of an image to be launched that do not meet a set condition, and form a processing queue;
an assignment unit 402, configured to assign values to each pixel point in the processing queue in sequence, so that each RGB channel value in the pixel point is a set target value; and
a fourth determining unit 403, configured to determine whether the processing queue is empty, and when the processing queue is empty, complete processing on the image to be delivered.
FIG. 9 is a diagram illustrating an internal structure of a computer device in one embodiment. As shown in fig. 9, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen, which are connected through a system bus. The memory comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and also stores a computer program, and when the computer program is executed by the processor, the processor can realize the intelligent photo frame messy code image elimination method. The internal memory may also store a computer program, and when the computer program is executed by the processor, the processor may execute an intelligent photo frame scrambling code image elimination method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the configuration shown in fig. 9 is a block diagram of only a portion of the configuration associated with the present application, and is not intended to limit the computing device to which the present application may be applied, and that a particular computing device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the smart photo frame scrambled image elimination system provided by the present application may be implemented in the form of a computer program that is executable on a computer device as shown in fig. 9. The memory of the computer device may store various program modules constituting the smart photo frame scrambling code image eliminating system, such as the format recognition module 100, the first determination module 200, the second determination module 300 and the scrambling code processing module 400 shown in fig. 5. The computer program constituted by the respective program modules causes the processor to execute the steps in the smart frame scrambling image elimination of the embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 9 may perform step S100 through the format recognition module 100 in the smart frame scrambled image elimination system shown in fig. 5. The computer device may perform step S200 by the first determination module 200. The computer device may perform step S300 through the second determination module 300.
In one embodiment, a computer device is proposed, the computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
s100, identifying a target information source format;
step S200, judging the consistency of the current information source format and the target information source format, and when the current information source format is inconsistent with the target information source format, pre-judging that the image to be launched has a messy code condition;
step S300, when the image to be launched has a messy code condition, judging whether the color value of the image to be launched meets the set condition;
and step S400, when the color value of the image to be launched does not accord with the set condition, sequentially processing the pixel points of the image to be launched which do not accord with the set condition until all the pixel points which do not accord with the set condition are processed.
In one embodiment, a computer readable storage medium is provided, having a computer program stored thereon, which, when executed by a processor, causes the processor to perform the steps of:
s100, identifying a target information source format;
step S200, judging the consistency of the current information source format and the target information source format, and when the current information source format is inconsistent with the target information source format, pre-judging that the image to be launched has a messy code condition;
step S300, when the image to be launched has a messy code condition, judging whether the color value of the image to be launched meets the set condition;
and S400, when the color value of the image to be released does not accord with the set condition, sequentially processing the pixel points of the image to be released which do not accord with the set condition until all the pixel points which do not accord with the set condition are processed.
It should be understood that, although the steps in the flowcharts of the embodiments of the present invention are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in various embodiments may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by a computer program, which may be stored in a non-volatile computer readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.
Claims (6)
1. A messy code image eliminating method for an intelligent photo frame is characterized by comprising the following steps:
identifying a target information source format;
judging the consistency of the current information source format and the target information source format, and when the current information source format is inconsistent with the target information source format, pre-judging that the image to be launched has a messy code condition;
when the messy code condition exists in the image to be launched, judging whether the color value of the image to be launched meets the set condition; the set condition is that the RGB values of any pixel point of the image to be launched are (255, 255, 255) or (0, 0);
when the color value of the image to be released does not accord with the set condition, sequentially processing the pixel points of the image to be released which do not accord with the set condition until all the pixel points which do not accord with the set condition are processed;
the step of judging whether the color value of the image to be put meets the set condition specifically comprises the following steps:
acquiring an RGB color table of an image to be put;
outputting the color value of each pixel point and the coordinate value corresponding to the pixel point;
judging the color value of the image to be put;
when the color value of waiting to put in the image is not conform to the settlement condition, handle in proper order the pixel of waiting to put in the image that is not conform to the settlement condition, all handle the step of accomplishing up to all pixel that are not conform to the settlement condition, specifically include:
sorting pixel points of the image to be launched which do not accord with the set condition to form a processing queue;
assigning values to each pixel point in the processing queue in sequence to enable each RGB channel value in the pixel point to be a set target value, wherein the target value is (255, 255, 255) or (0, 0);
and judging whether the processing queue is empty or not, and finishing the processing of the image to be launched when the processing queue is empty.
2. The method according to claim 1, wherein the step of identifying the target source format specifically comprises:
reading the high and low level variation of an interface pin CEC or the SYNC pulse of an interface;
judging whether the high-low level variation of the interface pin CEC exceeds a set threshold or whether the SYNC pulse of the interface is 1;
when the high-low level variation of the interface pin CEC exceeds a set threshold, judging that the target information source format is an HDMI interface format; and when the SYNC pulse of the interface is 1, judging that the target information source format is the VGA interface format.
3. An intelligent photo frame messy code image elimination system, characterized in that the system comprises:
the format identification module is used for identifying the format of the target information source;
the first judgment module is used for judging the consistency of the current information source format and the target information source format, and when the current information source format is inconsistent with the target information source format, the condition that the image to be launched has a messy code is judged in advance;
the second determination module is used for determining whether the color value of the image to be launched meets a set condition when the image to be launched has a messy code condition, wherein the set condition is that the RGB values of any pixel point of the image to be launched are (255, 255, 255) or (0, 0); and
the messy code processing module is used for sequentially processing the pixel points of the image to be launched which do not accord with the set condition when the color value of the image to be launched does not accord with the set condition until all the pixel points which do not accord with the set condition are processed;
the second determination module includes:
the RGB color table acquisition unit is used for acquiring an RGB color table of the image to be put in;
the output unit is used for outputting the color value of each pixel point and the coordinate value corresponding to the pixel point; and
the judging execution unit is used for judging the color value of the image to be put;
the messy code processing module comprises:
the processing queue unit is used for sequencing the pixel points of the image to be put which do not accord with the set conditions to form a processing queue;
the assignment unit is used for sequentially assigning values to each pixel point in the processing queue, so that each RGB channel value in the pixel point is a set target value, and the target value is (255, 255, 255) or (0, 0); and
and the fourth judging unit is used for judging whether the processing queue is empty or not, and finishing the processing of the image to be launched when the processing queue is empty.
4. The system of claim 3, wherein the format recognition module comprises:
the reading unit is used for reading the high-low level variation of the interface pin CEC or the SYNC pulse of the interface;
the third judging unit is used for judging whether the high-low level variation of the interface pin CEC exceeds a set threshold or whether the SYNC pulse of the interface is 1; and
the format identification output unit is used for judging that the target information source format is the HDMI interface format when the high-low level variation of the interface pin CEC exceeds a set threshold value; and when the SYNC pulse of the interface is 1, judging that the target information source format is a VGA interface format.
5. A computer device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the intelligent picture frame scrambling image elimination method of any of claims 1 to 2.
6. A computer-readable storage medium, having a computer program stored thereon, which, when executed by a processor, causes the processor to perform the steps of the intelligent photo frame scrambling image elimination method of any of claims 1 to 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211299544.3A CN115373621B (en) | 2022-10-24 | 2022-10-24 | Method, system, equipment and storage medium for eliminating messy code image of intelligent photo frame |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211299544.3A CN115373621B (en) | 2022-10-24 | 2022-10-24 | Method, system, equipment and storage medium for eliminating messy code image of intelligent photo frame |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115373621A CN115373621A (en) | 2022-11-22 |
CN115373621B true CN115373621B (en) | 2023-03-14 |
Family
ID=84073643
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211299544.3A Active CN115373621B (en) | 2022-10-24 | 2022-10-24 | Method, system, equipment and storage medium for eliminating messy code image of intelligent photo frame |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115373621B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105611266A (en) * | 2014-11-24 | 2016-05-25 | 扬智科技股份有限公司 | Stereoscopic display and display format setting method |
CN108259742A (en) * | 2018-01-12 | 2018-07-06 | 北京图森未来科技有限公司 | A kind of image-pickup method and device |
CN111526415A (en) * | 2020-04-15 | 2020-08-11 | 海信视像科技股份有限公司 | Double-screen display equipment and HDMI switching method thereof |
CN112328145A (en) * | 2020-10-09 | 2021-02-05 | 深圳Tcl新技术有限公司 | Image display method, device, equipment and computer readable storage medium |
CN114897766A (en) * | 2022-03-07 | 2022-08-12 | 浙江大华技术股份有限公司 | Code stream anomaly detection method and device and computer readable storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130147912A1 (en) * | 2011-12-09 | 2013-06-13 | General Instrument Corporation | Three dimensional video and graphics processing |
-
2022
- 2022-10-24 CN CN202211299544.3A patent/CN115373621B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105611266A (en) * | 2014-11-24 | 2016-05-25 | 扬智科技股份有限公司 | Stereoscopic display and display format setting method |
CN108259742A (en) * | 2018-01-12 | 2018-07-06 | 北京图森未来科技有限公司 | A kind of image-pickup method and device |
CN111526415A (en) * | 2020-04-15 | 2020-08-11 | 海信视像科技股份有限公司 | Double-screen display equipment and HDMI switching method thereof |
CN112328145A (en) * | 2020-10-09 | 2021-02-05 | 深圳Tcl新技术有限公司 | Image display method, device, equipment and computer readable storage medium |
CN114897766A (en) * | 2022-03-07 | 2022-08-12 | 浙江大华技术股份有限公司 | Code stream anomaly detection method and device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN115373621A (en) | 2022-11-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113284456B (en) | Method and device for determining correction coefficient of display screen lamp point and computer equipment | |
CN110009607B (en) | Display screen dead pixel detection method and device, computer equipment and storage medium | |
CN110580693B (en) | Image processing method, image processing device, computer equipment and storage medium | |
JP2008512051A (en) | Apparatus and method for processing images | |
CN104200431A (en) | Processing method and processing device of image graying | |
CN112866802B (en) | Video processing method, video processing device, storage medium and computer equipment | |
CN110349537B (en) | Display compensation method, device, computer equipment and storage medium | |
CN115373621B (en) | Method, system, equipment and storage medium for eliminating messy code image of intelligent photo frame | |
CN113132639B (en) | Image processing method and device, electronic equipment and storage medium | |
CN111428740A (en) | Detection method and device for network-shot photo, computer equipment and storage medium | |
CN114141187A (en) | Mura compensation method, device and system and display equipment | |
CN113870768A (en) | Display compensation method and device | |
CN112506455B (en) | Display method and device of screen to be projected, electronic equipment and readable storage medium | |
US20070297011A1 (en) | Estimation of lighting conditions based on near-gray pixel detection using cylindrical boundaries | |
Choudhury et al. | Combining quality metrics for improved hdr image quality assessment | |
WO2023151210A1 (en) | Image processing method, electronic device and computer-readable storage medium | |
CN112862905B (en) | Image processing method, device, storage medium and computer equipment | |
CN108961189B (en) | Image processing method, image processing device, computer equipment and storage medium | |
CN116112652A (en) | Projection image processing method, apparatus, computer device and storage medium | |
CN114187455A (en) | Picture comparison method and device, electronic equipment and storage medium | |
US10909895B2 (en) | Correction system, display panel, display device, correction method, and storage medium | |
CN110458768A (en) | Image processing method, computer equipment and readable storage medium storing program for executing | |
KR20210155695A (en) | Image processing system for image quality tuning and method of image quality tuning | |
CN112053277B (en) | Method, device, equipment and storage medium for changing image skin | |
CN110875982B (en) | Logo display method and device, computer equipment and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |