CN106658017B - Compression of images and decompression method, image processing method and relevant apparatus - Google Patents
Compression of images and decompression method, image processing method and relevant apparatus Download PDFInfo
- Publication number
- CN106658017B CN106658017B CN201610950730.7A CN201610950730A CN106658017B CN 106658017 B CN106658017 B CN 106658017B CN 201610950730 A CN201610950730 A CN 201610950730A CN 106658017 B CN106658017 B CN 106658017B
- Authority
- CN
- China
- Prior art keywords
- compressed data
- data
- predetermined amount
- image
- check value
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/42—Methods 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
Abstract
The present invention provides a kind of compression of images and decompression method, image processing method and relevant apparatus, and described image decompression method includes obtaining data flow, and the data flow includes compressed data and the check value that combines with the compressed data of every predetermined amount;The compressed data is unziped it to generate decompression data and generate check value for the compressed data of every predetermined amount;The check value generated for the compressed data of every predetermined amount and the check value combined with the compressed data of the predetermined amount are compared;Determine the compressed data of the predetermined amount with the presence or absence of mistake according to comparison result.Described image processing method applies described image compression and decompression method, it can learn that there is a situation where mistakes for data flow in advance through the invention, and then the image of mistake is shown after avoiding image procossing, and can reduce required bandwidth when storing image and the requirement to memory capacity.
Description
Technical field
Shown the present invention relates to semiconductor and field of image processing more particularly to a kind of compression of images and decompression method,
Image processing method and relevant apparatus.
Background technique
With the development of IC design and manufacturing technology, semiconductor display technology, for display driver chip, when
Sequence control chip and other be related to the chip of the functions such as Display panel, image procossing requirement it is higher and higher.In this feelings
Under condition, real-time digital image of good performance compresses, decompression algorithm just seems particularly significant.
In real-time digital image compression, decompression technique, the data flow generated after overcompression is sent by a certain approach
Enter decompression module, in these approach, if mistake has occurred in the data flow, will lead to decompression module can not be correctly extensive
Complex pattern shows mistake so as to cause image.For example, being directed in liquid crystal panel displays since liquid crystal molecule deflects braking problems
And the problem that bring display gray-scale response time is too long, it can use and overdrive in timing controller or driving chip
(Over Drive) algorithm reduces the gray-scale response time of liquid crystal display.Algorithm of overdriving needs to store previous frame image
Get off, be used as the reference compared with present frame current pixel, then adjusts the grayscale value size of present frame current pixel.
Overdriving algorithm generally can be by image through storing again after overcompression, to reduce the cost of chip realization, this just needs crossing drive
A set of real-time compression of images, decompression algorithm are realized in dynamic algorithm.If there are mistakes for compressed data, decompression module is with regard to nothing
Method correctly restores previous frame image, and algorithm of overdriving will mistakenly adjust the grayscale value size of current frame pixel, this frame
Phenomena such as image will show the image to make mistake on the display screen, cause such as noise, flating, splashette.
Summary of the invention
In view of this, the present invention provides a kind of method for compressing image and device, image expansion method and device and figure
As treating method and apparatus, can detecte data flow, there is a situation where mistakes, and then reduce and make since mistake occurs for data flow
At display mistake.
According to the first aspect of the invention, a kind of method for compressing image is provided, comprising:
Original digital image data is compressed to generate compressed data;
Every compressed data for generating predetermined amount generates check value for predetermined amount of compressed data;
It is exported after combining the check value with predetermined amount of compressed data as data flow.
Preferably, predetermined amount of compressed data is the compression number generated according to the original digital image data of intended pixel quantity
According to.
Preferably, the intended pixel quantity is according to the image resolution ratio and preset compression ratio of the original digital image data
It determines.
Preferably, predetermined amount of compressed data is the compressed data of predetermined length.
Preferably, the check value includes cyclic redundancy check (CRC) value.
According to the second aspect of the invention, a kind of image expansion method is provided, comprising:
Data flow is obtained, the data flow includes compressed data and the verification combined with the compressed data of every predetermined amount
Value;
The compressed data is unziped it to generate decompression data and be generated for the compressed data of every predetermined amount
Check value;
By the check value generated for the compressed data of every predetermined amount and the verification combined with the compressed data of the predetermined amount
Value compares;
Determine the compressed data of the predetermined amount with the presence or absence of mistake according to comparison result.
Preferably, predetermined amount of compressed data is the compression number generated according to the original digital image data of intended pixel quantity
According to.
Preferably, the intended pixel quantity is according to the image resolution ratio and preset compression ratio of the original digital image data
It determines.
Preferably, predetermined amount of compressed data is the compressed data of predetermined length.
Preferably, the check value includes cyclic redundancy check (CRC) value.
According to the third aspect of the invention we, a kind of image processing method is provided, comprising:
Original digital image data is compressed by image compressing device to generate compressed data, every compression number for generating predetermined amount
According to generating corresponding check value for predetermined amount of compressed data, and by the check value and predetermined amount of compression
It is exported after data combination as data flow;
The data flow is obtained from described image compression set by image decompression compression apparatus, the compressed data is solved
Compression will be directed to the compression number of every predetermined amount to generate decompression data and generate check value for the compressed data of every predetermined amount
It compares according to the check value and the check value that is combined with the compressed data of the predetermined amount of generation, and determines that this is pre- according to comparison result
Quantitative compressed data whether there is mistake;
Image procossing is carried out according to decompression data by image processing apparatus, and whenever the compressed data of predetermined amount exists
When mistake, decompression data corresponding with the compressed data of the predetermined amount are skipped, image procossing is continued.
Preferably, predetermined amount of compressed data is the compression number generated according to the original digital image data of intended pixel quantity
According to.
Preferably, predetermined amount of compressed data is the compressed data of predetermined length.
Preferably, the check value includes cyclic redundancy check (CRC) value.
Preferably, described image processing includes algorithm process of overdriving.
According to the fourth aspect of the invention, a kind of image compressing device is provided, comprising:
Compression module, for being compressed original digital image data to generate compressed data;
Computing module, every compressed data for generating predetermined amount, for generating verification for predetermined amount of compressed data
Value;
Output module, for being exported after combining the check value with predetermined amount of compressed data as data flow.
Preferably, predetermined amount of compressed data is the compression number generated according to the original digital image data of intended pixel quantity
According to.
Preferably, the intended pixel quantity is according to the image resolution ratio and preset compression ratio of the original digital image data
It determines.
Preferably, predetermined amount of compressed data is the compressed data of predetermined length.
Preferably, the check value includes cyclic redundancy check (CRC) value.
According to the fifth aspect of the invention, a kind of image decompression compression apparatus is provided, comprising:
Data allocation module, for obtaining data flow, the data flow includes compressed data and the pressure with every predetermined amount
The check value of contracting data combination;
Decompression module, for being unziped it to the compressed data;
Computing module generates check value for the compressed data for every predetermined amount;
Comparison module, for will be directed to every predetermined amount compressed data generate check value and with the compression number of the predetermined amount
It compares according to combined check value, determines the compressed data of the predetermined amount with the presence or absence of mistake according to comparison result.
Preferably, predetermined amount of compressed data is the compression number generated according to the original digital image data of intended pixel quantity
According to.
Preferably, the intended pixel quantity is according to the image resolution ratio and preset compression ratio of the original digital image data
It determines.
Preferably, predetermined amount of compressed data is the compressed data of predetermined length.
Preferably, the check value includes cyclic redundancy check (CRC) value.
According to the sixth aspect of the invention, a kind of image processing apparatus is provided, comprising:
The image compressing device according to the fourth aspect of the invention;
The image decompression compression apparatus according to the fifth aspect of the invention;And
Image processing apparatus, the decompression data for being obtained according to image decompression compression apparatus carry out image procossing, and
When the compressed data of predetermined amount has mistake, decompression data corresponding with the compressed data of the predetermined amount are skipped, are continued
Carry out image procossing.
Preferably, described image processing includes algorithm process of overdriving.
The scheme provided according to the present invention take the compressed data of predetermined amount as the unit of verification comparison, can reduce storage
Required bandwidth and the requirement to memory capacity when image.Pass through the image resolution ratio and preset compression of original digital image data
Rate determines the pixel quantity for the original image for including in predetermined amount of compressed data, can be required when reducing storage image
While bandwidth and requirement to memory capacity, compression ratio is taken into account.It take the compressed data of predetermined amount as the unit of verification comparison,
It when verifying inconsistent, not only can learn in advance whether data flow occurs mistake, can also determine the predetermined amount that mistake occurs
Compressed data, and then avoid according to occur mistake predetermined amount compressed data carry out image procossing after show mistake figure
Picture.
Detailed description of the invention
Description by referring to the following drawings to the embodiment of the present invention, the above and other purposes of the present invention, feature and
Advantage will be apparent from, in the accompanying drawings:
Fig. 1 is the flow chart of the method for compressing image provided according to embodiments of the present invention;
Fig. 2 is the flow chart of the image expansion method provided according to embodiments of the present invention;
Fig. 3 is the flow chart of the image processing method provided according to embodiments of the present invention;
Fig. 4 is the structural schematic diagram of the image compressing device provided according to embodiments of the present invention;
Fig. 5 is the another structural schematic diagram of the image compressing device provided according to embodiments of the present invention;
Fig. 6 is the structural schematic diagram of the image decompression compression apparatus provided according to embodiments of the present invention;
Fig. 7 is the another structural schematic diagram of the image decompression compression apparatus provided according to embodiments of the present invention;
Fig. 8 is the structural schematic diagram of the image processing apparatus provided according to embodiments of the present invention;
Fig. 9 is the another structural schematic diagram of the image processing apparatus provided according to embodiments of the present invention.
Specific embodiment
Below based on embodiment, present invention is described, but the present invention is not restricted to these embodiments.Under
Text is detailed to describe some specific detail sections in datail description of the invention.Do not have for a person skilled in the art
The present invention can also be understood completely in the description of these detail sections.In order to avoid obscuring essence of the invention, well known method, mistake
Journey, process do not describe in detail.
Fig. 1 is the flow chart of the method for compressing image provided according to embodiments of the present invention, as shown in Figure 1, the method packet
It includes:
In step s101, original digital image data is compressed to generate compressed data.
The original digital image data is compressed while for example, obtaining original digital image data according to pixel arrangement sequence, it is defeated
Compressed data stream out.
In step s 102, every compressed data for generating predetermined amount, generates for predetermined amount of compressed data and verifies
Value.
The generating algorithm of check value is not limited to one kind.Such as it can be by being followed to predetermined amount of compressed data
Ring redundancy check, which calculates, generates check value, and the cyclic redundancy check is calculated using preset multinomial as generator polynomial.May be used also
By carrying out other verification calculating generation check values such as even-odd check to predetermined amount of compressed data.
Above-mentioned " predetermined amount " can be measured according to circumstances using different standards.As an example, described pre-
Quantitative compressed data can according to intended pixel quantity original digital image data generate compressed data, wherein described scheduled
Pixel quantity can be determined according to the image resolution ratio of original digital image data and preset compression ratio.In such a case, it is possible to
The original digital image data of every compression intended pixel quantity, just obtains accordingly for the original digital image data based on the intended pixel quantity
Compressed data generate check value.As another example, predetermined amount of compressed data can be the compression number of predetermined length
According to.In such a case, it is possible to every compressed data for obtaining predetermined length, just accordingly for the compressed data of the predetermined length
Generate check value.
In step s 103, it is exported after combining the check value with predetermined amount of compressed data as data flow.
Because the cyclic redundancy check is calculated using preset multinomial as generator polynomial, so corresponding to every predetermined amount
The digit of the check value of compressed data is fixed and identical.For example, being according to predetermined picture in predetermined amount of compressed data
It can be a unit with the pixel of predetermined quantity to original image in the case where the compressed data that the original digital image data of prime number amount generates
As being divided.Cyclic redundancy check calculating is carried out to the compressed data, while to the corresponding picture of the original digital image data of compression
Plain number is counted, and when the corresponding data of the last one pixel in a unit are completed by compression, is performed the following operations:
Retain previous cycle redundancy check and calculate the check value generated, and be spliced to the end of the compressed data, together with compression
Data export together;It resets cyclic redundancy check to calculate, the compressed data for compressing the original image of next unit
Carry out cyclic redundancy check calculating.Specifically, the end for being spliced to the compressed data, together together with compressed data
Output can be after exporting compressed data, and and then the compressed data exports verification corresponding with the compressed data incessantly
Value.It combines the check value with predetermined amount of compressed data, is not limited to the check value being spliced to the predetermined amount
Compressed data end.In some embodiments, it can the check value is placed in predetermined amount of compressed data
Before, it can also be combined with predetermined amount of compressed data and other data with scheduled structure, as data flow
Output.
Fig. 2 is the flow chart of the image expansion method provided according to embodiments of the present invention, as shown in Fig. 2, the method
Include:
In step s 201, data flow is obtained, the data flow includes compressed data and the compression number with every predetermined amount
According to combined check value.
The generating algorithm of check value is not limited to one kind.Cyclic redundancy can be carried out by the compressed data to every predetermined amount
The check value that master gage point counting Sheng Cheng not be combined with the compressed data of every predetermined amount, the cyclic redundancy check are calculated with preset
Multinomial is generator polynomial.It can also be by carrying out other verification calculating such as even-odd check to predetermined amount of compressed data
Generate check value.Specifically, the check value that the compressed data with every predetermined amount combines can be in data flow incessantly
Check value corresponding with the compressed data after the compressed data of predetermined amount.
In step S202, the compressed data is unziped it to generate decompression data and for every predetermined amount
Compressed data generates check value.
The generating algorithm of check value is not limited to one kind.For example, can be by being carried out to predetermined amount of compressed data
Cyclic redundancy check, which calculates, generates check value, and the cyclic redundancy check is calculated using preset multinomial as generator polynomial.Also
It can be by carrying out other verification calculating generation check values such as even-odd check to predetermined amount of compressed data.In step S202
The middle mode for generating check value is identical as the generating mode of the check value in the data flow that step S201 is obtained.For example, recycling
Redundancy check with identical generator polynomial generates crc value in calculating.
Above-mentioned " predetermined amount " can be measured according to circumstances using different standards.As an example, described pre-
Quantitative compressed data can according to intended pixel quantity original digital image data generate compressed data, wherein described scheduled
Pixel quantity can be determined according to the image resolution ratio of original digital image data and preset compression ratio.In such a case, it is possible to
Every decompression obtains the original digital image data of intended pixel quantity, just accordingly for the original image number based on the intended pixel quantity
Check value is generated according to corresponding compressed data.As another example, predetermined amount of compressed data can be predetermined length
Compressed data.In such a case, it is possible to the compressed data of every decompression predetermined length, just accordingly for the predetermined length
Compressed data generates check value.
It is the compressed data generated according to the original digital image data of intended pixel quantity for predetermined amount of compressed data
The case where, the compressed data can be unziped it, and count wrapped in the original digital image data obtained after decompression simultaneously
The pixel quantity contained, and cyclic redundancy check is carried out to the compressed data during decompression and calculates generation check value.
When pixel quantity included in the original digital image data obtained after decompression reaches scheduled pixel quantity, just stop to institute
It states compressed data and carries out cyclic redundancy check calculating, thus for the pressure generated according to the original digital image data of the intended pixel quantity
Contracting data obtain check value, then execute step S203.
In step S203, compression of the judgement for the check value of the compressed data generation of every predetermined amount and with the predetermined amount
Whether the check value of data combination is consistent, if the two is consistent, thens follow the steps S204, no to then follow the steps S205.
For example, can be by the check value generated and the fixation digit combined with the compressed data for having completed decompression
Data compare.Because of the mode for generating check value in step 202 and the check value in the data flow that step 201 obtains
Generating mode is identical, including generates CRC check value with identical preset generator polynomial, the digit of crc value be it is fixed and
It is identical, so the data of the fixation digit after only needing to read the compressed data of predetermined amount can determine that it is check value,
Then generation check value is calculated with progress cyclic redundancy check in this step to be compared.Then skip over the number of the fixed digit
According to resetting cyclic redundancy check calculates, and unzips it to the compressed data after the data of the fixed digit and ring redundancy
Verification calculates, and pixel quantity corresponding to the original digital image data for continuing to obtain after decompression is waited to reach scheduled pixel quantity
When, step S203 is executed again.
In step S204, determine that mistake is not present in the compressed data of the predetermined amount.
For example, comparison result unanimously illustrates that mistake does not occur in transmission process for predetermined amount of compressed data, it is extensive
The corresponding original digital image data confidence level appeared again is higher, therefore, it is determined that mistake is not present in predetermined amount of compressed data.Sentencing
Determine that instruction information can be exported, the corresponding original image number of the compressed data to indicate the predetermined amount there is no in the case where mistake
According to being correctly recovered.The compression number that the mistake refers to the compressed data being directed to when decompression and generates when compressing original digital image data
According to it is inconsistent, caused by this can be the process of transmission or storage.For example, if compressed data is passed by link channel
It is defeated, probably due to the reasons such as noise, data receiver, lead to compressed data inconsequent;If storing compressed data to outer
In portion SDRAM, probably due to the reasons such as SDRAM error, noise, timing, lead to compressed data inconsequent.If decompression
When the compressed data that is directed to and when compression original digital image data compressed data for generating between it is inconsistent, then passing through pair of check value
Than the compressed data of the predetermined amount can be determined with the presence or absence of mistake.
In step S205, determining the compressed data of the predetermined amount, there are mistakes.
For example, comparison result is that mistake occurs in transmission process for the inconsistent predetermined amount of compressed data of explanation, deposit
In mistake, it is difficult to accurately recover corresponding original digital image data.Instruction information can be exported in this case to indicate that this is pre-
The corresponding original digital image data of quantitative compressed data is not correctly recovered.
Correlation instruction information can be exported together together with corresponding original digital image data in step S204 or step S205,
It resets cyclic redundancy check to calculate, restarts to carry out cyclic redundancy check calculating to the data flow of acquisition.
Fig. 3 is the flow chart of the image processing method provided according to embodiments of the present invention, as shown in figure 3, the method packet
It includes:
In step S301, original digital image data is compressed to generate compressed data.
In step s 302, every compressed data for generating predetermined amount, generates for predetermined amount of compressed data and verifies
Value.
The generating algorithm of check value is not limited to one kind.Such as it can be by being followed to predetermined amount of compressed data
Ring redundancy check, which calculates, generates check value, and the cyclic redundancy check is calculated using preset multinomial as generator polynomial.May be used also
By carrying out other verification calculating generation check values such as even-odd check to predetermined amount of compressed data.
Above-mentioned " predetermined amount " can be measured according to circumstances using different standards.As an example, described pre-
Quantitative compressed data can be compressed data corresponding with the original digital image data of intended pixel quantity, wherein the scheduled picture
Prime number amount can be determined according to the image resolution ratio of original digital image data and preset compression ratio.In such a case, it is possible to every
The original digital image data of intended pixel quantity is compressed, is just obtained accordingly for the original digital image data based on the intended pixel quantity
Compressed data generates check value.As another example, predetermined amount of compressed data can be the compressed data of predetermined length.
In such a case, it is possible to which every compressed data for obtaining predetermined length, just raw accordingly for the compressed data of the predetermined length
At check value.
In step S303, exported after combining the check value with predetermined amount of compressed data as data flow.
Because the cyclic redundancy check is calculated using preset multinomial as generator polynomial, so corresponding to every predetermined amount
The digit of the check value of compressed data is fixed and identical.For example, being and intended pixel in predetermined amount of compressed data
It can be a unit with the pixel of predetermined quantity to original image in the case where the corresponding compressed data of the original digital image data of quantity
It is divided.Cyclic redundancy check calculating is carried out to the compressed data, while to the corresponding pixel of the original digital image data of compression
Number is counted, and when the corresponding data of the last one pixel in a unit are completed by compression, is performed the following operations: being protected
It stays previous cycle redundancy check to calculate the check value generated, and is spliced to the end of the compressed data, together with compression number
According to exporting together;Cyclic redundancy check is reset to calculate, the compressed data that the original image of next unit is compressed into
Row cyclic redundancy check calculates.Specifically, the end for being spliced to the compressed data, it is defeated together together with compressed data
It is can be after exporting compressed data out, and then the compressed data exports verification corresponding with the compressed data incessantly
Value.It combines the check value with predetermined amount of compressed data, is not limited to the check value being spliced to the predetermined amount
Compressed data end.In some embodiments, it can the check value is placed in predetermined amount of compressed data
Before, it can also be combined with predetermined amount of compressed data and other data with scheduled structure, as data flow
Output.
Above step S301 to S303 can be executed by image compressing device.
In step s 304, the data flow is obtained.For example, can be obtained from the image compressing device for generating the data flow
It takes.
In step S305, the compressed data is unziped it to generate decompression data and for every predetermined amount
Compressed data generates check value.
The generating algorithm of check value is not limited to one kind.For example, can be by being carried out to predetermined amount of compressed data
Cyclic redundancy check, which calculates, generates check value, and the cyclic redundancy check is calculated using preset multinomial as generator polynomial.Also
It can be by carrying out other verification calculating generation check values such as even-odd check to predetermined amount of compressed data.In step S302
The middle mode for generating check value is identical as the mode of check value is generated in step S305.For example, being calculated in cyclic redundancy check
In crc value generated with identical generator polynomial.
Above-mentioned " predetermined amount " can be measured according to circumstances using different standards.As an example, described pre-
Quantitative compressed data can be compressed data corresponding with the original digital image data of intended pixel quantity, wherein the scheduled picture
Prime number amount can be determined according to the image resolution ratio of original digital image data and preset compression ratio.In such a case, it is possible to every
Decompression obtains the original digital image data of intended pixel quantity, just accordingly for the original digital image data based on the intended pixel quantity
Corresponding compressed data generates check value.As another example, predetermined amount of compressed data can be the pressure of predetermined length
Contracting data.In such a case, it is possible to the compressed data of every decompression predetermined length, just accordingly for the pressure of the predetermined length
Contracting data generate check value.
It, can be to institute in the case of predetermined amount of compressed data is corresponding with the original digital image data of intended pixel quantity
It states compressed data to unzip it, and counts pixel quantity included in the original digital image data obtained after decompression simultaneously, and
Cyclic redundancy check is carried out to the compressed data during decompression and calculates generation check value.It is obtained after decompression
Original digital image data included in pixel quantity when reaching scheduled pixel quantity, just stop following the compressed data
Ring redundancy check calculates, and executes step S306.Specifically, cyclic redundancy can be carried out to the compressed data in the data flow of acquisition
Verification calculates, while unziping it to the compressed data, recovers the corresponding data of pixel of original image one by one, is stored in
In buffer, and the corresponding number of pixels of the original digital image data recovered is counted, whenever the original of intended pixel quantity
When image data is resumed, resetting cyclic redundancy check is calculated, and restarts to carry out cyclic redundancy check to the data flow of acquisition
It calculates.
In step S306, compression of the judgement for the check value of the compressed data generation of every predetermined amount and with the predetermined amount
Whether the check value of data combination is consistent.If the two is inconsistent, showing the compressed data of the predetermined amount, there are mistakes, execute step
Rapid S307 shows the original that mistake does not occur in transmission process for the compressed data of the predetermined amount, recovers if the two is consistent
Image data confidence level is higher, executes step S308.
The mistake refers between the compressed data generated when the compressed data being directed to when decompression and compression original digital image data
It is inconsistent, caused by this can be the process of transmission or storage.For example, if compressed data passes through link channel transfer,
Probably due to the reasons such as noise, data receiver, lead to compressed data inconsequent;If by compressed data storage to outside
In SDRAM, probably due to the reasons such as SDRAM error, noise, timing, lead to compressed data inconsequent.If when decompression
For compressed data and when compression original digital image data it is inconsistent between the compressed data that generates, then the comparison for passing through check value
The compressed data of the predetermined amount can be determined with the presence or absence of mistake.For example, if the school combined with the compressed data of the predetermined amount
Testing value is cyclic redundancy check value of the splicing after the compressed data, then whenever decompressing the compressed data of predetermined amount,
The cyclic redundancy check value of splicing is extracted from follow-up data stream, and it is calculated with step S305 by cyclic redundancy check
It generates check value to be compared, original digital image data more corresponding than the more consistent compressed data for just exporting the predetermined amount is correctly recovered
Instruction information, otherwise export the instruction information that the corresponding original digital image data of compressed data of the predetermined amount is not correctly recovered,
And the instruction information is exported together together with original digital image data corresponding in buffer;It resets cyclic redundancy check to calculate, weight
Newly start to carry out cyclic redundancy check calculating to the data flow of acquisition.The check value combined with the compressed data of the predetermined amount, no
It is limited to splice the cyclic redundancy check value after the compressed data of the predetermined amount.In some embodiments, it can be placed in
Even-odd check before the compressed data of the predetermined amount is also possible to combine with scheduled structure and the compressed data of the predetermined amount
Together, other check values with verifying function as data flow output.
Above step S304 to S306 can be executed by image decompression compression apparatus.
In addition, in some embodiments, the specific location of check value can be utilized as synchronous images compression set and
The zone bit information of image decompression compression apparatus specific operation, for example, image compressing device can use after being inserted into check value
Certain specific compression algorithm come first pixel after compressing, then, image decompression compression apparatus is navigating to the verification
After the position of value, subsequent first needs then to be adopted using with image compressing device by the pixel that image decompressor recovers
The corresponding decompression algorithm decompression of certain specific compression algorithm restores.It is possible thereby to reduce flag bit, to a certain extent
It is able to ascend compression ratio.
In step S307, decompression data corresponding with the compressed data of the predetermined amount are skipped, are continued at image
Reason.
There are mistakes for the compressed data of predetermined amount, then the corresponding original digital image data of the compressed data of the predetermined amount is difficult to by just
Really restore, the data that can not be decompressed according to the compressed data for the predetermined amount that there is mistake carry out image procossing.For example,
In the case where image procossing is to overdrive algorithm process, do not decompressed to obtain data progress according to the compressed data of the predetermined amount
Corresponding algorithm process of overdriving.The algorithm process of overdriving can be within the short time at variation initial stage, should be to liquid crystal
The voltage that molecule applies increases certain proportion, forces liquid crystal molecule to change arrangement within a short period of time, to promote the sound of liquid crystal
Between seasonable.For example the gray value of a pixel is 100 in previous frame image, and corresponding grey scale pixel value is in current frame image
150, if compressed and decompressed module is correct, algorithm of overdriving can be increased in a short time pair based on 100 and 150 the two numerical value
The voltage that liquid crystal molecule applies, quickly to show correct image;If there are mistakes for compressed data, decompression just cannot be passed through
The gray value of the accurate pixel is obtained, is condensed to 200 for example, the grey scale pixel value in the image of previous frame is decompressed, at this time mistake
It drives algorithm that will apply polarity difference to liquid crystal molecule with 150 the two numerical value based on 200 and increases a certain proportion of voltage,
Nature can obtain the image of mistake.For another example grey scale pixel value decompression in the image of previous frame is condensed to 50, overdrive at this time
Algorithm will apply the voltage bigger than under normal circumstances to liquid crystal molecule based on 50 and 150 the two numerical value, be likely to result in
The pixel grey scale of display is instantaneously more than correct gray value 150, obtains the image of mistake.If the two is inconsistent, show that this is pre-
There are mistakes for quantitative compressed data, and corresponding image data can be to avoid liquid crystal display directly in output next frame image at this time
Occurs phenomena such as such as noise, flating, splashette in screen.Then proceed to the compression number according to step S306 to next predetermined amount
According to being judged.
In some embodiments, two groups can be arranged in decompression module and deposit during overdriving algorithm process
Reservoir, the capacity of memory are capacity shared after the compressed data of predetermined amount decompresses;In this way, algorithm of overdriving executes table tennis
Pang operation has decompressed if the result of current decompression operation is put into memory A in the compressed data of current predetermined amount
At being that can not learn whether the compressed data of current predetermined amount is correct before obtaining check value.If correct, deposited using this
Decompression result in reservoir A carries out subsequent processing of overdriving;If incorrect, without processing of overdriving.No matter into
Row or without over-drive operation, can the compressed data concurrently to next predetermined amount unzip it, and will decompression
As a result it is put into memory B.
In step S308, image procossing is carried out according to decompression data corresponding with the compressed data of the predetermined amount.
For example, can be unziped it according to the compressed data to the predetermined amount generation data and next frame image data
In corresponding data carry out algorithm process of overdriving.
Fig. 4 is the structural schematic diagram of the image compressing device provided according to embodiments of the present invention, as shown in figure 4, image pressure
Compression apparatus 40 includes: compression module 401, computing module 402 and output module 403.
Compression module 401 is for compressing to generate compressed data original digital image data.
Computing module 402, every compressed data for generating predetermined amount, for generating school for predetermined amount of compressed data
Test value.Above-mentioned " predetermined amount " can be measured according to circumstances using different standards.As an example, the predetermined amount
Compressed data can be compressed data corresponding with the original digital image data of intended pixel quantity, wherein the scheduled pixel number
Amount can be determined according to the image resolution ratio of original digital image data and preset compression ratio.In such a case, it is possible to by compressing
Module 401 statistics compression original digital image data in include pixel quantity, it is every generate predetermined amount compressed data when, by calculating mould
Block 402 generates check value for predetermined amount of compressed data and is sent to output module 403.As another example, described pre-
Quantitative compressed data can be the compressed data of predetermined length.It is compressed in such a case, it is possible to be detected by computing module 402
Module 401 carries out original digital image data to compress whether compressed data generated reaches predetermined amount, every compression for generating predetermined amount
When data, check value is generated for predetermined amount of compressed data and is sent to output module 403.The generating algorithm of check value is not
It is defined in one kind.For example, computing module 402 can be by carrying out cyclic redundancy check calculating to predetermined amount of compressed data
The check value is generated, the cyclic redundancy check is calculated using preset multinomial as generator polynomial.Computing module 402 may be used also
By carrying out other verification calculating generation check values such as even-odd check to predetermined amount of compressed data.
Output module 403 is for defeated as data flow after combining the check value with predetermined amount of compressed data
Out.In some embodiments, output module 403 may include data selector, the data that selection output compression module 401 exports
Or the data that computing module 402 exports.Because the cyclic redundancy check is calculated using preset multinomial as generator polynomial, so
The digit of the check value of the compressed data corresponding to every predetermined amount is fixed and identical.
Fig. 5 is the another structural schematic diagram of the image compressing device provided according to embodiments of the present invention, as shown in figure 5, figure
As compression set 50 includes: dividing elements module 501, compression module 502, computing module 503 and output module 504.In this reality
It applies in example, the compressed data that image compressing device 50 can be applied to predetermined amount is corresponding with the original digital image data of intended pixel quantity
The case where.
Dividing elements module 501 is used to original digital image data being divided into different units according to pixel quantity.Such as according to picture
Prime number amount divides original image.According to the size of frame image resolution ratio every in image or video flowing, digital circuit
Difficulty and compression efficiency compromise, the pixel quantity of selection unit partitioning standards.It can be by the corresponding school of each unit
Value is tested, which can splice the image data in the unit after compressor compresses after obtained compressed data
Face is sent to decompressor, so the pixel quantity of dividing elements foundation is unsuitable too small, otherwise can more influence compression,
The compression efficiency of decompression algorithm.
Compression module 502 is used to carry out original digital image data compression output compressed data stream.
Computing module 503 is used for the division according to dividing elements module 501, to each unit original digital image data through overcompression
Obtained compressed data is calculated, and check value corresponding with the compressed data is obtained.The generating algorithm of check value is unlimited
Due to one kind.For example, computing module 503 can carry out cyclic redundancy check calculating to compressed data, cyclic redundancy check is obtained
Crc value.Computing module 503 can also be by carrying out other verification calculating lifes such as even-odd check to predetermined amount of compressed data
At check value.
Output module 504 can be realized by data selector, for the division according to dividing elements module 501, by institute
Check value splicing is stated to export after the obtained compressed data of overcompression in corresponding each unit original digital image data.For example,
As image is inputted one by one by pixel arrangement, compression module 502 compresses image pixel, the compression after output compression
Data.At the same time, the compressed data after computing module 503 compresses compression module 502 carries out cyclic redundancy check calculating,
The image pixel number of 501 pairs of dividing elements module inputs counts, when current pixel is the last one in active cell
When pixel, computing module 503 retains current CRC check value, and CRC check value is spliced to compressed data by output module 504
End exports together together with compressed data.Later, computing module 503 resets cyclic redundancy check and calculates, to compression module 502
Compress the compressed data progress CRC calculating that the image data of next unit obtains.Specifically, the output module 504 is by CRC
Check value is spliced to the end of compressed data, exports together together with compressed data and can be output module 504 in output compression number
According to rear, check value corresponding with the compressed data is and then exported incessantly.
In the compressed data situation corresponding with the original digital image data of intended pixel quantity of predetermined amount, show compared to Fig. 4
Image compressing device 40 out divides compressed data by increased dividing elements according to predetermined amount in image compressing device 50
Module 501 executes, and can be executed by compression module 401 in image compressing device 40.
Fig. 6 is the structural schematic diagram of the image decompression compression apparatus provided according to embodiments of the present invention, as shown in fig. 6, image
Decompressing device 60 includes: data allocation module 601, decompression module 602, computing module 603 and comparison module 604.
Data allocation module 601 for obtaining data flow, the data flow include compressed data and with every predetermined amount
The check value of compressed data combination.Specifically, can be in combination after the compressed data of every predetermined amount by check value splicing,
The check value that the compressed data with every predetermined amount combines can be in data flow incessantly after compressed data
Check value corresponding with the compressed data.Data allocation module 601 may include data distributor, select in different situations
It selects to different modules and sends data.For example, the data flow obtained may include the compressed data of every predetermined amount and splice in it
The cyclic redundancy check that carries out to it afterwards calculates generation check value, and the cyclic redundancy check calculating is made a living with preset multinomial
At multinomial.Above-mentioned " predetermined amount " can be measured according to circumstances using different standards.As an example, described pre-
Quantitative compressed data can be corresponding with the original digital image data of intended pixel quantity, wherein the scheduled pixel quantity can root
It is determined according to the image resolution ratio of original digital image data and preset compression ratio.In such a case, it is possible to it is every decompression obtain it is pre-
The original digital image data of pixel quantity is determined, just accordingly for the corresponding compression number of original digital image data based on the intended pixel quantity
According to generation check value.As another example, predetermined amount of compressed data can be the compressed data of predetermined length.This
In the case of, school just can be generated accordingly for the compressed data of the predetermined length with the compressed data of every decompression predetermined length
Test value.
Decompression module 602 is for unziping it the compressed data in data flow.In some embodiments, it decompresses
Original digital image data resulting after decompression can be sent in buffer by module 602, and the capacity of the buffer is described pre-
Shared capacity after quantitative compressed data decompression.
Computing module 603 is used to generate check value for the compressed data of every predetermined amount.The generating algorithm of check value is unlimited
Due to one kind.For example, computing module 603 compressed data to every predetermined amount can carry out cyclic redundancy check calculating generation respectively
Check value, the cyclic redundancy check are calculated using preset multinomial as generator polynomial, and computing module 603 can also be by right
Predetermined amount of compressed data carries out other verification calculating generation check values such as even-odd check.Computing module 603 generates verification
The generating mode of the mode of value and the check value combined with the compressed data of every predetermined amount is identical.For example, in cyclic redundancy check
Crc value is generated with identical generator polynomial in calculating.Computing module 603 can detecte whether decompression module 602 is completed
Decompression to the compressed data of predetermined amount, every verification that when completing to the decompression of the compressed data of predetermined amount, will just generate
Value is sent to comparison module 604, and resets cyclic redundancy check calculating.
Check value of the comparison module 604 for generating the compressed data for being directed to every predetermined amount and the compression with the predetermined amount
The check value of data combination compares, and determines the compressed data of the predetermined amount with the presence or absence of mistake according to comparison result.For example, such as
Both fruits are inconsistent, then determine predetermined amount of compressed data there are mistake, the compressed data for exporting the predetermined amount is corresponding
The instruction information that original digital image data is not correctly recovered;If the two is consistent, illustrate that predetermined amount of compressed data does not exist
Mistake occurs in transmission process, the original digital image data confidence level recovered is higher, and the compressed data for exporting the predetermined amount is corresponding
The instruction information that original digital image data is correctly recovered.The mistake refers to the compressed data being directed to when decompression and compression original image
It is inconsistent between the compressed data generated when data, caused by this can be the process of transmission or storage.For example, if compression
Data are by link channel transfer, probably due to the reasons such as noise, data receiver, lead to compressed data inconsequent;If
By compressed data storage into external SDRAM, probably due to the reasons such as SDRAM error, noise, timing, before leading to compressed data
It is inconsistent afterwards.If different between the compressed data generated when the compressed data being directed to when decompression and compression original digital image data
It causes, then the compressed data of the predetermined amount can be determined with the presence or absence of mistake by the comparison of check value.
Fig. 7 is the another structural schematic diagram of the image decompression compression apparatus provided according to embodiments of the present invention, as shown in fig. 7,
Image decompression compression apparatus 70 includes: data allocation module 701, dividing elements module 702, computing module 703, decompression module
704 and comparison module 705.In the present embodiment, image decompression compression apparatus 70 can be applied to the compressed data of predetermined amount and pre-
Determine situation corresponding to the original digital image data of pixel quantity.
Data allocation module 701 from the data flow of input for isolating to each unit original digital image data through overcompression
Resulting compressed data and the splicing check value corresponding with compressed data after compressed data.Specifically, the splicing is in pressure
After contracting data check value corresponding with compressed data can be in data flow incessantly after compressed data with
The corresponding check value of the compressed data.
Dividing elements module 702 is used to carry out dividing elements to the compressed data in data flow to obtain the compression of predetermined amount
Data, that is, the compressed data generated according to the original digital image data of intended pixel quantity.
Computing module 703 is used for the division according to dividing elements module 702, calculates the compressed data of predetermined amount,
Obtain check value corresponding with predetermined amount of compressed data.
The compressed data decompression that decompression module 704 is used to input, exports original digital image data.
Comparison module 705 is for being compared with the verification corresponding with the compressed data of predetermined amount that computing module 703 obtains
Whether Value Data and check value of the splicing after the compressed data are consistent.
Optionally, image decompression compression apparatus 70 can also include cache module 706, for storing the original image obtained after decompression
As data, in order to which subsequent image processing uses.In some embodiments, the memory capacity and intended pixel of cache module 706
The original digital image data of quantity is suitable.
When image decompression compression apparatus 70 carries out image decompressor, data allocation module 701 mentions image compressing device 50
Data flow is distributed to meter to the division of data flow as input traffic, and according to dividing elements module 702 by the data flow of confession
Module 703, decompression module 704 and comparison module 705 are calculated, computing module 703 carries out cyclic redundancy check meter to compressed data
It calculates, obtains CRC check value.It should be noted that CRC check value is only a preferred embodiment, the generating algorithm of check value is not
It is defined in this one kind.Computing module 703 can also be by carrying out other schools such as even-odd check to predetermined amount of compressed data
It tests calculating and generates check value.The data flow lieutenant colonel that computing module 703 generates the mode of check value and image compressing device 50 provides
The generating mode for testing value is identical.At the same time, decompression module 704 unzips it the compressed data, recovers one by one
Image pixel is stored in cache module 706.Dividing elements module 702 counts the image pixel recovered, when current
When the pixel recovered is the last one pixel in the original digital image data of current intended pixel quantity, comparison module 705 is urgent
CRC check value of the splicing after compressed data is extracted in the follow-up data stream closely followed, and it is calculated with computing module 703
Obtained CRC check value is compared, than it is more consistent when, export the corresponding original digital image data of compressed data of the predetermined amount by just
The instruction information really restored, when less consistent, the corresponding original digital image data of compressed data for exporting the predetermined amount is not correct
The instruction information of recovery, cache module 706 will export together with the original digital image data corresponding with the instruction information of storage.It calculates
Module 703 resets cyclic redundancy check and calculates, and continues to carry out cyclic redundancy check calculating to the compressed data in data flow.
In the compressed data situation corresponding with the original digital image data of intended pixel quantity of predetermined amount, show compared to Fig. 6
Image decompression compression apparatus 60 out determines the compressed data of every predetermined amount by increased unit in image decompression compression apparatus 70
Division module 702 executes, and can be executed by decompression module 602 in image decompression compression apparatus 60.In addition, in image decompression
Increase to the property of can choose cache module 706 in compression apparatus 70, for storing the original digital image data obtained after decompression, so as to subsequent
Image procossing uses.
Fig. 8 is the structural schematic diagram of the image processing apparatus provided according to embodiments of the present invention, as shown in figure 8, at image
Managing device 80 includes: image compression module 801, image decompressor module 802 and image processing module 803.
Image compression module 801 can be any of image compressing device 40 or image compressing device 50.
Image decompressor module 802 can be any of image decompressor device 60 or image decompression compression apparatus 70.
The decompression data that image processing module 803 is used to be provided according to image decompressor module 802 carry out image procossing,
And when the compressed data of predetermined amount has mistake, decompression data corresponding with the compressed data of the predetermined amount are skipped,
Continue image procossing.The pressure that the mistake refers to the compressed data being directed to when decompression and generates when compressing original digital image data
It is inconsistent between contracting data, caused by this can be the process of transmission or storage.For example, if compressed data is connected by chain
Road transmission, probably due to the reasons such as noise, data receiver, lead to compressed data inconsequent;If compressed data stored
Into external SDRAM, probably due to the reasons such as SDRAM error, noise, timing, lead to compressed data inconsequent.If solution
It is inconsistent between the compressed data generated when the compressed data being directed to when compression and compression original digital image data, then passing through check value
Comparison the compressed data of the predetermined amount can be determined with the presence or absence of mistake.There are mistakes for the compressed data of predetermined amount, then should
The corresponding original digital image data of the compressed data of predetermined amount is difficult to be correctly recovered.Image processing module 803 can not be according to presence
The data that the compressed data of the predetermined amount of mistake decompresses carry out image procossing.In some embodiments, image procossing mould
Block 803 may include algorithm processor of overdriving, and in predetermined amount of compressed data there is no in the case where mistake, be used for root
It is carried out according to data corresponding in the data and next frame image data for unziping it acquisition to predetermined amount of compressed data
It overdrives algorithm process.It is deposited in the case of an error in predetermined amount of compressed data, the compressed data of the predetermined amount is corresponding
Original digital image data be difficult to be correctly recovered, the data not decompressed according to the compressed data of the predetermined amount carry out corresponding
It overdrives algorithm process, directly corresponding image data in output next frame image.
Fig. 9 is the another structural schematic diagram of the image processing apparatus provided according to embodiments of the present invention, as shown in figure 9, figure
As processing unit 90 includes image compressing device 50, image decompression compression apparatus 70, frame memory module 901 and algorithm process of overdriving
Module 902.
Detailed description has been carried out above with reference to Fig. 5 and Fig. 7 in image compressing device 50 and image decompression compression apparatus 70,
Details are not described herein.
Frame memory module 901 is used to store the data flow of the output of image compressing device 50.In some embodiments, frame stores
The memory capacity of module 901 is that correspondence often makes a reservation in the size and a frame image for compress an obtained compressed data of frame image
The size of the check value of the compressed data of amount.By utilizing temporarily storage image compressing device 50 output of frame memory module 901
Data flow, so that image decompression compression apparatus 70 reads the data flow of the output of image compressing device 50 at the time of accurate, preferably
Algorithm processing module 902 of overdriving is cooperated to carry out image procossing.
Algorithm processing module of overdriving 902 is used to decompress obtained original digital image data according to image decompression compression apparatus 70 and carries out
It overdrives algorithm process.For example, when the compressed data pair in the previous frame image that image decompression compression apparatus 70 provides with predetermined amount
When the instruction information for the original digital image data answered means correct recovery, algorithm processing module of overdriving 902 is according to previous frame figure
The original digital image data and the image data of present frame same position as in carry out algorithm process of overdriving, short at variation initial stage
In time, it will should increase certain proportion to the voltage that liquid crystal molecule applies, liquid crystal molecule is forced to change row within a short period of time
Column, so that the response time of liquid crystal is promoted, for example the gray value of a pixel is 100 in previous frame image, and current frame image
In corresponding grey scale pixel value be 150, if compressed and decompressed module is correct, overdrive algorithm can based on 100 and 150 the two
Numerical value increases the voltage applied to liquid crystal molecule in a short time, quickly to show correct image.When image decompression compression apparatus
The instruction information of 70 original digital image datas provided is meant when be not correctly recovered, then algorithm processing module of overdriving 902
Algorithm process of overdriving accordingly is not carried out according to the original digital image data, directly exports the image data of present frame corresponding position,
Because if there are mistakes for compressed data, just the gray value of the accurate pixel cannot be obtained by decompressing, for example, by upper one
Grey scale pixel value decompression is condensed to 200 in the image of frame, and algorithm of overdriving at this time will be based on 200 and 150 the two numerical value pair
Liquid crystal molecule applies polarity difference and increases a certain proportion of voltage, can obtain the image of mistake naturally.For another example by previous frame
Image in the grey scale pixel value decompression be condensed to 50, overdrive at this time algorithm will based on 50 and 150 the two numerical value to liquid crystal
Molecule applies the voltage bigger than under normal circumstances, and the pixel grey scale for being likely to result in display is instantaneously more than correct gray value
150, obtain the image of mistake.The mistake refers to the compressed data that is directed to when decompression and generates when compressing original digital image data
It is inconsistent between compressed data, caused by this can be the process of transmission or storage.For example, if compressed data passes through link
Channel transfer, probably due to the reasons such as noise, data receiver, lead to compressed data inconsequent;If compressed data deposited
It stores up in external SDRAM, probably due to the reasons such as SDRAM error, noise, timing, lead to compressed data inconsequent.If
It is inconsistent between the compressed data generated when the compressed data being directed to when decompression and compression original digital image data, then passing through verification
The comparison of value can determine the compressed data of the predetermined amount with the presence or absence of mistake.
The embodiment of the present invention generates check value by being directed to the compressed data of every predetermined amount in image compression process, and
Check value is regenerated in image decompression process and is compared with previous verification value, can detecte the generation of data flow
Error situation, so reduce as data flow occur mistake and caused by subsequent image show mistake, reduce such as noise, image
Phenomena such as shake, splashette.In embodiments of the present invention, by the compression process of image data by compressed data with predetermined amount
It divides, on the one hand can reduce required bandwidth when storage image, on the other hand can reduce to memory storage capabilities
Requirement.It is determined in predetermined amount of compressed data and is wrapped by the image resolution ratio and preset compression ratio of original digital image data
The pixel quantity of the original image contained, can reduce store image when required bandwidth and while to the requirement of memory capacity
Take into account compression ratio.In embodiments of the present invention, cyclic redundancy check is carried out to the compressed data and calculates generation check value, erroneous judgement
Rate is low, and testing accuracy is high, and encodes and be simply conducive to realize.
The above description is only a preferred embodiment of the present invention, is not intended to restrict the invention, for those skilled in the art
For, the invention can have various changes and changes.All any modifications made within the spirit and principles of the present invention are equal
Replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (27)
1. a kind of method for compressing image, comprising:
Original digital image data is compressed to generate compressed data;
Every compressed data for generating predetermined amount generates check value for predetermined amount of compressed data;
It is exported after combining the check value with predetermined amount of compressed data as data flow.
2. according to the method described in claim 1, wherein, predetermined amount of compressed data is the original according to intended pixel quantity
The compressed data that image data generates.
3. according to the method described in claim 2, wherein, the intended pixel quantity is according to the image of the original digital image data point
Resolution and preset compression ratio determine.
4. according to the method described in claim 1, wherein, predetermined amount of compressed data is the compressed data of predetermined length.
5. according to the method described in claim 1, wherein, the check value includes cyclic redundancy check (CRC) value.
6. a kind of image expansion method, comprising:
Data flow is obtained, the data flow includes compressed data and the check value that combines with the compressed data of every predetermined amount;
The compressed data is unziped it to generate decompression data and generate verification for the compressed data of every predetermined amount
Value;
By the check value generated for the compressed data of every predetermined amount and the check value phase combined with the compressed data of the predetermined amount
Compare;
Determine the compressed data of the predetermined amount with the presence or absence of mistake according to comparison result.
7. according to the method described in claim 6, wherein, predetermined amount of compressed data is the original according to intended pixel quantity
The compressed data that image data generates.
8. according to the method described in claim 7, wherein, the intended pixel quantity is according to the image of the original digital image data point
Resolution and preset compression ratio determine.
9. according to the method described in claim 6, wherein, predetermined amount of compressed data is the compressed data of predetermined length.
10. according to the method described in claim 6, wherein, the check value includes cyclic redundancy check (CRC) value.
11. a kind of image processing method, comprising:
Original digital image data is compressed by image compressing device to generate compressed data, every compressed data for generating predetermined amount,
Corresponding check value is generated for predetermined amount of compressed data, and by the check value and predetermined amount of compressed data
It is exported after combination as data flow;
The data flow is obtained from described image compression set by image decompression compression apparatus, the compressed data is unziped it
It, will be raw for the compressed data of every predetermined amount to generate decompression data and generate check value for the compressed data of every predetermined amount
At check value and the check value that is combined with the compressed data of the predetermined amount compare, and the predetermined amount is determined according to comparison result
Compressed data whether there is mistake;
Image procossing is carried out according to decompression data by image processing apparatus, and whenever there are mistakes for the compressed data of predetermined amount
When, decompression data corresponding with the compressed data of the predetermined amount are skipped, image procossing is continued.
12. according to the method for claim 11, wherein predetermined amount of compressed data is according to intended pixel quantity
The compressed data that original digital image data generates.
13. according to the method for claim 11, wherein predetermined amount of compressed data is the compression number of predetermined length
According to.
14. according to the method for claim 11, wherein the check value includes cyclic redundancy check (CRC) value.
15. according to the method for claim 11, wherein described image processing includes algorithm process of overdriving.
16. a kind of image compressing device, comprising:
Compression module, for being compressed original digital image data to generate compressed data;
Computing module, every compressed data for generating predetermined amount, for generating check value for predetermined amount of compressed data;
Output module, for being exported after combining the check value with predetermined amount of compressed data as data flow.
17. image compressing device according to claim 16, wherein predetermined amount of compressed data is according to predetermined picture
The compressed data that the original digital image data of prime number amount generates.
18. image compressing device according to claim 17, wherein the intended pixel quantity is according to the original image number
According to image resolution ratio and preset compression ratio determine.
19. device according to claim 16, wherein predetermined amount of compressed data is the compression number of predetermined length
According to.
20. device according to claim 16, wherein the check value includes cyclic redundancy check (CRC) value.
21. a kind of image decompression compression apparatus, comprising:
Data allocation module, for obtaining data flow, the data flow includes compressed data and the compression number with every predetermined amount
According to combined check value;
Decompression module, for being unziped it to the compressed data;
Computing module generates check value for the compressed data for every predetermined amount;
Comparison module, for will be directed to every predetermined amount compressed data generate check value and with the compressed data group of the predetermined amount
The check value of conjunction compares, and determines the compressed data of the predetermined amount with the presence or absence of mistake according to comparison result.
22. device according to claim 21, wherein predetermined amount of compressed data is according to intended pixel quantity
The compressed data that original digital image data generates.
23. device according to claim 22, wherein the intended pixel quantity is according to the image of the original digital image data
Resolution ratio and preset compression ratio determine.
24. device according to claim 21, wherein predetermined amount of compressed data is the compression number of predetermined length
According to.
25. device according to claim 21, wherein the check value includes cyclic redundancy check (CRC) value.
26. a kind of image processing equipment, comprising:
Image compressing device described in any one of 6 to 20 according to claim 1;
The image decompression compression apparatus according to any one of claim 21 to 25;And
Image processing apparatus, the decompression data progress image procossing for being obtained according to image decompression compression apparatus, and whenever
When the compressed data of predetermined amount has mistake, decompression data corresponding with the compressed data of the predetermined amount are skipped, are continued
Image procossing.
27. image processing equipment according to claim 26, wherein described image processing includes algorithm process of overdriving.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610950730.7A CN106658017B (en) | 2016-10-26 | 2016-10-26 | Compression of images and decompression method, image processing method and relevant apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610950730.7A CN106658017B (en) | 2016-10-26 | 2016-10-26 | Compression of images and decompression method, image processing method and relevant apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106658017A CN106658017A (en) | 2017-05-10 |
CN106658017B true CN106658017B (en) | 2019-08-02 |
Family
ID=58821521
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610950730.7A Active CN106658017B (en) | 2016-10-26 | 2016-10-26 | Compression of images and decompression method, image processing method and relevant apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106658017B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109326251B (en) * | 2017-08-01 | 2021-02-26 | 奇景光电股份有限公司 | Image data compression method and time sequence controller |
CN108897806A (en) * | 2018-06-15 | 2018-11-27 | 东软集团股份有限公司 | Comparison of data consistency method, apparatus, storage medium and electronic equipment |
CN111614952A (en) * | 2019-02-25 | 2020-09-01 | 北京地平线机器人技术研发有限公司 | Method and device for detecting reliability of image transmission channel |
CN111681199B (en) * | 2019-02-25 | 2023-11-03 | 北京地平线机器人技术研发有限公司 | Method and device for detecting image validity |
CN114442983A (en) * | 2022-01-28 | 2022-05-06 | 深圳市爱协生科技有限公司 | Image display control method and device applied to industrial screen and computer equipment |
CN115086684B (en) * | 2022-08-22 | 2022-11-18 | 中科金勃信(山东)科技有限公司 | Image compression method, system and medium based on CRC |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1065567A (en) * | 1991-02-27 | 1992-10-21 | 通用电气公司 | A kind of HDTV compression system |
EP1478119A2 (en) * | 2003-05-16 | 2004-11-17 | Samsung Electronics Co., Ltd. | Method of recovering clock signal using user clock code in TDM digital video signal and transmitting/receiving apparatus user for the method |
CN101222626A (en) * | 2008-02-01 | 2008-07-16 | 中国传媒大学 | Digital television signal code stream characteristic extraction and recognition method and equipment thereof |
CN101222637A (en) * | 2008-02-01 | 2008-07-16 | 清华大学 | Encoding method with characteristic indication |
-
2016
- 2016-10-26 CN CN201610950730.7A patent/CN106658017B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1065567A (en) * | 1991-02-27 | 1992-10-21 | 通用电气公司 | A kind of HDTV compression system |
EP1478119A2 (en) * | 2003-05-16 | 2004-11-17 | Samsung Electronics Co., Ltd. | Method of recovering clock signal using user clock code in TDM digital video signal and transmitting/receiving apparatus user for the method |
CN101222626A (en) * | 2008-02-01 | 2008-07-16 | 中国传媒大学 | Digital television signal code stream characteristic extraction and recognition method and equipment thereof |
CN101222637A (en) * | 2008-02-01 | 2008-07-16 | 清华大学 | Encoding method with characteristic indication |
Also Published As
Publication number | Publication date |
---|---|
CN106658017A (en) | 2017-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106658017B (en) | Compression of images and decompression method, image processing method and relevant apparatus | |
US8526730B2 (en) | Image processing apparatus and method of processing color image data that perform overdrive | |
CN110633610B (en) | Student state detection method based on YOLO | |
CN105653407A (en) | Terminal, jam measuring method, device, game jam measuring method and apparatus | |
CN102214452B (en) | Image processing apparatus and image processing method | |
CN103440612A (en) | Image processing method and device in GPU vitualization | |
CN106101712B (en) | A kind of processing method and processing device of video stream data | |
CN103795499B (en) | Satellite load high-speed serial port error detection and correction method | |
CN106686371B (en) | A kind of frame per second test method, device, equipment and system | |
US8947440B2 (en) | Display device | |
CN102065318A (en) | System and method for detecting frame loss and image split of digital video system | |
CN107395692A (en) | Terminal screen methods of exhibiting and device | |
US10986309B2 (en) | Video buffering and frame rate doubling device and method | |
US20190392551A1 (en) | Method for 3d waveform mapping of full-parallel structure | |
CN104540044B (en) | A kind of video segmentation method and device | |
CN111261088A (en) | Image drawing method and device and display device | |
US9001267B2 (en) | Method and apparatus for tightly coupled, low power image processing | |
CN114549725A (en) | Image processing device, image fixing determination method and display system | |
EP2648179B1 (en) | Image processing device, image processing method | |
US6907068B2 (en) | Image compressing coding apparatus and method for detecting a top position of an image in a buffer overflow | |
US6697119B2 (en) | Apparatus and method for converting frame rates of signals under different systems | |
CN103680402B (en) | A kind of asynchronous all-colour LED display control program based on LEON3 soft nucleus CPU and control method thereof | |
CN113157226A (en) | Remote data display method, device, equipment and machine-readable storage medium | |
TWI473068B (en) | Overdrive device applied to displayer and associated method | |
CN101572077A (en) | Frame rate conversion apparatus and frame rate conversion method |
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 |