CN108696710B - Image display method and device - Google Patents

Image display method and device Download PDF

Info

Publication number
CN108696710B
CN108696710B CN201710233038.7A CN201710233038A CN108696710B CN 108696710 B CN108696710 B CN 108696710B CN 201710233038 A CN201710233038 A CN 201710233038A CN 108696710 B CN108696710 B CN 108696710B
Authority
CN
China
Prior art keywords
image data
image
threshold range
data
pixel
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
CN201710233038.7A
Other languages
Chinese (zh)
Other versions
CN108696710A (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201710233038.7A priority Critical patent/CN108696710B/en
Priority to PCT/CN2018/078544 priority patent/WO2018188438A1/en
Publication of CN108696710A publication Critical patent/CN108696710A/en
Application granted granted Critical
Publication of CN108696710B publication Critical patent/CN108696710B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0117Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level involving conversion of the spatial resolution of the incoming video signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Graphics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The embodiment of the application provides an image display method and device, and the method comprises the following steps: and acquiring blanking data corresponding to the image data, determining an image boundary by using the blanking data when the image is not matched with the display area, extracting effective image data according to the image boundary, and displaying the effective image data. The effective image data is matched with the display area, so that the display effect of the image is improved.

Description

Image display method and device
Technical Field
The present disclosure relates to the field of image processing technologies, and in particular, to an image display method and apparatus.
Background
In the process of displaying a video frame image, the situation that the image does not match with the display area usually occurs, such as: reducing the image to cause black edges to appear in the display area; or the image is too large, so that the image content is not completely displayed; or image shift, which is a situation where not only a black border is present but also the complete image content cannot be displayed.
The above greatly reduces the display effect of the image.
Disclosure of Invention
An object of the embodiments of the present application is to provide an image display method and apparatus, which improve the display effect of an image.
In order to achieve the above object, an embodiment of the present application discloses an image display method, including:
acquiring image data and blanking data corresponding to the image data;
judging whether the image data is matched with a display area;
if yes, displaying the image data in the display area;
if not, determining the image boundary according to the blanking data;
and extracting effective image data according to the image boundary, and displaying the effective image data.
Optionally, the step of determining whether the image data matches the display area may include:
judging whether the position of blanking data corresponding to the image data is matched with the position of a display area, if so, indicating that the image data is matched with the display area;
or detecting whether the data displayed in the display area is abnormal or not, and if not, indicating that the image data is matched with the display area.
Optionally, the step of determining the image boundary according to the blanking data may include:
searching a target pixel point with a pixel value meeting a preset rule, wherein the target pixel point is the blanking data;
and determining the image boundary according to the searched target pixel point.
Optionally, the step of searching for a target pixel point whose pixel value satisfies a preset rule may include:
adjusting the pixel threshold range of the image data to a preset threshold range, wherein the maximum value in the preset threshold range is smaller than the pixel value of the blanking data; and searching pixel points with pixel values larger than the maximum value in the preset threshold range as target pixel points.
Optionally, after the step of determining the image boundary according to the searched target pixel point, the method may further include:
and restoring the adjusted pixel threshold range from the preset threshold range to the pixel threshold range before adjustment.
Optionally, the step of searching for a target pixel point whose pixel value satisfies a preset rule may include:
starting N threads, and searching target pixel points with pixel values meeting preset rules from N directions respectively; the N is greater than 1;
storing the coordinate value of the searched target pixel point;
the step of determining the image boundary according to the searched target pixel point may include:
and determining the image boundary according to the saved coordinate values.
Optionally, N is 4, and the step of searching for the target pixel point whose pixel value meets the preset rule from the N directions respectively may include:
and searching a target pixel point with a pixel value meeting a preset rule from four directions, namely an upper direction, a lower direction, a left direction and a right direction by taking the central pixel point of the image data as a starting point.
Optionally, the step of displaying the effective image data may include:
judging whether the resolution of the effective image data is equal to a preset resolution or not;
if yes, directly displaying the effective image data;
if not, the resolution of the effective image data is adjusted to be equal to the preset resolution, and the adjusted effective image data is displayed.
In order to achieve the above object, an embodiment of the present application further discloses an image display device, including:
the acquisition module is used for acquiring the image data and the blanking data corresponding to the image data;
the judging module is used for judging whether the image data is matched with a display area; if yes, triggering the first display module, and if not, triggering the determining module;
a first display module for displaying the image data in the display area;
the determining module is used for determining the image boundary according to the blanking data;
the extraction module is used for extracting effective image data according to the image boundary;
and the second display module is used for displaying the effective image data.
Optionally, the determining module may be specifically configured to:
judging whether the position of blanking data corresponding to the image data is matched with the position of a display area, if so, indicating that the image data is matched with the display area;
or detecting whether the data displayed in the display area is abnormal or not, and if not, indicating that the image data is matched with the display area.
Optionally, the determining module may include:
the searching submodule is used for searching a target pixel point of which the pixel value meets a preset rule, and the target pixel point is the blanking data;
and the determining submodule is used for determining the image boundary according to the searched target pixel point.
Optionally, the search sub-module may be specifically configured to:
adjusting the pixel threshold range of the image data to a preset threshold range, wherein the maximum value in the preset threshold range is smaller than the pixel value of the blanking data; and searching pixel points with pixel values larger than the maximum value in the preset threshold range as target pixel points.
Optionally, the apparatus may further include:
and the restoring module is used for restoring the adjusted pixel threshold range from the preset threshold range to the pixel threshold range before adjustment after the determining submodule determines the image boundary.
Optionally, the lookup sub-module may include:
the searching unit is used for starting N threads and searching target pixel points of which the pixel values meet preset rules from N directions respectively; the N is greater than 1;
the storage unit is used for storing the coordinate value of the searched target pixel point;
the determination submodule may be specifically configured to:
and determining the image boundary according to the saved coordinate values.
Optionally, N is 4, and the search unit may be specifically configured to:
and searching a target pixel point with a pixel value meeting a preset rule from four directions, namely an upper direction, a lower direction, a left direction and a right direction by taking the central pixel point of the image data as a starting point.
Optionally, the second display module may be specifically configured to:
judging whether the resolution of the effective image data is equal to a preset resolution or not;
if yes, directly displaying the effective image data;
if not, the resolution of the effective image data is adjusted to be equal to the preset resolution, and the adjusted effective image data is displayed. By applying the embodiment shown in the application, the blanking data corresponding to the image data is obtained, when the image is not matched with the display area, the blanking data is utilized to determine the image boundary, the effective image data is extracted according to the image boundary, and the effective image data is displayed. The effective image data is matched with the display area, so that the display effect of the image is improved.
Of course, not all advantages described above need to be achieved at the same time in the practice of any one product or method of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of an image display method according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of an interaction of a device according to an embodiment of the present application;
FIG. 3 is a schematic flow chart of an embodiment of the present application;
fig. 4 is a schematic structural diagram of an image display device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
In order to solve the foregoing technical problems, embodiments of the present application provide an image display method and apparatus, which can be applied to various devices capable of performing image processing, and are not limited specifically. First, the image display method provided in the embodiments of the present application will be described in detail.
Fig. 1 is a schematic flowchart of an image display method according to an embodiment of the present application, including:
s101: and acquiring image data and blanking data corresponding to the image data.
As will be understood by those skilled in the art, the blanking data corresponding to the image data is: the data of each frame of image is divided, and when the image is displayed, the blanking data is not displayed. In addition, generally, the device for executing the scheme includes a video capture chip and an image processor, and the blanking data can only be acquired when the connection mode of the video capture chip and the image processor is external synchronization.
S102: and judging whether the image data is matched with the display area, if so, executing S103, and if not, executing S104.
As an embodiment, it may be determined whether the position of the blanking data corresponding to the image data matches the position of the display area, and if so, it indicates that the image data matches the display area.
According to the above description, the blanking data is data separating each frame of an image, and thus, the position of the blanking data can be understood as the boundary position of the image; judging whether the boundary position is matched with the position of the display area, namely judging whether the boundary position overflows the display area (the image is larger or the image is deviated) or the boundary position is in the display area (the image is smaller or the image is deviated); if the boundary exists, the boundary position is not matched with the position of the display area, namely the judgment result of S102 is negative; in contrast, if there is no such case, it indicates that the boundary position matches the position of the display area, that is, the judgment result of S102 is yes.
Alternatively, as another embodiment, it may be detected whether the data displayed in the display area has an abnormality, and if so, it indicates that the image data matches the display area.
It will be understood by those skilled in the art that the image data may be a video, the video includes a plurality of images, and after the first images of the video are displayed, it is determined that the image data does not match the display area, and then image adjustment is performed to match the images behind the video with the display area.
After the first images of the video are displayed, whether the data displayed in the display area is abnormal or not can be detected, that is, whether a black edge exists in the display area or not or whether the displayed data overflows the display area or not can be detected; if there is an abnormality, it indicates that the image data does not match the display area, and conversely, if there is no abnormality, it indicates that the image data matches the display area.
S103: and displaying the image data in the display area.
If there is no mismatch between the image data and the display area, the blanking data may be discarded and the image data may be displayed in the display area.
S104: and determining the image boundary according to the blanking data.
Specifically, S104 may include:
searching a target pixel point with a pixel value meeting a preset rule, wherein the target pixel point is the blanking data; and determining the image boundary according to the searched target pixel point.
As will be understood by those skilled in the art, the pixel value of the blanking data is usually not less than the pixel value of the image data, and the preset rule may be "pixel value maximum", or the preset rule may also be "pixel value greater than the preset value", or may also be other, and is not limited specifically. The found pixel points can be understood as blanking data.
In general, there are two types of pixel threshold ranges for image data: 0-255 and 16-235. The blanking data serves to mark the boundary, and typically has a pixel value of 255.
If the image data adopts the pixel threshold range of 16-235, no pixel point with the pixel value of 255 exists in the image data, so that the blanking data can be directly distinguished.
If the image data adopts the pixel threshold range of 0-255, the image data may have a pixel point with the pixel value of 255, so that the blanking data cannot be effectively distinguished.
As an embodiment, searching for a target pixel point whose pixel value satisfies a preset rule may include:
adjusting the pixel threshold range of the image data to a preset threshold range, wherein the maximum value in the preset threshold range is smaller than the pixel value of the blanking data; and searching pixel points with pixel values larger than the maximum value in the preset threshold range as target pixel points.
Specifically, it may be determined whether the pixel value of the blanking data is greater than a maximum value in a pixel threshold range of the image data; if yes, directly searching pixel points with pixel values larger than the maximum value in the pixel threshold range as target pixel points; if not, firstly adjusting the pixel threshold range to a preset threshold range, wherein the maximum value in the preset threshold range is smaller than the pixel value of the blanking data; and then searching pixel points with pixel values larger than the maximum value in the preset threshold range as target pixel points.
For example, the first case:
if the pixel value of the blanking data is 255 and the pixel threshold range of the image data is 16-235; and judging that the pixel value of the blanking data is greater than the maximum value in the pixel threshold range of the image data, in this case, directly searching the pixel points with the pixel values greater than 235 as target pixel points, and the target pixel points can be understood as the blanking data.
In the second case:
if the pixel value of the blanking data is 255 and the pixel threshold range of the image data is 0-255, judging that the pixel value of the blanking data is not greater than the maximum value in the pixel threshold range of the image data; in this case, the pixel threshold range of the image data is first adjusted to a preset threshold range, and the maximum value in the preset threshold range is smaller than the pixel value 255 of the blanking data, and here, the preset threshold range is assumed to be 16 to 235.
The pixel threshold range of the image data is adjusted to 16-235, no pixel point with the pixel value of 255 exists in the image data, and the blanking data can be effectively distinguished. And then searching pixel points with pixel values larger than 235 as target pixel points, wherein the target pixel points can be understood as blanking data.
It should be noted that the pixel value of the blanking data is not limited to 255, and may be any value larger than the maximum value in the preset threshold range, such as any value between 236 and 255. Thus, the target pixel point, that is, the pixel point with the pixel value between 236 and 255 is searched, and the searched pixel point can be understood as blanking data, and the blanking data forms an image boundary.
In the second case, after the image boundary is determined, the adjusted pixel threshold range may be restored from the preset threshold range to the pixel threshold range before adjustment, that is, the pixel threshold range of the image data may be restored from 16 to 235 to 0 to 255.
As an embodiment, the step of searching for a target pixel point whose pixel value satisfies a preset rule may include:
starting N threads, and searching target pixel points with pixel values meeting preset rules from N directions respectively; the N is greater than 1; storing the coordinate value of the searched target pixel point;
the step of determining the image boundary according to the searched target pixel point comprises the following steps:
and determining the image boundary according to the saved coordinate values.
The target pixel point is searched in the acquired data, a plurality of threads can be started to search simultaneously, and therefore the searching efficiency can be improved. Generally, the display area and the image are rectangular, so that N may be 4, 4 threads are started, and a target pixel point whose pixel value meets a preset rule is searched from four directions, i.e., from the top, the bottom, the left, and the right, with a central pixel point of the image data as a starting point.
And after the target pixel point is found, the coordinate value of the target pixel point is stored, and the image boundary is determined according to the coordinate value. The preset rule may be any one of the above rules, may also be other rules, and is not limited specifically.
S105: and extracting effective image data according to the image boundary, and displaying the effective image data.
It can be understood that the effective image data extracted based on the determined image boundary is matched with the display area, and thus, the image display effect is improved.
According to the above description, for the same video segment, after the first several images of the video segment are displayed, it is determined that the image data does not match the display area, and then image adjustment is performed so that the images behind the video segment match the display area. Under the condition, after the image data is judged not to be matched with the display area, the target pixel point is searched for once, and the coordinate value of the target pixel point is stored; and adjusting the subsequent images of the video by using the stored coordinate values, namely extracting effective image data from the subsequent images according to the coordinate values and displaying the effective image data.
As can be understood by those skilled in the art, for each image of the same video, the situation of image offset in the display area is substantially the same, and therefore, it is reasonable to search for a target pixel point once and adjust the subsequent images of the video by using the coordinate value of the target pixel point.
As an embodiment, it may be determined whether the resolution of the effective image data is equal to a preset resolution; if yes, directly displaying the effective image data; if not, the resolution of the effective image data is adjusted to be equal to the preset resolution, and the adjusted effective image data is displayed.
It will be understood by those skilled in the art that, due to the existence of the error, the resolution of the effective image data may not be equal to the preset resolution, and in this case, the resolution of the effective image data may be adjusted to be equal to the preset resolution, and then the adjusted effective image data may be displayed. By applying the embodiment, the display effect is further improved.
As a specific implementation manner, an electronic device implementing the present solution may include a video capture chip and an image processor as shown in fig. 2. The image processor may be a DSP (Digital Signal Processing), an arm (acorn RISC machine), an x86, and the like, and is not limited specifically. The device acquires image data and blanking data corresponding to the image data from the video output device.
The specific process can be as shown in fig. 3:
s301: the video output equipment sends a video signal to the equipment;
s302: the video acquisition chip receives the video signal so as to acquire image data and blanking data corresponding to the image data;
s303: the video acquisition chip or the image processor or other modules of the device judge whether the image data is matched with the display area; if yes, executing S304, if no, executing S305;
s304: discarding the blanking data and displaying the image data in the display area;
s305: the image processor determines whether the pixel value of the blanking data is greater than a maximum value in a pixel threshold range of the image data; if not, executing S306; if so, go to S311;
s306: the image processor configures the video acquisition chip so that the video acquisition chip adjusts the pixel threshold range of the image data to 16-235;
s307: the image processor acquires adjusted image data and unadjusted blanking data from the video acquisition chip;
s308: the image processor searches pixel points with pixel values larger than 235 in the acquired data to serve as target pixel points, and determines image boundaries according to coordinate values of the target pixel points;
s309: the image processor restores the pixel threshold range of the image data to 0-255;
s310: an image processor extracting effective image data according to the determined image boundary and displaying the effective image data;
s311: the image processor acquires image data and blanking data from the video acquisition chip; searching pixel points with pixel values larger than 235 in the acquired data to serve as target pixel points, and determining image boundaries according to coordinate values of the target pixel points; and extracting effective image data according to the determined image boundary, and displaying the effective image data.
By applying the embodiment shown in the application, the blanking data corresponding to the image data is obtained, when the image is not matched with the display area, the blanking data is utilized to determine the image boundary, the effective image data is extracted according to the image boundary, and the effective image data is displayed. The effective image data is matched with the display area, so that the display effect of the image is improved.
Corresponding to the method embodiment, the embodiment of the application also provides an image display device.
Fig. 4 is a schematic structural diagram of an image display device according to an embodiment of the present application, including:
an obtaining module 401, configured to obtain image data and blanking data corresponding to the image data;
a judging module 402, configured to judge whether the image data matches a display area; if yes, the first display module 403 is triggered, and if no, the determination module 404 is triggered;
a first display module 403, configured to display the image data in the display area;
a determining module 404, configured to determine an image boundary according to the blanking data;
an extracting module 405, configured to extract effective image data according to the image boundary;
a second display module 406, configured to display the effective image data.
In this embodiment, the determining module 402 may be specifically configured to:
judging whether the position of blanking data corresponding to the image data is matched with the position of a display area, if so, indicating that the image data is matched with the display area;
or detecting whether the data displayed in the display area is abnormal or not, and if not, indicating that the image data is matched with the display area.
In this embodiment, the determining module 404 may include: a look-up sub-module and a determination sub-module (not shown), wherein,
the searching submodule is used for searching a target pixel point of which the pixel value meets a preset rule, and the target pixel point is the blanking data;
and the determining submodule is used for determining the image boundary according to the searched target pixel point.
In this embodiment, the search sub-module may be specifically configured to:
adjusting the pixel threshold range of the image data to a preset threshold range, wherein the maximum value in the preset threshold range is smaller than the pixel value of the blanking data; and searching pixel points with pixel values larger than the maximum value in the preset threshold range as target pixel points.
Specifically, the search sub-module may determine whether the pixel value of the blanking data is greater than a maximum value in a pixel threshold range of the image data; if yes, directly searching pixel points with pixel values larger than the maximum value in the pixel threshold range as target pixel points; if not, firstly adjusting the pixel threshold range to a preset threshold range, wherein the maximum value in the preset threshold range is smaller than the pixel value of the blanking data; and then searching pixel points with pixel values larger than the maximum value in the preset threshold range as target pixel points.
In this embodiment, the apparatus may further include:
and a restoring module (not shown in the figure) for restoring the adjusted pixel threshold range from the preset threshold range to the pixel threshold range before adjustment after the determining sub-module determines the image boundary.
In this embodiment, the lookup sub-module may include:
the searching unit is used for starting N threads and searching target pixel points of which the pixel values meet preset rules from N directions respectively; the N is greater than 1;
the storage unit is used for storing the coordinate value of the searched target pixel point;
the determination submodule may be specifically configured to:
and determining the image boundary according to the saved coordinate values.
In this embodiment, N may be 4, and the search unit may be specifically configured to:
and searching a target pixel point with a pixel value meeting a preset rule from four directions, namely an upper direction, a lower direction, a left direction and a right direction by taking the central pixel point of the image data as a starting point.
In this embodiment, the second display module 406 may be specifically configured to:
judging whether the resolution of the effective image data is equal to a preset resolution or not;
if yes, directly displaying the effective image data;
if not, the resolution of the effective image data is adjusted to be equal to the preset resolution, and the adjusted effective image data is displayed.
By applying the embodiment shown in fig. 4 of the present application, blanking data corresponding to image data is obtained, when the image is not matched with the display area, the blanking data is used to determine the image boundary, effective image data is extracted according to the image boundary, and the effective image data is displayed. The effective image data is matched with the display area, so that the display effect of the image is improved.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims (10)

1. An image display method, comprising:
acquiring image data and blanking data corresponding to the image data, wherein the blanking data is data for separating each frame of image;
judging whether the image data is matched with a display area;
if yes, displaying the image data in the display area;
if not, adjusting the pixel threshold range of the image data to a preset threshold range, wherein the maximum value in the preset threshold range is smaller than the pixel value of the blanking data;
searching pixel points with pixel values larger than the maximum value in the preset threshold range as target pixel points, wherein the target pixel points are the blanking data;
determining an image boundary according to the searched target pixel point;
and extracting effective image data according to the image boundary, and displaying the effective image data.
2. The method of claim 1, wherein the step of determining whether the image data matches a display area comprises:
and judging whether the position of blanking data corresponding to the image data is matched with the position of a display area, if so, indicating that the image data is matched with the display area.
3. The method according to claim 1, wherein after the step of determining the image boundary according to the found target pixel point, further comprising:
and restoring the adjusted pixel threshold range from the preset threshold range to the pixel threshold range before adjustment.
4. The method according to claim 1, wherein the step of finding a pixel having a pixel value greater than the maximum value in the preset threshold range as a target pixel comprises:
with the central pixel point of the image data as a starting point, respectively searching pixel points with pixel values larger than the maximum value in the preset threshold range from the upper direction, the lower direction, the left direction and the right direction to serve as target pixel points;
storing the coordinate value of the searched target pixel point;
the step of determining the image boundary according to the searched target pixel point comprises the following steps:
and determining the image boundary according to the saved coordinate values.
5. The method of claim 1, wherein the step of displaying the valid image data comprises:
judging whether the resolution of the effective image data is equal to a preset resolution or not;
if yes, directly displaying the effective image data;
if not, the resolution of the effective image data is adjusted to be equal to the preset resolution, and the adjusted effective image data is displayed.
6. An image display apparatus, comprising:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring image data and blanking data corresponding to the image data, and the blanking data is data for separating each frame of image;
the judging module is used for judging whether the image data is matched with a display area; if yes, triggering the first display module, and if not, triggering the determining module;
a first display module for displaying the image data in the display area;
the determining module is used for determining the image boundary according to the blanking data;
the extraction module is used for extracting effective image data according to the image boundary;
the second display module is used for displaying the effective image data;
wherein the determining module comprises:
the searching submodule is used for adjusting the pixel threshold range of the image data to a preset threshold range, and the maximum value in the preset threshold range is smaller than the pixel value of the blanking data; searching pixel points with pixel values larger than the maximum value in the preset threshold range as target pixel points, wherein the target pixel points are the blanking data;
and the determining submodule is used for determining the image boundary according to the searched target pixel point.
7. The apparatus of claim 6, wherein the determining module is specifically configured to:
and judging whether the position of blanking data corresponding to the image data is matched with the position of a display area, if so, indicating that the image data is matched with the display area.
8. The apparatus of claim 6, further comprising:
and the restoring module is used for restoring the adjusted pixel threshold range from the preset threshold range to the pixel threshold range before adjustment after the determining submodule determines the image boundary.
9. The apparatus of claim 6, wherein the lookup submodule comprises:
the searching unit is used for searching pixel points with pixel values larger than the maximum value in the preset threshold range from the upper direction, the lower direction, the left direction and the right direction respectively by taking the central pixel point of the image data as a starting point to serve as a target pixel point;
the storage unit is used for storing the coordinate value of the searched target pixel point;
the determining submodule is specifically configured to:
and determining the image boundary according to the saved coordinate values.
10. The apparatus of claim 6, wherein the second display module is specifically configured to:
judging whether the resolution of the effective image data is equal to a preset resolution or not;
if yes, directly displaying the effective image data;
if not, the resolution of the effective image data is adjusted to be equal to the preset resolution, and the adjusted effective image data is displayed.
CN201710233038.7A 2017-04-11 2017-04-11 Image display method and device Active CN108696710B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710233038.7A CN108696710B (en) 2017-04-11 2017-04-11 Image display method and device
PCT/CN2018/078544 WO2018188438A1 (en) 2017-04-11 2018-03-09 Image display method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710233038.7A CN108696710B (en) 2017-04-11 2017-04-11 Image display method and device

Publications (2)

Publication Number Publication Date
CN108696710A CN108696710A (en) 2018-10-23
CN108696710B true CN108696710B (en) 2020-09-04

Family

ID=63793137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710233038.7A Active CN108696710B (en) 2017-04-11 2017-04-11 Image display method and device

Country Status (2)

Country Link
CN (1) CN108696710B (en)
WO (1) WO2018188438A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111353111B (en) * 2020-02-17 2023-06-20 北京皮尔布莱尼软件有限公司 Image display method, computing device and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111640A (en) * 2010-11-30 2011-06-29 广东威创视讯科技股份有限公司 Effective image area detection method and system
US8786776B1 (en) * 2013-05-10 2014-07-22 Silicon Image, Inc. Method, apparatus and system for communicating sideband data with non-compressed video
CN104469178A (en) * 2013-09-25 2015-03-25 联想(北京)有限公司 Image display method and electronic device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0837602A3 (en) * 1996-10-17 1999-10-06 Kabushiki Kaisha Toshiba Letterbox image detection apparatus
CN101394506A (en) * 2007-09-21 2009-03-25 康佳集团股份有限公司 Video display regulation system and video display regulation method
CN101841643B (en) * 2010-04-29 2012-07-25 深圳市茁壮网络股份有限公司 Method and device for detecting black edge
CN102984437A (en) * 2012-12-17 2013-03-20 广东威创视讯科技股份有限公司 Removal method and device for analog video signal letter box based on FPGA
KR102227088B1 (en) * 2014-08-11 2021-03-12 엘지전자 주식회사 Device and control method for the device
US9866789B2 (en) * 2015-02-25 2018-01-09 Echostar Technologies L.L.C. Automatic program formatting for TV displays

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111640A (en) * 2010-11-30 2011-06-29 广东威创视讯科技股份有限公司 Effective image area detection method and system
US8786776B1 (en) * 2013-05-10 2014-07-22 Silicon Image, Inc. Method, apparatus and system for communicating sideband data with non-compressed video
CN104469178A (en) * 2013-09-25 2015-03-25 联想(北京)有限公司 Image display method and electronic device

Also Published As

Publication number Publication date
WO2018188438A1 (en) 2018-10-18
CN108696710A (en) 2018-10-23

Similar Documents

Publication Publication Date Title
CN102201053B (en) Method for cutting edge of text image
US8861854B2 (en) Character recognition apparatus, method, and computer-readable, non-transitory medium
EP2224726A2 (en) Image processing apparatus, image processing method, and program
US11107246B2 (en) Method and device for capturing target object and video monitoring device
US10083676B2 (en) Method for adjusting screen displaying direction and terminal
US8948452B2 (en) Image processing apparatus and control method thereof
KR101434484B1 (en) Apparatus and method for vision inspecting using image division
US20130064470A1 (en) Image processing apparatus and image processing method for reducing noise
US8750622B2 (en) Image processing device and image processing method
CN103763458A (en) Scene change detection method and device
CN108696710B (en) Image display method and device
JP2014147046A (en) Image processing apparatus, image processing method, and computer program
JP2006222899A (en) Image processing apparatus and image processing method
JP5264457B2 (en) Object detection device
CN108810509B (en) Image color correction method and device
CN101625762A (en) Target dividing method and target dividing device
US9709874B2 (en) Device and method for image processing used for tracking pursued subject
JP2008042768A (en) Image display device and display image gradation correcting method used therefor
CN106658173A (en) Video display method, device and system
US9122935B2 (en) Object detection method, storage medium, integrated circuit, and object detection apparatus
JP6543214B2 (en) Motion monitoring device
CN105847700A (en) Shooting method and device
US20100115016A1 (en) Thresholding of Image Difference Maps
CN112580638B (en) Text detection method and device, storage medium and electronic equipment
JP2002330354A (en) Device, method and program for detecting and correcting defective pixel, and video signal processor

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