CN106204661B - Picture validity identification method and device and intelligent terminal - Google Patents

Picture validity identification method and device and intelligent terminal Download PDF

Info

Publication number
CN106204661B
CN106204661B CN201610472268.4A CN201610472268A CN106204661B CN 106204661 B CN106204661 B CN 106204661B CN 201610472268 A CN201610472268 A CN 201610472268A CN 106204661 B CN106204661 B CN 106204661B
Authority
CN
China
Prior art keywords
data
pixel
picture
edge
parallel
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
Application number
CN201610472268.4A
Other languages
Chinese (zh)
Other versions
CN106204661A (en
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.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual Technology 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 Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN201610472268.4A priority Critical patent/CN106204661B/en
Publication of CN106204661A publication Critical patent/CN106204661A/en
Application granted granted Critical
Publication of CN106204661B publication Critical patent/CN106204661B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/56Extraction of image or video features relating to colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)

Abstract

The embodiment of the invention provides a picture effectiveness identification method, a picture effectiveness identification device and an intelligent terminal, wherein the method comprises the following steps: acquiring pixel data in a preset area in the picture; the picture is provided with a first edge and a second edge which are parallel to each other, the preset area is provided with a third edge and a fourth edge which are parallel to the first edge and the second edge, and the third edge and the fourth edge are not overlapped with the first edge and the second edge; the pixel data comprises data of pixel points in pixel rows arranged in a direction parallel to the third edge and the fourth edge of the preset area; determining whether the data of each pixel point in the pixel row is the same as the pre-stored pixel point data; and if the data of any pixel point in the pixel row is different from the pre-stored pixel point data, determining that the picture is valid. The picture effectiveness identification method, the picture effectiveness identification device and the intelligent terminal provided by the embodiment of the invention can improve the picture effectiveness identification efficiency and save system resources.

Description

Picture validity identification method and device and intelligent terminal
Technical Field
The invention relates to the field of picture identification, in particular to a picture effectiveness identification method and device and an intelligent terminal.
Background
In the field of intelligent electronics, with the increasing popularization of intelligent operating systems such as iOS and Android, more and more traditional electronic devices are also beginning to be upgraded into intelligent electronic devices. Taking an intelligent television as an example, in a current intelligent television terminal, various scenes are often required to intercept a current display interface of the television terminal and display the intercepted picture on the television terminal. For example: during the switching and transition of physical signal source channels such as live television, High Definition Multimedia Interface (HDMI), and home Video equipment transmission port (AV), the currently played television picture is captured and displayed on the television terminal. However, due to the limited resources of the hardware or the driver of the television terminal, when a screenshot is taken on the interface currently being played, a completely black picture is occasionally taken. If the picture is not recognized, the user can be greatly unfriendly and uncomfortable by directly using the all-black picture. Therefore, the captured display interface picture must be identified, and the valid picture can be used. Specifically, the captured display interface picture is usually compared with a reference picture that is all black. And if the intercepted display interface picture is the same as the all-black picture, the intercepted display interface picture is determined to be invalid.
In order to increase the operating speed of the intelligent electronic device system and save system resources, a method capable of quickly identifying the effectiveness of the captured display interface picture needs to be provided.
Disclosure of Invention
The embodiment of the invention provides a picture effectiveness identification method and device and an intelligent terminal, which are used for improving the speed of identifying the effectiveness of a display interface picture by the intelligent terminal.
In a first aspect, an embodiment of the present invention provides an image validity identification method, including:
acquiring pixel data in a preset area in the picture; the picture is provided with a first edge and a second edge which are parallel to each other, and the first edge and the second edge are edges of the picture; the preset area is provided with a third edge and a fourth edge which are parallel to the first edge and the second edge, and the third edge and the fourth edge are not overlapped with the first edge and the second edge; the pixel data comprises pixel line data arranged along the third side and the fourth side which are parallel to the preset area;
determining whether the data of each pixel point in the pixel line data is the same as the pre-stored pixel point data;
and if the data of any pixel point in the pixel data is different from the pre-stored pixel point data, determining that the picture is valid.
In a second aspect, an embodiment of the present invention provides an apparatus for identifying validity of a picture, including:
the acquisition module is used for acquiring pixel data in a preset area in the picture; the picture is provided with a first edge and a second edge which are parallel to each other, and the first edge and the second edge are edges of the picture; the preset area is provided with a third edge and a fourth edge which are parallel to the first edge and the second edge, and the third edge and the fourth edge are not overlapped with the first edge and the second edge; the pixel data comprises data of pixel points arranged along the third edge and the fourth edge of the preset area;
the determining module is used for determining whether the data of each pixel point in the pixel data is the same as the pre-stored pixel point data;
if the data of any one pixel point in the pixel data is different from the pre-stored pixel point data,
the determining module is further configured to determine that the picture is valid.
In a third aspect, an embodiment of the present invention provides an intelligent terminal, where the intelligent terminal includes the above image validity identification apparatus.
According to the picture effectiveness identification method, the picture effectiveness identification device and the intelligent terminal, whether the data of each pixel point in the pixel line data is the same as the pre-stored pixel point data or not is determined by obtaining the pixel data in the preset area in the picture, if the data of any pixel point in the pixel data is different from the pre-stored pixel point data, the picture is determined to be effective, and the picture effectiveness identification is completed. By adopting the picture effectiveness identification method provided by the embodiment of the invention, the acquired pixel data of the picture compared with the pre-stored pixel point data is data in a preset area in the picture, and the edge of the preset area is not coincident with the edge of the picture, so the acquired pixel row is not the initial row of the picture. That is to say, the image recognition method adopted in the embodiment of the present invention selects the pixel rows far from the edge of the image in the video image to compare with the preset pixel data. And the probability that pixel line data far away from the edge of the picture in a normal video picture is non-full-black pixel data is higher, so that compared with the prior art, the method can be used for more quickly determining whether the picture is effective or not, the identification efficiency of the effectiveness of the picture is improved, and system resources are saved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic flow chart illustrating a method for identifying picture validity according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a relationship between pixel row data and a memory address of a picture;
FIG. 3 is a diagram illustrating a picture to be identified by the picture validity identification method according to the embodiment of the invention;
FIG. 4 is another schematic diagram of a picture to be identified by the picture validity identification method according to the embodiment of the invention;
FIG. 5 is a schematic structural diagram of an apparatus for identifying effectiveness of image in accordance with an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an intelligent terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The picture effectiveness identification method, the picture effectiveness identification device and the intelligent terminal are used for identifying the captured picture of the display interface of the intelligent terminal, so that the picture identification efficiency is improved, and the system resources of the intelligent terminal are saved.
Before explaining the embodiments of the present invention in detail, an application scenario of the embodiments of the present invention will be described. The method provided by the embodiment of the invention is applied to a terminal, the terminal can be an intelligent television, a Computer, an intelligent mobile phone, a tablet Computer, a notebook Computer, a super-mobile Personal Computer (UMPC), a netbook, a Personal Digital Assistant (PDA) and the like, and the embodiment of the invention does not limit the method. In this embodiment, the terminal is taken as an example of an intelligent electronic device, and a detailed description of the scheme is performed, and other situations are similar to the above, and the detailed description is omitted in this embodiment.
Example one
Fig. 1 is a schematic flow chart of a picture validity identification method according to an embodiment of the present invention.
Referring to fig. 1, a method for identifying picture validity according to an embodiment of the present invention includes:
s101: acquiring pixel data in a preset area in the picture; the picture is provided with a first edge and a second edge which are parallel to each other, and the first edge and the second edge are edges of the picture; the preset area is provided with a third edge and a fourth edge which are parallel to the first edge and the second edge, and the third edge and the fourth edge are not overlapped with the first edge and the second edge; the pixel data includes pixel line data arranged in a direction parallel to the third side and the fourth side of the preset area.
Specifically, the picture is a display interface of the intelligent terminal, and is usually rectangular, and the first side and the second side may be two long sides of the picture, and may also be two short sides of the picture. The acquired pixel data is pixel data in pixel rows parallel to the first edge and the second edge in the preset region.
S102: determining whether the data of each pixel point in the pixel line data is the same as the pre-stored pixel point data;
s103: and if the data of any pixel point in the pixel data is different from the pre-stored pixel point data, determining that the picture is valid.
Specifically, whether the data of each pixel point in the pixel line data is the same as the pre-stored pixel point data may be determined by, but not limited to, the following implementation manners:
in one implementation, the reference picture used for comparison is a known black-all picture, and therefore, data of each pixel point in the black-all picture is the same. One pixel point data of the all-black picture can be stored in the intelligent terminal in advance. When comparing, only by confirming that the data of any one pixel point in the pixel row of the picture is different from the data of the preset pixel point, the pixel row data can be considered to be different from the data of the all-black picture. That is, the picture is not a full black picture, and is an effective picture that can be used.
In another implementation manner, data of a pixel row in the all-black picture corresponding to the pixel row position of the picture may also be acquired as a reference standard for comparing with the pixel row data. And if the data of the pixel points in the pixel rows of the picture is different from the data of the pixel points in the corresponding pixel rows of the full black picture, the picture is considered not to be the full black picture and is an effective picture which can be used.
Fig. 2 is a schematic diagram of a relationship between pixel row data and a memory address of a picture.
The following describes a manner of acquiring pixel line data of a picture in detail with reference to fig. 2.
Specifically, the pixel data of the picture is stored linearly in the memory, and generally, the starting point of the picture access pixel is the upper left-corner pixel point. Assuming that the corresponding address of the pixel point at the upper left corner of the picture in the memory is Base, and the offset of one pixel point relative to the initial address is offset, the storage address of the pixel point in the memory is: base + offset. Assuming that the length and width of a picture are W and H, respectively, the storage address interval of the first pixel row of the picture in the memory is: Base-Base + W-1, the storage address interval of the second pixel row in the memory is as follows: base + W-Base + 2W-1 (where, is the multiplication number, the same applies below), and so on, the storage address of the nth pixel row in the memory is: base + (N-1) × W-Base + N × W-1, as shown in fig. 2, each marked square in the figure can be regarded as the memory space occupied by a row of pixel data.
As described above, when the position of the pixel row of the picture to be obtained is determined, the memory address corresponding to the pixel row can be calculated according to the above manner, so as to obtain the pixel point data correspondingly stored in the memory address.
According to the picture effectiveness identification method provided by the embodiment of the invention, whether the data of each pixel point in the pixel line data is the same as the pre-stored pixel point data is determined by acquiring the pixel data in the preset area in the picture, and if the data of any pixel point in the pixel data is different from the pre-stored pixel point data, the picture is determined to be effective, and the picture effectiveness identification is completed. By adopting the picture effectiveness identification method provided by the embodiment of the invention, the acquired pixel data of the picture compared with the pre-stored pixel point data is data in a preset area in the picture, and the edge of the preset area is not coincident with the edge of the picture, so the acquired pixel row is not the initial row of the picture. That is to say, the picture identification method adopted in the embodiment of the present invention selects the pixel row in the video picture far from the picture edge to compare with the preset pixel data, and the probability that the pixel row data in a normal video picture far from the picture edge is not all-black pixel data is relatively high.
On the basis of the foregoing embodiment, further, a distance between the third edge of the preset area and the first edge of the picture is equal to a distance between the fourth edge of the preset area and the second edge of the picture.
The acquiring of the pixel data in the preset area in the picture comprises:
acquiring data of a first pixel row in the preset area, which is parallel to and adjacent to one side of a central axis of the preset area, wherein the central axis of the preset area is parallel to the third edge and the fourth edge;
the determining whether the data of each pixel point in the pixel data is the same as the pre-stored pixel point data includes:
and determining whether the data of each pixel point in the data of the first pixel row is the same as the pre-stored pixel point data.
Specifically, referring to fig. 2, the corresponding addresses of the first pixel row in the memory are: base + (H/2-1) W-Base + H/2W-1. And obtaining the data of the first pixel row after determining the memory address.
Further, on the basis of the above embodiment, if the data of all the pixel points in the pixel data is the same as the pre-stored pixel point data, the method further includes:
acquiring data of a second pixel row in the preset area, which is parallel to and adjacent to the other side of the central axis of the preset area;
determining whether the data of the second pixel row is the same as the pre-stored pixel data;
and if the data of any pixel point in the data of the second pixel row is different from the pre-stored pixel point data, determining that the picture is valid.
In this embodiment, a central axis of the preset region between the third edge and the fourth edge coincides with a central axis of the picture between the first edge and the second edge. Under a normal condition, a black line does not appear at the middle position of one video picture, so if the picture to be identified is a normal picture, the embodiment can quickly draw the effective conclusion of the picture by acquiring the data of the first pixel row adjacent to the central axis of the preset area and comparing the data with the data of the preset pixel points, and the identification efficiency of the effectiveness of the picture is improved.
Further, on the basis of the above embodiment, the picture is divided into a first area and a second area by the central axis of the preset area, and if the data of all the pixels in the second pixel row are the same as the pre-stored pixel data, the method further includes:
acquiring data of a third pixel row in the preset area, which is parallel to and adjacent to the central axis of the first area, wherein the central axis of the first area is parallel to the third edge and the fourth edge;
determining whether the data of the third pixel row is the same as the pre-stored pixel data;
and if the data of any pixel point in the data of the third pixel row is different from the pre-stored pixel point data, determining that the picture is valid.
Further, on the basis of the above embodiment, if the data of all the pixels in the data of the second pixel row is the same as the pre-stored pixel data, the method further includes:
acquiring data of a fourth pixel row in the preset area, which is parallel to and adjacent to the central axis of the second area, wherein the central axis of the second area is parallel to the third edge and the fourth edge;
determining whether the data of the fourth pixel row is the same as the pre-stored pixel data;
and if the data of any pixel point in the data of the fourth pixel row is different from the pre-stored pixel point data, determining that the picture is valid.
Further, on the basis of the above embodiment, the picture has a fifth side and a sixth side perpendicular to the first side and the second side, and if the data of all the pixels in the data of the fourth pixel row is the same as the pre-stored pixel data, the method further includes:
acquiring data of a first pixel row which is parallel to and adjacent to the central axis of the picture in the preset area, wherein the central axis of the picture is parallel to the fifth side and the sixth side;
determining whether the data of the first pixel column is the same as the pre-stored pixel data;
and if the data of any one pixel point in the data of the first pixel column is different from the pre-stored pixel point data, determining that the picture is valid.
Specifically, in this embodiment, when the image validity identification method provided in the foregoing embodiment cannot determine the validity of the image yet, the data of the pixel columns near the central axis perpendicular to the first edge and the second edge of the image may be acquired and compared with the preset pixel point data to determine the validity of the image. If the data of any pixel point in the pixel column is different from the preset pixel point data, the picture can be determined to be valid, and the recognition efficiency of the picture validity is improved.
Further, on the basis of the above embodiment, the picture is divided into a third area and a fourth area by the central axis of the picture, and if the data of all the pixel points in the data of the fourth pixel row is the same as the pre-stored pixel point data, the method further includes:
acquiring data of a second pixel row in the preset area, which is parallel to and adjacent to the central axis of the third area, wherein the central axis of the third area is parallel to the fifth side and the sixth side;
determining whether the data of the second pixel column is the same as the pre-stored pixel data;
and if the data of any one pixel point in the data of the second pixel column is different from the pre-stored pixel point data, determining that the picture is valid.
Further, on the basis of the above embodiment, if the data of all the pixels in the data of the second pixel row is the same as the pre-stored pixel data, the method further includes:
acquiring data of a third pixel row in the preset area, which is parallel to and adjacent to the central axis of the fourth area, wherein the central axis of the fourth area is parallel to the fifth edge and the sixth edge;
determining whether the data of the third pixel column is the same as the pre-stored pixel data;
and if the data of any one pixel point in the data of the third pixel column is different from the pre-stored pixel point data, determining that the picture is valid.
If the data of all pixel points in the data of the third pixel column is still the same as the pre-stored pixel point data after the comparison process is completed, sequentially acquiring the data of the remaining pixel rows or pixel columns in the picture and comparing the data with the preset pixel point data. And if the data of all pixel rows or pixel columns in the picture is finally determined to be the same as the preset pixel point data, determining that the picture is an invalid picture.
Fig. 3 is a schematic diagram of a picture to be identified by the picture validity identification method according to the embodiment of the invention.
The method for identifying the validity of the picture according to the embodiment of the present invention is further described with reference to fig. 3.
Specifically, in a specific implementation manner, the preset region 200 is located inside the picture 100, the picture 100 has a first side 1 and a second side 2 that are parallel to each other, the preset region 210 has a third side 3 and a fourth side 4 that are parallel to the first side 1 and the second side 2, and neither of the third side 3 and the fourth side 4 coincides with any one of the sides of the picture 100. Alternatively, the preset area 200 may be a rectangle, a square, a diamond, a trapezoid, or the like having two parallel sides.
The preset area 200 may be located at a center position of the picture 100, and a central axis 5 of the preset area 200 parallel to the third side 3 and the fourth side 4 coincides with a central axis of the picture 100 parallel to the first side 1 and the second side 2. The central axis 5 divides the picture 100 into a first area 10 and a second area 20.
When acquiring the pixel data in the preset area 200, data of the first pixel row 6 or the second pixel row 7 parallel to and adjacent to the central axis 5 may be acquired first. And compares the data with the pre-stored pixel point data and if different, determines that the picture 100 is valid. If the two pixel rows are the same, continuously acquiring data of a third pixel row 12 in the preset area 200, which is parallel to and adjacent to any side 11 of the central axis in the first area 10 along the direction parallel to the first side 1 and the second side 2, comparing the data with the pre-stored pixel point data, and if the data are different, determining that the picture 100 is valid. If the pixel data is the same as the pixel data, data of a fourth pixel row 22 in the preset area 200, which is parallel to and adjacent to any side of the central axis 21 in the second area 20 along the direction parallel to the first side 1 and the second side 2, is continuously obtained and compared with the pixel data stored in advance.
Fig. 4 is another schematic diagram of a picture to be identified by the picture validity identification method according to the embodiment of the invention.
Referring to fig. 4, the picture 100 is rectangular, and further has a fifth side 5 and a sixth side 6 perpendicular to the first side 1 and the second side 2, and a central axis 8 parallel to the fifth side 5 and the sixth side 6. The central axis 8 divides the picture into a third area 30 and a fourth area 40. If the data of all the pixel points of the fourth pixel row 22 are the same as the pre-stored pixel point data, the data of the first pixel column 9 parallel to and adjacent to any side of the central axis 8 in the pre-stored region 200 is continuously obtained, the data is compared with the pre-stored pixel point data, and if the data are different, the picture 100 is determined to be valid. If the data are the same, continuously acquiring data of a second pixel column 32 which is parallel to and adjacent to any side of the central axis 31 of the third area 30, comparing the data with the prestored pixel point data, and if the data are different, determining that the picture 100 is valid. If the data is the same as the data of the third pixel row 42 parallel to and adjacent to any side of the central axis 41 of the fourth region 40, the data is obtained and compared with the pre-stored pixel point data, and if the data is different from the pre-stored pixel point data, the picture 100 is determined to be valid. If the data of the other pixel rows or pixel columns in the preset area 200 are the same as the data of the pre-stored pixel point data, the data of the other pixel rows or pixel columns in the preset area is continuously compared with the pre-stored pixel point data, and the effectiveness of the picture is determined.
The image effectiveness identification method provided by the embodiment of the invention has the advantages that: for normal video screenshot, the time for confirming the validity of the picture can be greatly shortened. For example: 230 rows of pixel black edges are reserved on the upper and lower parts of a common film, if 1 x 231 pixel rows need to be scanned in a progressive scanning comparison mode, the method provided by the embodiment of the invention can determine that the picture is effective by only scanning 1 pixel row, which is 1/231 of the time consumed by the original algorithm, and the efficiency is obviously improved. Specifically, the more black pixel rows are left above and below or on the left and right of the played video or the display interface, the more the efficiency of the algorithm provided by the invention is improved compared with that of the original algorithm. The following steps are repeated: for the video pictures with black sides on the top, bottom, left and right of the original ratio, the actual length and width of the picture is 1504 × 704, and the length and width of the tv screen is 1920 × 1080, if the picture needs to be scanned in a progressive scanning manner (1080-. If the scan is performed column by column, it is necessary to scan (1920-1504)/2+ 1-209 rows to confirm that the graph is valid. By adopting the method provided by the embodiment of the invention, the effectiveness of the picture can be confirmed only by scanning one line, and the effectiveness efficiency of the picture is greatly improved. According to a large amount of identification data statistics, 99% of video screenshots can be confirmed to be effective only by scanning 4 lines at most by adopting the image effectiveness identification method provided by the embodiment of the invention.
According to the picture effectiveness identification method provided by the embodiment of the invention, the pixel point data of the pixel row or the pixel column adjacent to the axle wire of the video picture is selected firstly to be compared with the preset pixel point data, and the possibility that the data of the pixel row or the pixel column near the axle wire of a normal video picture is not all-black pixel data is higher, so that compared with the prior art, the method can be used for more easily confirming whether the picture is effective. Furthermore, by selecting the data of the pixel rows adjacent to the central axes of the first area and the second area and the data of the pixel columns adjacent to the central axes of the third area and the fourth area to compare with the preset pixel point data, because the pixel rows and the pixel columns are the places where normal images are most likely to appear in the images, the images are identified successively by the method, so that accurate identification results of the effectiveness of the images can be obtained in a short time, the image identification efficiency is improved, and system resources are saved.
Example two
Fig. 5 is a schematic structural diagram of an embodiment of the device for identifying validity of picture in the invention.
Referring to fig. 5, an apparatus for adjusting a display duration of a television notification according to an embodiment of the present invention includes:
an obtaining module 510, configured to obtain pixel data in a preset region in the picture; the picture is provided with a first edge and a second edge which are parallel to each other, the preset area is provided with a third edge and a fourth edge which are parallel to the first edge and the second edge, and the third edge and the fourth edge are not overlapped with the first edge and the second edge; the pixel data comprises data of pixel points arranged along the third edge and the fourth edge of the preset area;
a determining module 520, configured to determine whether data of each pixel in the pixel data is the same as pre-stored pixel data;
if the data of any one pixel point in the pixel data is different from the pre-stored pixel point data,
the determination module 520 is further configured to determine that the picture is valid.
The picture validity identification device provided by the embodiment of the invention is used for executing the picture validity identification method provided by the first embodiment, and the specific implementation principle and technical effect are similar to those of the first embodiment, and are not repeated herein.
EXAMPLE III
Fig. 6 is a schematic structural diagram of an intelligent terminal according to an embodiment of the present invention.
Referring to fig. 6, an intelligent terminal 600 according to an embodiment of the present invention includes an image validity identification apparatus 610 according to a second embodiment, and specific implementation principles and technical effects thereof are similar to those of the second embodiment and are not described herein again.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a readable storage medium of a computer, a mobile phone or other portable devices. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A picture validity identification method is characterized by comprising the following steps:
acquiring data of a first pixel row in a preset area, wherein the first pixel row is parallel to and adjacent to one side of a central axis of the preset area; the picture is provided with a first edge and a second edge which are parallel to each other, and the first edge and the second edge are edges of the picture; the preset area is provided with a third edge and a fourth edge which are parallel to the first edge and the second edge, and the third edge and the fourth edge are not overlapped with the first edge and the second edge; the pixel data comprises data of pixel points in pixel rows arranged in a direction parallel to the third edge and the fourth edge of the preset area; the central axis of the preset area is parallel to the third side and the fourth side;
determining whether the data of each pixel point in the first pixel row is the same as the pre-stored pixel point data;
and if the data of any pixel point in the pixel row is different from the pre-stored pixel point data, determining that the picture is valid.
2. The method according to claim 1, wherein a distance between the third side of the predetermined area and a first side of the picture is equal to a distance between the fourth side of the predetermined area and a second side of the picture.
3. The method of claim 2, wherein if the data of all the pixels in the pixel row is the same as the pre-stored pixel data, the method further comprises:
acquiring data of a second pixel row in the preset area, which is parallel to and adjacent to the other side of the central axis of the preset area;
determining whether the data of the second pixel row is the same as the pre-stored pixel data;
and if the data of any pixel point in the second pixel row is different from the pre-stored pixel point data, determining that the picture is valid.
4. The method according to claim 3, wherein the picture is divided into a first region and a second region by a central axis of the preset region, and if the data of all the pixels in the second pixel row are the same as the pre-stored pixel data, the method further comprises:
acquiring data of a third pixel row in the preset area, which is parallel to and adjacent to the central axis of the first area, wherein the central axis of the first area is parallel to the third edge and the fourth edge;
determining whether the data of the third pixel row is the same as the pre-stored pixel data;
and if the data of any pixel point in the data of the third pixel row is different from the pre-stored pixel point data, determining that the picture is valid.
5. The method of claim 4, wherein if the data of all the pixels in the data of the third pixel row is the same as the pre-stored pixel data, the method further comprises:
acquiring data of a fourth pixel row in the preset area, which is parallel to and adjacent to the central axis of the second area, wherein the central axis of the second area is parallel to the third edge and the fourth edge;
determining whether the data of the fourth pixel row is the same as the pre-stored pixel data;
and if the data of any pixel point in the data of the fourth pixel row is different from the pre-stored pixel point data, determining that the picture is valid.
6. The method of claim 5, wherein the picture has a fifth side and a sixth side perpendicular to the first side and the second side, the fifth side and the sixth side being edges of the picture; if the data of all the pixel points in the data of the fourth pixel row is the same as the pre-stored pixel point data, the method further includes:
acquiring data of a first pixel row which is parallel to and adjacent to the central axis of the picture in the preset area, wherein the central axis of the picture is parallel to the fifth side and the sixth side;
determining whether the data of the first pixel column is the same as the pre-stored pixel data;
and if the data of any one pixel point in the data of the first pixel column is different from the pre-stored pixel point data, determining that the picture is valid.
7. The method according to claim 6, wherein the picture is divided into a third area and a fourth area by a central axis of the picture, and if the data of all the pixels in the data of the first pixel row is the same as the pre-stored pixel data, the method further comprises:
acquiring data of a second pixel row in the preset area, which is parallel to and adjacent to the central axis of the third area, wherein the central axis of the third area is parallel to the fifth side and the sixth side;
determining whether the data of the second pixel column is the same as the pre-stored pixel data;
and if the data of any one pixel point in the data of the second pixel column is different from the pre-stored pixel point data, determining that the picture is valid.
8. The method of claim 7, wherein if the data of all the pixels in the data of the second pixel column is the same as the pre-stored pixel data, the method further comprises:
acquiring data of a third pixel row in the preset area, which is parallel to and adjacent to the central axis of the fourth area, wherein the central axis of the fourth area is parallel to the fifth edge and the sixth edge;
determining whether the data of the third pixel column is the same as the pre-stored pixel data;
and if the data of any one pixel point in the data of the third pixel column is different from the pre-stored pixel point data, determining that the picture is valid.
9. An apparatus for recognizing picture validity, comprising:
the acquisition module is used for acquiring data of a first pixel row which is parallel to and adjacent to one side of a central axis of a preset area in the preset area; the picture is provided with a first edge and a second edge which are parallel to each other, and the first edge and the second edge are edges of the picture; the preset area is provided with a third edge and a fourth edge which are parallel to the first edge and the second edge, and the third edge and the fourth edge are not overlapped with the first edge and the second edge; the pixel data comprises data of pixel points in pixel rows arranged along the third edge and the fourth edge of the preset area, and the central axis of the preset area is parallel to the third edge and the fourth edge;
the determining module is used for determining whether the data of each pixel point in the first pixel row is the same as the pre-stored pixel point data;
and if the data of any pixel point in the pixel row is different from the pre-stored pixel point data, the determining module is further used for determining that the picture is valid.
10. An intelligent terminal, characterized in that the intelligent terminal comprises the picture validity recognition apparatus according to claim 9.
CN201610472268.4A 2016-06-23 2016-06-23 Picture validity identification method and device and intelligent terminal Active CN106204661B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610472268.4A CN106204661B (en) 2016-06-23 2016-06-23 Picture validity identification method and device and intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610472268.4A CN106204661B (en) 2016-06-23 2016-06-23 Picture validity identification method and device and intelligent terminal

Publications (2)

Publication Number Publication Date
CN106204661A CN106204661A (en) 2016-12-07
CN106204661B true CN106204661B (en) 2020-05-05

Family

ID=57461744

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610472268.4A Active CN106204661B (en) 2016-06-23 2016-06-23 Picture validity identification method and device and intelligent terminal

Country Status (1)

Country Link
CN (1) CN106204661B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1533179A (en) * 2003-03-24 2004-09-29 �ձ�������ʽ���� VIsible telephone device and visible telephone system for checking picture validity
CN102136068A (en) * 2011-03-31 2011-07-27 中国科学院半导体研究所 Average grey-based method for extracting effective information region of range gating image

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5212195B2 (en) * 2009-03-13 2013-06-19 オムロン株式会社 Image processing apparatus and image processing method
US8817071B2 (en) * 2009-11-17 2014-08-26 Seiko Epson Corporation Context constrained novel view interpolation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1533179A (en) * 2003-03-24 2004-09-29 �ձ�������ʽ���� VIsible telephone device and visible telephone system for checking picture validity
CN102136068A (en) * 2011-03-31 2011-07-27 中国科学院半导体研究所 Average grey-based method for extracting effective information region of range gating image

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于HDevelop处理图像灰度分布不均匀;李少逸 等;《科技信息(学术研究)》;20060705;第230-231页 *

Also Published As

Publication number Publication date
CN106204661A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
US11606853B2 (en) Light control method and apparatus based on boundary identification, and storage medium
TW202131219A (en) Image recognition method and apparatus, electronic device, and storage medium
US20180165859A1 (en) Method for generating screenshot image on television terminal and associated television
CN108769776B (en) Title subtitle detection method and device and electronic equipment
CN108764000B (en) Two-dimensional code fast decoding method
CN111107333B (en) Brightness correction method, system, equipment and computer readable storage medium
CN111741274B (en) Ultrahigh-definition video monitoring method supporting local amplification and roaming of picture
US9025082B2 (en) Image processing device, image recognition device, image recognition method, and program
CN106599758A (en) Image quality processing method and terminal
US20230362328A1 (en) Video frame insertion method and apparatus, and electronic device
WO2023160617A9 (en) Video frame interpolation processing method, video frame interpolation processing device, and readable storage medium
CN105389827A (en) Method and device for acquiring television station logo region
CN103700062A (en) Image processing method and device
US11699276B2 (en) Character recognition method and apparatus, electronic device, and storage medium
CN111182338A (en) Video processing method and device, storage medium and electronic equipment
CN106713739A (en) Identification method of two-dimensional code displayed based on electronic screen
CN106204661B (en) Picture validity identification method and device and intelligent terminal
US10922791B2 (en) Image processing apparatus and method
CN110572713B (en) Transcoding method and processing terminal for adaptive video bandwidth ratio
US20140307116A1 (en) Method and system for managing video recording and/or picture taking in a restricted environment
CN101114442A (en) Video window detector
US20130156308A1 (en) Picture detection device, picture recording device, picture recording/reproduction device, picture detection method, picture recording method, and picture recording/reproduction method
CN115439660A (en) Detection method, detection device, electronic equipment and medium
CN112927126A (en) Image display control method, terminal, and computer-readable storage medium
CN112150345A (en) Image processing method and device, video processing method and sending card

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant after: Hisense Video Technology Co., Ltd

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant before: HISENSE ELECTRIC Co.,Ltd.

GR01 Patent grant
GR01 Patent grant