The disclosure relates to the application field of image technology, and in particular to a method and device for processing Image, and an image transmitting system.
In a related Light Emitting Diode (LED) display technology, ultra-long display is widely used in large screen display scenarios, especially in seamless splicing scenarios of spliced screen. Due to the arbitrary ductility of an LED display screen, ultra-long seamless splicing is realized, but for ultra-long display, this requires a higher resolution of a player.
The related LED display system includes: a multimedia player box, a Field Programmable Gate Array (FPGA) sending card, a FPGA receiving card and an LED display screen. The multimedia player box is composed of an application processor, a memory, storage and the Android system. The Android system is used for decoding and playing a multimedia file and rendering a display effect, so as to provide high-quality images. Here, at an output end of the multimedia player box, image data rendered by the Android system are converted in time sequence through an LCD Controller (LCDC) and are sent to the FPGA sending card through a RGB interface. The FPGA sending card parses the image data converted in time sequence, saves valid data and transmits the data to the FPGA receiving card through Ethernet, so that the FPGA receiving card drives the LED display screen for display.
However, due to the limitation of resolution of the application processor in the multimedia player box, the image data output by the application processor is sent to the FPGA receiving card through the FPGA sending card, so when the image data is finally displayed by the LED display screen, high-resolution images cannot be displayed due to the limitation of load.
In a related art, because an ultra-long resolution video signal cannot be output due to the limitation of performance of a chip in the media player box, some cheap multimedia player boxes cannot carry ultra-long loads, but for ultra-long display scenarios, customers use a player box that can carry longer loads with high cost, and a low-cost player box cannot meet the actual requirements.
For the problem that because the ultra-long resolution video signal cannot be output due to the limitation of performance of the chip in the media player box in the related art, and the cost of using the player box with longer loads is high, a common media player box cannot meet the demand on ultra-long display, no effective solution has been proposed yet.
Embodiments of the disclosure provide a method device for processing image, image transmitting device and system to at least solve the technical problem that because an ultra-long resolution video signal cannot be output due to the limitation of performance of a chip in the media player box, and the cost of using a player box with longer loads is high, a common media player box cannot meet the demand on ultra-long display.
According to an aspect of the embodiments of the disclosure, a method for processing Image is provided, which may include that: data to be transmitted are processed according to a first resolution to obtain first image data, the image resolution represented by each row of image data in the first image data being the first resolution, and the first resolution being the maximum resolution set by a system; and the first image data is folded to obtain second image data, the number of rows of the second image data being greater than that of the first image data, the image resolution represented by each row of image data in the second image data being a second resolution, and the second resolution being less than the first resolution.
Optionally, the sum of the image resolutions represented by every n rows of image data in the second image data is equal to the first resolution, where n is a positive integer greater than or equal to 2.
Optionally, that the data to be transmitted is processed according to the first resolution to obtain the first image data may include that: the resolution of a frame buffer is set to the first resolution; layer overlapping is performed on the data to be transmitted according to the first resolution to obtain the first image data; and the first image data is stored to the frame buffer.
Optionally, that layer overlapping is performed on the data to be transmitted according to the first resolution to obtain the first image data may include that: at least two frames of data to be transmitted are obtained; and image rendering is performed on each row of image data in the at least two frames of data to be transmitted according to the first resolution to obtain the first image data, the image resolution represented by each row of image data in which is the first resolution.
Optionally, that the first image data is folded to obtain the second image data may specifically include that: 1/n of the length of the first resolution and n times the height of the first resolution are obtained to obtain the second resolution; and the first image data are extracted according to the second resolution to obtain the second image data, the image resolution represented by which is the second resolution; or 1/n of the height of the first resolution and n times the length of the first resolution are obtained to obtain the second resolution; and the first image data is extracted according to the second resolution to obtain the second image data, the image resolution represented by which is the second resolution.
Optionally, the method may further include that: every n rows of image data in the second image data are spliced to restore the data to the first image data, and the first image data after restoration are sent.
Optionally, that every n rows of image data in the second image data are spliced to restore the data to the first image data may specifically include that: valid data in each row of the image data in the second image data are stored to a memory; the valid data in each row of the image data are obtained according to a preset row relationship to obtain at least one group of n rows of interrelated valid data; and the n rows of interrelated valid data in each group are combined into one row, and the first image data, the image resolution represented by which is the first resolution, are obtained through restoration.
Optionally, that the n rows of interrelated valid data in each group are combined into one row may specifically include: the n times the length and 1/n of the height of the second resolution are obtained to obtain the first resolution; and the n rows of interrelated valid data in each group are extracted according to the first resolution to obtain a row of image data, the image resolution represented by which is the first resolution; or, the 1/n of the length and n times the height of the second resolution are obtained to obtain the first resolution; and the n rows of interrelated valid data in each group are extracted according to the first resolution to obtain a row of image data, the image resolution represented by which is the first resolution.
According to an aspect of the embodiments of the disclosure, another method for processing Image is provided, which may include that: the first image data is received, the image resolution represented by each row of image data in the first image data being the first resolution, and the first resolution being the maximum resolution set by the system; the first image data are decoded to obtain the first image data to be displayed; and the first image data are displayed.
Optionally, that the first image data are decoded to obtain the first image data to be displayed may include that: the first image data are decoded to obtain decoded image data, the image resolution represented by each row of image data in which is the first resolution; and the decoded image data are sorted according to a time sequence to obtain the first image data to be displayed.
According to another aspect of the embodiments of the disclosure, a device for processing image is provided, which may include an image processing module and a splitting module. The image processing module is configured to process the data to be transmitted according to the first resolution to obtain the first image data. The image resolution represented by each row of image data in the first image data is the first resolution, and the first resolution is the maximum resolution set by the system. The splitting module is configured to fold the first image data to obtain the second image data. The number of rows of the second image data is greater than that of the first image data, the image resolution represented by each row of image data in the second image data is the second resolution, and the second resolution is less than the first resolution.
Optionally, the sum of the image resolutions represented by every n rows of image data in the second image data is equal to the first resolution, where n is a positive integer greater than or equal to 2.
Optionally, the image processing module may include: a setting unit, configured to set the resolution of the frame buffer to the first resolution; an image processing unit, configured to perform layer overlapping on the data to be transmitted according to the first resolution to obtain the first image data; and a storing unit, configured to store the first image data to the frame buffer.
Optionally, the image processing unit may include: an obtaining subunit, configured to obtain at least two frames of data to be transmitted; and an image processing subunit, configured to perform image rendering on each row of image data in the at least two frames of data to be transmitted according to the first resolution to obtain the first image data, the image resolution represented by each row of image data in which is the first resolution.
Optionally, the splitting module may include: a first resolution obtaining unit, configured to obtain 1/n of the length of the first resolution and n times the height of the first resolution to obtain the second resolution; and a first splitting unit, configured to extract the first image data according to the second resolution to obtain the second image data, the image resolution represented by which is the second resolution. Or, the splitting module may include: a second resolution obtaining unit, configured to obtain 1/n of the height of the first resolution and n times the length of the first resolution to obtain the second resolution; and a second splitting unit, configured to extract the first image data according to the second resolution to obtain the second image data, the image resolution represented by which is the second resolution.
Optionally, the device may include: a sending module, configured to splice every n rows of image data in the second image data to restore the data to the first image data, and send the first image data after restoration.
Optionally, the sending module may include: a storing unit, configured to store the valid data in each row of the image data in the second image data to the memory; a data obtaining unit, configured to obtain the valid data in each row of the image data according to the preset row relationship to obtain at least one group of n rows of interrelated valid data; and a restoring unit, configured to combine the n rows of interrelated valid data in each group into one row, and obtain through restoration the first image data, the image resolution represented by which is the first resolution.
Optionally, the restoring unit may include: a first resolution obtaining subunit, configured to obtain the n times the length and 1/n of the height of the second resolution to obtain the first resolution; and a first extracting subunit, configured to extract the n rows of interrelated valid data in each group according to the first resolution to obtain a row of image data, the image resolution represented by which is the first resolution. Or, the restoring unit may include: a second resolution obtaining subunit, configured to obtain the 1/n of the length and n times the height of the second resolution to obtain the first resolution; and a second extracting subunit, configured to extract the n rows of interrelated valid data in each group according to the first resolution to obtain a row of image data, the image resolution represented by which is the first resolution.
According to another aspect of the embodiments of the disclosure, another device for processing image is provided, which may include: a receiving module, a decoding module, and a displaying module. The receiving module is configured to receive the first image data. The image resolution represented by each row of image data in the first image data is the first resolution, and the first resolution is the maximum resolution set by the system. The decoding module is configured to decode the first image data to obtain the first image data to be displayed. The displaying module is configured to display the first image data.
Optionally, the decoding module may include: a decoding unit, configured to decode the first image data to obtain the decoded image data, the image resolution represented by each row of image data in which is the first resolution; and a sorting unit, configured to sort the decoded image data according to a time sequence to obtain the first image data to be displayed.
According to yet another aspect of the embodiments of the disclosure, an image transmitting device is provided, which may include: a display controller and a sending card. The display controller is configured to process the data to be transmitted according to the first resolution to obtain the first image data, and fold the first image data to obtain the second image data. The image resolution represented by each row of image data in the first image data is the first resolution, and the first resolution is the maximum resolution set by the system. The number of rows of the second image data is greater than that of the first image data, the image resolution represented by each row of image data in the second image data is the second resolution, and the second resolution is less than the first resolution. The sending card is connected to the display controller and configured to splice every n rows of image data in the second image data to restore the data to the first image data, and send the first image data after restoration.
Optionally, that the first image data are obtained may specifically include that: the resolution of the frame buffer is set to the first resolution; layer overlapping is performed on the data to be transmitted according to the first resolution to obtain the first image data; and the first image data is stored to the frame buffer.
According to yet another aspect of the embodiments of the disclosure, an image transmitting system is provided, which may include: a multimedia player box and a display device. The multimedia player box may include: a display controller and a sending card. The display controller is configured to process the data to be transmitted according to the first resolution to obtain the first image data, and fold the first image data to obtain the second image data. The image resolution represented by each row of image data in the first image data is the first resolution, and the first resolution is the maximum resolution set by the system. The number of rows of the second image data is greater than that of the first image data, the image resolution represented by each row of image data in the second image data is the second resolution, and the second resolution is less than the first resolution. The sending card is connected to the display controller and configured to splice every n rows of image data in the second image data to restore the data to the first image data, and send the first image data after restoration. The display device may include: a receiving card and a display. The receiving card is configured to receive the first image data, and decode the first image data to obtain the first image data to be displayed. The image resolution represented by each row of image data in the first image data is the first resolution, and the first resolution is the maximum resolution set by the system. The display is connected to the receiving card and configured to display the first image data.
According to another aspect of the embodiments of the disclosure, a non-transitory storage medium is provided, which may include a stored program. When running, the program controls a device where the non-transitory storage medium is to execute the above method for processing Image.
According to another aspect of the embodiments of the disclosure, a processor is provided, which is configured to run a program stored in a storage medium. When running, the program executes the above method for processing Image.
In the embodiments of the disclosure, by processing the data to be transmitted according to the first resolution to obtain the first image data, the image resolution represented by each row of image data in the first image data being the first resolution, and the first resolution being the maximum resolution set by the system, and folding the first image data to obtain the second image data, the number of rows of the second image data being greater than that of the first image data, the image resolution represented by each row of image data in the second image data being the second resolution, and the second resolution being less than the first resolution, the purpose of realizing ultra-long loads through a common media layer box is achieved, thereby achieving the technical effect of reducing device costs, and then solving the technical problem that because an ultra-long resolution video signal cannot be output due to the limitation of performance of a chip in the media player box in the related art, and the cost of using a player box which can carry longer loads is high, a common media player box cannot meet the demand on ultra-long display.
The accompanying drawings described here are used for providing further understanding of the disclosure, and constitute a part of the disclosure. Schematic embodiments of the disclosure and description thereof are used for illustrating the disclosure and not intended to form an improper limit to the disclosure. In the accompanying drawings:
In order to make those skilled in the art understand the solutions of the disclosure better, the technical solutions in the embodiments of the disclosure are clearly and completely elaborated below in combination with the accompanying drawings. It is apparent that the described embodiments are only a part of the embodiments of the disclosure but not all. Based on the embodiments of the disclosure, all the other embodiments obtained by those of ordinary skill in the art on the premise of not contributing creative effort should belong to the protection scope of the disclosure.
It is to be noted that the terms like “first” and “second” in the specification, claims and accompanying drawings of the disclosure are used for differentiating the similar objects, but do not have to describe a specific order or a sequence. It should be understood that the objects may be exchanged under appropriate circumstances, so that the embodiments of the disclosure described here may be implemented in an order different from that described or shown here. In addition, terms “include” and “have” and any variations thereof are intended to cover non-exclusive inclusions. For example, it is not limited for processes, methods, systems, products or devices containing a series of steps or units to clearly list those steps or units, and other steps or units which are not clearly listed or are inherent to these processes, methods, products or devices may be included instead.
According to the embodiments of the disclosure, an embodiment of a method for processing Image is provided. It is to be noted that these steps presented in the flowchart of the accompanying drawings can be executed in a computer system like a group of computer executable instructions, and moreover, although a logical sequence is shown in the flowchart, in some cases, the presented or described steps can be performed in a sequence different from that described here.
At S102, data to be transmitted are processed according to a first resolution to obtain first image data. The image resolution represented by each row of image data in the first image data is the first resolution, and the first resolution is the maximum resolution set by a system.
In S102, the method for processing Image provided by the embodiments of the disclosure may be applied to the multimedia player box. The multimedia player box is composed of the Android system, an application processor, a display controller, a sending card, other modules in CPU, a memory and storage.
The multimedia player box processes the data to be transmitted according to the first resolution to obtain the image data, the resolution of which is the first resolution (that is, the first image data in the embodiments of the disclosure). By setting the maximum resolution in a frame buffer of the Android system, the data to be transmitted are rendered at the maximum resolution to obtain the image data, the resolution of which is the first resolution.
For example, the conventional Android system only supports an internal resolution of 1920×1080, but it can be rendered according to 3840×540 in the frame buffer, so the data to be transmitted is rendered from the resolution of 1920×1080 to the resolution of 3840×540 by setting the maximum resolution, where 3840×540 is the first resolution provided in the embodiments of the disclosure, and 1920×1080 is the second resolution in the embodiments of the disclosure.
It is to be noted that the data to be transmitted in the embodiments of the disclosure may be image data. The image data includes: text, characters, landscapes, cartoons and other pictures and videos except text.
At S104, the first image data is folded to obtain second image data. The number of rows of the second image data is greater than that of the first image data, the image resolution represented by each row of image data in the second image data is a second resolution, and the second resolution is less than the first resolution.
In S104, the multimedia player box processes, through the LCDC, the data to be transmitted at the first resolution obtained in S102 to obtain the second image data. The number of rows of the second image data is greater than that of the first image data, the image resolution represented by each row of image data in the second image data is the second resolution, and the second resolution is less than the first resolution.
Optionally, the sum of the image resolutions represented by every n rows of image data in the second image data is equal to the first resolution, where n is a positive integer greater than or equal to 2.
For example, because the LCDC only supports 1920×1080, in order to achieve ultra-long display,
Because the image displayed on an LED display screen is composed of multiple rows of image data, when each row of the data to be transmitted with the resolution of 3840×540 is processed, it is split into two rows of image data with the resolution of 1920×1080, so that a display device restores an image to be transmitted during display, and combines two rows of the image data with the resolution of 1920×1080 into one row of the data to be transmitted with the resolution of 3840×540, so as to achieve ultra-long display.
In the embodiments of the disclosure, by processing the data to be transmitted according to the first resolution to obtain the first image data, the image resolution represented by each row of image data in the first image data being the first resolution, and the first resolution being the maximum resolution set by the system, and folding the first image data to obtain the second image data, the number of rows of the second image data being greater than that of the first image data, the image resolution represented by each row of image data in the second image data being the second resolution, and the second resolution being less than the first resolution, the purpose of realizing ultra-long loads through a common media layer box is achieved, thereby achieving the technical effect of reducing device costs, and then solving the technical problem that because an ultra-long resolution video signal cannot be output due to the limitation of performance of a chip in the media player box in the related art, and the cost of using a player box which can carry longer loads is high, a common media player box cannot meet the demand on ultra-long display.
Optionally, that the data to be transmitted is processed according to the first resolution to obtain the first image data in S102 includes that: the resolution of the frame buffer is set to the first resolution; layer overlapping is performed on the data to be transmitted according to the first resolution to obtain the first image data; and the first image data is stored to the frame buffer.
Optionally, that layer overlapping is performed on the data to be transmitted according to the first resolution to obtain the first image data includes that: at least two frames of data to be transmitted are obtained; and image rendering is performed on each row of image data in the at least two frames of data to be transmitted according to the first resolution to obtain the first image data, the image resolution represented by each row of image data in which is the first resolution.
Optionally, that the first image data is folded to obtain the second image data in S104 specifically includes that: 1/n of the length of the first resolution and n times the height of the first resolution are obtained to obtain the second resolution; and the first image data are extracted according to the second resolution to obtain the second image data, the image resolution represented by which is the second resolution; or 1/n of the height of the first resolution and n times the length of the first resolution are obtained to obtain the second resolution; and the first image data is extracted according to the second resolution to obtain the second image data, the image resolution represented by which is the second resolution.
In an optional implementation mode,
Based on the above, as shown in
Optionally, the method for processing Image provided by the embodiments of the disclosure further includes the following steps.
At S106, every n rows of image data in the second image data are spliced to restore the data to the first image data, and the first image data after restoration are sent.
Optionally, that every n rows of image data in the second image data are spliced to restore the data to the first image data in S106 specifically includes that: valid data in each row of the image data in the second image data are stored to a memory; the valid data in each row of the image data are obtained according to a preset row relationship to obtain at least one group of n rows of interrelated valid data; and the n rows of interrelated valid data in each group are combined into one row, and the first image data, the image resolution represented by which is the first resolution, are obtained through restoration.
Optionally, that the n rows of interrelated valid data in each group are combined into one row specifically includes: the n times the length and 1/n of the height of the second resolution are obtained to obtain the first resolution; and the n rows of interrelated valid data in each group are extracted according to the first resolution to obtain a row of image data, the image resolution represented by which is the first resolution; or, the 1/n of the length and n times the height of the second resolution are obtained to obtain the first resolution; and the n rows of interrelated valid data in each group are extracted according to the first resolution to obtain a row of image data, the image resolution represented by which is the first resolution.
In S106, based on the second image data obtained in S104, as shown in
For example, the FPGA sending card collects two rows of the image data with the resolution of 1920×1080, which are output by the LCDC, each time, splices the 1920 pixels collected in each of the two rows into 3840 pixels, thereby achieving the effect and function of doubling the resolution.
To sum up, in combination with S102 to S106, the method for processing Image provided by the embodiments of the disclosure may be applied to ultra-long display scenarios, such as a strip LED display above a bank window. The related ultra-long display is limited by the load of the original multimedia player box itself, that is, the player that can carry a load of only 1920 pixels in length can only display 1920 pixels, which limits the display length of the LED display screen, so in order to overcome this, the traditional art can only use a high-cost multimedia player box that can carry longer loads, but cannot effectively solve the problem of how to achieve the ultra-long display in the case of fixed load.
In an optional implementation mode, a video signal received by the FPGA sending card is data to be transmitted of 1920×1080, but the data to be transmitted of 1920×1080 is folded data to be transmitted of 3840×540. The FPGA sending card receives the first row of data to be transmitted and saves the valid data signal in the memory, then saves the valid data of the second row of data to be transmitted in the memory, and splices the two rows of signals together to achieve a row of 3840 pixels. The third row and the fourth row are processed in turn in the same way. Finally, the sending card transmits the restored data to be transmitted with the resolution of 3840×540 to the receiving card through Ethernet for display.
It is to be noted that the method for processing Image provided by the embodiments of the disclosure is illustrated only taking transmission over Ethernet as a preferred example. In addition, LAN transmission and short-distance transmission are also supported to transmit the data to be transmitted, which are restored to the first resolution, to the display device, which is subject to implementing the image transmitting method provided in the embodiments of the disclosure, without any specific restrictions.
The method for processing Image provided in the embodiments of the disclosure sets the maximum resolution in the Android system, so that the multimedia player, which originally supports the length of 1920 pixels, renders the data to be transmitted through the frame buffer according to the maximum resolution to obtain the data to be transmitted with the length of 3840 pixels. But because the LCDC of the multimedia player only supports data extraction and timing conversion with the length of 1920 pixels, in order to ensure that the data to be transmitted with the length of 3840 pixels can be output smoothly, the data to be transmitted with the length of 3840 pixels are split into two rows of data with the length of 1920 pixels, thereby overcoming the problem of limited display of the LED display screen due to the load limitation of hardware devices.
Because the data are split into two rows of data with the length of 1920 pixels at the LCDC, in order to achieve the ultra-long display on the LED display screen (that is, the display device in the embodiments of the disclosure), two rows of data with the length of 1920 pixels are combined through FPGA to obtain the data to be transmitted with the length of 3840 pixels, and the data to be transmitted with the length of 3840 pixels are sent to the display device, so as to achieve the effect of doubling the resolution and the function of LED ultra-long display.
It is to be noted that the embodiments of the disclosure are illustrated only taking the multimedia player box, the chip in which supports the resolution 1920×1080, as an example. In addition, the multimedia player box, the chip in which supports the resolution 4096×2160 (that is, 4K definition) is also applicable to the method for processing Image provided in the embodiments of the disclosure. If the method for processing Image provided in the embodiments of the disclosure is used, the resolution can be improved to 8192×1080, so the method for processing Image provided in the embodiments of the disclosure is only illustrated with the above example, which is subject to implementing the method for processing Image provided in the embodiments of the disclosure, without any specific restrictions.
According to an aspect of the embodiments of the disclosure, another method for processing Image is provided.
At S502, the first image data is received. The image resolution represented by each row of image data in the first image data is the first resolution, and the first resolution is the maximum resolution set by the system.
At S504, the first image data are decoded to obtain the first image data to be displayed.
At S506, the first image data are displayed.
Optionally, that the first image data are decoded to obtain the first image data to be displayed in S504 includes that: the first image data are decoded to obtain decoded image data, the image resolution represented by each row of image data in which is the first resolution; and the decoded image data are sorted according to the time sequence to obtain the first image data to be displayed.
In an optional implementation mode, corresponding to the example of the multimedia player box in the first embodiment, after receiving the data to be transmitted with the length of 3840 pixels, the FPGA receiving card in the display device decodes the data to be transmitted with the length of 3840 pixels, and sorts the decoded data to be transmitted with the length of 3840 pixels according to the time sequence, so as to ensure the normal display of the LED display screen.
In the embodiments of the disclosure, by receiving the first image data, the image resolution represented by each row of image data in the first image data being the first resolution, and the first resolution being the maximum resolution set by the system, decoding the first image data to obtain the first image data to be displayed, and displaying the first image data, the purpose of realizing ultra-long loads through the common media layer box is achieved, thereby achieving the technical effect of reducing device costs, and then solving the technical problem that because an ultra-long resolution video signal cannot be output due to the limitation of performance of a chip in the media player box in the related art, and the cost of using the player box which can carry longer loads is high, the common media player box cannot meet the demand on ultra-long display.
According to another aspect of the embodiments of the disclosure, a device for processing image is provided.
Optionally, the sum of the image resolutions represented by every n rows of image data in the second image data is equal to the first resolution, where n is a positive integer greater than or equal to 2.
Optionally, the image processing module 62 includes: a setting unit, configured to set the resolution of the frame buffer to the first resolution; an image processing unit, configured to perform layer overlapping on the data to be transmitted according to the first resolution to obtain the first image data; and a storing unit, configured to store the first image data to the frame buffer.
Optionally, the image processing unit includes: an obtaining subunit, configured to obtain at least two frames of data to be transmitted; and an image processing subunit, configured to perform image rendering on each row of image data in the at least two frames of data to be transmitted according to the first resolution to obtain the first image data, the image resolution represented by each row of image data in which is the first resolution.
Optionally, the splitting module 64 includes: a first resolution obtaining unit, configured to obtain 1/n of the length of the first resolution and n times the height of the first resolution to obtain the second resolution; and a first splitting unit, configured to extract the first image data according to the second resolution to obtain the second image data, the image resolution represented by which is the second resolution. Or, the splitting module 64 includes: a second resolution obtaining unit, configured to obtain 1/n of the height of the first resolution and n times the length of the first resolution to obtain the second resolution; and a second splitting unit, configured to extract the first image data according to the second resolution to obtain the second image data, the image resolution represented by which is the second resolution.
Optionally, the device for processing image provided by the embodiments of the disclosure includes: a sending module, configured to splice every n rows of image data in the second image data to restore the data to the first image data, and send the first image data after restoration.
Optionally, the sending module includes: a storing unit, configured to store the valid data in each row of the image data in the second image data to the memory; a data obtaining unit, configured to obtain the valid data in each row of the image data according to the preset row relationship to obtain at least one group of n rows of interrelated valid data; and a restoring unit, configured to combine the n rows of interrelated valid data in each group into one row, and obtain through restoration the first image data, the image resolution represented by which is the first resolution.
Optionally, the restoring unit includes: a first resolution obtaining subunit, configured to obtain the n times the length and 1/n of the height of the second resolution to obtain the first resolution; and a first extracting subunit, configured to extract the n rows of interrelated valid data in each group according to the first resolution to obtain a row of image data, the image resolution represented by which is the first resolution. Or, the restoring unit includes: a second resolution obtaining subunit, configured to obtain the 1/n of the length and n times the height of the second resolution to obtain the first resolution; and a second extracting subunit, configured to extract the n rows of interrelated valid data in each group according to the first resolution to obtain a row of image data, the image resolution represented by which is the first resolution.
According to another aspect of the embodiments of the disclosure, another device for processing image is provided.
Optionally, the decoding module 74 includes: a decoding unit, configured to decode the first image data to obtain the decoded image data, the image resolution represented by each row of image data in which is the first resolution; and a sorting unit, configured to sort the decoded image data according to a time sequence to obtain the first image data to be displayed.
According to yet another aspect of the embodiments of the disclosure, an image transmitting device is provided. As shown in
Optionally, that the first image data are obtained specifically includes that: the resolution of the frame buffer is set to the first resolution; layer overlapping is performed on the data to be transmitted according to the first resolution to obtain the first image data; and the first image data is stored to the frame buffer.
According to yet another aspect of the embodiments of the disclosure, an image transmitting system is provided.
The multimedia player box 82 sets the maximum resolution in the Android system, so that the multimedia player, which originally supports the length of 1920 pixels, renders the data to be transmitted through the frame buffer according to the maximum resolution to obtain the data to be transmitted with the length of 3840 pixels. But because the LCDC of the multimedia player only supports data extraction and timing conversion with the length of 1920 pixels, in order to ensure that the data to be transmitted with the length of 3840 pixels can be output smoothly, the data to be transmitted with the length of 3840 pixels are split into two rows of data with the length of 1920 pixels, thereby overcoming the problem of limited display of the LED display screen due to the load limitation of hardware devices. Because the data are split into two rows of data with the length of 1920 pixels at the LCDC, in order to achieve the ultra-long display on the LED display screen (that is, the display device in the embodiments of the disclosure), two rows of data with the length of 1920 pixels are combined through FPGA to obtain the data to be transmitted with the length of 3840 pixels, and the data to be transmitted with the length of 3840 pixels are sent to the display device, so as to achieve the effect of doubling the resolution and the function of LED ultra-long display.
The display device 84 receives, through the FPGA receiving card, the data to be transmitted at the first resolution sent by the multimedia player box, decodes the data to be transmitted at the first resolution through the FPGA receiving card to obtain the data to be transmitted at the first resolution for display, and then drives, through the FPGA receiving card, the LED display screen to display the data to be transmitted at the first resolution for display, thereby achieving the ultra-long display.
It is to be noted that the embodiments of the disclosure are illustrated only taking the multimedia player box, the chip in which supports the resolution 1920×1080, as an example. In addition, the multimedia player box, the chip in which supports the resolution 4096×2160 (that is, 4K definition) is also applicable to the image transmitting system provided in the embodiments of the disclosure. If the image transmitting system provided in the embodiments of the disclosure is used, the resolution can be improved to 8192×1080, so the image transmitting system provided in the embodiments of the disclosure is only illustrated with the above example, which is subject to implementing the image transmitting system provided in the embodiments of the disclosure, without any specific restrictions.
According to another aspect of the embodiments of the disclosure, a non-transitory storage medium is provided, which includes a stored program. When running, the program controls a device where the non-transitory storage medium is to execute the method for processing Image in the first embodiment or the second embodiment.
According to another aspect of the embodiments of the disclosure, a processor is provided, which is configured to run a program stored in a storage medium. When running, the program executes the method for processing Image in the first embodiment or the second embodiment.
The sequence numbers of the embodiments of the disclosure are just for describing, instead of representing superiority-inferiority of the embodiments.
In the above embodiments of the disclosure, the descriptions of the embodiments focus on different aspects. A part which is not described in a certain embodiment in detail may refer to the related description of the other embodiments.
In the several embodiments provided in the disclosure, it should be understood that the technical contents disclosed may be realized in other ways. The embodiment of the device described above is only schematic; for example, the division of the units is only a division of logical functions, and there may be other dividing modes during the actual implementation, for example, multiple units or components may be combined or integrated to another system, or some features may be ignored or are not executed. In addition, coupling, direct coupling, or communication connection shown or discussed may be implemented through indirect coupling or communication connection of some interfaces, units or modules, and may be in an electrical form or other forms.
The units described as separate parts may be or may not be separate physically. The part shown as the unit may be or may not be a physical unit, that is to say, it may be in a place or distributed on multiple network units. Part or all of the units may be selected to achieve the purpose of the solutions of the embodiments according to a practical requirement.
Moreover, all the function units in the embodiments of the disclosure may be integrated in a processing unit; or the units exist separately and physically; or two or more than two units are integrated in a unit. The integrated unit may be realized in form of hardware or in form of software function unit.
If the integrated unit is implemented by software function modules, and the software function modules are sold or used as independent products, they can also be stored in a computer readable storage medium. Based on this understanding, the technical solution of the embodiments of the disclosure substantially or the part making a contribution to the conventional art can be embodied in the form of software product; the computer software product is stored in a storage medium, and includes a number of instructions to make a computer device (which may be a personal computer, a server or a network device, etc.) perform all or part of steps of the method in each embodiment of the disclosure. The storage media include, but not limited to, a USB flash disk, an ROM, an RAM, a mobile hard disk, a magnetic disk, a compact disc, and other media capable of storing the program codes.
The above is only the preferred embodiments of the disclosure; it should be indicated that, on the premise of not departing from the principles of the disclosure, those of ordinary skill in the art may also make a number of improvements and supplements, and these improvements and supplements should fall within the protection scope of the disclosure.
The disclosure claims priority to International Patent Application No. PCT/CN2020/082607, filed to the International Bureau, WIPO on Mar. 31, 2020 and entitled “Method, device for processing Image, and system”, the disclosure of which is hereby incorporated by reference in its entirety.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2020/082607 | 3/31/2020 | WO |