[go: up one dir, main page]

CN115633181B - Picture processing method, system, device, image compression device and storage medium - Google Patents

Picture processing method, system, device, image compression device and storage medium Download PDF

Info

Publication number
CN115633181B
CN115633181B CN202211554111.8A CN202211554111A CN115633181B CN 115633181 B CN115633181 B CN 115633181B CN 202211554111 A CN202211554111 A CN 202211554111A CN 115633181 B CN115633181 B CN 115633181B
Authority
CN
China
Prior art keywords
pixel point
point data
discarded
data
compression engine
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
CN202211554111.8A
Other languages
Chinese (zh)
Other versions
CN115633181A (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.)
Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd
Original Assignee
Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd filed Critical Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd
Priority to CN202211554111.8A priority Critical patent/CN115633181B/en
Publication of CN115633181A publication Critical patent/CN115633181A/en
Application granted granted Critical
Publication of CN115633181B publication Critical patent/CN115633181B/en
Priority to PCT/CN2023/105771 priority patent/WO2024119812A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/182Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a pixel

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention discloses a picture processing method, a system, a device, an image compression device and a storage medium, and relates to the field of picture processing. When the compression engine is in an idle state, transmitting each pixel point data acquired from continuous images to the compression engine so as to compress the current pixel point data and then transmit the current pixel point data to a system memory; when the compression engine is in a busy state, setting the current pixel data as discarded pixel data and sending the discarded pixel data to the discarded pixel processing module; and if the current pixel point data is the frame tail pixel point data of one frame of image and the compression engine is in an idle state, acquiring each discarded pixel point data from the discarded pixel point processing module and sending the discarded pixel point data to the compression engine for compression. On one hand, each pixel point data is compressed, the performance requirement on a compression engine is reduced, and the pixel point data is transmitted according to the transmission, so that the transmission according to frames is not needed, the occupation of storage bandwidth is reduced, and the fluency of a compressed picture is improved.

Description

Picture processing method, system, device, image compression device and storage medium
Technical Field
The present invention relates to the field of image processing, and in particular, to an image processing method, system, device, image compression device, and storage medium.
Background
When monitoring a remote server, a Baseboard Management Controller (BMC) is mainly used for detecting health states of temperature, voltage and the like of each component (a CPU, a memory, a hard disk, a fan, a frame and the like) of the remote server, so as to report to an upper computer in time when an abnormal condition is detected, and a worker can process the remote server in time.
However, when the remote server is remotely managed, the BMC needs to transmit the monitoring picture of the remote server to the local device for display, in the prior art, when the BMC transmits a picture, each frame of picture is firstly subjected to image compression, and then the compressed image is transmitted to the local device through the network.
Disclosure of Invention
The invention aims to provide a picture processing method, a system, a device, an image compression device and a storage medium, which compress each pixel point data on one hand, reduce the performance requirement on a compression engine, and reduce the occupation of storage bandwidth and improve the fluency of a compressed picture because the transmission is carried out according to the transmission pixel point data without frame transmission.
In order to solve the above technical problem, the present invention provides an image processing method, including:
sequentially acquiring pixel point data in each frame of image from continuous images;
when the compression engine is in an idle state, sending the acquired current pixel point data to the compression engine so that the compression engine compresses the current pixel point data and then sends the compressed current pixel point data to a system memory;
when the compression engine is in a busy state, setting the current pixel point data as discarded pixel point data and sending the discarded pixel point data to a discarded pixel point processing module;
when the current pixel point data is frame tail pixel point data of a frame of image, after the current pixel point data is sent to the compression engine or the discarded pixel point processing module, and the compression engine is in an idle state, acquiring each discarded pixel point data from the discarded pixel point processing module and sending the discarded pixel point data to the compression engine.
Preferably, the pixel point data includes position data and color data in one frame image.
Preferably, when the current pixel point data is frame-end pixel point data of a frame of image, after the current pixel point data is sent to the compression engine or the discarded pixel point processing module, and the compression engine is in an idle state, obtaining each discarded pixel point data from the discarded pixel point processing module and sending the discarded pixel point data to the compression engine, includes:
judging whether the current pixel point data is positioned at the frame tail of a frame of image or not based on the position data of the current pixel point data;
if yes, the current pixel point data is the frame tail pixel point data of a frame of image;
and after the current pixel point data is sent to the compression engine or the discarded pixel point processing module, when the compression engine is in an idle state, acquiring each discarded pixel point data from the discarded pixel point processing module and sending the discarded pixel point data to the compression engine.
Preferably, sequentially obtaining each pixel data in each frame of image from the continuous images includes:
sequentially acquiring the color data of each pixel point according to the position of each pixel point of each continuous frame image, and determining the position data of each pixel point based on the position of each pixel point in one frame image;
determining the pixel point data based on the color data and the position data.
Preferably, when the compression engine is in a busy state, the method sets the current pixel point data as discarded pixel point data and sends the discarded pixel point data to the discarded pixel point processing module, and includes:
and when the compression engine is in a busy state, recording the position data of the current pixel point data as the position data of the last discarded pixel point, setting the current pixel point data as the discarded pixel point data, and sending the discarded pixel point data to the discarded pixel point processing module.
Preferably, after the current pixel data is sent to the compression engine or the discarded pixel processing module, when the compression engine is in an idle state, obtaining each discarded pixel data from the discarded pixel processing module and sending the discarded pixel data to the compression engine includes:
after the current pixel point data is sent to the compression engine or the discarded pixel point processing module, the discarded pixel point data is sequentially obtained according to the sequence of the position data of the discarded pixel point data until the position data is the discarded pixel point data of the last discarded pixel point position data and sent to the compression engine in an idle state.
Preferably, the method further comprises the following steps:
acquiring each compressed pixel point data from the system memory and decompressing;
and restoring the image of each frame based on the position data in each pixel point data after the decompression processing.
Preferably, restoring each frame of the image based on the position data in each pixel point data after the decompression processing includes:
and determining the position of each pixel point in a frame of image according to the position data in each pixel point data after decompression processing so as to restore each frame of image.
Preferably, sequentially obtaining each pixel data in each frame of image from the continuous images includes:
and sequentially storing the pixel data in each frame of image sequentially acquired from the continuous images into an FIFO memory.
Preferably, when the compression engine is in an idle state, sending the obtained current pixel point data to the compression engine, so that the compression engine compresses the current pixel point data and sends the compressed current pixel point data to a system memory, including:
and when the compression engine is in an idle state, acquiring the current pixel point data from the FIFO memory and sending the current pixel point data to the compression engine so that the compression engine compresses the current pixel point data and sends the current pixel point data to a system memory.
Preferably, when the compression engine is in a busy state, the method sets the current pixel data as discarded pixel data and sends the discarded pixel data to the discarded pixel processing module, and includes:
and when the compression engine is in a busy state, acquiring the current pixel point data from the FIFO memory, setting the current pixel point data as discarded pixel point data, and sending the discarded pixel point data to a discarded pixel point processing module.
Preferably, when the current pixel point data is frame-end pixel point data of a frame of image, after the current pixel point data is sent to the compression engine or the discarded pixel point processing module, and the compression engine is in an idle state, obtaining each discarded pixel point data from the discarded pixel point processing module and sending the discarded pixel point data to the compression engine, includes:
when the current pixel point data is the frame tail pixel point data of one frame of image, after the current pixel point data is sent to the compression engine or the discarded pixel point processing module, and the compression engine is in a busy state, acquiring the next frame of pixel point data in the next frame of image of the image where the current pixel point data is located from the FIFO memory, setting the next frame of pixel point data as the next discarded pixel point data, and sending the next frame of pixel point data to the discarded pixel point processing module;
when the compression engine is in an idle state, acquiring the data of each discarded pixel point from the discarded pixel point processing module and sending the data to the compression engine;
and acquiring next frame pixel point data in a next frame image of the image where the current pixel point data is located from the FIFO memory and sending the next frame pixel point data to the compression engine so that the compression engine compresses the next frame pixel point data and sends the next frame pixel point data to a system memory.
Preferably, the obtaining, from the FIFO memory, pixel point data of a next frame in an image next to the image where the current pixel point data is located and sending the pixel point data of the next frame to the compression engine, so that after the compression engine compresses the pixel point data of the next frame and sends the compressed pixel point data of the next frame to a system memory, the method further includes:
and when the next frame of pixel point data is frame tail pixel point data of one frame of image, after the next frame of pixel point data is sent to the compression engine or the discarded pixel point processing module, and the compression engine is in an idle state, acquiring each next frame of discarded pixel point data from the discarded pixel point processing module and sending the next frame of discarded pixel point data to the compression engine.
To solve the above technical problem, the present invention provides an image processing system, comprising:
a first acquisition unit configured to sequentially acquire pixel point data in each frame image from a continuous image;
the first sending unit is used for sending the acquired current pixel point data to the compression engine when the compression engine is in an idle state so as to enable the compression engine to compress the current pixel point data and then send the compressed current pixel point data to a system memory;
the second sending unit is used for setting the current pixel point data as discarded pixel point data and sending the discarded pixel point data to the discarded pixel point processing module when the compression engine is in a busy state;
and the second acquisition unit is used for acquiring each discarded pixel point data from the discarded pixel point processing module and transmitting the discarded pixel point data to the compression engine when the compression engine is in an idle state after the current pixel point data is transmitted to the compression engine or the discarded pixel point processing module when the current pixel point data is frame tail pixel point data of one frame of image.
To solve the above technical problem, the present invention provides an image processing apparatus comprising:
a memory for storing a computer program;
a processor for implementing the steps of the image processing method as described above when executing the computer program.
In order to solve the above technical problem, the present invention provides an image compression apparatus, including the image processing apparatus as described above, further including:
the compression engine is connected with the processor and is used for compressing the pixel point data and then sending the pixel point data to the system memory;
and the discarded pixel point processing module is connected with the processor and is used for caching the data of each discarded pixel point.
Preferably, the discarded pixel processing module includes:
the discarding control module is connected with the processor and used for receiving the discarded pixel point data and the discarded pixel point data of the next frame and sending the discarded pixel point data and the discarded pixel point data of the next frame to the pixel discarding recording module, or obtaining the discarded pixel point data and the discarded pixel point data of the next frame through the pixel discarding recording module and sending the discarded pixel point data and the discarded pixel point data of the next frame to the processor;
the frame tail information adding module is connected with the discarding control module and used for sequencing each discarded pixel point data according to position data and sequencing each discarded pixel point data of the next frame according to the position data, so that the discarding control module sends each discarded pixel point data to the processor in sequence or sends each discarded pixel point data of the next frame to the processor in sequence;
the pixel discarding record module connected to the discarding control module is configured to store the discarded pixel point data and the discarded pixel point data of the next frame into a discarding memory, or send the discarded pixel point data and the discarded pixel point data of the next frame in the discarding memory to the discarding control module;
and the discarding memory connected with the pixel discarding recording module is used for storing the discarded pixel point data and the discarded pixel point data of the next frame.
Preferably, the discard memory comprises a first discard memory and a second discard memory;
the first discard memory is for storing the discarded pixel point data;
the second discard memory is for storing the next frame discard pixel point data.
Preferably, the method further comprises the following steps:
and the FIFO memory is connected with the processor and used for buffering each pixel point data in each frame image.
To solve the above technical problem, the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the image processing method as described above.
The application provides a picture processing method, a system, a device, an image compression device and a storage medium, and relates to the field of picture processing. When the compression engine is in an idle state, transmitting each pixel point data acquired from continuous images to the compression engine so as to compress the current pixel point data and then transmit the current pixel point data to a system memory; when the compression engine is in a busy state, setting the current pixel point data as discarded pixel point data and sending the discarded pixel point data to the discarded pixel point processing module; and if the current pixel point data is the pixel point data at the end of the frame of the image and the compression engine is in an idle state, acquiring each discarded pixel point data from the discarded pixel point processing module and sending the discarded pixel point data to the compression engine for compression. On one hand, each pixel point data is compressed, the performance requirement on a compression engine is reduced, and the pixel point data is transmitted according to the transmission, so that the transmission according to frames is not needed, the occupation of storage bandwidth is reduced, and the fluency of a compressed picture is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic flow chart of an image processing method according to the present invention;
FIG. 2 is a schematic diagram of an image processing system according to the present invention;
FIG. 3 is a schematic structural diagram of an image processing apparatus according to the present invention;
FIG. 4 is a schematic structural diagram of an image compression apparatus according to the present invention;
fig. 5 is a schematic structural diagram of a computer-readable storage medium provided by the present invention.
Detailed Description
The core of the invention is to provide a picture processing method, a system, a device, an image compression device and a storage medium, on one hand, each pixel point data is compressed, the performance requirement on a compression engine is reduced, and because the pixel point data is transmitted according to the transmission, the transmission according to the frame is not needed, the occupation of the storage bandwidth is reduced, and the fluency of the compressed picture is improved.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flow chart of an image processing method according to the present invention, the method including:
s11: sequentially acquiring pixel point data in each frame of image from continuous images;
in the prior art, when an image of a remote server is compressed, each frame of image is compressed and transmitted to a system memory for storage, so that a local device acquires the compressed image from the system memory and displays the compressed image, but when the compression engine 41 compresses the image, due to the limitation of the performance of the compression engine 41, the efficiency of compressing one frame of image by the compression engine 41 is low, but a monitoring image of the remote server is continuously generated, if the compression engine 41 is in a busy state, the continuously generated image cannot be compressed in time and can only be discarded, and after the image is discarded, a finally displayed image of the local device is not smooth but is sufficient to display the state of the remote server, so that frame loss is allowed in the prior art.
However, considering that when the picture displayed by the local device is not smooth, the user may miss important information, in order to improve the picture smoothness and reduce the requirement for the performance of the compression engine 41, in the present application, the image is not compressed by frames, but each pixel point data in each frame of image is sequentially obtained from continuous images, that is, the pixel point data is compressed in the present application, because the data amount of one pixel point data is smaller than that of one frame of image, the performance of the compression engine 41 may be reduced, and when the compressed pixel point data is stored in the system memory, because the data amount of the pixel point data is smaller, the occupation of the storage bandwidth is smaller, and it is convenient for the system memory to perform other algorithm operations.
S12: when the compression engine 41 is in an idle state, sending the obtained current pixel point data to the compression engine 41, so that the compression engine 41 compresses the current pixel point data and sends the current pixel point data to the system memory;
since the image is continuously generated, when the compression engine 41 compresses the pixel point data, the compression engine 41 may be in a busy state due to a large amount of data, and at this time, the compression engine 41 cannot compress the subsequent pixel point data, so in this embodiment, only when the compression engine 41 is in an idle state, the current pixel point data is sent to the compression engine 41 for compression.
S13: when the compression engine 41 is in a busy state, setting the current pixel point data as discarded pixel point data and sending the discarded pixel point data to the discarded pixel point processing module;
when the compression engine 41 is in a busy state, the compression engine 41 cannot compress the current pixel point, and in the prior art, because the compression engine 41 compresses one frame of image, if the compression engine 41 is in a busy state, the subsequent image is directly discarded until the compression engine 41 is idle, and the subsequent image is compressed, but the compressed image is discontinuous due to frame loss, and the image played by the local device is also discontinuous.
In the present application, since each pixel point data in one frame of image is compressed respectively, the performance requirement of the compression engine 41 is reduced, if the compression engine 41 is currently in a busy state, only the current pixel point data is set as the discarded pixel point data and is sent to the discarded pixel point data, and not the entire frame of image is discarded.
S14: when the current pixel point data is the frame-end pixel point data of one frame of image, after the current pixel point data is sent to the compression engine 41 or the discarded pixel point processing module, and the compression engine 41 is in an idle state, each discarded pixel point data is obtained from the discarded pixel point processing module and sent to the compression engine 41.
If the current pixel point data is frame-tail pixel point data of one frame of image, each pixel point in the one frame of image where the current pixel point data is located is compressed by the compression engine 41 or is sent to the discarded pixel point processing module, after the current pixel point data is sent to the compression engine 41 or is sent to the discarded pixel point processing module, in order to ensure the integrity of the one frame of image, the compression engine 41 is in an idle state, then each discarded pixel point data is obtained from the discarded pixel point processing module and is sent to the compression engine 41 for compression, based on this, although each pixel point data in the one frame of image is compressed out of order, each pixel point data is not discarded, and the image finally displayed by the local equipment is a complete and continuous image.
For example, one frame of image includes first to tenth pixels, and certainly, in a practical case, one frame of image generally includes 1024 × 728 pixels, but for convenience of description, one frame of image includes ten pixels as an example here. When the current pixel point data is the pixel point data of the first pixel point, that is, the first pixel point data, if the compression engine 41 is in an idle state, the first pixel point data may be sent to the compression engine 41 for compression, and if the compression engine 41 is in a busy state, if the pixel point data of the previous frame of image is being compressed, the first pixel point data is set as discarded pixel point data and sent to the discarded pixel point processing module; no matter the first pixel point data is sent to the compression engine 41 or the discarded pixel point processing module, when the second pixel point data is the current pixel point data, it is still necessary to determine whether the compression engine 41 is in an idle state or a busy state again, if the compression engine 41 is in the idle state, the second pixel point data can be sent to the compression engine 41 for compression, if the compression engine 41 is in the busy state, the second pixel point data is set as the discarded pixel point data and sent to the discarded pixel point processing module, and so on, until the current pixel point data is the tenth pixel point data, after the tenth pixel point data is sent to the compression engine 41 or the discarded pixel point processing module, each discarded pixel point data in the discarded pixel point processing module is sent to the compression engine 41 for compression when the compression engine 41 is in the idle state. Specifically, if the first, fifth, and seventh pixel point data are all set as discarded pixel point data, after the tenth pixel point data is sent to the compression engine 41, the discarded pixel point data corresponding to the first, fifth, and seventh pixel point data is obtained from the discarded pixel point processing module and sent to the compression engine 41 when the compression engine 41 is in an idle state, based on which, the ten pixel point data in one frame of image are stored in the system memory, and the integrity of the one frame of image can be ensured.
To sum up, when the compression engine 41 is in an idle state, sending each pixel point data acquired from the continuous images to the compression engine 41, so as to compress the current pixel point data and send the compressed pixel point data to the system memory; when the compression engine 41 is in a busy state, the current pixel data is set as discarded pixel data and sent to the discarded pixel processing module; if the current pixel point data is the frame end pixel point data of one frame of image and the compression engine 41 is in the idle state, the discarded pixel point data is obtained from the discarded pixel point processing module and sent to the compression engine 41 for compression. On one hand, each pixel point data is compressed, so that the performance requirement on the compression engine 41 is reduced, and the transmission is performed according to the transmission pixel point data, so that the transmission according to frames is not needed, the occupation of the storage bandwidth is reduced, and the fluency of the compressed picture is improved.
On the basis of the above-described embodiment:
as a preferred embodiment, the pixel point data includes position data and color data in one frame image;
when the current pixel point data is the frame end pixel point data of one frame of image, after the current pixel point data is sent to the compression engine 41 or the discarded pixel point processing module, and the compression engine 41 is in an idle state, the method obtains each discarded pixel point data from the discarded pixel point processing module and sends the discarded pixel point data to the compression engine 41, and includes:
judging whether the current pixel point data is positioned at the frame tail of a frame of image or not based on the position data of the current pixel point data;
if yes, the current pixel point data is the frame tail pixel point data of one frame of image;
after the current pixel point data is sent to the compression engine 41 or the discarded pixel point processing module, when the compression engine 41 is in an idle state, each discarded pixel point data is obtained from the discarded pixel point processing module and sent to the compression engine 41.
Each pixel point data in one frame of image in the application comprises position data and color data, namely the position of one pixel point data in one frame of image and the color of the position, and based on the position data, different or same colors of different positions form one frame of image.
Based on this, whether the current pixel point data is the frame tail pixel point data or not can be determined through the position data in each pixel point data, or the sequence of the current pixel point data is determined according to the pixel point number in one frame of image and the position data of the current pixel point data, so as to determine whether the current pixel point data is the frame tail pixel point data of one frame of image or not.
When the current pixel point data is frame tail pixel point data, it may be determined that each pixel point data in a frame of image has been sent to the compression engine 41 for compression or sent to the discarded pixel point processing module, and in order to ensure the integrity of the frame of image, after the frame tail pixel point data is compressed or discarded, each discarded pixel point data is extracted back from the discarded pixel point processing module, although each pixel point data of the frame of image in the system memory is not stored according to the position sequence in the frame of image, because the pixel point data includes the position data of the pixel point, after each pixel point data in the compressed frame of image is obtained from the system memory, the local device may determine the color data of each position in the frame of image according to the position data in each pixel point data, thereby restoring the image before compression.
As a preferred embodiment, sequentially acquiring data of each pixel point in each frame of image from consecutive images includes:
sequentially acquiring color data of each pixel point according to the position of each pixel point of each continuous frame image, and determining the position data of the pixel point based on the position of each pixel point in one frame image;
pixel point data is determined based on the color data and the position data.
In this embodiment, when obtaining each pixel point data of each frame of image from a continuous image, since the pixel point at each position in one frame of image has its own color, and one frame of image is composed of the colors of the pixel points at different positions, when generating the pixel point data, the position data of each pixel point in one frame of image and the color of each position in one frame of image are specifically determined, thereby determining the color data of each position, and the pixel point data can be determined according to the position data and the color data.
As a preferred embodiment, when the compression engine 41 is in a busy state, the method for setting the current pixel data as the discarded pixel data and sending the discarded pixel data to the discarded pixel processing module includes:
when the compression engine 41 is in a busy state, the position data of the current pixel point data is recorded as the position data of the last discarded pixel point, and the current pixel point data is set as discarded pixel point data and is sent to the discarded pixel point processing module.
In this embodiment, each time the current pixel point data is set as the discarded pixel point data and transmitted to the discarded pixel point processing module, the position data of the current pixel point data is recorded as the last discarded pixel point position data, and if the first pixel point data is the current pixel point data but the compression engine 41 is in a busy state, the position data of the first pixel point data is recorded as the last discarded pixel point position data and the first pixel point data is set as the discarded pixel point data and transmitted to the discarded pixel point processing module, but if the position data of the first pixel point data is set as the last discarded pixel point position data, the second pixel point data is normally compressed, and the compression engine 41 is in a busy state again when the third pixel point data is the current pixel point data, the position data of the third pixel point data is recorded as the last discarded pixel point position data and the third pixel point data is set as the discarded pixel point data and transmitted to the discarded pixel point processing module, the first pixel point data and the third pixel point data are both discarded pixel point data, but only the position data of the third pixel point data is updated as the last discarded pixel point position data, that is in a discarded frame image, and the last discarded pixel point data is set as the discarded pixel point position data.
Based on this, it can be determined that the last position data in a frame of image is set as the pixel point data of the discarded pixel point position data, so that all discarded pixel point data can be obtained in the discarded pixel point processing module without omission.
As a preferred embodiment, after sending the current pixel point data to the compression engine 41 or the discarded pixel point processing module, when the compression engine 41 is in an idle state, acquiring each discarded pixel point data from the discarded pixel point processing module and sending the discarded pixel point data to the compression engine 41, including:
after the current pixel point data is sent to the compression engine 41 or the discarded pixel point processing module, each discarded pixel point data is sequentially obtained according to the order of the position data of each discarded pixel point data until the obtained discarded pixel point data with the position data being the last discarded pixel point position data is sent to the compression engine 41 in the idle state.
The position data of the last discarded pixel point data is set, when the discarded pixel point data is obtained from the discarded pixel point processing module, the discarded pixel point data can be obtained in sequence according to the sequence of the position data of the discarded pixel point data, for example, only the first, the third and the seventh pixel point data in a frame image are the discarded pixel point data, the position data of the seventh pixel point data is the position data of the last discarded pixel point, after the tenth pixel point data is compressed, when the compression engine 41 is idle, the discarded pixel point data corresponding to the first pixel point data is obtained for compression, then the discarded pixel point data corresponding to the third pixel point data is obtained for compression, when the discarded pixel point data corresponding to the seventh pixel point data is obtained, the position data of the seventh pixel point data is determined to be the position data of the last discarded pixel point, after the seventh pixel point data is compressed, the pixel point data in the frame image in which the current pixel point data does not exist in the discarded pixel point processing module can be determined, the compression and storage of the frame image can be completed, and the compression of the pixel point data of the next frame image can be performed.
Therefore, by setting the position data of the last discarded pixel point, whether discarded pixel point data in one frame of image still exists in the discarded pixel point processing module can be determined, and the reduction of the compression efficiency caused by the fact that whether discarded pixel point data still exist in the discarded pixel point processing module is avoided.
As a preferred embodiment, sequentially acquiring data of each pixel point in each frame of image from consecutive images includes:
sequentially storing the data of each pixel point in each frame of image sequentially acquired from the continuous images into an FIFO memory 47;
when the compression engine 41 is in an idle state, the obtained current pixel point data is sent to the compression engine 41, so that the compression engine 41 compresses the current pixel point data and sends the compressed current pixel point data to the system memory, including:
when the compression engine 41 is in an idle state, the current pixel data is acquired from the FIFO memory 47 and sent to the compression engine 41, so that the compression engine 41 compresses the current pixel data and sends the compressed current pixel data to the system memory;
when the compression engine 41 is in a busy state, the method sets the current pixel point data as the discarded pixel point data and sends the discarded pixel point data to the discarded pixel point processing module, which includes:
when the compression engine 41 is in a busy state, the current pixel point data is obtained from the FIFO memory 47 and set as discarded pixel point data to be sent to the discarded pixel point processing module.
In this embodiment, in order to cache each pixel point data, each pixel point data in each continuous frame image is sequentially stored in the FIFO memory 47, when the pixel point data is sent to the compression engine 41 or the discarded pixel point processing module, the pixel point data is obtained from the FIFO memory 47 as the current pixel point data, and after the current pixel point data is sent to the compression engine 41 or the discarded pixel point processing module, the next pixel point data obtained from the FIFO memory 47 is the current pixel point data.
Based on this, the FIFO memory 47 buffers the pixel point data, so that the probability that the pixel point data is discarded when the pixel point data is more can be avoided, and certainly, the storage upper limit of the FIFO memory 47 can be set by a user according to the pixel point data of one frame of image.
As a preferred embodiment, when the current pixel point data is end-of-frame pixel point data of a frame of image, after the current pixel point data is sent to the compression engine 41 or the discarded pixel point processing module, and the compression engine 41 is in an idle state, obtaining each discarded pixel point data from the discarded pixel point processing module and sending the discarded pixel point data to the compression engine 41, includes:
when the current pixel point data is the frame-end pixel point data of one frame of image, after the current pixel point data is sent to the compression engine 41 or the discarded pixel point processing module, and the compression engine 41 is in a busy state, the next frame of pixel point data in the next frame of image of the image where the current pixel point data is located is obtained from the FIFO memory 47, set as the next frame of discarded pixel point data, and sent to the discarded pixel point processing module;
when the compression engine 41 is in an idle state, acquiring each discarded pixel data from the discarded pixel processing module and sending the discarded pixel data to the compression engine 41;
the next frame of pixel point data in the next frame of image of the image where the current pixel point data is located is obtained from the FIFO memory 47 and sent to the compression engine 41, so that the compression engine 41 compresses the next frame of pixel point data and sends the compressed pixel point data to the system memory.
In this embodiment, considering that all the frames of images are continuous, if the current pixel point data is the frame end pixel point data and the current pixel point data is sent to the discarded pixel point processing module, the position data of the current pixel point data is recorded as the position data of the last discarded pixel point and is set as the discarded pixel point data to be sent to the discarded pixel point processing module, but the next frame pixel point data in the next frame image of the frame image where the current pixel point data is located is also obtained, for example, the frame image where the current pixel point data is located is the first frame image, the sequence of frame end pixel points in the first frame image is already sent to the compression engine 41 or the discarded pixel point processing module, after obtaining the first pixel point data of the second frame image as the current pixel point data, the compression engine 41 is still in a busy state, the first pixel point data of the second frame image is set as the next frame discarded pixel point data to be sent to the discarded pixel point processing module, and so on, until the compression engine 41 is in an idle state, the discarded pixel point data in the first frame image is obtained from the discarded pixel point processing module, the discarded pixel point data of the first frame image is sent to the compression engine 41 for compression, but the compression of the first discarded pixel point data is not obtained, and the pressure-sharing pixel point data of the first frame image is obtained, and the image in the first image is obtained from the first discarded pixel point of the discarded pixel point data of the discarded frame.
Based on the method, the continuous frames of images can be respectively compressed, and the integrity of each frame of image is ensured.
As a preferred embodiment, the method for obtaining pixel point data of a next frame in an image next to an image where the current pixel point data is located from the FIFO memory 47 and sending the pixel point data of the next frame to the compression engine 41, so that after the compression engine 41 compresses the pixel point data of the next frame and sends the compressed pixel point data of the next frame to the system memory, further includes:
when the next frame of pixel point data is the frame end pixel point data of the next frame of image, after the next frame of pixel point data is sent to the compression engine 41 or the discarded pixel point processing module, and the compression engine 41 is in an idle state, each next frame of discarded pixel point data is obtained from the discarded pixel point processing module and sent to the compression engine 41.
In this embodiment, after the frame-end pixel point data of the next frame image is sent to the compression engine 41 or the discarded pixel point data is sent, if the compression engine 41 is in an idle state, the discarded pixel point data of each next frame is obtained from the discarded pixel point processing module and sent to the compression engine 41 for compression.
Specifically, for example, after the compression of each pixel point data in the first frame image is completed, only the first pixel point data, the second pixel point data, and the third pixel point data in the second frame image are set as the discarded pixel point data of the next frame and sent to the discarded pixel point processing module, when the compression engine 41 is in an idle state after the compression of the pixel point data at the end of the frame in the next second frame image is completed, each discarded pixel point data of the next frame is obtained from the discarded pixel point processing module and compressed, so that the compression of each pixel point data in the second frame image is realized.
Based on this, can not only guarantee in this application that each pixel in a frame of image is not missed all compressed and accomplished, can also compress the pixel data of continuous multiframe image according to the frame to guarantee the continuous integrality of image.
It should be further noted that, the system memory in this application is DDR, and when the compression engine 41 sends the compressed pixel data to the system memory, the DDR controller needs to perform transfer processing therein, so that the system memory needs to occupy the DDR controller, that is, the memory bandwidth, when storing one compressed pixel data, but since the data amount of one pixel data is much smaller than that of one frame of image, the occupation time of the memory bandwidth is shorter in this application.
In addition, in the present application, the pixel point data may be obtained by the image obtaining module, and when it is determined that the current pixel point data should be sent to the compression engine 41 or the pixel point processing module is discarded, the pixel point data may be obtained by the frame rate control module.
As a preferred embodiment, further comprising:
acquiring each compressed pixel point data from a system memory and decompressing;
and restoring each frame of image based on the position data in each pixel point data after the decompression processing.
As a preferred embodiment, restoring each frame of image based on the position data in each pixel point data after the decompression processing includes:
and determining the position of each pixel point in one frame of image according to the position data in each pixel point data after decompression processing so as to restore each frame of image.
After the pixel point data in each frame of image is compressed and stored in the DDR, when the local device acquires an image from the DDR, the local device may specifically acquire the compressed pixel point data of each frame of image in the DDR from the image acquisition processor 32 through the network module, decompress the pixel point data, and restore each frame of image according to the position data of each pixel point data, so as to display a continuous and clear image.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an image processing system according to the present invention, the system including:
a first obtaining unit 21 configured to sequentially obtain each pixel point data in each frame image from a continuous image;
the first sending unit 22 is configured to send the obtained current pixel point data to the compression engine 41 when the compression engine 41 is in an idle state, so that the compression engine 41 compresses the current pixel point data and sends the compressed current pixel point data to the system memory;
a second sending unit 23, configured to set the current pixel point data as discarded pixel point data and send the discarded pixel point data to the discarded pixel point processing module when the compression engine 41 is in a busy state;
the second obtaining unit 24 is configured to, when the current pixel point data is frame-end pixel point data of one frame of image, after the current pixel point data is sent to the compression engine 41 or the discarded pixel point processing module, and the compression engine 41 is in an idle state, obtain each discarded pixel point data from the discarded pixel point processing module and send the discarded pixel point data to the compression engine 41.
For a specific description of the image processing system provided by the present invention, reference is made to the above method embodiments, and the present invention is not repeated herein.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an image processing apparatus according to the present invention, the apparatus includes:
a memory 31 for storing a computer program;
a processor 3232, configured to implement the steps of the image processing method as described above when executing the computer program.
For a detailed description of the image processing apparatus provided by the present invention, please refer to the above method embodiment, which is not described herein again.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an image compression apparatus provided in the present invention, the apparatus includes the image processing apparatus as described above, and further includes:
a compression engine 41 connected to the processor 32, configured to compress pixel point data and send the compressed pixel point data to a system memory;
and a discarded pixel point processing module connected to the processor 32, configured to buffer each discarded pixel point data.
The compression engine 41 in this embodiment is configured to compress pixel point data in each frame of image, and send the compressed pixel point data to the system memory, but when the system memory is occupied, the compression engine 41 cannot send the compressed pixel point data to the system memory, and at this time, the compression engine 41 is in a busy state, and subsequent pixel point data only needs to be sent to the discarded pixel point processing module as discarded pixel point data.
The discarded pixel point processing module is configured to cache each discarded pixel point data, and specifically, the main function includes receiving each discarded pixel point data, or sending each pixel point data to the processor 32 when the processor 32 obtains the discarded pixel point data.
In addition, please refer to the above method embodiments for a specific description of an image compression apparatus provided by the present invention, which is not repeated herein.
As a preferred embodiment, the discarding pixel processing module includes:
a discarding control module 42 connected to the processor 32, configured to receive the discarded pixel point data and the discarded pixel point data of the next frame and send them to the pixel discarding recording module 44, or obtain the discarded pixel point data and the discarded pixel point data of the next frame through the pixel discarding recording module 44 and send them to the processor 32;
a frame tail information adding module 43 connected to the discarding control module 42, configured to sort each discarded pixel point data according to the position data, and sort each discarded pixel point data of the next frame according to the position data, so that the discarding control module 42 sends each discarded pixel point data to the processor 32 in sequence or sends each discarded pixel point data of the next frame to the processor 32 in sequence;
a pixel discarding record module 44 connected to the discarding control module 42, configured to store the discarded pixel point data and the discarded pixel point data of the next frame into the discarding memory, or send the discarded pixel point data in the discarding memory and the discarded pixel point data of the next frame to the discarding control module 42;
a drop memory connected to the pixel drop recording module 44 for storing dropped pixel point data and next frame dropped pixel point data.
The discarded pixel point processing module in this embodiment includes a discarded control module 42, a frame tail information appending module 43, a pixel discarded recording module 44, and a discarded memory, where the discarded control module 42 receives discarded pixel point data or next discarded pixel point data mainly according to a request of the processor 32 to send the discarded pixel point data to the discarded pixel point processing module, or sends each discarded pixel point data or next discarded pixel point data to the processor 32 according to a request of the processor 32 to obtain the discarded pixel point data from the discarded pixel point processing module, and the frame tail appending module sorts each discarded pixel point data and each next discarded pixel point data respectively, so that the processor 32 can receive each discarded pixel point data according to a position sequence to obtain each next discarded pixel point data, thereby reducing a disorder degree of the pixel point data and reducing a workload of the processor 32.
The pixel discard recording module 44 in this embodiment mainly stores the discarded pixel point data and the discarded pixel point data of the next frame into the discard memory, or sends the discarded pixel point data and the discarded pixel point data of the next frame in the discard memory to the discard control module 42.
The discard control module 42, the end-of-frame information adding module 43, and the pixel discard recording module 44 in the present application may be implemented by a gate or a hardware link, but are not limited thereto.
As a preferred embodiment, the discard memories include a first discard memory 45 and a second discard memory 46;
the first discard memory 45 is for storing discarded pixel point data;
the second discard memory 46 is used to store the next frame discard pixel point data.
In the embodiment, considering that at the boundary of the pixel point data of the two frames of images, if the frame end pixel point data of the first frame of image is set as the discarded pixel point data and sent to the discarded pixel point processing module, the frame head pixel point data of the second frame of image is set as the discarded pixel point data of the next frame and sent to the discarded pixel point processing module, in order to distinguish the discarded pixel point data in the two frames of images, two discarded memories are provided for respectively storing the discarded pixel point data in different images, so as to ensure that the different images are complete and accurate after the pixel point data are compressed.
As a preferred embodiment, the method further comprises the following steps:
a FIFO memory 47 connected to the processor 32 for buffering the respective pixel point data in the respective frame images.
In this embodiment, a FIFO memory 47 is further provided to buffer each pixel point data in each continuous frame image, so as to reduce the data buffer pressure of the processor 32 and improve the performance of the processor 32.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a computer-readable storage medium according to the present invention. The computer-readable storage medium shown in fig. 5 has stored thereon a computer program which, when being executed by the processor 32, carries out the steps of the image processing method as described above.
For the introduction of the computer-readable storage medium provided by the present invention, please refer to the above-mentioned method embodiments, which are not described herein again.
It should also be noted that, in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (20)

1. An image processing method, comprising:
sequentially acquiring pixel point data in each frame of image from continuous images;
when the compression engine is in an idle state, sending the acquired current pixel point data to the compression engine so that the compression engine compresses the current pixel point data and then sends the compressed current pixel point data to a system memory;
when the compression engine is in a busy state, setting the current pixel data as discarded pixel data and sending the discarded pixel data to a discarded pixel processing module;
when the current pixel point data is frame tail pixel point data of a frame of image, after the current pixel point data is sent to the compression engine or the discarded pixel point processing module, and the compression engine is in an idle state, acquiring each discarded pixel point data from the discarded pixel point processing module and sending the discarded pixel point data to the compression engine.
2. The image processing method according to claim 1, wherein the pixel point data includes position data and color data in one frame image.
3. The image processing method as claimed in claim 2, wherein when the current pixel point data is end-of-frame pixel point data of a frame of image, after the current pixel point data is sent to the compression engine or the discarded pixel point processing module, and the compression engine is in an idle state, obtaining each discarded pixel point data from the discarded pixel point processing module and sending the discarded pixel point data to the compression engine, comprises:
judging whether the current pixel point data is positioned at the frame tail of a frame of image or not based on the position data of the current pixel point data;
if yes, the current pixel point data is the frame tail pixel point data of a frame of image;
and after the current pixel point data is sent to the compression engine or the discarded pixel point processing module, when the compression engine is in an idle state, acquiring each discarded pixel point data from the discarded pixel point processing module and sending the discarded pixel point data to the compression engine.
4. The image processing method of claim 2, wherein sequentially acquiring each pixel data in each frame image from a continuous image comprises:
sequentially acquiring the color data of each pixel point according to the position of each pixel point of each continuous frame image, and determining the position data of each pixel point based on the position of each pixel point in one frame image;
determining the pixel point data based on the color data and the position data.
5. The image processing method as claimed in claim 2, wherein when the compression engine is busy, the method sets the current pixel point data as discarded pixel point data and sends the discarded pixel point data to the discarded pixel point processing module, comprising:
when the compression engine is in a busy state, recording the position data of the current pixel point data as the position data of the last discarded pixel point, and setting the current pixel point data as the discarded pixel point data and sending the discarded pixel point data to the discarded pixel point processing module.
6. The image processing method according to claim 5, wherein after the current pixel data is sent to the compression engine or the discarded pixel processing module, when the compression engine is in an idle state, acquiring each discarded pixel data from the discarded pixel processing module and sending the acquired discarded pixel data to the compression engine, comprises:
after the current pixel point data is sent to the compression engine or the discarded pixel point processing module, the discarded pixel point data is sequentially obtained according to the sequence of the position data of the discarded pixel point data until the discarded pixel point data with the position data being the last discarded pixel point position data is obtained and sent to the compression engine in an idle state.
7. The image processing method according to claim 1, further comprising:
acquiring each compressed pixel point data from the system memory and decompressing;
and restoring the image of each frame based on the position data in each pixel point data after the decompression processing.
8. The image processing method according to claim 7, wherein restoring each frame of the image based on the position data in each pixel point data after the decompression processing comprises:
and determining the position of each pixel point in a frame of image according to the position data in each pixel point data after decompression processing so as to restore each frame of image.
9. The image processing method according to any one of claims 1 to 8, wherein sequentially acquiring each pixel data in each frame image from a continuous image comprises:
and sequentially storing the pixel point data in each frame of image sequentially acquired from the continuous images into an FIFO memory.
10. The image processing method of claim 9, wherein when a compression engine is in an idle state, sending the obtained current pixel point data to the compression engine, so that the compression engine compresses the current pixel point data and sends the compressed current pixel point data to a system memory, comprises:
and when the compression engine is in an idle state, acquiring the current pixel point data from the FIFO memory and sending the current pixel point data to the compression engine so that the compression engine compresses the current pixel point data and sends the current pixel point data to a system memory.
11. The image processing method as claimed in claim 9, wherein when the compression engine is busy, setting the current pixel point data as discarded pixel point data and sending the discarded pixel point data to the discarded pixel point processing module comprises:
and when the compression engine is in a busy state, acquiring the current pixel point data from the FIFO memory, setting the current pixel point data as discarded pixel point data, and sending the discarded pixel point data to a discarded pixel point processing module.
12. The image processing method of claim 9, wherein when the current pixel point data is end-of-frame pixel point data of a frame of image, after the current pixel point data is sent to the compression engine or the discarded pixel point processing module, and the compression engine is in an idle state, obtaining each discarded pixel point data from the discarded pixel point processing module and sending the discarded pixel point data to the compression engine, comprises:
when the current pixel point data is the frame tail pixel point data of one frame of image, after the current pixel point data is sent to the compression engine or the discarded pixel point processing module, and the compression engine is in a busy state, acquiring the next frame of pixel point data in the next frame of image of the image where the current pixel point data is located from the FIFO memory, setting the next frame of pixel point data as the next discarded pixel point data, and sending the next frame of pixel point data to the discarded pixel point processing module;
when the compression engine is in an idle state, acquiring the data of each discarded pixel point from the discarded pixel point processing module and sending the data to the compression engine;
and acquiring next frame pixel point data in a next frame image of the image where the current pixel point data is located from the FIFO memory and sending the next frame pixel point data to the compression engine so that the compression engine compresses the next frame pixel point data and sends the next frame pixel point data to a system memory.
13. The image processing method according to claim 12, wherein the step of obtaining pixel data of a next frame in an image next to the image in which the current pixel point data is located from the FIFO memory and sending the pixel data to the compression engine, so that the compression engine compresses the pixel point data of the next frame and sends the compressed pixel point data to a system memory further comprises the steps of:
when the pixel point data of the next frame is the pixel point data at the end of the frame of the image, after the pixel point data of the next frame is sent to the compression engine or the discarded pixel point processing module, and when the compression engine is in an idle state, the pixel point data of the discarded next frame is obtained from the discarded pixel point processing module and sent to the compression engine.
14. An image processing system, comprising:
a first acquisition unit configured to sequentially acquire each pixel point data in each frame image from a continuous image;
the first sending unit is used for sending the obtained current pixel point data to the compression engine when the compression engine is in an idle state so as to enable the compression engine to compress the current pixel point data and then send the compressed current pixel point data to a system memory;
the second sending unit is used for setting the current pixel data as discarded pixel data and sending the discarded pixel data to the discarded pixel processing module when the compression engine is in a busy state;
and the second acquisition unit is used for acquiring each discarded pixel point data from the discarded pixel point processing module and transmitting the discarded pixel point data to the compression engine when the compression engine is in an idle state after the current pixel point data is transmitted to the compression engine or the discarded pixel point processing module when the current pixel point data is frame tail pixel point data of one frame of image.
15. An image processing apparatus characterized by comprising:
a memory for storing a computer program;
a processor for implementing the steps of the image processing method according to any one of claims 1 to 13 when executing the computer program.
16. An image compression apparatus comprising the image processing apparatus according to claim 15, further comprising:
the compression engine is connected with the processor and used for compressing the pixel point data and then sending the pixel point data to the system memory;
and the discarded pixel point processing module is connected with the processor and is used for caching the data of each discarded pixel point.
17. The image compression apparatus of claim 16, wherein the discard pixel processing module comprises:
the discarding control module is connected with the processor and used for receiving the discarded pixel point data and the discarded pixel point data of the next frame and sending the discarded pixel point data and the discarded pixel point data of the next frame to the pixel discarding recording module, or obtaining the discarded pixel point data and the discarded pixel point data of the next frame through the pixel discarding recording module and sending the discarded pixel point data and the discarded pixel point data of the next frame to the processor;
the frame tail information adding module is connected with the discarding control module and is used for sequencing the discarded pixel point data according to the position data and sequencing the discarded pixel point data of each next frame according to the position data, so that the discarding control module sends the discarded pixel point data of each frame to the processor in sequence or sends the discarded pixel point data of each next frame to the processor in sequence;
the pixel discarding record module is connected to the discarding control module and is configured to store the discarded pixel point data and the next frame discarded pixel point data in a discarding memory, or send the discarded pixel point data and the next frame discarded pixel point data in the discarding memory to the discarding control module;
and the discarding memory connected with the pixel discarding recording module is used for storing the discarded pixel point data and the discarded pixel point data of the next frame.
18. The image compression apparatus according to claim 17, wherein the discard memory comprises a first discard memory and a second discard memory;
the first discard memory is for storing the discarded pixel point data;
the second discard memory is for storing the next frame discard pixel point data.
19. The image compression apparatus according to claim 16, further comprising:
and the FIFO memory is connected with the processor and is used for buffering each pixel point data in each frame image.
20. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the image processing method according to any one of claims 1 to 13.
CN202211554111.8A 2022-12-06 2022-12-06 Picture processing method, system, device, image compression device and storage medium Active CN115633181B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211554111.8A CN115633181B (en) 2022-12-06 2022-12-06 Picture processing method, system, device, image compression device and storage medium
PCT/CN2023/105771 WO2024119812A1 (en) 2022-12-06 2023-07-04 Image processing method, system and apparatus, image compression apparatus, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211554111.8A CN115633181B (en) 2022-12-06 2022-12-06 Picture processing method, system, device, image compression device and storage medium

Publications (2)

Publication Number Publication Date
CN115633181A CN115633181A (en) 2023-01-20
CN115633181B true CN115633181B (en) 2023-03-17

Family

ID=84910018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211554111.8A Active CN115633181B (en) 2022-12-06 2022-12-06 Picture processing method, system, device, image compression device and storage medium

Country Status (2)

Country Link
CN (1) CN115633181B (en)
WO (1) WO2024119812A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115633181B (en) * 2022-12-06 2023-03-17 山东云海国创云计算装备产业创新中心有限公司 Picture processing method, system, device, image compression device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04296183A (en) * 1991-03-25 1992-10-20 Sony Corp Method of decoding picture data and decoding circuit therefor
US6229927B1 (en) * 1994-09-21 2001-05-08 Ricoh Company, Ltd. Reversible embedded wavelet system implementation
WO2014154175A1 (en) * 2013-03-29 2014-10-02 Mediatek Inc. Method and apparatus for arranging pixels of picture in storage units each having storage size not divisible by pixel size
CN114615209A (en) * 2022-03-11 2022-06-10 山东云海国创云计算装备产业创新中心有限公司 Dynamic adaptive image compression method, device, equipment and readable medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002369199A (en) * 2001-06-11 2002-12-20 Nec Corp Image transmitting equipment, image transmitting method, and image transmission program used for performing the method
JP2003274323A (en) * 2002-03-14 2003-09-26 Canon Inc Still image photographing apparatus, storage control method, program, and storage medium
US8786620B2 (en) * 2011-11-14 2014-07-22 Microsoft Corporation Discarding idle graphical display components from memory and processing
CN111953990A (en) * 2020-07-07 2020-11-17 西安万像电子科技有限公司 Coding method and device
CN114302140B (en) * 2021-11-30 2023-11-03 山东云海国创云计算装备产业创新中心有限公司 Pre-frame-loss method, system, equipment and computer readable storage medium
CN114567787B (en) * 2022-02-28 2023-11-03 山东云海国创云计算装备产业创新中心有限公司 Video compression method, system and related device applied to BMC
CN115633181B (en) * 2022-12-06 2023-03-17 山东云海国创云计算装备产业创新中心有限公司 Picture processing method, system, device, image compression device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04296183A (en) * 1991-03-25 1992-10-20 Sony Corp Method of decoding picture data and decoding circuit therefor
US6229927B1 (en) * 1994-09-21 2001-05-08 Ricoh Company, Ltd. Reversible embedded wavelet system implementation
WO2014154175A1 (en) * 2013-03-29 2014-10-02 Mediatek Inc. Method and apparatus for arranging pixels of picture in storage units each having storage size not divisible by pixel size
CN114615209A (en) * 2022-03-11 2022-06-10 山东云海国创云计算装备产业创新中心有限公司 Dynamic adaptive image compression method, device, equipment and readable medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Gao Jianhua等.Fast Piecewise Polynomial Fitting of Time-Series Data for Streaming Computing[.2020,全文. *
李耿增.基于变分自编码器的图像压缩.2022,全文. *

Also Published As

Publication number Publication date
CN115633181A (en) 2023-01-20
WO2024119812A1 (en) 2024-06-13

Similar Documents

Publication Publication Date Title
CN113873255B (en) Video data transmission method, video data decoding method and related devices
US12143609B2 (en) Video data transmission method, video data decoding method, and related apparatuses
CN114615209B (en) Dynamic adaptive image compression method, device, equipment and readable medium
CN115633181B (en) Picture processing method, system, device, image compression device and storage medium
CN102834805A (en) Screen recording method, screen recording control method and device
CN114153411A (en) Image optimization transmission system for remote terminal management and control
CN114422807B (en) Transmission optimization method based on Spice protocol
CN114040203B (en) Video data processing method, apparatus, device and computer storage medium
CN115103189A (en) Data processing method, apparatus, computer equipment and readable storage medium
TWI680668B (en) Screen image transmission method, image restoration method, screen image transmission system, image restoration system, screen image transmission program, image restoration program, image compression method, image compression system, and image compression program
US20100049832A1 (en) Computer program product, a system and a method for providing video content to a target system
CN104717531B (en) image log storage system and recording method thereof
CN114302140B (en) Pre-frame-loss method, system, equipment and computer readable storage medium
CN117009087A (en) Image output method, device, equipment and storage medium
CN114567787B (en) Video compression method, system and related device applied to BMC
JP6284172B1 (en) Screen image transfer method, image restoration method, screen image transfer system, image restoration system, screen image transfer program, image restoration program, image compression method, image compression system, image compression program
CN111212285A (en) Hardware video coding system and control method of hardware video coding system
CN1207914C (en) Image processor image transmitting method and program
CN107318021A (en) A kind of data processing method and system remotely shown
CN110798700B (en) Video processing method, video processing device, storage medium and electronic equipment
CN113691815A (en) Video data processing method, device and computer readable storage medium
JP3009434B2 (en) Data compression device
CN107318020B (en) Data processing method and system for remote display
CN118646893B (en) Video data processing method, product, equipment and storage medium
CN116405733B (en) Data transmission method and electronic equipment

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