CN110149514A - Compression method, device, acquisition system and the medical image system of scan data - Google Patents
Compression method, device, acquisition system and the medical image system of scan data Download PDFInfo
- Publication number
- CN110149514A CN110149514A CN201910471621.0A CN201910471621A CN110149514A CN 110149514 A CN110149514 A CN 110149514A CN 201910471621 A CN201910471621 A CN 201910471621A CN 110149514 A CN110149514 A CN 110149514A
- Authority
- CN
- China
- Prior art keywords
- data
- difference
- compression
- scan data
- scan
- 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.)
- Granted
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/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/136—Incoming video signal characteristics or properties
- H04N19/137—Motion inside a coding unit, e.g. average field, frame or block difference
-
- 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/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/17—Methods 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 an image region, e.g. an object
-
- 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
- H04N19/423—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 characterised by memory arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
The invention discloses a kind of compression method of scan data, device, acquisition system and medical systems.The compression method of the scan data includes: acquisition scan data, and calculates the difference data of Current Scan data Yu previous frame scan data;Preset data transformation is carried out to the distribution mode of the difference data, obtains transformed difference data, wherein the data that are concerned of the transformed difference data are in setting regions;Data compression is carried out to the transformed difference data.The technical solution of the embodiment of the present invention realizes the compression to scan data, reduces the data bandwidth of system, improves the efficiency of transmission of data.
Description
Technical field
The present embodiments relate to data processing technique more particularly to a kind of compression methods of scan data, device, acquisition
System and medical image system.
Background technique
Nowadays, the application of CT (X-ray CT scan technology, Computed Tomography) is more next
It is more extensive.CT scan system is to carry out tomoscan using X-ray, is received using detector, will by data collection system
Received signal is converted into digital signal, usually 16 logarithmic datas, then passes through port transmission to data receiving system.
With the development of science and technology people are also higher and higher to the performance requirement of CT system, the data volume of CT scan is also more next
Bigger, this makes CT scan data during transmission, bigger transmission bandwidth and higher transmission speed is needed, to CT
Data collection system and data receiving system constitute pressure it is also increasing.
And existing CT scan system does not compress CT scan data, the data transmission efficiency of CT system is low, is
It unites at high cost.
Summary of the invention
The embodiment of the invention provides a kind of compression method of scan data, device, acquisition system and medical image system,
To realize the compression of scan data, reduce the data bandwidth of system, improves the efficiency of transmission of data.
In a first aspect, the embodiment of the invention provides a kind of compression method of scan data, the compression side of the scan data
Method includes:
Scan data is obtained, and calculates the difference data of Current Scan data Yu previous frame scan data;
Preset data transformation is carried out to the distribution mode of the difference data, obtains transformed difference data, wherein institute
The data that are concerned for stating transformed difference data are in setting regions;
Data compression is carried out to the transformed difference data.
Second aspect, the embodiment of the invention also provides a kind of compression set of scan data, the compressions of the scan data
Device includes:
Difference obtains module, for obtaining scan data, and calculates the difference of Current Scan data Yu previous frame scan data
Value;
Difference conversion module obtains the difference number with the regularity of distribution for carrying out default transformation to the difference data
According to;Wherein, the regularity of distribution is in the setting regions of the difference data being concerned in data set;
Data compressing module, for carrying out data compression to the transformed difference data.
The third aspect, the embodiment of the invention also provides a kind of data collection system, which includes:
Data buffer storage device;
Data compression device, the compression method of the scan data for executing any embodiment of that present invention offer.
Fourth aspect, the embodiment of the invention also provides a kind of medical image systems, comprising:
Scanning device, institute's scanning device include detector and data processing equipment, and the detector is used for acquisition scans number
According to the data processing equipment is used for cache sweep data and executes the compression of the scan data of any embodiment of that present invention offer
Method;
Image forming apparatus is connect with the scanning device, for receiving compressed scan data and executing decompression,
Medical image is generated according to the scan data that decompression obtains.
The technical solution of the embodiment of the present invention, by the way that the difference of scan data is carried out data transformation, so that in difference
It is concerned data to be in setting regions, then transformed data is compressed, solve the data compression of scan data
Problem reduces bandwidth required for data are transmitted, reduces the cost of system, improve the efficiency of transmission of data.
Detailed description of the invention
Fig. 1 is the flow chart of the compression method of one of the embodiment of the present invention one scan data;
Fig. 2 is the flow chart of the compression method of one of the embodiment of the present invention two scan data;
Fig. 3 is the structural schematic diagram of the compression set of one of the embodiment of the present invention three scan data;
Fig. 4 is the structural schematic diagram of one of the embodiment of the present invention four data collection system;
Fig. 5 is the structural schematic diagram of one of the embodiment of the present invention five medical image system.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart of the compression method for scan data that the embodiment of the present invention one provides, and the present embodiment can fit
The case where compression for scan data, this method can be executed by the compression set of scan data, specifically include following step
It is rapid:
Step 110 obtains scan data, and calculates the difference data of Current Scan data Yu previous frame scan data.
Wherein, scan data is the data for being imaged, generally numerical data.It can be the number of detector acquisition
According to or data of the detector data collected after log-compressed, also referred to as raw data.Scan data can be CT at
As the life data in system after log-compressed.
Optionally, the difference data of the Current Scan data and previous frame scan data, comprising:
Judge whether current data is the first frame data;
If so, by present data transmission to buffer area;
If it is not, then calculating the difference data of Current Scan data Yu previous frame scan data.
Exemplary, it is assumed that Current Scan data are Ai, then previous frame scan data is Ai-1, AiAnd Ai-1Digit be NA。
So, Current Scan data A is calculatediWith next frame scan data Ai-1Difference data Di, i.e., are as follows:
Di=Ai-Ai-1
Under normal circumstances, DiData area to be much smaller than Ai。
Step 120 carries out preset data transformation to the distribution mode of the difference data, obtains transformed difference number
According to, wherein the data that are concerned of the transformed difference data are in setting regions.
Before compressing difference data, need that difference data is first for conversion into a kind of compressible format.Root
Representative in difference data, effective data are gathered in by certain transform method according to the characteristic distributions of difference data
Together.
Wherein, being concerned data can be non-zero data in difference data, be also possible to data within the set range.
Usually, being concerned data is that can represent the data for the feature for being formed by image.Wherein, preset data, which converts, includes:
Discrete cosine transform or wavelet transformation.
Optionally, after the difference data of the calculating Current Scan data and previous frame scan data, to described
The distribution mode of difference data carries out before preset data transformation, further includes: is missed according to the compression of the previous frame scan data
Difference adjusts the difference data.
Wherein, compressed error is the error generated in compression process, such as round-off error.By by previous step compression or
The caching of compressed error caused by the compression of previous frame scan data, and before carrying out current difference compression, it is swept with previous frame
The compressed error of data is retouched to adjust the difference data of Current Scan data, come the error generated when reducing compression.
Illustratively, it is assumed that previous frame scan data Ai-1Compressed error be Δi-1, Current Scan data AiWith previous frame
Scan data Ai-1Difference data then adjust are as follows:
Di=Ai-Ai-1-Δi-1
Discrete cosine transform is a kind of transformation relevant to Fourier transformation, similar with discrete Fourier transform, but only
Real number is used.It is mainly used for the compression of data or image, the signal of airspace or time domain can be transformed on frequency domain, is had good
The performance of good decorrelation.
Illustratively, when it is default be transformed to discrete cosine transformation when, the distribution mode of the difference data is preset
Data transformation, obtains transformed difference data, comprising:
The difference data is split;
Discrete cosine transform is carried out to the difference data after segmentation, to obtain transformed difference data.
Assuming that difference data is Di, by dividing DiIt is divided into m × n data block, then D can be usedi(p, q) is indicated
The data block of the pth row q column of difference data after segmentation.Again to Di(p, q) carries out discrete cosine transform, converts as follows:
Fi(p, q)=CmDi(p,q)Cn T
Wherein, CmAnd CnThe respectively coefficient of the m of long-lost cosine code and n transformation matrix.
Step 130 carries out data compression to the transformed difference data.
Optionally, data compression is carried out to the transformed difference data, comprising: to the transformed difference data
Quantified, and the difference data after quantization is encoded.
The embodiment of the present invention also provides a kind of decompression method of scan data, which includes:
Compressed data is decoded;
The inverse transformation of default transformation is carried out to decoded compressed data;
Transformed compressed data and previous frame scan data are summed again, thus the scan data after being decompressed.
Optionally, before being decoded to compressed data, further includes: judge whether the compressed data is the first frame number
According to if otherwise continuing decompression operation.
It is to be understood that decompression is the inverse process of compression, that is, need to pass through used algorithm when compression when decompressing
Inverse operation obtains.Therefore, the embodiment of the invention also provides compressed datas corresponding with the compression method of above-mentioned scan data
Decompressing method.
The technical solution of the embodiment of the present invention, by the way that the difference of scan data is carried out data transformation, so that in difference
It is concerned data to be in setting regions, then transformed data is compressed, solve the data compression of scan data
Problem reduces bandwidth required for data are transmitted, reduces the cost of system, improve the efficiency of transmission of data.
Embodiment two
Fig. 2 is a kind of flow chart of the compression method of scan data provided by Embodiment 2 of the present invention, the skill of the present embodiment
Art scheme further refines based on the above technical solution, optionally, as shown in Fig. 2, provided in an embodiment of the present invention sweep
The compression method for retouching data includes:
Step 210 obtains scan data, and calculates the difference data of Current Scan data Yu previous frame scan data.
Step 220 carries out preset data transformation to the distribution mode of the difference data, obtains transformed difference number
According to, wherein the data that are concerned of the transformed difference data are in setting regions.
Step 230 carries out isolated high-order difference and low level difference to the transformed difference data.
Illustratively, it is assumed that transformed difference data FiDigit be NA, by separation, by FiIt is separated into high potential difference
Value HiWith low level difference Li, wherein high-order difference HiDigit be NH, low level difference LiDigit be NL, and NH+NL=NA。
Optionally, the lock out operation of transformed difference data can be carried out using following expressions:
Wherein, floor indicates to be rounded downwards, such as floor (3.8)=3.
Wherein, the digit N of the high-order differenceHAnd the digit N of the low level differenceLIt can be adjusted according to demand.
Optionally, after carrying out isolated high-order difference and low level difference to the transformed difference data, also
It include: the high-order difference and/or low level difference after the storage separation.
Optionally, high-order difference and low level difference can be saved to buffer area.
Step 240 carries out data compression according to setting compression ratio to the high-order difference and/or the low level difference.
Optionally, data compression, packet are carried out according to setting compression ratio to the high-order difference and/or the low level difference
It includes: carrying out data compression according to setting compression ratio to the high-order difference and/or the low level difference according to default mode.It is silent
Recognizing mode can be the mode of damaging or lossless mode, can be configured by user, can also be system default, the present invention is to this
Without limiting.
Optionally, data are carried out according to setting compression ratio to the low level difference after the high-order difference and/or the separation
Compression, comprising: if it is lossless compression mode that user inputs for the first time, after the high-order difference and the separation after the separation
Low level difference carries out data compression according to the first compression ratio of setting;Alternatively, if it is lossy compression mode that user inputs for the first time, it is right
High-order difference after the separation carries out data compression according to the second compression ratio of setting.
Optionally, the low level difference after the high-order difference and the separation after the separation is being compressed according to setting first
After progress data compression, further includes: save the compressed low level difference and compressed high-order difference.
Optionally, after carrying out data compression according to the second compression ratio of setting to the high-order difference after the separation, also
It include: the low level difference saved after the compressed high-order difference and separation.
Wherein, user input for the first time can be equipment starting after, user for the first time input;It was also possible to apart from user's last time
The first time input of input after a certain period of time;First time input either after the data compression for having executed one group of data.It can
Being inputted by physical button, can also be inputted by touch screen;Either carried out by speech recognition technology
Voice input, the invention does not limit this.The third compression ratio that first compression ratio, the second compression are when subsequently noted, can
To be to be set by the user, it is also possible to system configuration, can be and parameter configuration is carried out according to pre- agreement, or rule of thumb
Value is set.
When the input for the first time of user be lossless compression mode or user's selected data compression mode be lossless mode,
It then needs the high-order difference after separating and low level difference all carrying out data compression;And when the input for the first time of user is lossy compression
When mode, then only need to carry out data compression to the high-order difference after separation.
Illustratively, when it is lossless compression that user inputs for the first time, by the high-order difference after separation according to compression ratio 1.5:1
Data compression is carried out, low level difference carries out data compression according to compression ratio 1:1, i.e. holding low level difference, it is not compressed,
Compressed high-order difference and compressed low level difference are merged, compressed difference data is obtained;When user for the first time
When input is lossy compression, the high-order difference after separation is subjected to data compression according to compression ratio 3:1.In general, when lossy compression
Compression ratio is higher than the compression ratio of lossless compression.Compression ratio in example is only used as example to use, and is not to limit of the invention
It is fixed, data compression can also be carried out using other compression ratios.
Optionally, after carrying out data compression according to the second compression ratio of setting to the high-order difference after the separation, also
Include: within a preset time user adjust compression ratio be third compression ratio, then to the high-order difference after the separation according to third
Compression ratio carries out data compression.
Optionally, after carrying out data compression according to third compression ratio to the high-order difference after the separation, further includes:
It saves described according to the compressed high-order difference of third compression ratio.
Wherein, preset time can be the time set by user, perhaps default time or set based on experience value
The fixed time.Preset time can be 3 minutes, 5 minutes, 10 minutes etc..Third compression ratio is usually less than the second compression ratio, it is assumed that
Second compression ratio is 3:1, then third compression ratio can be 2:1, is also possible to the compression ratio bigger than the second compression ratio, such as 5:1,
Present invention comparison is without limiting.
It is compressed when user's selection damages mode, the corresponding decompression of progress contracts to after data progress preview, and discovery is pressed
Data after contracting are unable to meet demand, and such as image generated is not clear enough or details is sufficiently complete, can re-start pressure
The adjustment of contracting ratio selects the lesser compress mode of compression ratio, to obtain relatively clear image.It is of course also possible to according to need
The biggish compression ratio of selection is asked to be compressed.
Optionally, adjustment compression ratio can be pressed by user physical button perhaps virtual key progress such as tune up or adjust
Small key is also possible to user and is inputted by speech recognition or specified gesture, and the invention does not limit this.
Optionally, after carrying out data compression according to the second compression ratio of setting to the high-order difference after the separation, also
It include: user's input nondestructive compact model again within a preset time, then to the low level difference after the separation according to setting the
Four compression ratios carry out data compression, and compressed low level difference is merged with compressed high-order difference.
Optionally, after carrying out data compression according to the 4th compression ratio of setting to the low level difference after the separation, also
It include: the low level difference for saving and being compressed according to the 4th compression ratio.
After user selects lossy compression, it is found that image generated is much unable to reach default effect, user can be with
It reselects lossless compression mode and carries out data compression.When user is inputted for the first time as lossy compression, by high-order difference according to the
Two compression ratios are compressed, such as 3:1, in setting time user input nondestructive compression again, then by low level difference according to the 4th compression
Than being compressed, be merged such as 1.2:1 or 1:1, and by high-order difference compressed twice and low level difference, composition compression
Difference data afterwards.
Certainly, it can also be user and inputting lossy compression mode for the first time, after the adjustment operation of one or many compression ratios,
Reselection inputs lossy compression mode.Illustratively, when it is lossy compression that user inputs for the first time, by the high-order difference after separation
Carry out data compression according to compression ratio 3:1, compression ratio be adjusted to 1.5:1 again later, then to the high-order difference after separation according to
1.5:1 carry out data compression, later again input nondestructive compact model, then to the low level difference after separation according to compression ratio 1.2:1
Data compression is carried out, and compressed high-order difference and compressed volume low level difference are merged, is combined into compressed difference
Data.
Optionally, the merging can be compressed NHThe high-order difference H of bitiAnd NLThe low level difference L of biti
Difference is merged into NAThe compressed difference data of bit, wherein and NH+NL=NA.The preceding N of compressed difference dataHBit
As compressed high-order difference, rear NLBit is compressed low level difference.Alternatively, the high N of compressed difference dataH
Position is compressed high-order difference, low NLPosition is compressed low level difference.
The embodiment of the invention also provides a kind of method of the decompression of compressed data, the decompression method is above-mentioned sweeps
The inverse process of the compression method of data is retouched, illustratively, this method comprises:
If compact model is lossless compression data, compressed high-order difference is obtained;
The compressed high-order difference is decoded and is preset the inverse transformation of transformation;
Transformed high-order difference is merged with the low level difference of the frame scan data again, the difference number after obtaining decompression
According to;
Difference data after the decompression is summed with previous frame scan data, thus the scanning number after being decompressed
According to.
Likewise, then obtaining compressed high-order difference and compressed low potential difference when compact model is lossless compression
Value, then the inverse transformation of transformation is unziped it and preset to the two, then by transformed high position difference and transformed low potential difference
Value merges the difference data after becoming decompression, then the difference data after the decompression is summed with previous frame scan data,
Thus the scan data after being decompressed.
The technical solution of the embodiment of the present invention is separated into low level difference and height by carrying out transformed difference data
Potential difference value realizes lossy compression and lossless compression, and have by adjusting the digit and compression ratio of low level difference and high-order difference
The compression ratio for damaging compression real-time perfoming can be adjusted according to demand.Meanwhile additionally providing the switching of the mode of damaging to lossless mode.It is real
The compression method that compression ratio can be adjusted in real time is showed, compression method has flexibility and convenience, designs humanized, polynary
Change.
Embodiment three
Fig. 3 is the structural schematic diagram of the compression set of one of the embodiment of the present invention three scan data, as shown in figure 3,
The compression set of scan data includes: that difference obtains module 310, difference conversion module 320 and data compressing module 330.
Wherein, difference obtains module 310, for obtaining scan data, and calculates Current Scan data and previous frame scanning
The difference of data;Difference conversion module 320 obtains having the regularity of distribution for carrying out default transformation to the difference data
Difference data;Wherein, the regularity of distribution is in the setting regions of the difference data being concerned in data set;Data compression
Module 330, for carrying out data compression to the transformed difference data.
The technical solution of the embodiment of the present invention, by the way that the difference of scan data is carried out data transformation, so that in difference
It is concerned data to be in setting regions, then transformed data is compressed, solve the data compression of scan data
Problem reduces bandwidth required for data are transmitted, reduces the cost of system, improve the efficiency of transmission of data.
Optionally, after the difference data of the calculating Current Scan data and previous frame scan data, to described
The distribution mode of difference data carries out before preset data transformation, further includes: is missed according to the compression of the previous frame scan data
Difference adjusts the difference.
Wherein, preset data transformation includes: discrete cosine transform or wavelet transformation.
Optionally, data compression is carried out to the transformed difference data, comprising: to the transformed difference data
Quantified, and the difference data after quantization is encoded.
Optionally, data compression is carried out to the transformed difference data, comprising: to the transformed difference data
Carry out isolated high-order difference and low level difference;To the high-order difference and/or the low level difference according to setting compression ratio
Carry out data compression.Wherein, the digit of the digit of high-order difference and the low level difference can be adjusted according to demand.
Optionally, data are carried out according to setting compression ratio to the low level difference after the high-order difference and/or the separation
Compression, comprising: if it is lossless compression mode that user inputs for the first time, after the high-order difference and the separation after the separation
Low level difference carries out data compression according to the first compression ratio of setting;Alternatively, if it is lossy compression mode that user inputs for the first time, it is right
High-order difference after the separation carries out data compression according to the second compression ratio of setting.
Optionally, after carrying out data compression according to the second compression ratio of setting to the high-order difference after the separation, also
Include: within a preset time user adjust compression ratio be third compression ratio, then to the high-order difference after the separation according to third
Compression ratio carries out data compression.
After data compression is carried out according to the second compression ratio of setting to the high-order difference after the separation, further includes:
User's input nondestructive compact model again in preset time, then to the low level difference after the separation according to the 4th compression ratio of setting
Data compression is carried out, and compressed low level difference is merged with compressed high-order difference.
The compression set of scan data provided by the embodiment of the present invention can be performed provided by any embodiment of the invention
The compression method of scan data has the corresponding functional module of execution method and beneficial effect.
Example IV
Fig. 4 is a kind of structural schematic diagram for data collection system that the embodiment of the present invention four provides, as shown in figure 4, the number
It include data buffer storage device 410 and data compression device 420 according to acquisition system.
Wherein, data buffer storage device 410 is used for the data that caching system links generate;Data compression device 420 is used
In the compression method for executing scan data provided by any embodiment of the invention.
Optionally, data collection system further includes mode selection module 430, for carrying out the selection of compact model.If any
Damage the selection of compact model and lossless compression mode.Optionally, mode selection module 430 can be physical button, and such as button is opened
Close etc., it is also possible to virtual key.
Optionally, data collection system further includes compression ratio adjustment module 440, for being compressed in lossy compression
The adjustment of ratio.Compression ratio adjustment module 440 may include that two physical buttons are used to adjust compression ratio, be also possible to touch screen,
Compression ratio is adjusted by the touch input of user;Can also be speech recognition equipment, by identify user phonetic order come into
The adjustment of row compression ratio.
Embodiment five
Fig. 5 is the structural schematic diagram of a kind of medical image system that the embodiment of the present invention four provides, as Fig. 5 institute's medicine at
As system includes: scanning device 510, institute's scanning device 510 includes detector 511 and data processing equipment 512, and image generation is set
Standby 520.
Wherein, detector 511 is used for acquisition scans data;Data processing equipment 512 is for cache sweep data and executes
The compression method of scan data provided by any embodiment of the invention;Image forming apparatus 520 is connect with scanning device 510,
For receiving compressed scan data and executing corresponding decompression, medicine figure is generated according to the scan data that decompression obtains
Picture.
Optionally, medical image system can be CT imaging system, ultrasonic image-forming system or optical imaging system.
Embodiment six
Inventive embodiments six also provide a kind of storage medium comprising computer executable instructions, and the computer is executable
It instructs when being executed by computer processor for executing a kind of compression method of scan data, this method comprises:
Scan data is obtained, and calculates the difference data of Current Scan data Yu previous frame scan data;
Preset data transformation is carried out to the distribution mode of the difference data, obtains transformed difference data, wherein institute
The data that are concerned for stating transformed difference data are in setting regions;
Data compression is carried out to the transformed difference data.
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present invention
The method operation that executable instruction is not limited to the described above, can also be performed scan data provided by any embodiment of the invention
Compression method in relevant operation.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention
It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more
Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art
Part can be embodied in the form of software products, which can store in computer readable storage medium
In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer
Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set
Standby (can be personal computer, server or the network equipment etc.) executes method described in each embodiment of the present invention.
It is worth noting that, in the embodiment of the compression set of above-mentioned scan data, included each unit and module
It is only divided according to the functional logic, but is not limited to the above division, as long as corresponding functions can be realized;
In addition, the specific name of each functional unit is also only for convenience of distinguishing each other, the protection scope being not intended to restrict the invention.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (13)
1. a kind of compression method of scan data characterized by comprising
Scan data is obtained, and calculates the difference data of Current Scan data Yu previous frame scan data;
Preset data transformation is carried out to the distribution mode of the difference data, obtains transformed difference data, wherein the change
The data that are concerned of difference data after changing are in setting regions;
Data compression is carried out to the transformed difference data.
2. the compression method of scan data according to claim 1, which is characterized in that in the calculating Current Scan data
After the difference data of previous frame scan data, preset data is carried out in the distribution mode to the difference data and converts it
Before, further includes:
The difference data is adjusted according to the compressed error of the previous frame scan data.
3. the compression method of scan data according to claim 1, which is characterized in that the preset data, which converts, includes:
Discrete cosine transform or wavelet transformation.
4. the compression method of scan data according to claim 1, which is characterized in that described to the transformed difference
Data carry out data compression, comprising:
The transformed difference data is quantified, and the difference data after quantization is encoded.
5. the compression method of scan data according to claim 1, which is characterized in that the transformed difference data
Carry out data compression, comprising:
Isolated high-order difference and low level difference are carried out to the transformed difference data;
Data compression is carried out according to setting compression ratio to the high-order difference and/or the low level difference.
6. the compression method of scan data according to claim 5, which is characterized in that the digit of the high position difference and institute
The digit for stating low level difference can be adjusted according to demand.
7. the compression method of scan data according to claim 5, which is characterized in that it is described to the high-order difference and/
Or the low level difference after the separation carries out data compression according to setting compression ratio, comprising:
If it is lossless compression mode that user inputs for the first time, to the low potential difference after the high-order difference and the separation after the separation
Value carries out data compression according to the first compression ratio of setting.
8. the compression method of scan data according to claim 5, which is characterized in that the high position to after the separation
Low level difference after difference and/or the separation carries out data compression according to setting compression ratio, comprising:
If user inputs for the first time as lossy compression mode, to the high-order difference after the separation according to the second compression ratio of setting into
Row data compression.
9. the compression method of scan data according to claim 8, which is characterized in that the high potential difference after the separation
Value is carried out according to the second compression ratio of setting after data compression, further includes:
It is third compression ratio that user, which adjusts compression ratio, within a preset time, then to the high-order difference after the separation according to third pressure
Contracting is than carrying out data compression.
10. the compression method of scan data according to claim 8, which is characterized in that the high position after the separation
Difference is carried out according to the second compression ratio of setting after data compression, further includes:
User's input nondestructive compact model again within a preset time, then to the low level difference after the separation according to setting the 4th
Compression ratio carries out data compression, and compressed low level difference is merged with compressed high-order difference.
11. a kind of compression set of scan data characterized by comprising
Difference obtains module, for obtaining scan data, and calculates the difference of Current Scan data Yu previous frame scan data;
Difference conversion module obtains the difference data with the regularity of distribution for carrying out default transformation to the difference data;Its
In, the regularity of distribution is in the setting regions of the difference data being concerned in data set;
Data compressing module, for carrying out data compression to the transformed difference data.
12. a kind of data collection system characterized by comprising
Data buffer storage device;
Data compression device, for executing the compression method such as the described in any item scan datas of claim 1-10.
13. a kind of medical image system, which is characterized in that including
Scanning device, institute's scanning device include detector and data processing equipment, and the detector is used for acquisition scans data, institute
Data processing equipment is stated for cache sweep data and executes the compression of such as described in any item scan datas of claim 1-10
Method;
Image forming apparatus is connect with the scanning device, for receiving compressed scan data and executing decompression, according to
It decompresses obtained scan data and generates medical image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910471621.0A CN110149514B (en) | 2019-05-31 | 2019-05-31 | Compression method and device of scanning data, acquisition system and medical imaging system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910471621.0A CN110149514B (en) | 2019-05-31 | 2019-05-31 | Compression method and device of scanning data, acquisition system and medical imaging system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110149514A true CN110149514A (en) | 2019-08-20 |
CN110149514B CN110149514B (en) | 2023-05-05 |
Family
ID=67590065
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910471621.0A Active CN110149514B (en) | 2019-05-31 | 2019-05-31 | Compression method and device of scanning data, acquisition system and medical imaging system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110149514B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111918062A (en) * | 2020-07-24 | 2020-11-10 | 上海定九康科技股份有限公司 | High-compression-rate high-reducibility present frame data compression and decompression method |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004080154A (en) * | 2002-08-12 | 2004-03-11 | Yamaha Corp | Image data compression method, image data expansion apparatus, and decompression program |
CN1664860A (en) * | 2004-03-05 | 2005-09-07 | 中国科学院计算技术研究所 | Synthetic aperture radar complex numeric image data real time automatic compression method |
JP2011049901A (en) * | 2009-08-27 | 2011-03-10 | Panasonic Corp | Solid-state imaging unit, and imaging apparatus |
CN103413335A (en) * | 2013-07-23 | 2013-11-27 | 沈阳东软医疗***有限公司 | Method and device for data compression |
CN103957426A (en) * | 2014-04-11 | 2014-07-30 | 河海大学 | RGB565 true color image lossy compression and decompression method |
CN104244012A (en) * | 2014-10-14 | 2014-12-24 | 重庆真测科技股份有限公司 | CT (Computed Tomography) data compression method |
CN105612744A (en) * | 2013-10-01 | 2016-05-25 | 索尼公司 | Video data encoding and decoding |
US20170163988A1 (en) * | 2015-12-08 | 2017-06-08 | Samsung Display Co., Ltd. | Systems and method of using compressed reference frames in video codecs |
CN109600618A (en) * | 2018-12-19 | 2019-04-09 | 上海数迹智能科技有限公司 | Video-frequency compression method, decompression method, device, terminal and medium |
-
2019
- 2019-05-31 CN CN201910471621.0A patent/CN110149514B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004080154A (en) * | 2002-08-12 | 2004-03-11 | Yamaha Corp | Image data compression method, image data expansion apparatus, and decompression program |
CN1664860A (en) * | 2004-03-05 | 2005-09-07 | 中国科学院计算技术研究所 | Synthetic aperture radar complex numeric image data real time automatic compression method |
JP2011049901A (en) * | 2009-08-27 | 2011-03-10 | Panasonic Corp | Solid-state imaging unit, and imaging apparatus |
CN103413335A (en) * | 2013-07-23 | 2013-11-27 | 沈阳东软医疗***有限公司 | Method and device for data compression |
CN105612744A (en) * | 2013-10-01 | 2016-05-25 | 索尼公司 | Video data encoding and decoding |
CN103957426A (en) * | 2014-04-11 | 2014-07-30 | 河海大学 | RGB565 true color image lossy compression and decompression method |
CN104244012A (en) * | 2014-10-14 | 2014-12-24 | 重庆真测科技股份有限公司 | CT (Computed Tomography) data compression method |
US20170163988A1 (en) * | 2015-12-08 | 2017-06-08 | Samsung Display Co., Ltd. | Systems and method of using compressed reference frames in video codecs |
CN109600618A (en) * | 2018-12-19 | 2019-04-09 | 上海数迹智能科技有限公司 | Video-frequency compression method, decompression method, device, terminal and medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111918062A (en) * | 2020-07-24 | 2020-11-10 | 上海定九康科技股份有限公司 | High-compression-rate high-reducibility present frame data compression and decompression method |
Also Published As
Publication number | Publication date |
---|---|
CN110149514B (en) | 2023-05-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7961965B2 (en) | Transmitting multimedia with R-tree-based multidimensional hierarchical categorization trees to compress images | |
Alakuijala et al. | JPEG XL next-generation image compression architecture and coding tools | |
US20100080473A1 (en) | System and Method for Compressing and Decompressing Images and Video | |
US6144772A (en) | Variable compression encoding of digitized images | |
Zhan et al. | Achieving on-mobile real-time super-resolution with neural architecture and pruning search | |
JPH10327403A (en) | Method for optimizing compression of image data accompanying automatic selection of compression condition | |
BRPI0614759A2 (en) | efficient encoding and decoding of transform blocks | |
JP2001136526A (en) | Method for image processing, device thereof and storage medium | |
CN1697328A (en) | Fast video codec transform implementations | |
JP2014532377A (en) | Region-based image compression | |
Pal et al. | An efficient codebook initialization approach for LBG algorithm | |
JP5231839B2 (en) | Pattern recognition apparatus and method | |
JP2000125136A (en) | Image data compression device and its method | |
CN110149514A (en) | Compression method, device, acquisition system and the medical image system of scan data | |
JP2006270737A (en) | Decoder, distribution estimating method, decoding method and their programs | |
CN116504254A (en) | Audio encoding and decoding method and device, storage medium and computer equipment | |
CN113269140B (en) | Image processing method and device, storage medium and electronic equipment | |
Walker | Combined image compressor and denoiser based on tree-adapted wavelet shrinkage | |
JPWO2005125175A1 (en) | Quantization table generation device, quantization table generation method, quantization table generation program, image compression device, image compression method, and image compression program | |
JP2005184062A (en) | Image data conversion apparatus and image data conversion program | |
Li et al. | Hierarchical feature aggregation network for deep image compression | |
CN116708788B (en) | Mobile phone file compression system | |
Koc et al. | Technique for lossless compression of color images based on hierarchical prediction, inversion, and context adaptive coding | |
WO2024043054A1 (en) | Imaging device, imaging method, program, and image processing method and program | |
JP2001016588A (en) | Signal processing system |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 201807 Shanghai City, north of the city of Jiading District Road No. 2258 Applicant after: Shanghai Lianying Medical Technology Co.,Ltd. Address before: 201807 Shanghai City, north of the city of Jiading District Road No. 2258 Applicant before: SHANGHAI UNITED IMAGING HEALTHCARE Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |