CN106777107A - A kind of method of digital specimen tile data storage - Google Patents

A kind of method of digital specimen tile data storage Download PDF

Info

Publication number
CN106777107A
CN106777107A CN201611159515.1A CN201611159515A CN106777107A CN 106777107 A CN106777107 A CN 106777107A CN 201611159515 A CN201611159515 A CN 201611159515A CN 106777107 A CN106777107 A CN 106777107A
Authority
CN
China
Prior art keywords
picture
file
information
stored
tile data
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.)
Pending
Application number
CN201611159515.1A
Other languages
Chinese (zh)
Inventor
王成轩
王瑞
高海南
孙守华
王艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Digital Man Polytron Technologies Inc
Original Assignee
Shandong Digital Man Polytron Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Digital Man Polytron Technologies Inc filed Critical Shandong Digital Man Polytron Technologies Inc
Priority to CN201611159515.1A priority Critical patent/CN106777107A/en
Publication of CN106777107A publication Critical patent/CN106777107A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of method of digital specimen tile data storage, by initial data slicing treatment, the picture of each level is obtained, same level picture is stored in identical file folder, pictorial information is stored in big file with bytewise, and is stored in image data.The present invention in the case where limitation of the Windows systems to quantity of documents in file is avoided, it is ensured that image data uniformity and integrality and have preferably inquiry and retrieval performance;The management of image data is met simultaneously, pressure is alleviated to server, there is provided the data storage method of multi-platform application.

Description

A kind of method of digital specimen tile data storage
Technical field
The present invention relates to digital specimen technical field of data storage, more specifically to a kind of digital specimen tile number According to the method for storage.
Background technology
In video production, architecture pictorial drawing, virtual reality etc. field, the problem of image segmentation is frequently encountered.Very It is responsible for specially cutting out image to the work post having.Therefore image segmentation, image cutting-out and segmentation after storage the problems such as into In order to restrict the bottleneck of above-mentioned operating efficiency.In this regard, the method for a kind of existing large-size images segmentation and storage, by specific Cutting method include former large-size images splits according to NxN (N > 1) Pixel Dimensions, to cutting out after generation all subgraphs with The former entitled foundation of large-size images file is named according to its Position Number in former big image, and same large-size images are divided The subgraph storage cut out is under same file folder.
But existing image segmentation and the method for storage, consume a large amount of memory spaces, and inquire about each time and retrieve number According to will be by database;In the case where request amount is big, because checking storehouse in real time, the pressure to database is larger, and shadow Ring server performance.Efficiency is relatively low in the case of maintenance and inquiry.
The content of the invention
In order to solve the above technical problems, the present invention proposes a kind of method of digital specimen tile data storage, avoiding Windows systems are under the limitation of quantity of documents in file, it is ensured that image data uniformity and integrality and have preferably Inquiry and retrieval performance;The management of image data is met simultaneously, pressure is alleviated to server, there is provided the data of multi-platform application are deposited Storage mode.
To achieve the above object, the present invention provides following technical scheme:
A kind of method of digital specimen tile data storage, the described method comprises the following steps:
(1) by the treatment of original image data slicer, the picture of each multiplication factor is obtained, and divided according to multiplication factor Level, the picture of each level is placed in a file;
(2) file in step (1) is named as x, x is consistent with level, all pictures comprising this multiplication factor, text Part folder is arranged from small to large by numerical order;
(3) picture in each file in step (2) is named with (y, z) .jpg forms to the picture, wherein y, z It is Picture Coordinate, the picture is arranged in order;
(4) picture in file in step (3) is stored in big file with byte [] type, and records each picture Position and occupancy byte number in big file;
(5) information of the picture in file in step (3) is appended to greatly according to the order of storage picture in step (4) In file;
(6) the original image data said module information in step (1) is written in step (5) big tail of file.
Preferably, the picture in the step (4) is if JFIF forms, only preserves wide high and from ff da to ff d9 Between data;If extended formatting, or do not meet preset requirement, then keep whole picture.
Preferably, the information of each picture of storage is needed in the step (5) to be included:Positional information, hierarchical information, cut Piece information.
Preferably, the information of each picture of storage is needed in the step (5) also to be included:Hierarchical information, picture number With the byte number shared by slice information;Positional information therein includes 69 bytes.
Preferably, the byte number length shared by the hierarchical information, picture number and slice information is fixed as 26.
Preferably, the hierarchical information in the step (5), have recorded the picture and has how many level, and each level To the transverse and longitudinal quantity of picture segmentation.
Preferably, the hierarchical information in the step (5), each hierarchical information takes 12 bytes.
Preferably, the slice information in the step (5), byte storage of array is switched to Json character strings.
Preferably, the module information content-length in step (6) is fixed as 20.
By foregoing description, a kind of method of digital specimen tile data storage, by initial data slicing treatment, is obtained To the picture of each level, same level picture is stored in identical file folder, the information of picture is stored in bytewise In big file, and it is stored in picture, it is to avoid Windows systems are under the limitation of quantity of documents in file, it is ensured that image data one Cause property and integrality and have preferably inquiry and retrieval performance;The management of image data is met simultaneously, server is alleviated and is pressed Power, there is provided the data storage method of multi-platform application.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
A kind of flow chart of the method for digital specimen tile data storage that accompanying drawing 1 is provided for the embodiment of the present application;
File is by numeral in the method that accompanying drawing 2 is stored for a kind of digital specimen tile data provided in an embodiment of the present invention Order arranges schematic diagram from small to large;
Hierarchical information is stored in the method that accompanying drawing 3 is stored for a kind of digital specimen tile data provided in an embodiment of the present invention Schematic diagram;
Accompanying drawing 4 is the picture of storage in a kind of method of digital specimen tile data storage provided in an embodiment of the present invention The schematic diagram of information;
Accompanying drawing 5 is believed to store level in a kind of method of digital specimen tile data storage provided in an embodiment of the present invention The schematic diagram of the structure of breath, picture number and slice information;
Accompanying drawing 6 is original image data in a kind of method of digital specimen tile data storage provided in an embodiment of the present invention Said module information is written to the schematic diagram of tail of file.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
As described in the background art, existing image segmentation and the method for storage, consume a large amount of memory spaces, and each Secondary inquiry and retrieval data will be by databases;In the case where request amount is big, because checking storehouse in real time, to database Pressure is larger, and influences server performance.Efficiency is relatively low in the case of maintenance and inquiry.
In order to solve the problem, the method that the embodiment of the present application provides a kind of storage of digital specimen tile data can be with The method for solving conventional images segmentation and storage, consumes the problem of a large amount of memory spaces.
A kind of flow of the method for the digital specimen tile data storage for being provided for the embodiment of the present application as shown in Figure 1 Figure, the described method comprises the following steps:
(1) by the treatment of original image data slicer, the picture of each multiplication factor is obtained, and divided according to multiplication factor Level, the picture of each level is placed in a file.
One large scale original image is divided into the tile data comprising some sub-pictures, the picture in this article all referring to Sub-pictures after cutting, specific cutting method includes splitting former large-size images according to N*N (N > 1) Pixel Dimensions, solves The storage problem of large scale picture, and multiplication factor is positive integer.
(2) file in step (1) is named as x, x is consistent with level is amplified, all pictures comprising this multiple, text Part folder is arranged from small to large by numerical order.
As shown in Figure 2, file name x is the multiplication factor of picture in Arabic numerals, and the size and this document of x Identical, file is arranged from small to large by numerical order, meets use habit of the people to numeral, facilitates the reading of picture.
(3) picture in each file in step (2) is named with (y, z) .jpg forms to the picture, wherein y, z It is Picture Coordinate, the picture is arranged in order.
Herein described y, z for Picture Coordinate be position coordinates of the picture in original image, y is picture in original graph Line number where in piece, z is row number of the picture where in original image, wherein, y, z value are natural number;Picture is in order Arrangement refers to that picture is arranged according to first y positive sequences, then the order of z positive sequences, for example:0-0,0-1,1-0,1-1 etc..
(4) picture in file in step (3) is stored in big file with byte [] type, and records each picture Position and occupancy byte number in big file.
Big file herein refers to the file where original image, and this storage method does not change the road of picture storage Footpath, simplified step is easy-to-look-up, records position of the picture in big file, and information is provided to read, and records picture big Byte number is taken in file, it is ensured that information is as detailed as possible.
(5) information of the picture in file in step (3) is appended to greatly according to the order of storage picture in step (4) In file.
It is described herein pictorial information is appended in big file with storing the order of picture, facilitate the reading of pictorial information.
(6) the original image said module information in step (1) is written in step (5) big tail of file.
Time when picture reads is reduced, is easy to the reading of image data.
Picture in the step of method of digital specimen tile data storage (4) there may be various forms, more general Time form be JFIF forms, if JFIF forms, only preserve wide high and from the data between ff da to ff d9, true In the case that guarantor's data are complete, the space shared by data storage is reduced as far as possible;If extended formatting, or do not meet according to reality Border needs the related preset requirement of setting, then keep whole picture.
The information of each picture of storage is needed in the step of method of digital specimen tile data storage (5) can wrap Include:Positional information, hierarchical information, slice information;Positional information refers to Pictures location coordinate y, z, have recorded each level to figure The transverse and longitudinal quantity of piece segmentation, hierarchical information refers to the value of x, have recorded the picture and has how many level and each level to figure The transverse and longitudinal quantity of piece segmentation, as shown in Figure 3, each hierarchical information can take 12 bytes.The information of wherein picture may be used also With including the byte number shared by hierarchical information, picture number and slice information;Positional information includes 69 words as shown in Figure 4 Section, substantially reduces the space shared by whole original image on the basis of existing technology;Storage level is believed as shown in Figure 5 Byte number length shared by breath, picture number and slice information can be fixed as 26.
Further, the slice information in step (5), switchs to byte storage of array and reduces storage area with Json character strings.
As shown in Figure 6, module information content-length can in the step of method of digital specimen tile data storage (6) To be fixed as 20.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or uses the present invention. Various modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, the present invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The scope most wide for causing.

Claims (9)

1. a kind of method that digital specimen tile data is stored, it is characterised in that the described method comprises the following steps:
(1) by the treatment of original image data slicer, the picture of each multiplication factor is obtained, and be layered according to multiplication factor Level, the picture of each level is placed in a file;
(2) file in step (1) is named as x, x is consistent with level, all pictures comprising this multiplication factor, file Arranged from small to large by numerical order;
(3) picture in each file in step (2) is named with (y, z) .jpg forms to the picture, wherein y, z are figure Piece coordinate, the picture is arranged in order;
(4) picture in file in step (3) is stored in big file with byte [] type, and records each picture big Position and occupancy byte number in file;
(5) information of the picture in file in step (3) is appended to big file according to the order of storage picture in step (4) In;
(6) the original image data said module information in step (1) is written in step (5) big tail of file.
2. the method that digital specimen tile data according to claim 1 is stored, it is characterised in that in the step (4) Picture preserve wide high and from the data between ff da to ff d9 if JFIF forms, only;If extended formatting, or Preset requirement is not met, then keeps whole picture.
3. the method that digital specimen tile data according to claim 1 is stored, it is characterised in that in the step (5) Needing the information of each picture of storage includes:Positional information, hierarchical information, slice information.
4. the method that digital specimen tile data according to claim 3 is stored, it is characterised in that in the step (5) Needing the information of each picture of storage also includes:Byte number shared by hierarchical information, picture number and slice information;It is therein Positional information includes 69 bytes.
5. the method that digital specimen tile data according to claim 4 is stored, it is characterised in that the hierarchical information, Byte number length shared by picture number and slice information is fixed as 26.
6. the method that digital specimen tile data according to claim 4 is stored, it is characterised in that in the step (5) Hierarchical information, have recorded the picture and have how many level, and each level to the transverse and longitudinal quantity of picture segmentation.
7. the method that digital specimen tile data according to claim 5 is stored, it is characterised in that in the step (5) Hierarchical information, each hierarchical information take 12 bytes.
8. the method that digital specimen tile data according to claim 5 is stored, it is characterised in that in the step (5) Slice information, byte storage of array is switched to Json character strings.
9. the method that digital specimen tile data according to claim 1 is stored, it is characterised in that the institute in step (6) State module information content-length and be fixed as 20.
CN201611159515.1A 2016-12-15 2016-12-15 A kind of method of digital specimen tile data storage Pending CN106777107A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611159515.1A CN106777107A (en) 2016-12-15 2016-12-15 A kind of method of digital specimen tile data storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611159515.1A CN106777107A (en) 2016-12-15 2016-12-15 A kind of method of digital specimen tile data storage

Publications (1)

Publication Number Publication Date
CN106777107A true CN106777107A (en) 2017-05-31

Family

ID=58889189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611159515.1A Pending CN106777107A (en) 2016-12-15 2016-12-15 A kind of method of digital specimen tile data storage

Country Status (1)

Country Link
CN (1) CN106777107A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109492060A (en) * 2018-09-28 2019-03-19 湖南国科图创信息科技有限公司 A kind of map tile storage method based on MBTiles
CN111222064A (en) * 2019-12-25 2020-06-02 宁波市科技园区明天医网科技有限公司 Cloud storage method for digital pathological section
CN113157654A (en) * 2021-05-12 2021-07-23 山东志盈医学科技有限公司 Method and apparatus for digital slice image storage

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130101214A1 (en) * 2011-10-25 2013-04-25 John T. Sample System and method for converting source image data to tile data
CN103744855A (en) * 2013-11-29 2014-04-23 航天恒星科技有限公司 Tile map storage method based on aggregation files
CN105117451A (en) * 2015-08-17 2015-12-02 苏州中科天启遥感科技有限公司 Storage method for map tile file
CN105956165A (en) * 2016-05-20 2016-09-21 江苏得得空间信息科技有限公司 Tile type large file organization storage method of three-dimensional model data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130101214A1 (en) * 2011-10-25 2013-04-25 John T. Sample System and method for converting source image data to tile data
CN103744855A (en) * 2013-11-29 2014-04-23 航天恒星科技有限公司 Tile map storage method based on aggregation files
CN105117451A (en) * 2015-08-17 2015-12-02 苏州中科天启遥感科技有限公司 Storage method for map tile file
CN105956165A (en) * 2016-05-20 2016-09-21 江苏得得空间信息科技有限公司 Tile type large file organization storage method of three-dimensional model data

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109492060A (en) * 2018-09-28 2019-03-19 湖南国科图创信息科技有限公司 A kind of map tile storage method based on MBTiles
CN111222064A (en) * 2019-12-25 2020-06-02 宁波市科技园区明天医网科技有限公司 Cloud storage method for digital pathological section
CN111222064B (en) * 2019-12-25 2023-08-01 宁波市科技园区明天医网科技有限公司 Cloud storage method for digital pathological section
CN113157654A (en) * 2021-05-12 2021-07-23 山东志盈医学科技有限公司 Method and apparatus for digital slice image storage
CN113157654B (en) * 2021-05-12 2022-12-02 山东志盈医学科技有限公司 Method and apparatus for digital slice image storage

Similar Documents

Publication Publication Date Title
CN101059949B (en) Mass image data compression, storage and display method
CN103488709B (en) A kind of index establishing method and system, search method and system
CN104252536B (en) A kind of internet log data query method and device based on hbase
CN102768662B (en) A kind of method and apparatus Loaded Image
CN109299060A (en) Distributed file method and system based on image rectangular blocks
CN103838830A (en) Data management method and system of HBase database
CN105786942A (en) Geographic information storage system based on cloud platform
CN113568995B (en) Dynamic tile map manufacturing method and tile map system based on search conditions
CN106874348A (en) File is stored and the method for indexing means, device and reading file
CN106777107A (en) A kind of method of digital specimen tile data storage
CN104217023A (en) Method for realizing map tile storage by package technology
CN103383690A (en) Distributed data storage method and system
CN105354291B (en) A kind of raster data index and querying method
CN106682110A (en) Video file storing and managing system and method based on Hash grid index
CN107291915A (en) A kind of small documents storage method, small documents read method and system
CN110019636A (en) A kind of storage mode of GIS tile map
CN103207889A (en) Method for retrieving massive face images based on Hadoop
CN103310408B (en) Be applicable to the image storage method of hyperfine image
CN112233009A (en) Picture rendering method, device, equipment and storage medium
CN105844683A (en) Pixel difference frame-by-frame animation realization method based on Canvas and WebWorker
CN103473258A (en) Cloud storage file system
US10013474B2 (en) System and method for hierarchical synchronization of a dataset of image tiles
CN103164452B (en) The method of picture-storage and reading, Apparatus and system
CN102902694A (en) Picture checking method and device
CN104166715A (en) Vxworks platform electronic chart engine

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531