CN104134214A - Digital slice image storing method and digital slice image displaying method based on image pyramid layering - Google Patents
Digital slice image storing method and digital slice image displaying method based on image pyramid layering Download PDFInfo
- Publication number
- CN104134214A CN104134214A CN201410364308.4A CN201410364308A CN104134214A CN 104134214 A CN104134214 A CN 104134214A CN 201410364308 A CN201410364308 A CN 201410364308A CN 104134214 A CN104134214 A CN 104134214A
- Authority
- CN
- China
- Prior art keywords
- image
- data
- digital slices
- pyramid
- digital
- 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
Abstract
The invention relates to a digital information processing technology, in particular to a digital slice image storing method and a digital slice image displaying method based on image pyramid layering, wherein the storing method comprises the following steps that: 1, slice image elements are obtained, and are marked into a zeroth layer, image data in the zeroth layer is divided into data blocks in the dimension of 256*256, and a corresponding coordinate position (X, Y) is recorded; 2, the center of the image elements in a previous layer is used as a base point, the line and row dimension is reduced according to a set proportion, then, sampling is carried out, and the layer number is marked; 3, the second step is repeated until the obtained total data amount reaches the set layer number; and 4, the image elements obtained through sampling are used for building a digital slice pyramid according to the marking sequence. The methods provided by the invention have the advantages that under the condition of the limited network bandwidth, the close progressive of the images can be fast show; and through the image displaying method provided by the invention, the requirement on the browsing terminal equipment performance is greatly reduced, and the digital slice browsing and displaying efficiency is enabled to reach the clinic diagnosis requirements.
Description
Technical field
The present invention relates to digital slices image processing techniques, particularly a kind of storage of digital slices image and display packing based on image pyramid layering.
Background technology
Current domestic basic hospital pathologist lacks, pathological diagnosis level is limited, high-quality pathological diagnosis resource mainly concentrates on big city large hospital, the patient of basic unit wants to obtain pathological diagnosis accurately and by patient or kith and kin, pathological section is delivered to higher level's hospital pathology department in person often and hold a consultation, this had both allowed patient expend the plenty of time and had waited for diagnostic result, also will allow patient pay more expenses.Numeral pathology can realize basic unit's pathologist and patient stays indoor enough, can obtain pathological diagnosis suggestion accurately, realizes real " one-stop Pathology Consultation service ", alleviates the present situation of China's pathology uneven geographical distribution of resources.
Pathology slide is by the digital slices in the full visual field of the seamless spliced generation of digital pathological section scanner.Digital slices image is different from conventional medical examination image, and it belongs to large capacity image data.Generally, the data volume that 1.5cm × 1.5cm pathology slide sample 40x multiplying power scanning produces is greatly about 5G left and right, how efficient storage digital slices image realize digital slices fast browsing and show it is one of digital pathology propagation and employment key issue that must solve under common local or wide area network condition.
Summary of the invention
The object of this invention is to provide a kind of efficient storage of digital slices image and display packing based on image pyramid layering fast.
The object of the present invention is achieved like this:
A digital slices image storage method based on image pyramid layering, comprising:
Step is 1.: obtain the pictorial element of section, be labeled as the 0th layer, and these tomographic image data are divided into 256 × 256 dimensional data pieces, and record this respective coordinates position, tomographic image center (X, Y);
Step is 2.: the pictorial element to front one deck is sampled: the pictorial element center of former one deck is basic point, dwindle row, column size according to the ratio of setting, sample again and the mark number of plies, these tomographic image data are divided into 256 × 256 dimensional data pieces simultaneously, and respective coordinates position, records center position (X ', Y ');
Step is 3.: 2. repeating step has reached the number of plies setting to the data total amount that sampling obtains;
Step is 4.: the pictorial element that sampling is obtained is by the sequential build digital slices pyramid of mark, and the pictorial element that first sampling obtains is positioned at the pictorial element below that post-sampling obtains.
Preferably, described step 2. in, the sequence number of mark increases progressively by natural number order.
Preferably, described ratio is 0.5.
Preferably, 7 layers of digital slices pyramid data storages.
Preferably, data sampling method adopts improved Wavelet Transformation Algorithm to realize:
Make f (x, y) ∈ L
2represent a 2D signal, x, y represents respectively its horizontal ordinate and ordinate.Φ (x, y) represents two-dimentional wavelet, and the continuous wavelet transform of f (x, y) is:
Wherein, b
1, b
2that a is scale factor along the shift factor of image horizontal ordinate and ordinate direction, WT (a; b
1, b
2) for by the wavelet coefficient obtaining after converting.
When 2-d wavelet meets admissibility condition:
There is corresponding wavelet inverse transformation, that is:
In actual applications, conventional wavelet function is the binary function of variable separable:
Φ(x,y)=Φ
1(x)Φ
2(y),
Derive two-dimentional multiscale analysis by one dimension multiscale analysis, and then derive 2-d wavelet space and wavelet function.F (x, y) is expressed with following breakdown:
Wherein:
In formula (4), Section 1 is the Continuous Approximation of f (x, y) under yardstick j, and j=0, when 1,2,3.... different value, obtains approaching under different scale.Formula (5) is called the discrete details of f (x, y) under yardstick, i.e. data after sampling.
A digital slices method for displaying image based on image pyramid layering, comprises
Step is 1.: user end to server system sends data request service, and described data request service possesses parameters number section identification id, the current data block place number of plies, current data block X coordinate figure, current data block Y coordinate figure;
Step is 2.: server system responds the data request service receiving, and the digital slices of ID under opening sends video data block corresponding to (X, Y) coordinate figure in the corresponding number of plies of digital slices pyramid pictorial element;
Step is 3.: the image display area in client shows the video data block obtaining according to specific dimensions.
Preferably, the image of described client is shown as the data block of 256 × 256 pixels.
Preferably, described client is provided with caching mechanism, and it comprises not browsing information prestrain mechanism and browsing information memory mechanism, in the time of the new view data of client-requested, first detects client buffer district and whether loads desired data; If not, 1. 2. 3. execution step, if load, transfers view data from buffer zone.
The present invention compared to existing technology outstanding and useful technique effect is:
The present invention adopts the mode that builds image pyramid layering to present digital slices image, can be under limited network bandwidth condition, can present fast closely going forward one by one of image, and method for displaying image of the present invention utilizes not browsing information prestrain mechanism greatly to alleviate the demand to browsing terminal equipment performance, make the present invention in actual application, ensure that digital slices is browsed with display efficiency and reach clinical diagnosis requirement.
Brief description of the drawings
Fig. 1 is the digital slices image schematic diagram of the image pyramid layering that builds of the present invention.
Fig. 2 is caching mechanism schematic diagram of the present invention.
Embodiment
Below in conjunction with accompanying drawing, with specific embodiment, the invention will be further described:
A digital slices image storage method based on image pyramid layering, comprising:
Step is 1.: obtain the pictorial element of section, be labeled as the 0th layer, and these tomographic image data are divided into 256 × 256 dimensional data pieces, and record this respective coordinates position, tomographic image center (X, Y);
Step is 2.: the pictorial element to front one deck is sampled: the pictorial element center of former one deck is basic point, dwindle row, column size according to the ratio of setting, sample again and the mark number of plies, these tomographic image data are divided into 256 × 256 dimensional data pieces simultaneously, and record respective coordinates position (X ', Y ');
Step is 3.: the data total amount that 2. repeating step obtains to sampling has reached the number of plies setting or set the row, column size of sampling;
Step is 4.: the pictorial element that sampling is obtained is by the sequential build digital slices pyramid of mark, the pictorial element that first sampling obtains is positioned at pictorial element below (the 0th layer of storage raw data of the present invention that post-sampling obtains, on the basis of the 0th layer, generate i (i=1,2,) layer pyramid data, data volume in last layer pyramid is 1/4 of next layer data, by that analogy, until data save as the 7th layer).
Preferably, described step 2. in, the sequence number of mark increases progressively by natural number order.
Preferably, described ratio is 0.5, that is, the row, column size of last layer pictorial element is the half of the row, column size of next tomographic image element.
Its concrete building process is as follows:
(1) at the bottom of the tower of regulation image pyramid, be 0 grade, at the bottom of original image is image pyramid tower, and be divided into 256 × 256 Pixel Dimensions size data pieces;
(2) from the bottom of tower, whenever the number of plies adds 1, last tomographic image is carried out to resampling according to position corresponding relation, obtain i tomographic image, the computing formula of i tomographic image size is as follows:
r(i)=|r(0)/2
i|
c(i)=|c(0)/2
i|
In formula: the row, column size of raw video at the bottom of r (0) and c (0) expression tower, the i.e. height and width of raw video, r (i) and c (i)---the row, column size of i level image in tower.
As shown in Figure 1, in figure, (a) is the 0th grade of image, and in figure, (b) is the 1st grade of image, and in figure, (c) is 3rd level image.
(3) sampling of concrete data adopts improved wavelet algorithm to realize:
Make f (x, y) ∈ L
2represent a 2D signal, x, y represents respectively its horizontal ordinate and ordinate.Φ (x, y) represents two-dimentional wavelet, and the continuous wavelet transform of f (x, y) is:
Wherein, b
1, b
2that a is scale factor along the shift factor of image horizontal ordinate and ordinate direction, WT (a; b
1, b
2) for by the wavelet coefficient obtaining after converting.
When 2-d wavelet meets admissibility condition:
There is corresponding wavelet inverse transformation, that is:
In actual applications, conventional wavelet function is the binary function of variable separable:
Φ(x,y)=Φ
1(x)Φ
2(y),
Derive two-dimentional multiscale analysis by one dimension multiscale analysis, and then derive 2-d wavelet space and wavelet function.F (x, y) is expressed with following breakdown:
Wherein:
In formula (4), Section 1 is the Continuous Approximation of f (x, y) under yardstick j, and j=0, when 1,2,3.... different value, obtains approaching under different scale.Formula (5) is called the discrete details of f (x, y) under yardstick, i.e. data after sampling.
(4) data after sampling are divided into 256 × 256 Pixel Dimensions size data pieces successively.
(5), until be building up to pinnacle of a pagoda, when 7 layers of digital slices data storages, i.e. progression N=6.
On basis based on image pyramid layering, in digital slices procedure for displaying, digital slice of data is carried out to piecemeal processing.In the time carrying out dynamic load, as required the data block of the data of layering and piecemeal is combined, data request service is made to response, under different displaying ratios and resolution, carry out roaming switch, realize dynamic on-demand and load map datum, greatly improve system real time.
A digital slices method for displaying image based on image pyramid layering, comprises
Step is 1.: user end to server system sends data request service, and described data request service possesses parameters number section identification id, the current data block place number of plies, current data block X coordinate figure, current data block Y coordinate figure;
Step is 2.: server system responds the data request service receiving, the digital slices of ID under opening, send video data block corresponding to (X, Y) coordinate figure in the corresponding number of plies of the digital slices pyramid pictorial element building with described image storage method;
Step is 3.: the image display area in client shows the video data block obtaining.
Preferably, the image of described client is shown as the data block of 256 × 256 pixels.
Preferably, described client is provided with caching mechanism, and it comprises not browsing information prestrain mechanism and browsing information memory mechanism, in the time of the new view data of client-requested, first detects client buffer district and whether loads desired data; If not, 1. 2. 3. execution step, if load, transfers view data from buffer zone.
At present, our digital slices image adopts pyramid layering storage, supposes that the image number of plies is 3 layers, and every layer of dimension is 2, entire image 2G, as shown in Figure 2:
In image loading procedure, can first load " low frequency range of the low frequency range of low frequency range " to buffer zone, when user initially uses, call in this parts of images datarams and show image, load " low frequency range of the low frequency range of low frequency range " other 3/4ths high-frequency informations simultaneously; In the time that user browses more specific location information, call other 3/4ths high-frequency informations of demonstration " low frequency range of the low frequency range of low frequency range ", make it further see image detail clearly, simultaneously other 3/4ths high-frequency informations of backstage loaded in parallel " low frequency range of low frequency range "; By that analogy.
In actual use, buffer zone is left in the region that user browsed in, and time limit is 24 hours, and buffer size can be set to 5GB, before image shows, needs to detect this locality and whether possesses space.
Above-described embodiment is only preferred embodiment of the present invention, not limits the scope of the invention according to this, therefore: all equivalences of doing according to structure of the present invention, shape, principle change, within all should being covered by protection scope of the present invention.
Claims (7)
1. the digital slices image storage method based on image pyramid layering, it is characterized in that, comprise: step 1.: the pictorial element that obtains section, be labeled as the 0th layer, and these tomographic image data are divided into 256 × 256 dimensional data pieces, and record this respective coordinates position, tomographic image center (X, Y);
Step is 2.: the pictorial element to front one deck is sampled: the pictorial element center of former one deck is basic point, dwindle row, column size according to the ratio of setting, sample again and the mark number of plies, these tomographic image data are divided into 256 × 256 dimensional data pieces simultaneously, and respective coordinates position, records center position (X ', Y ');
Step is 3.: 2. repeating step has reached the number of plies setting to the data total amount that sampling obtains;
Step is 4.: the pictorial element that sampling is obtained is by the sequential build digital slices pyramid of mark, and the pictorial element that first sampling obtains is positioned at the pictorial element below that post-sampling obtains.
2. a kind of storage means of simulating pyramidal digital slices image according to claim 1, is characterized in that, described step 2. in, the sequence number of mark increases progressively by natural number order.
3. a kind of storage means of simulating pyramidal digital slices image according to claim 1, is characterized in that, described ratio is 0.5.
4. a kind of storage means of simulating pyramidal digital slices image according to claim 1, is characterized in that, 7 layers of described digital slices pyramid data storages.
5. the digital slices method for displaying image based on image pyramid layering, it is characterized in that, comprise that step 1.: user end to server system sends data request service, described data request service possesses parameters number section identification id, the current data block place number of plies, current data block X coordinate figure, current data block Y coordinate figure;
Step is 2.: server system responds the data request service receiving, the digital slices of ID under opening, send in the corresponding number of plies (X, Y) coordinate figure corresponding, and the video data block of the digital slices pyramid pictorial element building with image storage method described in claim 1;
Step is 3.: the image display area in client shows the video data block obtaining according to specific dimensions.
6. a kind of digital slices method for displaying image based on image pyramid layering according to claim 5, it is characterized in that, described client is provided with caching mechanism, it comprises not browsing information prestrain mechanism and browsing information memory mechanism, in the time of the new view data of client-requested, first detect client buffer district and whether load desired data; If not, 1. 2. 3. execution step, if load, transfers view data from buffer zone.
7. a kind of digital slices method for displaying image based on image pyramid layering according to claim 5, is characterized in that, the image of described client is shown as the data block of 256 × 256 pixels.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410364308.4A CN104134214B (en) | 2014-07-29 | 2014-07-29 | A kind of storage of digital slices image and display methods based on image pyramid layering |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410364308.4A CN104134214B (en) | 2014-07-29 | 2014-07-29 | A kind of storage of digital slices image and display methods based on image pyramid layering |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104134214A true CN104134214A (en) | 2014-11-05 |
CN104134214B CN104134214B (en) | 2018-11-02 |
Family
ID=51806883
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410364308.4A Active CN104134214B (en) | 2014-07-29 | 2014-07-29 | A kind of storage of digital slices image and display methods based on image pyramid layering |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104134214B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104408202A (en) * | 2014-12-17 | 2015-03-11 | 武汉大学 | Self-adaption image pyramid slicing method for relational database extension |
CN105590295A (en) * | 2015-12-21 | 2016-05-18 | 江苏康克移软软件有限公司 | Pathological section display method and device |
CN105654426A (en) * | 2015-12-21 | 2016-06-08 | 江苏康克移软软件有限公司 | Pathological section display method and device |
CN105740437A (en) * | 2016-01-30 | 2016-07-06 | 曲阜裕隆生物科技有限公司 | 3D (Three-Dimensional) image storage method and display method and 3D image file format |
CN106469455A (en) * | 2015-08-21 | 2017-03-01 | 佳能株式会社 | Image processing method, image processing equipment and recording medium |
CN106886549A (en) * | 2016-08-30 | 2017-06-23 | 阿里巴巴集团控股有限公司 | A kind of loading method of network picture, device and system |
CN106954068A (en) * | 2017-03-09 | 2017-07-14 | 广东南方数码科技股份有限公司 | A kind of image data storage, read method and system |
CN107679164A (en) * | 2017-09-28 | 2018-02-09 | 上海交通大学 | The browsing method and system of the vast capacity image virtually shown based on quaternary tree |
CN108172277A (en) * | 2017-12-19 | 2018-06-15 | 浙江大学 | A kind of more multiplying power digital slices image storages and the method and system of browsing |
WO2019222889A1 (en) * | 2018-05-21 | 2019-11-28 | 华为技术有限公司 | Image feature extraction method and device |
CN110992246A (en) * | 2019-11-22 | 2020-04-10 | 广州医药信息科技有限公司 | Pyramid layered slicing method for image |
CN112149018A (en) * | 2020-09-15 | 2020-12-29 | 中国电子科技集团公司第二十八研究所 | Large-scale image preloading method based on locality principle |
CN115423690A (en) * | 2022-11-04 | 2022-12-02 | 之江实验室 | High-resolution liver cancer pathological image display method and system based on image pyramid |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6711297B1 (en) * | 1998-07-03 | 2004-03-23 | University Of Pittsburgh - Of The Commonwealth System Of Higher Education | Methods and apparatus for dynamic transfer of image data |
CN101059949A (en) * | 2007-04-03 | 2007-10-24 | 广东威创日新电子有限公司 | Mass image data compression, storage and display method |
CN103310408A (en) * | 2013-06-27 | 2013-09-18 | 博图旭然(北京)科技有限公司 | Image storage method applicable to hyperfine images |
CN103345495A (en) * | 2013-06-27 | 2013-10-09 | 博图旭然(北京)科技有限公司 | Method for speedy presentation of ultra-precise image in network environment |
-
2014
- 2014-07-29 CN CN201410364308.4A patent/CN104134214B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6711297B1 (en) * | 1998-07-03 | 2004-03-23 | University Of Pittsburgh - Of The Commonwealth System Of Higher Education | Methods and apparatus for dynamic transfer of image data |
CN101059949A (en) * | 2007-04-03 | 2007-10-24 | 广东威创日新电子有限公司 | Mass image data compression, storage and display method |
CN103310408A (en) * | 2013-06-27 | 2013-09-18 | 博图旭然(北京)科技有限公司 | Image storage method applicable to hyperfine images |
CN103345495A (en) * | 2013-06-27 | 2013-10-09 | 博图旭然(北京)科技有限公司 | Method for speedy presentation of ultra-precise image in network environment |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104408202A (en) * | 2014-12-17 | 2015-03-11 | 武汉大学 | Self-adaption image pyramid slicing method for relational database extension |
CN106469455B (en) * | 2015-08-21 | 2020-08-18 | 佳能株式会社 | Image processing method, image processing apparatus, and recording medium |
CN106469455A (en) * | 2015-08-21 | 2017-03-01 | 佳能株式会社 | Image processing method, image processing equipment and recording medium |
CN105590295A (en) * | 2015-12-21 | 2016-05-18 | 江苏康克移软软件有限公司 | Pathological section display method and device |
CN105654426A (en) * | 2015-12-21 | 2016-06-08 | 江苏康克移软软件有限公司 | Pathological section display method and device |
CN105590295B (en) * | 2015-12-21 | 2019-05-21 | 玖壹叁陆零医学科技南京有限公司 | Pathological section display method and device |
CN105740437A (en) * | 2016-01-30 | 2016-07-06 | 曲阜裕隆生物科技有限公司 | 3D (Three-Dimensional) image storage method and display method and 3D image file format |
CN106886549A (en) * | 2016-08-30 | 2017-06-23 | 阿里巴巴集团控股有限公司 | A kind of loading method of network picture, device and system |
CN106954068A (en) * | 2017-03-09 | 2017-07-14 | 广东南方数码科技股份有限公司 | A kind of image data storage, read method and system |
CN107679164A (en) * | 2017-09-28 | 2018-02-09 | 上海交通大学 | The browsing method and system of the vast capacity image virtually shown based on quaternary tree |
CN108172277A (en) * | 2017-12-19 | 2018-06-15 | 浙江大学 | A kind of more multiplying power digital slices image storages and the method and system of browsing |
CN108172277B (en) * | 2017-12-19 | 2020-07-07 | 浙江大学 | Method and system for storing and browsing multiple-magnification digital slice image |
WO2019222889A1 (en) * | 2018-05-21 | 2019-11-28 | 华为技术有限公司 | Image feature extraction method and device |
CN110992246A (en) * | 2019-11-22 | 2020-04-10 | 广州医药信息科技有限公司 | Pyramid layered slicing method for image |
CN110992246B (en) * | 2019-11-22 | 2021-07-13 | 广州医药信息科技有限公司 | Pyramid layered slicing method for image |
CN112149018A (en) * | 2020-09-15 | 2020-12-29 | 中国电子科技集团公司第二十八研究所 | Large-scale image preloading method based on locality principle |
CN115423690A (en) * | 2022-11-04 | 2022-12-02 | 之江实验室 | High-resolution liver cancer pathological image display method and system based on image pyramid |
Also Published As
Publication number | Publication date |
---|---|
CN104134214B (en) | 2018-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104134214A (en) | Digital slice image storing method and digital slice image displaying method based on image pyramid layering | |
CN101149842B (en) | Depth detail level adjustment of multi-dimensional image data with a client/server-based image rendering system | |
CN101388043B (en) | OGC high performance remote sensing image map service method based on small picture | |
CN105046651B (en) | A kind of ultra-resolution ratio reconstructing method and device of image | |
CN109146788A (en) | Super-resolution image reconstruction method and device based on deep learning | |
CN102722865A (en) | Super-resolution sparse representation method | |
CN108805806B (en) | Image processing method and device | |
CN101271591A (en) | Interactive multi-vision point three-dimensional model reconstruction method | |
CN108154474A (en) | A kind of super-resolution image reconstruction method, device, medium and equipment | |
CN104463785A (en) | Method and device for amplifying ultrasound image | |
CN110704770A (en) | Display method and device for expansion tile map based on WebGIS environment | |
Florinabel et al. | Combined frequency and spatial domain-based patch propagation for image completion | |
Kim et al. | Pynet-ca: enhanced pynet with channel attention for end-to-end mobile image signal processing | |
Huang et al. | A short survey of image super resolution algorithms | |
CN110084740A (en) | A kind of generation of spherical surface image and conversion method based on normalization structure | |
CN108416736A (en) | A kind of image super-resolution rebuilding method returned based on secondary anchor point neighborhood | |
Qiu et al. | Progressive U-Net residual network for computed tomography images super-resolution in the screening of COVID-19 | |
CN104166992A (en) | Content perception binocular image zooming method based on grid deformation | |
CN103310408A (en) | Image storage method applicable to hyperfine images | |
CN108507476B (en) | Displacement field measuring method, device, equipment and storage medium for material surface | |
CN104463822A (en) | Multi-focus image fusing method and device based on multi-scale overall filtering | |
CN101901493A (en) | Method and system for multi-view image combined reconstruction based on compression sampling | |
CN108335265A (en) | A kind of rapid image super resolution ratio reconstruction method and device based on sample learning | |
Wu et al. | GPU ray casting method for visualizing 3D pipelines in a virtual globe | |
CN110807734A (en) | SAR image super-resolution reconstruction method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |