CN107273072B - Picture display method and device and electronic equipment - Google Patents

Picture display method and device and electronic equipment Download PDF

Info

Publication number
CN107273072B
CN107273072B CN201610214017.6A CN201610214017A CN107273072B CN 107273072 B CN107273072 B CN 107273072B CN 201610214017 A CN201610214017 A CN 201610214017A CN 107273072 B CN107273072 B CN 107273072B
Authority
CN
China
Prior art keywords
pixel
point data
pixel point
memory
boundary
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
CN201610214017.6A
Other languages
Chinese (zh)
Other versions
CN107273072A (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.)
Youku Culture Technology Beijing Co ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201610214017.6A priority Critical patent/CN107273072B/en
Publication of CN107273072A publication Critical patent/CN107273072A/en
Application granted granted Critical
Publication of CN107273072B publication Critical patent/CN107273072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application discloses a picture display method and device and electronic equipment. The method comprises the following steps: determining first boundary coordinates of a first pixel set, wherein the first pixel set comprises at least part of pixel point data of a preset picture stored in a first memory; acquiring pixel point data of a first pixel set according to the first boundary coordinates; loading pixel point data included in the acquired first pixel set into a second memory; providing pixel point data contained in the first pixel set for a display to display; calculating the first boundary coordinate according to a preset rule to obtain a second boundary coordinate of a second pixel set; acquiring pixel point data of a second pixel set according to the second boundary coordinates; the second pixel set comprises pixel points at least partially different from the pixel point data contained in the first pixel set; loading pixel point data included in the acquired second pixel set into a second storage; and providing the pixel point data contained in the second pixel set for a display to display.

Description

Picture display method and device and electronic equipment
Technical Field
The present application relates to the field of information technology processing, and in particular, to a method and an apparatus for displaying a picture, and an electronic device.
Background
With the continuous development of the image processing technology field, the content on the picture can be provided to the display for display by the image processing device. In practical applications, the pictures may be stored in a storage device according to a specified path, and the storage device may be integrated in the image processing device or may be an independent device that can be accessed by the image processing device. When displaying a picture, the image processing device may read the picture from the specified path and then render the pixel points in the picture onto the display.
In order to highlight the selected target option and enhance the visual experience of the user, a picture corresponding to the selected target option may be dynamically displayed. As shown in fig. 1, an operation display interface of an Internet Protocol TV (IPTV) is taken as an example. The operation display interface can comprise a plurality of operation options, and a user can select one of the operation options through a remote controller to enter a corresponding program search list to order television programs. The operation option can be attached with a picture associated with the option theme, for example, the picture attached with the operation option "movie" can be a film roll frame. Typically, to prompt the user for a selected operation option, the selected operation option may be highlighted. Specifically, when the operation option "movie" is selected, the corresponding film roll frame picture can be dynamically changed, for example, the picture can be enlarged, translated, zoomed, and the like.
However, the existing method for highlighting the selected target option by dynamic picture change occupies a large space, which affects the efficiency of dynamic loading display of pictures. Specifically, the example of dynamically displaying the picture corresponding to the operation option in the above example is still taken as an example. A method may set multiple pictures for a target option, the multiple pictures requiring corresponding memory space. And after the target option is selected, the picture needs to be loaded into the system memory of the image processing equipment, the picture is released after the display is finished, and then the next picture also needs to be loaded into the system memory of the image processing equipment to execute the operations of the display release and the like. Therefore, the occupied system space is large, and the display efficiency of dynamic loading of pictures may be affected.
Disclosure of Invention
The embodiment of the application aims to provide a picture display method, a picture display device and electronic equipment, so as to reduce the occupation of system space and improve the efficiency of dynamic picture loading and displaying.
In order to achieve the above object, the embodiments of the present application provide the following technical solutions.
A picture display method, comprising: determining first boundary coordinates of a first pixel set, wherein the first pixel set comprises at least part of pixel point data of a preset picture stored in a first memory; wherein the first boundary coordinates define pixel point data contained by the first set of pixels; acquiring pixel point data of a first pixel set of the preset picture in the first memory according to the first boundary coordinates; loading pixel point data included in the first pixel set acquired according to the first boundary coordinates into a second memory; providing pixel point data contained in the first pixel set to a display for displaying; calculating the first boundary coordinate according to a preset rule to obtain a second boundary coordinate of a second pixel set; wherein the second boundary coordinates define pixel point data contained in the second set of pixels; acquiring pixel point data of a second pixel set of the preset picture stored in the first memory according to the second boundary coordinate; wherein, the second pixel set comprises pixel data which is at least partially different from the pixel data of the first pixel set; loading the acquired pixel point data included in the second pixel set into the second storage; and providing the pixel point data contained in the second pixel set to the display for displaying.
A device that displays a picture, comprising: the first boundary coordinate determination module is used for determining first boundary coordinates of a first pixel set, wherein the first pixel set comprises at least part of pixel point data of a preset picture stored in a first memory; wherein the first boundary coordinates define pixel point data contained by the first set of pixels; a first pixel point data obtaining module, configured to obtain pixel point data of a first pixel set of the preset picture in the first memory according to the first boundary coordinate; loading pixel point data included in the first pixel set acquired according to the first boundary coordinates into a second memory; the first pixel point data providing module is used for providing the pixel point data contained in the first pixel set to a display for display; the second boundary coordinate determination module is used for calculating the first boundary coordinate according to a preset rule to obtain a second boundary coordinate of a second pixel set; wherein the second boundary coordinates define pixel point data contained in the second set of pixels; a second pixel point data obtaining module, configured to obtain pixel point data of a second pixel set of the preset picture stored in the first memory according to the second boundary coordinate; wherein, the second pixel set comprises pixel data which is at least partially different from the pixel data of the first pixel set; loading the acquired pixel point data included in the second pixel set into the second storage; and the second pixel point data providing module is used for providing the pixel point data contained in the second pixel set for the display to display.
An electronic device, comprising: a communication terminal capable of performing network data transmission according to a predetermined encoding rule; a first memory storing pictures; a second memory; a processor capable of controlling, when the picture is read from the first storage through the communication terminal, determination of first boundary coordinates of a first set of pixels including at least part of pixel point data of the picture stored in a first memory; wherein the first boundary coordinates define pixel point data contained by the first set of pixels; controlling to obtain pixel point data of a first pixel set of the picture in the first memory according to the first boundary coordinates; controlling to load pixel point data included in the first pixel set acquired according to the first boundary coordinates into a second memory; controlling to provide pixel point data contained in the first pixel set to a display for display; controlling the first boundary coordinate to be calculated according to a preset rule to obtain a second boundary coordinate of a second pixel set; wherein the second boundary coordinates define pixel point data contained in the second set of pixels; controlling to obtain pixel point data of a second pixel set of the picture stored in the first memory according to the second boundary coordinate; wherein, the second pixel set comprises pixel data which is at least partially different from the pixel data of the first pixel set; controlling to load the acquired pixel point data included in the second pixel set into the second storage; and controlling the data of the pixel points contained in the second pixel set to be provided for the display to display.
A picture display method, comprising: determining first boundary coordinates of a first pixel set, wherein the first pixel set comprises at least part of pixel point data of a preset picture stored in a first memory; wherein the first boundary coordinates define pixel point data contained by the first set of pixels; acquiring pixel point data of a first pixel set of the preset picture in the first memory according to the first boundary coordinates; loading pixel point data included in the first pixel set acquired according to the first boundary coordinates into a second memory; displaying pixel point data contained in the first pixel set in a preset area of a display screen; calculating the first boundary coordinate according to a preset rule to obtain a second boundary coordinate of a second pixel set; wherein the second boundary coordinates define pixel point data contained in the second set of pixels; acquiring pixel point data of a second pixel set of the preset picture stored in the first memory according to the second boundary coordinate; wherein, the second pixel set comprises pixel data which is at least partially different from the pixel data of the first pixel set; loading the acquired pixel point data included in the second pixel set into the second memory; and displaying pixel point data contained in the second pixel set in the predetermined area of the display screen.
A picture display device, comprising: the first boundary coordinate determination module is used for determining first boundary coordinates of a first pixel set, wherein the first pixel set comprises at least part of pixel point data of a preset picture stored in a first memory; wherein the first boundary coordinates define pixel point data contained by the first set of pixels; a first pixel point data obtaining module, configured to obtain pixel point data of a first pixel set of the preset picture in the first memory according to the first boundary coordinate; loading pixel point data included in the first pixel set acquired according to the first boundary coordinates into a second memory; the first pixel point data display module is used for displaying pixel point data contained in the first pixel set in a preset area of a display screen; the second boundary coordinate determination module is used for calculating the first boundary coordinate according to a preset rule to obtain a second boundary coordinate of a second pixel set; wherein the second boundary coordinates define pixel point data contained in the second set of pixels; a second pixel point data obtaining module, configured to obtain pixel point data of a second pixel set of the preset picture stored in the first memory according to the second boundary coordinate; wherein, the second pixel set comprises pixel data which is at least partially different from the pixel data of the first pixel set; loading the acquired pixel point data included in the second pixel set into the second memory; and the second pixel point data display module is used for displaying the pixel point data contained in the second pixel set in the preset area of the display screen.
An electronic device, comprising: a display having a display screen; a communication terminal capable of performing network data transmission according to a predetermined encoding rule; a first memory storing pictures; a second memory; a processor capable of controlling, when the picture is read from the first storage through the communication terminal, determination of first boundary coordinates of a first set of pixels including at least part of pixel point data of the picture stored in a first memory; wherein the first boundary coordinates define pixel point data contained by the first set of pixels; controlling to obtain pixel point data of a first pixel set of the picture in the first memory according to the first boundary coordinates; controlling to load pixel point data included in the first pixel set acquired according to the first boundary coordinates into a second memory; controlling to display pixel point data contained in the first pixel set in a preset area of a display screen; controlling the first boundary coordinate to be calculated according to a preset rule to obtain a second boundary coordinate of a second pixel set; wherein the second boundary coordinates define pixel point data contained in the second set of pixels; controlling to obtain pixel point data of a second pixel set of the picture stored in the first memory according to the second boundary coordinate; wherein, the second pixel set comprises pixel data which is at least partially different from the pixel data of the first pixel set; controlling to load the acquired pixel point data included in the second pixel set into the second memory; and controlling the pixel point data contained in the second pixel set to be displayed in the preset area of the display screen.
According to the technical scheme provided by the embodiment of the application, the first pixel set and the second pixel set which contain at least partially different pixel point data are provided for the display to be displayed, so that the picture content displayed by the display can be switched from the first pixel set to the second pixel set, and the purpose of displaying the dynamic picture is achieved. In the process, the picture is not required to be loaded into the second memory in a whole manner, and only the pixel point data which needs to be displayed on the display is loaded into the second memory, so that the occupation of the second memory is reduced, and the data processing efficiency is improved in a whole manner.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic diagram of an operation display interface of an interactive network television in the prior art;
FIG. 2 is a flowchart illustrating a method for displaying images according to an embodiment of the present disclosure;
FIG. 3 is a block diagram of a picture display device according to an embodiment of the present application;
FIG. 4 is a block diagram of an electronic device according to one embodiment of the present application;
FIG. 5 is a flowchart of a method for displaying pictures according to another embodiment of the present application;
FIG. 6 is a block diagram of a picture display device according to another embodiment of the present application;
fig. 7 is a block diagram of an electronic device according to another embodiment of the present application.
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 obtained by a person of ordinary skill in the art without any inventive work based on the embodiments in the present application are within the scope of protection of the present application.
Please refer to fig. 2. One embodiment of the present application provides a picture display method, which may include the following steps.
Step S11: determining first boundary coordinates of a first pixel set, wherein the first pixel set comprises at least part of pixel point data of a preset picture stored in a first memory; wherein the first boundary coordinates define pixel point data contained by the first set of pixels.
In this embodiment, a pixel is the most basic unit constituting a picture. A picture can contain a plurality of pixel points, and the picture has different colors when displayed through different pixel point data. The pixel points in the picture are usually arranged in a matrix mode, so that each pixel point can have a coordinate in the pixel matrix, and the position of the pixel point can be identified by using the coordinate.
Since the size range processed by the image processing apparatus is [0, 1] in general, the size of the picture can be normalized. Specifically, when the picture is a rectangular picture, the sizes of the rectangular picture may be normalized by using the side lengths of two intersecting sides of the rectangular picture as references, so that the coordinate value of each pixel point in the rectangular picture may be limited to [0, 1 ].
Of course, the location of the pixel points may be identified in other ways. For example, the pixels are arranged in a matrix, and each pixel corresponds to an element of the matrix, which can be denoted as nij. And if i is the row where the pixel point is located and j is the column where the pixel point is located, the position of the pixel point can be uniquely identified through the row and the column.
In this embodiment, the first boundary coordinates of the first set of pixels may be defined in advance. I.e. the pixel data comprised in the first boundary coordinates form a first set of pixels. The content displayed by the pixel data included in the first pixel set is correspondingly a part of the content of the preset picture. The first boundary coordinates define a coordinate range, so that all pixel point data in the coordinate range in the preset picture can be determined, and a first pixel set is formed. The first boundary coordinates define that the first set of pixels contains pixel point data that may be such that coordinates of pixel point data included in the first set of pixels are within a range of coordinates defined by the first boundary coordinates. For example, the first boundary coordinates are (x1, y1), (x2, y2), where x1< x2, y1< y 2. The first boundary coordinate defines a coordinate range { (x, y) | x1 ≦ x2, and y1 ≦ y2}, and the set of all pixel point data in the coordinate range in the preset picture is taken as the first pixel set.
In this embodiment, the first memory may be a data storage device for storing information, which has a predetermined storage capacity. The first memory may be selected from a disk memory, an erasable programmable memory, a charged erasable programmable memory, and the like. Of course, only a partial listing of the type of first memory is provided herein, which may be a memory that retains data storage after power is removed. Other types of memories are also possible, as those skilled in the art will appreciate from the disclosure of the present application, and are intended to be within the scope of the present application so long as they perform the same or similar function and effect as the present application.
In this embodiment, the preset picture may be stored in the first memory according to a pre-specified path. The image processing device can read the pixel point data in the first boundary coordinate in the preset picture through the pre-specified path, so that the read pixel point data of the picture can be processed. Taking a television box as an example, a memory may be disposed in the television box, and the picture may be stored in the memory under a preset path, where the preset path may point to a preset folder in the memory, for example. When the television box starts to work, the television box can read pixel point data of the picture in the preset coordinate range from the preset path, namely pixel point data contained in the first pixel set, so that the pixel point data can be displayed on a display screen of the television.
Step S12: acquiring pixel point data of a first pixel set of the preset picture in the first memory according to the first boundary coordinates; and loading pixel point data included in the first pixel set acquired according to the first boundary coordinate into a second memory.
In the present embodiment, from the coordinate range defined by the first boundary coordinates, all the pixel point data within the coordinate range can be specified. The obtained pixel data may include coordinates and color values of the pixels. In this manner, after pixel point data is provided to the display screen, corresponding colors may be displayed at corresponding locations of the display screen according to a texture mapping algorithm.
In this embodiment, the second memory may be used to temporarily store data during picture processing by the processor of the image processing apparatus. Namely, the processor can perform data caching through the second memory in the process of rapidly processing the pixel data. The second memory may be selected from random access memory, cache memory, and the like. The second memory may have a smaller storage capacity than the first memory. The arrangement is such that a large amount of data can be stored by the first memory to maintain the integrity of the saved data. For example, the picture is stored in its entirety in the first memory. The read-write speed of the second memory can be higher than that of the first memory, so that the second memory can interact with the processor quickly, and the overall operation efficiency is improved.
In this embodiment, the pixel point data included in the first pixel set obtained according to the first boundary coordinate is loaded into the second memory, and the image processing program executed by the processor can process and operate the obtained pixel point data. As described above, in the prior art, to achieve the effect of displaying dynamic pictures, multiple pictures are loaded into the second storage, which occupies more memory capacity, and results in a decrease in the overall operating efficiency of the image processing apparatus. In the embodiment, only the pixel data corresponding to the part of the picture to be displayed finally is loaded into the second memory, that is, the pixel data to be displayed in the picture is loaded into the memory, so that the second memory is occupied as little as possible without affecting the overall function. Therefore, the occupation of resources is reduced, the processor can load other data into the second memory, and the data processing speed of the image processing device can be kept higher than that of the image processing device.
Step S13: and providing the pixel point data contained in the first pixel set for a display to display.
In this embodiment, the display may be a device including an I/O interface, a power supply, a driving module, and a display screen, and may convert the received pixel data into a picture through the I/O interface and display the picture on the display screen for a user to view.
In this embodiment, the image processing device may be connected to the display in a wired or wireless manner, and the image processing device may provide the pixel data included in the first pixel set to the display, so that the display may display the pixel on the display screen, and may further display a part of the content of the picture. In a specific application scenario, the tv box may be connected to a tv through a home lan, and the tv box may provide pixel data of a picture to the tv, so as to display the picture with corresponding content on a screen of the tv.
Step S14: calculating the first boundary coordinate according to a preset rule to obtain a second boundary coordinate of a second pixel set; wherein the second boundary coordinates define pixel point data contained by the second set of pixels.
In this embodiment, the second boundary coordinate may also define a coordinate range, so that all pixel point data in the preset picture in the coordinate range may be determined, and a second pixel set may be formed. The second boundary coordinates define that the pixel data comprised by the second set of pixels may be such that the coordinates of the pixels comprised in the second set of pixels are within the coordinate range defined by the second boundary coordinates.
In this embodiment, the calculating the first boundary coordinate according to the preset rule to obtain the second boundary coordinate may include: and performing incremental operation on the first boundary coordinates to obtain second boundary coordinates. For example, the first boundary coordinates are (x1, y1), (x2, y2), and the second boundary coordinates are (x1+ m1, y1+ n1), (x2+ m2, y2+ n2) assuming that the increment values of the abscissa and ordinate at which the first boundary coordinates are incremented are m1, n1, and m2, n2, respectively. The second boundary coordinate defines a coordinate range of { (x, y) | x1+ m1 ≦ x2+ m2, y1+ n1 ≦ y2+ n2}, and the set of all pixel point data in the coordinate range in the preset picture is taken as the second pixel set.
In the present embodiment, the increment values m1, n1, m2, and n2 for the increment operation of the first boundary coordinates may be positive values or negative values. The increment values of the first boundary coordinates may be equal or different. Different dynamic display effects can be obtained according to different increment values. For example, when the increment values of the horizontal and vertical coordinates of the first boundary coordinate are equal, that is, m1 is m2, and n1 is n2, the number of pixels included in the second pixel set may be equal to the number of pixels included in the first pixel set, and the corresponding dynamic effect may be panning. Alternatively, the abscissa and ordinate increment values m1 and n1 of the first boundary coordinates (x1 and y1) are negative values, and the abscissa and ordinate increment values m2 and n2 of the first boundary coordinates (x2 and y2) are positive values, so that the number of pixels included in the second pixel set is greater than the number of pixels included in the first pixel set, and the corresponding dynamic effect may be amplification. Alternatively, if the abscissa and ordinate increment values m1 and n1 of the first boundary coordinates (x1 and y1) are positive values and the abscissa and ordinate increment values m2 and n2 of the first boundary coordinates (x2 and y2) are negative values, the number of pixels included in the second pixel set is smaller than the number of pixels included in the first pixel set, and the corresponding dynamic effect may be a reduction.
Step S15: acquiring pixel point data of a second pixel set of the preset picture stored in the first memory according to the second boundary coordinate; wherein, the second pixel set comprises pixel data which is at least partially different from the pixel data of the first pixel set; and loading the acquired pixel point data included in the second pixel set into the second storage.
In the present embodiment, from the coordinate range defined by the second boundary coordinates, all the pixel point data within the coordinate range can be specified. The obtained pixel data may include coordinates and color values of the pixels. In this manner, after pixel point data is provided to the display screen, corresponding colors may be displayed at corresponding locations of the display screen according to a texture mapping algorithm.
In this embodiment, the difference between at least a portion of the pixel data included in the first pixel set and the pixel data included in the second pixel set may be: the pixel point data contained in the first pixel set is partially the same as the pixel point data contained in the second pixel set, and partially different. For example, a first set of pixels defined by the first boundary coordinates and a second set of pixels defined by the second boundary coordinates contain common pixel data. Specifically, the following relationship exists between the first boundary coordinates and the second boundary coordinates: x1+ m1< x2, y1+ n1< y 2. Then the pixel data with the coordinate in { (x, y) | x1+ m1 ≦ x2, and y1+ n1 ≦ y2} in the picture are common to the two pixel sets, and the part of the pixel data is the same part of the two pixel sets. The difference between at least part of the pixel data contained in the first pixel set and the pixel data contained in the second pixel set can be as follows: the pixel point contained in the first pixel set is completely different from the pixel point data contained in the second pixel set. That is, the pixels contained in the first pixel set are different from the pixels contained in the second pixel set. Specifically, the following relationship exists between the first boundary coordinates and the second boundary coordinates: x1+ m1> x2, y1+ n1> y 2. And then the first boundary coordinate and the second boundary coordinate do not have intersection, so that the pixel point data in the two pixel sets are completely different.
In this embodiment, the pixel data included in the second pixel set is at least partially different from the pixel data included in the first pixel set, so that when the pixel included in the second pixel set is displayed on the screen of the display in place of the pixel included in the first pixel set, the picture displayed on the screen of the display can display a dynamic change effect.
Step S16: and providing the pixel point data contained in the second pixel set to the display for displaying.
In this embodiment, the image processing device may provide the pixel data included in the second pixel set to the display, so that the display may display the pixel on the display screen, and may further display the content of another part of the preset picture.
According to the picture display method, the first pixel set and the second pixel set which contain at least partially different pixel point data are provided for the display to be displayed, so that the picture content displayed by the display can be switched from the first pixel set to the second pixel set, and the purpose of displaying the dynamic picture is achieved. In the process, the picture is not required to be loaded into the second memory in a whole manner, and only the pixel point data which needs to be displayed on the display is loaded into the second memory, so that the occupation of the second memory is reduced, and the data processing efficiency is improved in a whole manner.
In a specific application scenario, a television box can be used to control to dynamically display a picture corresponding to an operation option of an operation display interface of the interactive network television on a display screen of the television. Specifically, when one operation option is selected, the television box may obtain a first pixel set, which is a pixel point included in a part of the region of the picture corresponding to the operation option, and may load the part of the pixel point data into the system space for processing, and then the television box may provide the pixel point data included in the first pixel set to a television connected to the television in a wired or wireless manner, so that the content of the first pixel set may be displayed on a display screen of the television. Specifically, the obtaining of the pixel data included in the first pixel set may be implemented by a pixel Shader (Fragment Shader) built in a graphics card of the television box. After the display of the pixel points in the first pixel set is completed for a predetermined time, for example, 1s, the television box may obtain pixel point data included in another part of the area of the picture, that is, a second pixel set, and may load the part of the pixel point data into a system space for processing, and then the television box may provide the pixel point data included in the second pixel set to a television connected thereto in a wired or wireless manner, so that the content of the second pixel set may be displayed on a display screen of the television. The second pixel set and the first pixel set are different in at least part of pixel point data, and when a picture displayed on a display screen is switched from the content of the first pixel set to the content of the second pixel set, the purpose of displaying a dynamic picture is achieved. And according to the difference of the coordinates of the pixel points contained in the two pixel sets, dynamic effects such as amplification, translation, scaling and the like can be generated. In the process, the television box does not need to load the whole picture into the system space, but only loads the pixel data to be displayed on the television into the system space, so that the occupation of the system space is reduced, and the data processing efficiency of the television box is improved on the whole.
In one embodiment, the first boundary coordinate may include two pixel coordinates, and an abscissa and an ordinate of the two pixel coordinates are different from each other. The abscissa and the ordinate of the two pixel points form the first boundary coordinate together.
In this embodiment, the first boundary coordinates may include two pixel coordinates, for example, the two pixel coordinates may be (x1, y1), (x2, y 2). The abscissa and the ordinate of the two pixel point coordinates are different, namely x1 is not equal to x2, and y1 is not equal to y 2. Therefore, a space with a certain numerical range can be limited, the pixel point of which the coordinate is located in the first boundary coordinate can finally show a picture with the size not being zero in the horizontal and vertical directions of the two-dimensional space, and the pixel point of which the coordinate is located between the first boundary coordinates is prevented from being finally displayed as a straight line.
In this embodiment, the horizontal and vertical coordinates of the two pixels can be crossed to obtain another two coordinates, so that the first boundary coordinate is formed according to the horizontal and vertical coordinates of the two pixels. Specifically, the two pixel coordinates are (x1, y1), (x2, y2), and the other two coordinates obtained by intersecting are (x1, y2), (x2, y 1). The pixel points included in the first pixel set determined by the embodiment are mapped to the screen of the display, so that a rectangular picture can be obtained. The rectangular picture is a part of the preset picture.
Certainly, in the application, the pixel points in the first pixel set are mapped to the screen of the display, and the obtained picture is not limited to a rectangular picture, and pictures with other shapes can also be obtained. In one embodiment, the pixels contained within the first set of pixels are distributed around at least one of the pixels. The first boundary coordinate is a preset function of the coordinate of the at least one surrounded pixel point as a parameter.
In this embodiment, the coordinates of the at least one pixel point are also located in the first boundary coordinates, the pixel points included in the first pixel set are distributed around the at least one pixel point, and the first boundary coordinates are preset functions using the coordinates of the at least one pixel point as parameters, so that a plurality of different first boundary coordinates conforming to the preset functions can be obtained according to different preset functions, and thus, when the pixel points included in the first pixel set defined according to the first boundary coordinates are mapped onto the screen of the display, pictures with different shapes can be correspondingly displayed.
For example, a distance between a pixel point included in the first boundary coordinates and one of the at least one pixel point is not greater than a first threshold. Specifically, the coordinates of one pixel point of the at least one pixel point are (a, b), the first threshold value is c, and the first boundary coordinates are (x, y). The first boundary coordinate has a predetermined function of (x-a) using the coordinate of one of the at least one pixel as a parameter2+(y-b)2≤c2. Thus, when the pixel points included in the first pixel set defined according to the first boundary coordinate are mapped to the screen of the display, a circular picture can be obtained, the center of the circle of the circular picture is one of the at least one pixel point, and the radius of the circular picture is the first threshold value.
For another example, a sum of distances between a pixel point included in the first boundary coordinate and two pixel points of the at least one pixel point is not greater than a second threshold. Specifically, the coordinates of two of the at least one pixel are (a, b), (c, d), the second threshold is e, the first boundary coordinate is (x, y), and the preset function of the first boundary coordinate using the coordinates of two of the at least one pixel as parameters is [ (x-a)2+(y-b)2]0.5+[(x-c)2+(y-d)2] .05E is less than or equal to e. Thus, will sit according to the first boundaryWhen the pixels contained in the first pixel set defined by the mark are mapped to the screen of the display, an elliptical picture can be obtained, the focus of the elliptical picture is two pixels in the at least one pixel, and the focus is the distance between the two pixels in the at least one pixel.
Please refer to fig. 3. An embodiment of the present application provides an apparatus 100 for displaying a picture, where the apparatus 100 may include a first boundary coordinate determination module 11, a first pixel point data obtaining module 12, a first pixel point data providing module 13, a second boundary coordinate determination module 14, a second pixel point data obtaining module 15, and a second pixel point data providing module 16.
The first boundary coordinate determination module 11 may be configured to determine first boundary coordinates of a first set of pixels, where the first set of pixels includes at least part of pixel point data of a preset picture stored in a first memory; wherein the first boundary coordinates define pixel point data contained by the first set of pixels.
In this embodiment, a pixel is the most basic unit constituting a picture. A picture can contain a plurality of pixel points, and the picture has different colors when displayed through different pixel point data. The pixel points in the picture are usually arranged in a matrix mode, so that each pixel point can have a coordinate in the pixel matrix, and the position of the pixel point can be identified by using the coordinate.
Since the size range processed by the image processing apparatus is [0, 1] in general, the size of the picture can be normalized. Specifically, when the picture is a rectangular picture, the sizes of the rectangular picture may be normalized by using the side lengths of two intersecting sides of the rectangular picture as references, so that the coordinate value of each pixel point in the rectangular picture may be limited to [0, 1 ].
Of course, the location of the pixel points may be identified in other ways. For example, the pixels are arranged in a matrix, and each pixel corresponds to an element of the matrix, which can be denoted as nij. Wherein i is the row where the pixel point is locatedAnd j is a column where the pixel point is located, the position of the pixel point can be uniquely identified through the row and the column.
In this embodiment, the first boundary coordinates of the first set of pixels may be defined in advance. I.e. the pixel data comprised in the first boundary coordinates form a first set of pixels. The content displayed by the pixel data included in the first pixel set is correspondingly a part of the content of the preset picture. The first boundary coordinates define a coordinate range, so that all pixel point data in the coordinate range in the preset picture can be determined, and a first pixel set is formed. The first boundary coordinates define that the first set of pixels contains pixel point data that may be such that coordinates of pixel point data included in the first set of pixels are within a range of coordinates defined by the first boundary coordinates. For example, the first boundary coordinates are (x1, y1), (x2, y2), where x1< x2, y1< y 2. The first boundary coordinate defines a coordinate range { (x, y) | x1 ≦ x2, and y1 ≦ y2}, and the set of all pixel point data in the coordinate range in the preset picture is taken as the first pixel set.
In this embodiment, the first memory may be a data storage device for storing information, which has a predetermined storage capacity. The first memory may be selected from a disk memory, an erasable programmable memory, a charged erasable programmable memory, and the like. Of course, only a partial listing of the type of first memory is provided herein, which may be a memory that retains data storage after power is removed. Other types of memories are also possible, as those skilled in the art will appreciate from the disclosure of the present application, and are intended to be within the scope of the present application so long as they perform the same or similar function and effect as the present application.
In this embodiment, the preset picture may be stored in the first memory according to a pre-specified path. The image processing device can read the pixel point data in the first boundary coordinate in the preset picture through the pre-specified path, so that the read pixel point data of the picture can be processed. Taking a television box as an example, a memory may be disposed in the television box, and the picture may be stored in the memory under a preset path, where the preset path may point to a preset folder in the memory, for example. When the television box starts to work, the television box can read pixel point data of the picture in the preset coordinate range from the preset path, namely pixel point data contained in the first pixel set, so that the pixel point data can be displayed on a display screen of the television.
The first pixel point data obtaining module 12 may be configured to obtain pixel point data of a first pixel set of the preset picture in the first memory according to the first boundary coordinate; and loading pixel point data included in the first pixel set acquired according to the first boundary coordinate into a second memory.
In the present embodiment, from the coordinate range defined by the first boundary coordinates, all the pixel point data within the coordinate range can be specified. The obtained pixel data may include coordinates and color values of the pixels. In this manner, after pixel point data is provided to the display screen, corresponding colors may be displayed at corresponding locations of the display screen according to a texture mapping algorithm.
In this embodiment, the second memory may be used to temporarily store data during picture processing by the processor of the image processing apparatus. Namely, the processor can perform data caching through the second memory in the process of rapidly processing the pixel data. The second memory may be selected from random access memory, cache memory, and the like. The second memory may have a smaller storage capacity than the first memory. The arrangement is such that a large amount of data can be stored by the first memory to maintain the integrity of the saved data. For example, the picture is stored in its entirety in the first memory. The read-write speed of the second memory can be higher than that of the first memory, so that the second memory can interact with the processor quickly, and the overall operation efficiency is improved.
In this embodiment, the pixel point data included in the first pixel set obtained according to the first boundary coordinate is loaded into the second memory, and the image processing program executed by the processor can process and operate the obtained pixel point data. As described above, in the prior art, to achieve the effect of displaying dynamic pictures, multiple pictures are loaded into the second storage, which occupies more memory capacity, and results in a decrease in the overall operating efficiency of the image processing apparatus. In the embodiment, only the pixel data corresponding to the part of the picture to be displayed finally is loaded into the second memory, that is, the pixel data to be displayed in the picture is loaded into the memory, so that the second memory is occupied as little as possible without affecting the overall function. Therefore, the occupation of resources is reduced, the processor can load other data into the second memory, and the data processing speed of the image processing device can be kept higher than that of the image processing device.
The first pixel point data providing module 13 may be configured to provide the pixel point data included in the first pixel set to a display for displaying.
In this embodiment, the display may be a device including an I/O interface, a power supply, a driving module, and a display screen, and may convert the received pixel data into a picture through the I/O interface and display the picture on the display screen for a user to view.
In this embodiment, the image processing device may be connected to the display in a wired or wireless manner, and the image processing device may provide the pixel data included in the first pixel set to the display, so that the display may display the pixel on the display screen, and may further display a part of the content of the picture. In a specific application scenario, the tv box may be connected to a tv through a home lan, and the tv box may provide pixel data of a picture to the tv, so as to display the picture with corresponding content on a screen of the tv.
The second boundary coordinate determination module 14 may be configured to calculate the first boundary coordinate according to a preset rule to obtain a second boundary coordinate of a second pixel set; wherein the second boundary coordinates define pixel point data contained by the second set of pixels.
In this embodiment, the second boundary coordinate may also define a coordinate range, so that all pixel point data in the preset picture in the coordinate range may be determined, and a second pixel set may be formed. The second boundary coordinates define that the pixel data comprised by the second set of pixels may be such that the coordinates of the pixels comprised in the second set of pixels are within the coordinate range defined by the second boundary coordinates.
In this embodiment, the calculating the first boundary coordinate according to the preset rule to obtain the second boundary coordinate may include: and performing incremental operation on the first boundary coordinates to obtain second boundary coordinates. The first boundary coordinates are (x1, y1), (x2, y2), and the second boundary coordinates are (x1+ m1, y1+ n1), (x2+ m2, y2+ n2) assuming that the increment values of the abscissa and ordinate by the increment operation of the first boundary coordinates are m1, n1, m2, and n2, respectively. The second boundary coordinate defines a coordinate range of { (x, y) | x1+ m1 ≦ x2+ m2, y1+ n1 ≦ y2+ n2}, and the set of all pixel point data in the coordinate range in the preset picture is taken as the second pixel set.
In the present embodiment, the increment values m1, n1, m2, and n2 for the increment operation of the first boundary coordinates may be positive values or negative values. The increment values of the first boundary coordinates may be equal or different. Different dynamic display effects can be obtained according to different increment values. For example, when the increment values of the horizontal and vertical coordinates of the first boundary coordinate are equal, that is, m1 is m2, and n1 is n2, the number of pixels included in the second pixel set may be equal to the number of pixels included in the first pixel set, and the corresponding dynamic effect may be panning. Alternatively, the abscissa and ordinate increment values m1 and n1 of the first boundary coordinates (x1 and y1) are negative values, and the abscissa and ordinate increment values m2 and n2 of the first boundary coordinates (x2 and y2) are positive values, so that the number of pixels included in the second pixel set is greater than the number of pixels included in the first pixel set, and the corresponding dynamic effect may be amplification. Alternatively, if the abscissa and ordinate increment values m1 and n1 of the first boundary coordinates (x1 and y1) are positive values and the abscissa and ordinate increment values m2 and n2 of the first boundary coordinates (x2 and y2) are negative values, the number of pixels included in the second pixel set is smaller than the number of pixels included in the first pixel set, and the corresponding dynamic effect may be a reduction.
The second pixel point data obtaining module 15 may be configured to obtain pixel point data of a second pixel set of the preset picture stored in the first memory according to the second boundary coordinate; wherein, the second pixel set comprises pixel data which is at least partially different from the pixel data of the first pixel set; and loading the acquired pixel point data included in the second pixel set into the second storage.
In the present embodiment, from the coordinate range defined by the second boundary coordinates, all the pixel point data within the coordinate range can be specified. The obtained pixel point data may include coordinates and color values of the pixel points, and thus, after the pixel point data is provided to the display screen, the corresponding color may be displayed at the corresponding position of the display screen according to the texture mapping algorithm.
In this embodiment, the difference between at least a portion of the pixel data included in the first pixel set and the pixel data included in the second pixel set may be: the pixel point data contained in the first pixel set is partially the same as the pixel point data contained in the second pixel set, and partially different. For example, a first set of pixels defined by the first boundary coordinates and a second set of pixels defined by the second boundary coordinates contain common pixel data. Specifically, the following relationship exists between the first boundary coordinates and the second boundary coordinates: x1+ m1< x2, y1+ n1< y 2. Then the pixel data with the coordinate in { (x, y) | x1+ m1 ≦ x2, and y1+ n1 ≦ y2} in the picture are common to the two pixel sets, and the part of the pixel data is the same part of the two pixel sets. The difference between at least part of the pixel data contained in the first pixel set and the pixel data contained in the second pixel set can be as follows: the pixel point contained in the first pixel set is completely different from the pixel point data contained in the second pixel set. That is, the pixels contained in the first pixel set are different from the pixels contained in the second pixel set. Specifically, the following relationship exists between the first boundary coordinates and the second boundary coordinates: x1+ m1> x2, y1+ n1> y 2. And then the first boundary coordinate and the second boundary coordinate do not have intersection, so that the pixel point data in the two pixel sets are completely different.
In this embodiment, the pixel data included in the second pixel set is at least partially different from the pixel data included in the first pixel set, so that when the pixel included in the second pixel set is displayed on the screen of the display in place of the pixel included in the first pixel set, the picture displayed on the screen of the display can display a dynamic change effect.
The second pixel point data providing module 16 may be configured to provide pixel point data included in the second set of pixels to the display for display.
In this embodiment, the image processing device may provide the pixel data included in the second pixel set to the display, so that the display may display the pixel on the display screen, and may further display the content of another part of the preset picture.
The picture display device of the embodiment of the application can switch the picture content displayed by the display from the first pixel set to the second pixel set by providing the first pixel set and the second pixel set, which contain at least partially different pixel point data, for the display to display, thereby realizing the purpose of displaying the dynamic picture. In the process, the picture is not required to be loaded into the second memory in a whole manner, and only the pixel point data which needs to be displayed on the display is loaded into the second memory, so that the occupation of the second memory is reduced, and the data processing efficiency is improved in a whole manner.
Please refer to fig. 4. An embodiment of the present application further provides an electronic device 200, where the electronic device 200 may include: communication terminal 21, processor 24, first memory 22, second memory 23.
The communication terminal 21 can perform network data transmission according to a predetermined encoding rule. Specifically, the communication terminal 21 may be designed and manufactured according to protocols such as Http, TCP/IP, and the like. In this way, the communication terminal 21 can perform network data transmission in accordance with protocols such as Http, TCP/IP, and the like.
The first memory 22 stores pictures.
The processor 24 is capable of controlling, upon reading the picture from the first storage 22 through the communication terminal 21, determination of first boundary coordinates of a first set of pixels including at least part of pixel point data of the picture stored in the first storage 22; wherein the first boundary coordinates define pixel point data contained by the first set of pixels. Control obtains pixel point data for a first set of pixels of the picture in the first memory 22 according to the first boundary coordinates. And controlling to load the pixel data included in the first pixel set obtained according to the first boundary coordinate into the second memory 23. And controlling to provide the pixel point data contained in the first pixel set to a display for displaying. Controlling the first boundary coordinate to be calculated according to a preset rule to obtain a second boundary coordinate of a second pixel set; wherein the second boundary coordinates define pixel point data contained by the second set of pixels. Controlling to obtain pixel point data of a second set of pixels of the picture stored in the first memory 22 according to the second boundary coordinates; the first pixel set comprises at least part of pixel points different from the second pixel set in data. The acquired pixel point data included in the second pixel set is controlled to be loaded into the second memory 23. And controlling the data of the pixel points contained in the second pixel set to be provided for the display to display.
Please refer to fig. 5. One embodiment of the present application provides a picture display method, which may include the following steps.
Step S31: determining first boundary coordinates of a first pixel set, wherein the first pixel set comprises at least part of pixel point data of a preset picture stored in a first memory; wherein the first boundary coordinates define pixel point data contained by the first set of pixels.
In this embodiment, a pixel is the most basic unit constituting a picture. A picture can contain a plurality of pixel points, and the picture has different colors when displayed through different pixel point data. The pixel points in the picture are usually arranged in a matrix mode, so that each pixel point can have a coordinate in the pixel matrix, and the position of the pixel point can be identified by using the coordinate.
Since the size range processed by the image processing apparatus is [0, 1] in general, the size of the picture can be normalized. Specifically, when the picture is a rectangular picture, the sizes of the rectangular picture may be normalized by using the side lengths of two intersecting sides of the rectangular picture as references, so that the coordinate value of each pixel point in the rectangular picture may be limited to [0, 1 ].
Of course, the location of the pixel points may be identified in other ways. For example, the pixels are arranged in a matrix, and each pixel corresponds to an element of the matrix, which can be denoted as nij. And if i is the row where the pixel point is located and j is the column where the pixel point is located, the position of the pixel point can be uniquely identified through the row and the column.
In this embodiment, the first boundary coordinates of the first set of pixels may be defined in advance. I.e. the pixel data comprised in the first boundary coordinates form a first set of pixels. The content displayed by the pixel data included in the first pixel set is correspondingly a part of the content of the preset picture. The first boundary coordinates define a coordinate range, so that all pixel point data in the coordinate range in the preset picture can be determined, and a first pixel set is formed. The first boundary coordinates define that the first set of pixels contains pixel point data that may be such that coordinates of pixel point data included in the first set of pixels are within a range of coordinates defined by the first boundary coordinates. For example, the first boundary coordinates are (x1, y1), (x2, y2), where x1< x2, y1< y 2. The first boundary coordinate defines a coordinate range { (x, y) | x1 ≦ x2, and y1 ≦ y2}, and the set of all pixel point data in the coordinate range in the preset picture is taken as the first pixel set.
In this embodiment, the first memory may be a data storage device for storing information, which has a predetermined storage capacity. The first memory may be selected from a disk memory, an erasable programmable memory, a charged erasable programmable memory, and the like. Of course, only a partial listing of the type of first memory is provided herein, which may be a memory that retains data storage after power is removed. Other types of memories are also possible, as those skilled in the art will appreciate from the disclosure of the present application, and are intended to be within the scope of the present application so long as they perform the same or similar function and effect as the present application.
In this embodiment, the preset picture may be stored in the first memory according to a pre-specified path. The image processing device can read the pixel point data in the first boundary coordinate in the preset picture through the pre-specified path, so that the read pixel point data of the picture can be processed. Taking a television with an image processing device built in as an example, a memory may be provided in the image processing device, in which a picture may be stored under a preset path, which may point to a preset folder in the memory, for example. When the image processing device starts working, the image processing device can read the pixel point data of the picture in the preset coordinate range from the preset path, so that the pixel point data can be displayed on the display screen of the television.
Step S32: acquiring pixel point data of a first pixel set of the preset picture in the first memory according to the first boundary coordinates; and loading pixel point data included in the first pixel set acquired according to the first boundary coordinate into a second memory.
In the present embodiment, from the coordinate range defined by the first boundary coordinates, all the pixel point data within the coordinate range can be specified. The obtained pixel data may include coordinates and color values of the pixels. In this manner, after pixel point data is provided to the display screen, corresponding colors may be displayed at corresponding locations of the display screen according to a texture mapping algorithm.
In this embodiment, the second memory may be used to temporarily store data during picture processing by the image processing apparatus. Namely, the processor can perform data caching through the second memory in the process of rapidly processing the pixel data. The second memory may be selected from random access memory, cache memory, and the like. The second memory may have a smaller storage capacity than the first memory. The arrangement is such that a large amount of data can be stored by the first memory to maintain the integrity of the saved data. For example, the picture is stored in its entirety in the first memory. The read-write speed of the second memory can be higher than that of the first memory, so that the second memory can interact with the processor quickly, and the overall operation efficiency is improved.
In this embodiment, the pixel point data included in the first pixel set obtained according to the first boundary coordinate is loaded into the second memory, and the image processing program executed by the processor can process and operate the obtained pixel point data. As described above, in the prior art, to achieve the effect of displaying dynamic pictures, multiple pictures are loaded into the second storage, which occupies more memory capacity, and results in a decrease in the overall operating efficiency of the image processing apparatus. In the embodiment, only the pixel data corresponding to the part of the picture to be displayed finally is loaded into the second memory, that is, the pixel data to be displayed in the picture is loaded into the memory, so that the second memory is occupied as little as possible without affecting the overall function. Therefore, the resource occupation is reduced, the processor can load other data into the second memory, and the data processing speed of the image processing device can be kept higher than that of the image processing device.
Step S33: and displaying pixel point data contained in the first pixel set in a predetermined area of a display screen.
In this embodiment, the display screen can be used to display images and colors. The display principles of different kinds of display screens are different. Taking a Liquid Crystal Display (LCD) screen as an example, the principle is that under the action of an electric field, the arrangement direction of Liquid Crystal molecules is changed to change the light transmittance of an external light source to complete electro-optical conversion, and then the reproduction of pictures and colors on the Display screen is realized by the excitation of RGB three-primary-color signals.
In this embodiment, the predetermined area may be used to display the pixel points included in the first pixel set, and may occupy a part of the display screen or the entire display screen. In a specific application scenario, taking an operation display interface of an Internet Protocol Television (IPTV) as an example, the entire operation display interface is displayed on a display screen of a television, and an area corresponding to each operation option is the predetermined area.
Step S34: calculating the first boundary coordinate according to a preset rule to obtain a second boundary coordinate of a second pixel set; wherein the second boundary coordinates define pixel point data contained by the second set of pixels.
In this embodiment, the second boundary coordinate may also define a coordinate range, so that all pixel point data in the preset picture in the coordinate range may be determined, and a second pixel set may be formed. The second boundary coordinates define that the pixel data comprised by the second set of pixels may be such that the coordinates of the pixels comprised in the second set of pixels are within the coordinate range defined by the second boundary coordinates.
In this embodiment, the calculating the first boundary coordinate according to the preset rule to obtain the second boundary coordinate may include: and performing incremental operation on the first boundary coordinates to obtain second boundary coordinates. The first boundary coordinates are (x1, y1), (x2, y2), and the second boundary coordinates are (x1+ m1, y1+ n1), (x2+ m2, y2+ n2) assuming that the increment values of the abscissa and ordinate by the increment operation of the first boundary coordinates are m1, n1, m2, and n2, respectively. The second boundary coordinate defines a coordinate range of { (x, y) | x1+ m1 ≦ x2+ m2, y1+ n1 ≦ y2+ n2}, and the set of all pixel point data in the coordinate range in the preset picture is taken as the second pixel set.
In the present embodiment, the increment values m1, n1, m2, and n2 for the increment operation of the first boundary coordinates may be positive values or negative values. The increment values of the first boundary coordinates may be equal or different. Different dynamic display effects can be obtained according to different increment values. For example, when the increment values of the horizontal and vertical coordinates of the first boundary coordinate are equal, that is, m1 is m2, and n1 is n2, the number of pixels included in the second pixel set may be equal to the number of pixels included in the first pixel set, and the corresponding dynamic effect may be panning. Alternatively, the abscissa and ordinate increment values m1 and n1 of the first boundary coordinates (x1 and y1) are negative values, and the abscissa and ordinate increment values m2 and n2 of the first boundary coordinates (x2 and y2) are positive values, so that the number of pixels included in the second pixel set is greater than the number of pixels included in the first pixel set, and the corresponding dynamic effect may be amplification. Alternatively, if the abscissa and ordinate increment values m1 and n1 of the first boundary coordinates (x1 and y1) are positive values and the abscissa and ordinate increment values m2 and n2 of the first boundary coordinates (x2 and y2) are negative values, the number of pixels included in the second pixel set is smaller than the number of pixels included in the first pixel set, and the corresponding dynamic effect may be a reduction.
Step S35: acquiring pixel point data of a second pixel set of the preset picture stored in the first memory according to the second boundary coordinate; wherein, the second pixel set comprises pixel data which is at least partially different from the pixel data of the first pixel set; and loading the acquired pixel point data included in the second pixel set into the second memory.
In the present embodiment, from the coordinate range defined by the second boundary coordinates, all the pixel point data within the coordinate range can be specified. The obtained pixel data may include coordinates and color values of the pixels. In this manner, after pixel point data is provided to the display screen, corresponding colors may be displayed at corresponding locations of the display screen according to a texture mapping algorithm.
In this embodiment, the difference between at least a portion of the pixel data included in the first pixel set and the pixel data included in the second pixel set may be: the pixel point data contained in the first pixel set is partially the same as the pixel point data contained in the second pixel set, and partially different. For example, a first set of pixels defined by the first boundary coordinates and a second set of pixels defined by the second boundary coordinates contain common pixel data. Specifically, the following relationship exists between the first boundary coordinates and the second boundary coordinates: x1+ m1< x2, y1+ n1< y 2. Then the pixel data with the coordinate in { (x, y) | x1+ m1 ≦ x2, and y1+ n1 ≦ y2} in the picture are common to the two pixel sets, and the part of the pixel data is the same part of the two pixel sets. The difference between at least part of the pixel data contained in the first pixel set and the pixel data contained in the second pixel set can be as follows: the pixel point contained in the first pixel set is completely different from the pixel point data contained in the second pixel set. That is, the pixels contained in the first pixel set are different from the pixels contained in the second pixel set. Specifically, the following relationship exists between the first boundary coordinates and the second boundary coordinates: x1+ m1> x2, y1+ n1> y 2. And then the first boundary coordinate and the second boundary coordinate do not have intersection, so that the pixel point data in the two pixel sets are completely different.
In this embodiment, the pixel data included in the second pixel set is at least partially different from the pixel data included in the first pixel set, so that when the pixel included in the second pixel set is displayed on the screen of the display in place of the pixel included in the first pixel set, the picture displayed on the screen of the display can display a dynamic change effect.
Step S36: and displaying pixel point data contained in the second pixel set in the predetermined area of the display screen.
In this embodiment, the pixel points included in the second pixel domain may be provided to the display, so that the pixel points are displayed in a predetermined area on the display screen of the display, and the content of another part of the picture may be displayed.
According to the picture display method, the first pixel set and the second pixel set which are at least partially different in pixel point data are displayed in the preset area of the display screen, so that the picture content displayed on the display screen can be switched from the first pixel set to the second pixel set, and the purpose of displaying the dynamic picture is achieved. In the process, the picture is not required to be loaded into the second memory in a whole manner, and only the pixel point data which needs to be displayed on the display is loaded into the second memory, so that the occupation of the second memory is reduced, and the data processing efficiency is improved in a whole manner.
In a specific application scenario, the image processing device built in the television can be used to control to dynamically display the picture corresponding to the operation option of the operation display interface of the interactive network television on the display screen of the television. Specifically, when a certain operation option is selected, the image processing device may obtain a first pixel set, which is a pixel point included in a part of regions of the picture corresponding to the operation option, and may load the part of pixel point data into the system space for processing, and then the image processing device may display the pixel point included in the first pixel region on the region corresponding to the operation option of the operation display interface. Specifically, the obtaining of the color of the pixel point included in the first pixel domain may be implemented by a pixel Shader (Fragment Shader) built in a graphics card of the image processing device. After the display of the pixel point in the first pixel domain for a predetermined time period, for example, 1s, is completed, the image processing device may obtain pixel point data, that is, a second pixel set, included in another part of the region of the picture, and may load the part of the pixel point data into the system space for processing, and then the image processing device may display the pixel point data included in the second pixel domain on the region corresponding to the operation option of the operation display interface. And when the picture displayed on the area corresponding to the operation option of the operation display interface is switched from the content of the first pixel domain to the content of the second pixel domain, the aim of displaying the dynamic picture is fulfilled. And according to the difference of the positions of the first pixel domain and the second pixel domain in the picture, dynamic effects such as amplification, translation, scaling and the like can be generated. In the process, the image processing device of the television does not need to load the whole picture into the system space, but only loads the pixel point data which needs to be displayed on the television into the system space of the image processing device of the television, so that the occupation of the system space is reduced, and the data processing efficiency of the television with the built-in image processing device is improved on the whole.
In one embodiment, the first boundary coordinate may include two pixel coordinates, and an abscissa and an ordinate of the two pixel coordinates are different from each other. The abscissa and the ordinate of the two pixel points form the first boundary coordinate together.
In this embodiment, the first boundary coordinates may include two pixel coordinates, for example, the two pixel coordinates may be (x1, y1), (x2, y 2). The abscissa and the ordinate of the two pixel point coordinates are different, namely x1 is not equal to x2, and y1 is not equal to y 2. Therefore, a space with a certain numerical range can be limited, the pixel point of which the coordinate is located in the first boundary coordinate can finally show a picture with the size not being zero in the horizontal and vertical directions of the two-dimensional space, and the pixel point of which the coordinate is located between the first boundary coordinates is prevented from being finally displayed as a straight line.
In this embodiment, the horizontal and vertical coordinates of the two pixels can be crossed to obtain another two coordinates, so that the first boundary coordinate is formed according to the horizontal and vertical coordinates of the two pixels. Specifically, the two pixel coordinates are (x1, y1), (x2, y2), and the other two coordinates obtained by intersecting are (x1, y2), (x2, y 1). The pixel points included in the first pixel set determined by the embodiment are mapped to the screen of the display, so that a rectangular picture can be obtained. The rectangular picture is a part of the preset picture.
Certainly, in the application, the pixel points in the first pixel set are mapped to the screen of the display, and the obtained picture is not limited to a rectangular picture, and pictures with other shapes can also be obtained. In one embodiment, the pixels contained within the first set of pixels are distributed around at least one of the pixels. The first boundary coordinate is a preset function of the coordinate of the at least one surrounded pixel point as a parameter.
In this embodiment, the coordinates of the at least one pixel point are also located in the first boundary coordinates, the pixel points included in the first pixel set are distributed around the at least one pixel point, and the first boundary coordinates are preset functions using the coordinates of the at least one pixel point as parameters, so that a plurality of different first boundary coordinates conforming to the preset functions can be obtained according to different preset functions, and thus, when the pixel points included in the first pixel set defined according to the first boundary coordinates are mapped onto the screen of the display, pictures with different shapes can be correspondingly displayed.
For example, the pixel point contained in the first boundary coordinate and the at least oneThe distance between one of the pixel points is not greater than a first threshold. Specifically, the coordinates of one pixel point of the at least one pixel point are (a, b), the first threshold value is c, and the first boundary coordinates are (x, y). The first boundary coordinate has a predetermined function of (x-a) using the coordinate of one of the at least one pixel as a parameter2+(y-b)2≤c2. Thus, when the pixel points included in the first pixel set defined according to the first boundary coordinate are mapped to the screen of the display, a circular picture can be obtained, the center of the circle of the circular picture is one of the at least one pixel point, and the radius of the circular picture is the first threshold value.
For another example, a sum of distances between a pixel point included in the first boundary coordinate and two pixel points of the at least one pixel point is not greater than a second threshold. Specifically, the coordinates of two of the at least one pixel are (a, b), (c, d), the second threshold is e, the first boundary coordinate is (x, y), and the preset function of the first boundary coordinate using the coordinates of two of the at least one pixel as parameters is [ (x-a)2+(y-b)2] .05+[(x-c)2+(y-d)2] .05E is less than or equal to e. Thus, when the pixel points contained in the first pixel set defined according to the first boundary coordinate are mapped to the screen of the display, an elliptical picture can be obtained, the focus of the elliptical picture is two pixel points in the at least one pixel point, and the focal distance is the distance between the two pixel points in the at least one pixel point.
Please refer to fig. 6. One embodiment of the present application provides a picture display device 300, and the device 300 may include: a first boundary coordinate determining module 31, a first pixel point data obtaining module 32, a first pixel point data displaying module 33, a second boundary coordinate determining module 34, a second pixel point data obtaining module 35, and a second pixel point data displaying module 36.
The first boundary coordinate determination module 31 may be configured to determine first boundary coordinates of a first set of pixels, the first set of pixels including at least part of pixel point data of a preset picture stored in the first memory; wherein the first boundary coordinates define pixel point data contained by the first set of pixels.
In this embodiment, a pixel is the most basic unit constituting a picture. A picture can contain a plurality of pixel points, and the picture has different colors when displayed through different pixel point data. The pixel points in the picture are usually arranged in a matrix mode, so that each pixel point can have a coordinate in the pixel matrix, and the position of the pixel point can be identified by using the coordinate.
Since the size range processed by the image processing apparatus is [0, 1] in general, the size of the picture can be normalized. Specifically, when the picture is a rectangular picture, the sizes of the rectangular picture may be normalized by using the side lengths of two intersecting sides of the rectangular picture as references, so that the coordinate value of each pixel point in the rectangular picture may be limited to [0, 1 ].
Of course, the location of the pixel points may be identified in other ways. For example, the pixels are arranged in a matrix, and each pixel corresponds to an element of the matrix, which can be denoted as nij. And if i is the row where the pixel point is located and j is the column where the pixel point is located, the position of the pixel point can be uniquely identified through the row and the column.
In this embodiment, the first boundary coordinates of the first set of pixels may be defined in advance. I.e. the pixel data comprised in the first boundary coordinates form a first set of pixels. The content displayed by the pixel data included in the first pixel set is correspondingly a part of the content of the preset picture. The first boundary coordinates define a coordinate range, so that all pixel point data in the coordinate range in the preset picture can be determined, and a first pixel set is formed. The first boundary coordinates define that the first set of pixels contains pixel point data that may be such that coordinates of pixel point data included in the first set of pixels are within a range of coordinates defined by the first boundary coordinates. For example, the first boundary coordinates are (x1, y1), (x2, y2), where x1< x2, y1< y 2. The first boundary coordinate defines a coordinate range { (x, y) | x1 ≦ x2, and y1 ≦ y2}, and the set of all pixel point data in the coordinate range in the preset picture is taken as the first pixel set.
In this embodiment, the first memory may be a data storage device for storing information, which has a predetermined storage capacity. The first memory may be selected from a disk memory, an erasable programmable memory, a charged erasable programmable memory, and the like. Of course, only a partial listing of the type of first memory is provided herein, which may be a memory that retains data storage after power is removed. Other types of memories are also possible, as those skilled in the art will appreciate from the disclosure of the present application, and are intended to be within the scope of the present application so long as they perform the same or similar function and effect as the present application.
In this embodiment, the preset picture may be stored in the first memory according to a pre-specified path. The image processing device can read the pixel point data in the first boundary coordinate in the preset picture through the pre-specified path, so that the read pixel point data of the picture can be processed. Taking a television with an image processing device built in as an example, a memory may be provided in the image processing device, in which a picture may be stored under a preset path, which may point to a preset folder in the memory, for example. When the image processing device starts working, the image processing device can read the pixel point data of the picture in the preset coordinate range from the preset path, so that the pixel point data can be displayed on the display screen of the television.
The first pixel point data obtaining module 32 may be configured to obtain pixel point data of a first pixel set of the preset picture in the first memory according to the first boundary coordinate; and loading pixel point data included in the first pixel set acquired according to the first boundary coordinate into a second memory.
In the present embodiment, from the coordinate range defined by the first boundary coordinates, all the pixel point data within the coordinate range can be specified. The obtained pixel data may include coordinates and color values of the pixels. In this manner, after pixel point data is provided to the display screen, corresponding colors may be displayed at corresponding locations of the display screen according to a texture mapping algorithm.
In this embodiment, the second memory may be used to temporarily store data during picture processing by the image processing apparatus. Namely, the processor can perform data caching through the second memory in the process of rapidly processing the pixel data. The second memory may be selected from random access memory, cache memory, and the like. The second memory may have a smaller storage capacity than the first memory. The arrangement is such that a large amount of data can be stored by the first memory to maintain the integrity of the saved data. For example, the picture is stored in its entirety in the first memory. The read-write speed of the second memory can be higher than that of the first memory, so that the second memory can interact with the processor quickly, and the overall operation efficiency is improved.
In this embodiment, the pixel point data included in the first pixel set obtained according to the first boundary coordinate is loaded into the second memory, and the image processing program executed by the processor can process and operate the obtained pixel point data. As described above, in the prior art, to achieve the effect of displaying dynamic pictures, multiple pictures are loaded into the second storage, which occupies more memory capacity, and results in a decrease in the overall operating efficiency of the image processing apparatus. In the embodiment, only the pixel data corresponding to the part of the picture to be displayed finally is loaded into the second memory, that is, the pixel data to be displayed in the picture is loaded into the memory, so that the second memory is occupied as little as possible without affecting the overall function. Therefore, the resource occupation is reduced, the processor can load other data into the second memory, and the data processing speed of the image processing device can be kept higher than that of the image processing device.
The first pixel point data display module 33 may be configured to display the pixel point data included in the first pixel set in a predetermined area of the display screen.
In this embodiment, the display screen can be used to display images and colors. The display principles of different kinds of display screens are different. Taking a Liquid Crystal Display (LCD) screen as an example, the principle is that under the action of an electric field, the arrangement direction of Liquid Crystal molecules is changed to change the light transmittance of an external light source to complete electro-optical conversion, and then the reproduction of pictures and colors on the Display screen is realized by the excitation of RGB three-primary-color signals.
In this embodiment, the predetermined area may be used to display the pixel points included in the first pixel set, and may occupy a part of the display screen or the entire display screen. In a specific application scenario, taking an operation display interface of an Internet Protocol Television (IPTV) as an example, the entire operation display interface is displayed on a display screen of a television, and an area corresponding to each operation option is the predetermined area.
The second boundary coordinate determination module 34 may be configured to calculate the first boundary coordinate according to a preset rule to obtain a second boundary coordinate of a second pixel set; wherein the second boundary coordinates define pixel point data contained by the second set of pixels.
In this embodiment, the second boundary coordinate may also define a coordinate range, so that all pixel point data in the preset picture in the coordinate range may be determined, and a second pixel set may be formed. The second boundary coordinates define that the pixel data comprised by the second set of pixels may be such that the coordinates of the pixels comprised in the second set of pixels are within the coordinate range defined by the second boundary coordinates.
In this embodiment, the calculating the first boundary coordinate according to the preset rule to obtain the second boundary coordinate may include: and performing incremental operation on the first boundary coordinates to obtain second boundary coordinates. The first boundary coordinates are (x1, y1), (x2, y2), and the second boundary coordinates are (x1+ m1, y1+ n1), (x2+ m2, y2+ n2) assuming that the increment values of the abscissa and ordinate by the increment operation of the first boundary coordinates are m1, n1, m2, and n2, respectively. The second boundary coordinate defines a coordinate range of { (x, y) | x1+ m1 ≦ x2+ m2, y1+ n1 ≦ y2+ n2}, and the set of all pixel point data in the coordinate range in the preset picture is taken as the second pixel set.
In the present embodiment, the increment values m1, n1, m2, and n2 for the increment operation of the first boundary coordinates may be positive values or negative values. The increment values of the first boundary coordinates may be equal or different. Different dynamic display effects can be obtained according to different increment values. For example, when the increment values of the horizontal and vertical coordinates of the first boundary coordinate are equal, that is, m1 is m2, and n1 is n2, the number of pixels included in the second pixel set may be equal to the number of pixels included in the first pixel set, and the corresponding dynamic effect may be panning. Alternatively, the abscissa and ordinate increment values m1 and n1 of the first boundary coordinates (x1 and y1) are negative values, and the abscissa and ordinate increment values m2 and n2 of the first boundary coordinates (x2 and y2) are positive values, so that the number of pixels included in the second pixel set is greater than the number of pixels included in the first pixel set, and the corresponding dynamic effect may be amplification. Alternatively, if the abscissa and ordinate increment values m1 and n1 of the first boundary coordinates (x1 and y1) are positive values and the abscissa and ordinate increment values m2 and n2 of the first boundary coordinates (x2 and y2) are negative values, the number of pixels included in the second pixel set is smaller than the number of pixels included in the first pixel set, and the corresponding dynamic effect may be a reduction.
The second pixel point data obtaining module 35 may be configured to obtain pixel point data of a second pixel set of the preset picture stored in the first memory according to the second boundary coordinate; wherein, the second pixel set comprises pixel data which is at least partially different from the pixel data of the first pixel set; and loading the acquired pixel point data included in the second pixel set into the second memory.
In the present embodiment, from the coordinate range defined by the second boundary coordinates, all the pixel point data within the coordinate range can be specified. The obtained pixel data may include coordinates and color values of the pixels. In this manner, after pixel point data is provided to the display screen, corresponding colors may be displayed at corresponding locations of the display screen according to a texture mapping algorithm.
In this embodiment, the difference between at least a portion of the pixel data included in the first pixel set and the pixel data included in the second pixel set may be: the pixel point data contained in the first pixel set is partially the same as the pixel point data contained in the second pixel set, and partially different. For example, a first set of pixels defined by the first boundary coordinates and a second set of pixels defined by the second boundary coordinates contain common pixel data. Specifically, the following relationship exists between the first boundary coordinates and the second boundary coordinates: x1+ m1< x2, y1+ n1< y 2. Then the pixel data with the coordinate in { (x, y) | x1+ m1 ≦ x2, and y1+ n1 ≦ y2} in the picture are common to the two pixel sets, and the part of the pixel data is the same part of the two pixel sets. The difference between at least part of the pixel data contained in the first pixel set and the pixel data contained in the second pixel set can be as follows: the pixel point contained in the first pixel set is completely different from the pixel point data contained in the second pixel set. That is, the pixels contained in the first pixel set are different from the pixels contained in the second pixel set. Specifically, the following relationship exists between the first boundary coordinates and the second boundary coordinates: x1+ m1> x2, y1+ n1> y 2. And then the first boundary coordinate and the second boundary coordinate do not have intersection, so that the pixel point data in the two pixel sets are completely different.
In this embodiment, the pixel data included in the second pixel set is at least partially different from the pixel data included in the first pixel set, so that when the pixel included in the second pixel set is displayed on the screen of the display in place of the pixel included in the first pixel set, the picture displayed on the screen of the display can display a dynamic change effect.
The second pixel point data display module 36 may be configured to display the pixel point data included in the second set of pixels in the predetermined area of the display screen.
In this embodiment, the pixel points included in the second pixel domain may be provided to the display, so that the pixel points are displayed in a predetermined area on the display screen of the display, and the content of another part of the picture may be displayed.
The picture display device in the embodiment of the application can switch the picture content displayed by the display screen from the first pixel set to the second pixel set by displaying the first pixel set and the second pixel set which contain at least partially different pixel point data in the preset area of the display screen, thereby realizing the purpose of displaying the dynamic picture. In the process, the picture is not required to be loaded into the second memory in a whole manner, and only the pixel point data which needs to be displayed on the display is loaded into the second memory, so that the occupation of the second memory is reduced, and the data processing efficiency is improved in a whole manner.
It should be noted that, in the description of the present application, the terms "first", "second", and the like are used for descriptive purposes only and for distinguishing similar objects, and no precedence between the two is intended or should be construed to indicate or imply relative importance. In addition, in the description of the present application, "a plurality" means two or more unless otherwise specified.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core unified Programming Language), HDCal, JHDL (Java Hardware Description Language), langue, Lola, HDL, laspam, hardsradware (Hardware Description Language), vhjhd (Hardware Description Language), and vhigh-Language, which are currently used in most popular applications. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, the functionality of the various modules may be implemented in the same one or more software and/or hardware implementations as the present application.
Please refer to fig. 7. An embodiment of the present application further provides an electronic device 400, where the electronic device 400 may include: a communication terminal 41, a processor 44, a display 45, a first memory 42 and a second memory 43.
The communication terminal 41 can perform network data transmission according to a predetermined encoding rule. Specifically, the communication terminal 41 may be designed and manufactured according to protocols such as Http, TCP/IP, and the like. In this way, the communication terminal 41 can perform network data communication in accordance with protocols such as Http, TCP/IP, and the like.
The display 45 has a display screen.
The first memory 42 stores pictures.
The processor 44 is capable of controlling, upon reading the picture from the first storage 42 through the communication terminal 41, determination of first boundary coordinates of a first set of pixels comprising at least part of the pixel point data of the picture stored in the first memory 42; wherein the first boundary coordinates define pixel point data contained by the first set of pixels. And controlling to obtain the pixel point data of the picture in the first memory 42 within the first boundary coordinate according to the first boundary coordinate. The control loads the pixel point data included in the first set of pixels obtained from the first boundary coordinates into the second memory 43. And controlling the pixel point data contained in the first pixel set to be displayed in a preset area of a display screen. Controlling the first boundary coordinate to be calculated according to a preset rule to obtain a second boundary coordinate of a second pixel set; wherein the second boundary coordinates define pixel point data contained by the second set of pixels. Controlling to obtain pixel point data of a second set of pixels of the picture stored in the first memory 42 according to the second boundary coordinates; the second pixel set comprises pixel point data which is at least partially different from the pixel point data contained in the first pixel set. The acquired pixel point data included in the second pixel set is controlled to be loaded into the second memory 43. And controlling the pixel point data contained in the second pixel set to be displayed in the preset area of the display screen.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the electronic device embodiment, since the operation of the processor is substantially similar to that of the method embodiment, the description is simple, and for relevant points, reference may be made to part of the description of the method embodiment.
Although the present application has been described in terms of embodiments, those of ordinary skill in the art will recognize that there are numerous variations and permutations of the present application without departing from the spirit of the application, and it is intended that the appended claims encompass such variations and permutations without departing from the spirit of the application.

Claims (20)

1. A picture display method, comprising:
determining first boundary coordinates of a first pixel set, wherein the first pixel set comprises at least part of pixel point data of a preset picture stored in a first memory; wherein the first boundary coordinates define pixel point data contained by the first set of pixels;
acquiring pixel point data of a first pixel set of the preset picture in the first memory according to the first boundary coordinates; loading pixel point data included in the first pixel set acquired according to the first boundary coordinates into a second memory;
providing pixel point data contained in the first pixel set to a display for displaying;
calculating the first boundary coordinate according to a preset rule to obtain a second boundary coordinate of a second pixel set; wherein the second boundary coordinates define pixel point data contained in the second set of pixels;
acquiring pixel point data of a second pixel set of the preset picture stored in the first memory according to the second boundary coordinate; wherein, the second pixel set comprises pixel data which is at least partially different from the pixel data of the first pixel set; loading the acquired pixel point data included in the second pixel set into the second memory;
and providing the pixel point data contained in the second pixel set to the display for displaying.
2. The method of claim 1, wherein the preset rules comprise: and performing incremental operation on the first boundary coordinate to obtain the second boundary coordinate.
3. The method of claim 1, wherein the first boundary coordinates comprise two pixel point coordinates, the abscissa and ordinate of the two pixel point coordinates being different; the abscissa and the ordinate of the two pixel points form the first boundary coordinate together.
4. The method of claim 1, wherein the pixels contained within the first set of pixels are distributed around at least one of the pixels; the first boundary coordinate is a preset function of the coordinate of the at least one surrounded pixel point as a parameter.
5. The method of claim 4, wherein a distance between a pixel point contained within the first boundary coordinates and one of the at least one pixel point is not greater than a first threshold.
6. The method of claim 4, wherein a sum of distances between a pixel point contained within the first boundary coordinates and two of the at least one pixel points is not greater than a second threshold.
7. The method of claim 1, wherein the read-write speed of the second memory is greater than the read-write speed of the first memory.
8. The method of claim 1, wherein a capacity of the first memory is greater than a capacity of the second memory.
9. A picture display device, comprising:
the first boundary coordinate determination module is used for determining first boundary coordinates of a first pixel set, wherein the first pixel set comprises at least part of pixel point data of a preset picture stored in a first memory; wherein the first boundary coordinates define pixel point data contained by the first set of pixels;
a first pixel point data obtaining module, configured to obtain pixel point data of a first pixel set of the preset picture in the first memory according to the first boundary coordinate; loading pixel point data included in the first pixel set acquired according to the first boundary coordinates into a second memory;
the first pixel point data providing module is used for providing the pixel point data contained in the first pixel set to a display for display;
the second boundary coordinate determination module is used for calculating the first boundary coordinate according to a preset rule to obtain a second boundary coordinate of a second pixel set; wherein the second boundary coordinates define pixel point data contained in the second set of pixels;
a second pixel point data obtaining module, configured to obtain pixel point data of a second pixel set of the preset picture stored in the first memory according to the second boundary coordinate; wherein, the second pixel set comprises pixel data which is at least partially different from the pixel data of the first pixel set; loading the acquired pixel point data included in the second pixel set into the second memory;
and the second pixel point data providing module is used for providing the pixel point data contained in the second pixel set for the display to display.
10. An electronic device, comprising:
a communication terminal capable of performing network data transmission according to a predetermined encoding rule;
a first memory storing pictures;
a second memory;
a processor capable of controlling, when the picture is read from the first storage through the communication terminal, determination of first boundary coordinates of a first set of pixels including at least part of pixel point data of the picture stored in a first memory; wherein the first boundary coordinates define pixel point data contained by the first set of pixels; controlling to obtain pixel point data of a first pixel set of the picture in the first memory according to the first boundary coordinates; controlling to load pixel point data included in the first pixel set acquired according to the first boundary coordinates into a second memory; controlling to provide pixel point data contained in the first pixel set to a display for display; controlling the first boundary coordinate to be calculated according to a preset rule to obtain a second boundary coordinate of a second pixel set; wherein the second boundary coordinates define pixel point data contained in the second set of pixels; controlling to obtain pixel point data of a second pixel set of the picture stored in the first memory according to the second boundary coordinate; wherein, the second pixel set comprises pixel data which is at least partially different from the pixel data of the first pixel set; controlling to load the acquired pixel point data included in the second pixel set into the second memory; and controlling the data of the pixel points contained in the second pixel set to be provided for the display to display.
11. A picture display method, comprising:
determining first boundary coordinates of a first pixel set, wherein the first pixel set comprises at least part of pixel point data of a preset picture stored in a first memory; wherein the first boundary coordinates define pixel point data contained by the first set of pixels;
acquiring pixel point data of a first pixel set of the preset picture in the first memory according to the first boundary coordinates; loading pixel point data included in the first pixel set acquired according to the first boundary coordinates into a second memory;
displaying pixel point data contained in the first pixel set in a preset area of a display screen;
calculating the first boundary coordinate according to a preset rule to obtain a second boundary coordinate of a second pixel set; wherein the second boundary coordinates define pixel point data contained in the second set of pixels;
acquiring pixel point data of a second pixel set of the preset picture stored in the first memory according to the second boundary coordinate; wherein, the second pixel set comprises pixel data which is at least partially different from the pixel data of the first pixel set; loading the acquired pixel point data included in the second pixel set into the second memory;
and displaying pixel point data contained in the second pixel set in the predetermined area of the display screen.
12. The method of claim 11, wherein the preset rules comprise: and performing incremental operation on the first boundary coordinate to obtain the second boundary coordinate.
13. The method of claim 11, wherein the first boundary coordinates comprise two pixel point coordinates, the abscissa and ordinate of the two pixel point coordinates being different; the abscissa and the ordinate of the two pixel points form the first boundary coordinate together.
14. The method of claim 11, wherein the pixels contained within the first set of pixels are distributed around at least one of the pixels; the first boundary coordinate is a preset function of the coordinate of the at least one surrounded pixel point as a parameter.
15. The method of claim 14, wherein a distance between a pixel point contained within the first boundary coordinates and one of the at least one pixel point is not greater than a first threshold.
16. The method of claim 14, wherein a sum of distances between a pixel point contained within the first boundary coordinates and two of the at least one pixel points is not greater than a second threshold.
17. The method of claim 11, wherein the read-write speed of the second memory is greater than the read-write speed of the first memory.
18. The method of claim 11, wherein a capacity of the first memory is greater than a capacity of the second memory.
19. A picture display device, comprising:
the first boundary coordinate determination module is used for determining first boundary coordinates of a first pixel set, wherein the first pixel set comprises at least part of pixel point data of a preset picture stored in a first memory; wherein the first boundary coordinates define pixel point data contained by the first set of pixels;
a first pixel point data obtaining module, configured to obtain pixel point data of a first pixel set of the preset picture in the first memory according to the first boundary coordinate; loading pixel point data included in the first pixel set acquired according to the first boundary coordinates into a second memory;
the first pixel point data display module is used for displaying pixel point data contained in the first pixel set in a preset area of a display screen;
the second boundary coordinate determination module is used for calculating the first boundary coordinate according to a preset rule to obtain a second boundary coordinate of a second pixel set; wherein the second boundary coordinates define pixel point data contained in the second set of pixels;
a second pixel point data obtaining module, configured to obtain pixel point data of a second pixel set of the preset picture stored in the first memory according to the second boundary coordinate; wherein, the second pixel set comprises pixel data which is at least partially different from the pixel data of the first pixel set; loading the acquired pixel point data included in the second pixel set into the second memory;
and the second pixel point data display module is used for displaying the pixel point data contained in the second pixel set in the preset area of the display screen.
20. An electronic device, comprising:
a display having a display screen;
a communication terminal capable of performing network data transmission according to a predetermined encoding rule;
a first memory storing pictures;
a second memory;
a processor capable of controlling, when the picture is read from the first storage through the communication terminal, determination of first boundary coordinates of a first set of pixels including at least part of pixel point data of the picture stored in a first memory; wherein the first boundary coordinates define pixel point data contained by the first set of pixels; controlling to obtain pixel point data of a first pixel set of the picture in the first memory according to the first boundary coordinates; controlling to load pixel point data included in the first pixel set acquired according to the first boundary coordinates into a second memory; controlling to display pixel point data contained in the first pixel set in a preset area of a display screen; controlling the first boundary coordinate to be calculated according to a preset rule to obtain a second boundary coordinate of a second pixel set; wherein the second boundary coordinates define pixel point data contained in the second set of pixels; controlling to obtain pixel point data of a second pixel set of the picture stored in the first memory according to the second boundary coordinate; wherein, the second pixel set comprises pixel data which is at least partially different from the pixel data of the first pixel set; controlling to load the acquired pixel point data included in the second pixel set into the second memory; and controlling the pixel point data contained in the second pixel set to be displayed in the preset area of the display screen.
CN201610214017.6A 2016-04-07 2016-04-07 Picture display method and device and electronic equipment Active CN107273072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610214017.6A CN107273072B (en) 2016-04-07 2016-04-07 Picture display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610214017.6A CN107273072B (en) 2016-04-07 2016-04-07 Picture display method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN107273072A CN107273072A (en) 2017-10-20
CN107273072B true CN107273072B (en) 2020-09-04

Family

ID=60052066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610214017.6A Active CN107273072B (en) 2016-04-07 2016-04-07 Picture display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN107273072B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110868624B (en) * 2019-11-08 2023-08-22 Vidaa(荷兰)国际控股有限公司 Picture loading method and intelligent television
CN112053286B (en) * 2020-09-04 2023-09-05 抖音视界有限公司 Image processing method, device, electronic equipment and readable medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599263A (en) * 2009-07-17 2009-12-09 青岛海信移动通信技术股份有限公司 The display packing of a kind of portable terminal and screen display interface thereof
CN102215428A (en) * 2011-06-23 2011-10-12 深圳市茁壮网络股份有限公司 Picture processing method and STB (Set Top Box)
CN102662615A (en) * 2012-03-23 2012-09-12 安科智慧城市技术(中国)有限公司 Embedded equipment and picture displaying method and system of embedded equipment
CN102905194A (en) * 2012-08-29 2013-01-30 深圳市茁壮网络股份有限公司 Method and device for moving focal points in digital television browser, and digital television
CN103020888A (en) * 2012-12-05 2013-04-03 广东威创视讯科技股份有限公司 Image translation updating display method and system
KR20150066129A (en) * 2013-12-06 2015-06-16 삼성전자주식회사 Display appratus and the method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599263A (en) * 2009-07-17 2009-12-09 青岛海信移动通信技术股份有限公司 The display packing of a kind of portable terminal and screen display interface thereof
CN102215428A (en) * 2011-06-23 2011-10-12 深圳市茁壮网络股份有限公司 Picture processing method and STB (Set Top Box)
CN102662615A (en) * 2012-03-23 2012-09-12 安科智慧城市技术(中国)有限公司 Embedded equipment and picture displaying method and system of embedded equipment
CN102905194A (en) * 2012-08-29 2013-01-30 深圳市茁壮网络股份有限公司 Method and device for moving focal points in digital television browser, and digital television
CN103020888A (en) * 2012-12-05 2013-04-03 广东威创视讯科技股份有限公司 Image translation updating display method and system
KR20150066129A (en) * 2013-12-06 2015-06-16 삼성전자주식회사 Display appratus and the method thereof

Also Published As

Publication number Publication date
CN107273072A (en) 2017-10-20

Similar Documents

Publication Publication Date Title
US20240005591A1 (en) Method and system for rendering panoramic video
CN110377264B (en) Layer synthesis method, device, electronic equipment and storage medium
KR100804898B1 (en) Method and apparatus for efficient image rotation
US20180018018A1 (en) Foveated rendering
US20190035049A1 (en) Dithered variable rate shading
CN110806847A (en) Distributed multi-screen display method, device, equipment and system
TWI698834B (en) Methods and devices for graphics processing
US11740470B2 (en) Low latency distortion unit for head mounted displays
CN103702032A (en) Image processing method, device and terminal equipment
CN112907496A (en) Image fusion method and device
CN107273072B (en) Picture display method and device and electronic equipment
CN112114919B (en) Screen rotation display optimization method and device
JP4843377B2 (en) Image processing apparatus and image processing method
CN109104628B (en) Focus foreground generation method, storage medium, device and system of android television
US20130236117A1 (en) Apparatus and method for providing blurred image
CN109214977B (en) Image processing apparatus and control method thereof
CN114792283A (en) Image processing method, device and equipment and computer readable storage medium
CN111477183A (en) Reader refresh method, computing device, and computer storage medium
CN109104627B (en) Focus background generation method, storage medium, device and system of android television
US11869137B2 (en) Method and apparatus for virtual space constructing based on stackable light field
US8754908B2 (en) Optimized on-screen video composition for mobile device
US9811945B2 (en) On-demand transformation aware shape tessellation
US20240304125A1 (en) Image display method and device
WO2023077650A1 (en) Three-color image generation method and related device
CN114627228A (en) Method and device for displaying sequence frame image and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240619

Address after: Room 201, No. 9 Fengxiang East Street, Yangsong Town, Huairou District, Beijing

Patentee after: Youku Culture Technology (Beijing) Co.,Ltd.

Country or region after: China

Address before: Greater Cayman, British Cayman Islands

Patentee before: ALIBABA GROUP HOLDING Ltd.

Country or region before: Cayman Islands

TR01 Transfer of patent right