CN104134214B - A kind of storage of digital slices image and display methods based on image pyramid layering - Google Patents
A kind of storage of digital slices image and display methods based on image pyramid layering Download PDFInfo
- Publication number
- CN104134214B CN104134214B CN201410364308.4A CN201410364308A CN104134214B CN 104134214 B CN104134214 B CN 104134214B CN 201410364308 A CN201410364308 A CN 201410364308A CN 104134214 B CN104134214 B CN 104134214B
- Authority
- CN
- China
- Prior art keywords
- image
- digital slices
- data
- pyramid
- pictorial element
- 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
Landscapes
- Medical Treatment And Welfare Office Work (AREA)
- Processing Or Creating Images (AREA)
Abstract
The present invention relates to digital information processing, more particularly to a kind of the storage of digital slices image and display methods, storage method based on image pyramid layering include:Step is 1.:The pictorial element of slice is obtained, is labeled as the 0th layer, and the tomographic image data are divided into 256 × 256 dimension data blocks, and record respective coordinates position (X, Y);Step is 2.:Using the pictorial element center of preceding layer as basic point, row, column size is reduced according to set proportion, then sampled and mark the number of plies;Step is 3.:It repeats 2. total amount of data that step is obtained to sampling and has reached the set number of plies;Step is 4.:By the obtained pictorial element of sampling by the sequential build digital slices pyramid of label.The present invention can quickly show the close progressive of image, and the method for displaying image of the present invention alleviates the demand to browsing terminal equipment performance significantly under limited network bandwidth conditions, ensure that digital slices browsing reaches clinical diagnosis requirement with display efficiency.
Description
Technical field
The present invention relates to digital slices image processing techniques, more particularly to a kind of number based on image pyramid layering is cut
Picture stores and display methods.
Background technology
Country's basic hospital pathologist shortage, pathological diagnosis level are limited at present, and high-quality pathological diagnosis resource mainly collects
In in big city large hospital, base patient wants to obtain accurate pathological diagnosis often by patient or kith and kin by pathological section
It is sent to the consultation of doctors of higher level's hospital pathology department in person, this had both allowed patient to take considerable time waiting diagnostic result, and also to have allowed patient to pay
More expenses.Digital pathology can realize that base's pathologist and patient are stayed indoor enough, you can accurate pathological diagnosis opinion is obtained,
It realizes really " one-stop Pathology Consultation service ", alleviates the present situation of China's pathology uneven geographical distribution of resources.
Pathology slide passes through the seamless spliced digital slices for generating the full visual field of digital pathological section scanner.Digital slices figure
As being different from regular medication check image, belong to large capacity image data.Under normal circumstances, 1.5cm × 1.5cm pathology slides
The data volume that the scanning of sample 40x multiplying powers generates about in 5G or so, how efficient storage digital slices image and in common office
Realize that digital slices fast browsing and display are that digital pathology promotes the pass that must be solved with application under the conditions of domain or wide area network
One of key problem.
Invention content
The object of the present invention is to provide a kind of efficiently quickly digital slices image storages based on image pyramid layering
And display methods.
The object of the present invention is achieved like this:
A kind of digital slices image storage method based on image pyramid layering, including:
Step is 1.:The pictorial element of slice is obtained, is labeled as the 0th layer, and the tomographic image data are divided into 256 × 256
Dimension data block, and record the tomographic image center respective coordinates position (X, Y);
Step is 2.:The pictorial element of preceding layer is sampled:Using the pictorial element center of preceding layer as basic point, according to setting
Fixed scale smaller row, column size, then the number of plies is sampled and is marked, while the tomographic image data are divided into 256 × 256 rulers
Very little data block, and records center position respective coordinates position (X ', Y ');
Step is 3.:It repeats 2. total amount of data that step is obtained to sampling and has reached the set number of plies;
Step is 4.:The pictorial element that sampling is obtained is obtained by the sequential build digital slices pyramid of label, first sampling
Pictorial element be located at below the pictorial element that post-sampling obtains.
Preferably, the step 2. in, the serial number of label by natural number sequentially.
Preferably, the ratio is 0.5.
Preferably, digital slices pyramid data stores 7 layers.
Preferably, data sampling method is realized using improved Wavelet Transformation Algorithm:
Enable f (x, y) ∈ L2Indicate a 2D signal, x, y indicate its abscissa and ordinate respectively.Φ (x, y) is indicated
Two-dimentional wavelet, then the continuous wavelet transform of f (x, y) be:
Wherein, b1, b2It is the shift factor along image abscissa and ordinate direction, a is scale factor, WT (a;b1, b2)
To pass through obtained wavelet coefficient after transformation.
When 2-d wavelet meets admissibility condition:
Then there is corresponding wavelet inverse transformation, i.e.,:
In practical applications, common wavelet function is the binary function of variable separable:
Φ (x, y)=Φ1(x)Φ2(y),
Two-dimentional multiscale analysis is exported by one-dimensional multiscale analysis, and then exports 2-d wavelet space and wavelet function.
The following breakdowns of f (x, y) are expressed:
Wherein:
First item is Continuous Approximations of the f (x, y) at scale j in formula (4), j=0, when 1,2,3.... different value, is obtained
Approaching under different scale.Formula (5) is known as discrete details of the f (x, y) under scale, that is, the data after sampling.
A kind of digital slices method for displaying image based on image pyramid layering, including
Step is 1.:The request service of user end to server system transmission data, the data request service have parameter number
The number of plies, current data block X-coordinate value, current data block Y-coordinate value where word is sliced identification id, current data block;
Step is 2.:Server system responds received data request service, opens the digital slices of affiliated ID, sends number
Word slice pyramid pictorial element corresponds in the number of plies the corresponding video data block of (X, Y) coordinate value;
Step is 3.:Acquired video data block is shown according to specific dimensions in the image display area of client.
Preferably, the image of the client is shown as the data block of 256 × 256 pixels.
Preferably, the client is provided with caching mechanism comprising does not browse information preload mechanisms and has browsed letter
Memory mechanism is ceased, when the new image data of client request, first detects whether client buffer area loads required data;If
It is no, 2. 3. it thens follow the steps 1., if having loaded, image data is transferred from buffering area.
The present invention is prominent and beneficial compared with prior art to be had the technical effect that:
Digital slices image is presented by the way of structure image pyramid layering in the present invention, can be in limited Netowrk tape
Under the conditions of width, the close progressive of image can be quickly showed, and the method for displaying image of the present invention utilizes and do not browse information pre-add
Carrier aircraft system alleviates the demand to browsing terminal equipment performance significantly so that the present invention ensures that number is cut in actual application
Piece is browsed reaches clinical diagnosis requirement with display efficiency.
Description of the drawings
Fig. 1 is the digital slices image schematic diagram for the image pyramid layering that the present invention is built.
Fig. 2 is the caching mechanism schematic diagram of the present invention.
Specific implementation mode
With specific embodiment, the invention will be further described below in conjunction with the accompanying drawings:
A kind of digital slices image storage method based on image pyramid layering, including:
Step is 1.:The pictorial element of slice is obtained, is labeled as the 0th layer, and the tomographic image data are divided into 256 × 256
Dimension data block, and record the tomographic image center respective coordinates position (X, Y);
Step is 2.:The pictorial element of preceding layer is sampled:Using the pictorial element center of preceding layer as basic point, according to setting
Fixed scale smaller row, column size, then the number of plies is sampled and is marked, while the tomographic image data are divided into 256 × 256 rulers
Very little data block, and record respective coordinates position (X ', Y ');
Step is 3.:It repeats 2. total amount of data that step is obtained to sampling and has reached the set number of plies or set sampling
Row, column size;
Step is 4.:The pictorial element that sampling is obtained is obtained by the sequential build digital slices pyramid of label, first sampling
Pictorial element be located at below the pictorial element that post-sampling obtains (the 0th layer of storage initial data of the invention, in the 0th layer of base
I-th (i=1,2 ...) layer pyramid data is generated on plinth, the data volume in last layer pyramid is the 1/4 of next layer data, with
This analogizes, until data save as the 7th layer).
Preferably, the step 2. in, the serial number of label by natural number sequentially.
Preferably, the ratio is 0.5, that is, the row, column size of last layer pictorial element is next tomographic image element
The half of row, column size.
Its specific building process is as follows:
(1) bottom of tower of regulation image pyramid is 0 grade, and original image is image pyramid bottom of tower, and is divided into 256
× 256 Pixel Dimensions size data blocks;
(2) since bottom of tower, whenever the number of plies plus 1, previous tomographic image is subjected to resampling according to position correspondence, is obtained
The calculation formula of i-th tomographic image, the i-th tomographic image size is as follows:
R (i)=| r (0)/2i|
C (i)=| c (0)/2i|
In formula:R (0) and c (0) indicates the row, column size of bottom of tower raw video, the i.e. height and width of raw video, r (i) and c
(i) --- the row, column size of i-stage image in tower.
As shown in Figure 1, (a) is the 0th grade of image in figure, (b) is the 1st grade of image in figure, and (c) is 3rd level image in figure.
(3) sampling of specific data is realized using improved wavelet algorithm:
Enable f (x, y) ∈ L2Indicate a 2D signal, x, y indicate its abscissa and ordinate respectively.Φ (x, y) is indicated
Two-dimentional wavelet, then the continuous wavelet transform of f (x, y) be:
Wherein, b1, b2It is the shift factor along image abscissa and ordinate direction, a is scale factor, WT (a;b1, b2)
To pass through obtained wavelet coefficient after transformation.
When 2-d wavelet meets admissibility condition:
Then there is corresponding wavelet inverse transformation, i.e.,:
In practical applications, common wavelet function is the binary function of variable separable:
Φ (x, y)=Φ1(x)Φ2(y),
Two-dimentional multiscale analysis is exported by one-dimensional multiscale analysis, and then exports 2-d wavelet space and wavelet function.
The following breakdowns of f (x, y) are expressed:
Wherein:
First item is Continuous Approximations of the f (x, y) at scale j in formula (4), j=0, when 1,2,3.... different value, is obtained
Approaching under different scale.Formula (5) is known as discrete details of the f (x, y) under scale, that is, the data after sampling.
(4) data after sampling are in turn divided into 256 × 256 Pixel Dimensions size data blocks.
(5) and so on, until being building up to pinnacle of a pagoda, when digital slices data store 7 layers, i.e. series N=6.
On the basis of being layered based on image pyramid, digital slices carry out at piecemeal digital slice of data during showing
Reason.When carrying out dynamic load, the data block of the data of layering and piecemeal is combined as needed, to data request service
It responds, roaming switch is carried out under different display scales and resolution ratio, realize that dynamic on-demand loads map datum, greatly carry
High system real time.
A kind of digital slices method for displaying image based on image pyramid layering, including
Step is 1.:The request service of user end to server system transmission data, the data request service have parameter number
The number of plies, current data block X-coordinate value, current data block Y-coordinate value where word is sliced identification id, current data block;
Step is 2.:Server system respond received data request service, open belonging to ID digital slices, send with
The digital slices pyramid pictorial element of described image storage method structure corresponds in the number of plies the corresponding picture number of (X, Y) coordinate value
According to block;
Step is 3.:Acquired video data block is shown in the image display area of client.
Preferably, the image of the client is shown as the data block of 256 × 256 pixels.
Preferably, the client is provided with caching mechanism comprising does not browse information preload mechanisms and has browsed letter
Memory mechanism is ceased, when the new image data of client request, first detects whether client buffer area loads required data;If
It is no, 2. 3. it thens follow the steps 1., if having loaded, image data is transferred from buffering area.
Currently, our digital slices image is stored using Pyramid technology, it is assumed that the image number of plies is 3 layers, every layer of dimension
It is 2, entire image 2G, as shown in Figure 2:
In image loading procedure, " low frequency range of the low frequency range of low frequency range " can be loaded first to buffering area, user is initial
In use, call in the part image data memory show image, while load " low frequency range of the low frequency range of low frequency range " other four
/ tri- high-frequency informations;When user browse more specific location information when, call show " low frequency range of the low frequency range of low frequency range " other
3/4ths high-frequency informations make it further see image detail clearly, at the same backstage loaded in parallel " low frequency range of low frequency range " other
3/4ths high-frequency informations;And so on.
In actual use, buffering area is stored in the browsed region of user, and time limit is 24 hours, buffering area
Size may be configured as 5GB, before image is shown, need to detect and locally whether have space.
Above-described embodiment is only presently preferred embodiments of the present invention, is not limited the scope of the invention according to this, therefore:It is all according to
The equivalence changes that structure, shape, the principle of the present invention is done, should all be covered by within protection scope of the present invention.
Claims (7)
1. a kind of digital slices image storage method based on image pyramid layering, which is characterized in that including:
Step is 1.:The pictorial element of slice is obtained, is labeled as the 0th layer, and the tomographic image data are divided into 256 × 256 sizes
Data block, and record the tomographic image center respective coordinates position (X, Y);
Step is 2.:The pictorial element of preceding layer is sampled:Using the pictorial element center of preceding layer as basic point, according to setting
Scale smaller row, column size, then the number of plies is sampled and is marked, while the tomographic image data are divided into 256 × 256 size numbers
According to block, and records center position respective coordinates position (X ', Y ');
Step is 3.:It repeats 2. total amount of data that step is obtained to sampling and has reached the set number of plies;
Step is 4.:The pictorial element that sampling is obtained is by the sequential build digital slices pyramid of label, the figure first sampled
Pixel element is located at below the pictorial element that post-sampling obtains;
Wherein, the method for sampling is realized using improved Wavelet Transformation Algorithm:
Enable f (x, y) ∈ L2Indicate that a 2D signal, x, y indicate that its abscissa and ordinate, Φ (x, y) indicate two Wikis respectively
This small echo, then the continuous wavelet transform of f (x, y) be:
Wherein, b1, b2It is the shift factor along image abscissa and ordinate direction, a is scale factor, WT (a;b1, b2) it is logical
Cross obtained wavelet coefficient after converting.
2. a kind of digital slices image storage method based on image pyramid layering according to claim 1, feature
Be, the step 2. in, the serial number of label by natural number sequentially.
3. a kind of digital slices image storage method based on image pyramid layering according to claim 1, feature
It is, the ratio is 0.5.
4. a kind of digital slices image storage method based on image pyramid layering according to claim 1, feature
It is, the digital slices pyramid data stores 7 layers.
5. a kind of digital slices method for displaying image based on image pyramid layering, which is characterized in that including
Step is 1.:The request service of user end to server system transmission data, the data request service have parameters number and cut
The number of plies, current data block X-coordinate value, current data block Y-coordinate value where piece identification id, current data block;
Step is 2.:Server system responds received data request service, opens the digital slices of affiliated ID, sends respective layer
(X, Y) coordinate value is corresponding in number, and the digital slices pyramid diagram pixel built with claim 1 described image storage method
The video data block of element;
Step is 3.:Acquired video data block is shown according to specific dimensions in the image display area of client.
6. a kind of digital slices method for displaying image based on image pyramid layering according to claim 5, feature
It is, the client is provided with caching mechanism comprising information preload mechanisms are not browsed and have browsed imformation memory mechanism,
When the new image data of client request, first detect whether client buffer area loads required data;If it is not, thening follow the steps
2. 1. 3., if having loaded, image data is transferred from buffering area.
7. a kind of digital slices method for displaying image based on image pyramid layering according to claim 5, feature
It is, the image of the 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 CN104134214A (en) | 2014-11-05 |
CN104134214B true 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) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104408202B (en) * | 2014-12-17 | 2017-08-08 | 武汉大学 | The adaptive image pyramid dicing method of facing relation database extension |
JP6570370B2 (en) * | 2015-08-21 | 2019-09-04 | キヤノン株式会社 | Image processing method, image processing apparatus, program, and recording medium |
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 |
CN108172277B (en) * | 2017-12-19 | 2020-07-07 | 浙江大学 | Method and system for storing and browsing multiple-magnification digital slice image |
CN111630523A (en) * | 2018-05-21 | 2020-09-04 | 华为技术有限公司 | Image feature extraction method and device |
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 |
CN115423690B (en) * | 2022-11-04 | 2023-03-21 | 之江实验室 | High-resolution liver cancer pathological image display method and system based on image pyramid |
Family Cites Families (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 |
CN101059949B (en) * | 2007-04-03 | 2010-05-26 | 广东威创视讯科技股份有限公司 | Mass image data compression, storage and display method |
CN103345495B (en) * | 2013-06-27 | 2017-04-12 | 华多九州科技股份有限公司 | Method for speedy presentation of ultra-precise image in network environment |
CN103310408B (en) * | 2013-06-27 | 2016-01-20 | 北京华多九州投资管理有限公司 | Be applicable to the image storage method of hyperfine image |
-
2014
- 2014-07-29 CN CN201410364308.4A patent/CN104134214B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104134214A (en) | 2014-11-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104134214B (en) | A kind of storage of digital slices image and display methods based on image pyramid layering | |
Zhang et al. | Study of urban spatial patterns from SPOT panchromatic imagery using textural analysis | |
US8571338B2 (en) | Image file generation device, image processing device, image file generation method, and image processing method | |
CN103645871B (en) | A kind of method and system of Dynamic Announce local area image | |
CN109977192A (en) | The quick loading method of unmanned plane tile map, system, equipment and storage medium | |
CN108172277B (en) | Method and system for storing and browsing multiple-magnification digital slice image | |
CN108805806B (en) | Image processing method and device | |
CN110992246B (en) | Pyramid layered slicing method for image | |
CN110942071A (en) | License plate recognition method based on license plate classification and LSTM | |
CN107679164A (en) | The browsing method and system of the vast capacity image virtually shown based on quaternary tree | |
CN103310408B (en) | Be applicable to the image storage method of hyperfine image | |
CN102831605B (en) | Method for rapidly visualizing multi-scale image segmentation results for large images | |
CN104699826B (en) | A kind of the pyramid laminar storage method and Spatial Database Systems of image data | |
WO2012058663A2 (en) | Rapid, interactive editing of massive imagery data | |
Boschetti et al. | Using NASA's World Wind virtual globe for interactive internet visualization of the global MODIS burned area product | |
US20130216096A1 (en) | Information processing apparatus, information processing method, program, and information processing system | |
CN108507476B (en) | Displacement field measuring method, device, equipment and storage medium for material surface | |
CN111125237B (en) | NoSql database-based dynamic mapping method for weather numerical forecast products | |
CN105022837A (en) | Distributed storage structure of cloud multimode scene map | |
CN103345495A (en) | Method for speedy presentation of ultra-precise image in network environment | |
CN109934903B (en) | Highlight information extraction method, system, computer equipment and storage medium | |
US8948512B2 (en) | Methods, systems, and media for image processing using hierarchical expansion | |
CN104615739B (en) | The quick archiving method of data suitable for three-dimensional brain tissue high-resolution magnanimity atlas | |
CN104574343B (en) | The method and apparatus of image is extracted in a kind of video | |
CN111862292B (en) | Data rendering method and device for transmission line corridor and computer equipment |
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 |