CN113613036A - Image transmission method, device, equipment and medium - Google Patents

Image transmission method, device, equipment and medium Download PDF

Info

Publication number
CN113613036A
CN113613036A CN202110714914.4A CN202110714914A CN113613036A CN 113613036 A CN113613036 A CN 113613036A CN 202110714914 A CN202110714914 A CN 202110714914A CN 113613036 A CN113613036 A CN 113613036A
Authority
CN
China
Prior art keywords
checked
pathological
image
tiles
tile
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
CN202110714914.4A
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.)
Hainan Shilianda Health Intelligent Medical Technology Co Ltd
Original Assignee
Hainan Shilianda Health Intelligent Medical Technology Co Ltd
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 Hainan Shilianda Health Intelligent Medical Technology Co Ltd filed Critical Hainan Shilianda Health Intelligent Medical Technology Co Ltd
Priority to CN202110714914.4A priority Critical patent/CN113613036A/en
Publication of CN113613036A publication Critical patent/CN113613036A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H30/00ICT specially adapted for the handling or processing of medical images
    • G16H30/40ICT specially adapted for the handling or processing of medical images for processing medical images, e.g. editing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440227Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by decomposing into layers, e.g. base layer and one or more enhancement layers

Abstract

The embodiment of the invention provides an image transmission method and an image transmission device, wherein the method is applied to a consultation diagnosis client and comprises the following steps: the consultation diagnosis client loads the tile in the pathological image with the highest compression rate and the basic information of the pathological image, which are sent by the consultation application client; the consultation diagnosis client displays the tiles in the pathological image with the highest compression rate; determining a pixel area to be checked selected by a consultation diagnosis client side in the pathological image, and calculating tiles to be checked in the pixel area to be checked according to a layer-by-layer upward borrowing mode; and if the tile to be checked exists in the consultation diagnosis client, directly displaying the pathological image, thereby solving the problem of low transmission speed of the conventional pathological image.

Description

Image transmission method, device, equipment and medium
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to an image transmission method, an image transmission apparatus, an image transmission device, and an image transmission medium.
Background
In the field of medical diagnostics, it is often necessary to take pathology images of a predetermined size at the site of a patient's illness. Generally, pathological images are very large files in units of G (gigabytes).
The existing transmission mode of the remote pathological images is that a pathological doctor uploads the pathological images to a pathological information server at one time, and then a diagnostician downloads the pathological images to the local for analysis and checking.
Disclosure of Invention
The invention provides an image transmission method, an image transmission device, image transmission equipment and an image transmission medium, which aim to solve the problem of low transmission speed of the existing pathological images.
In order to solve the above problems, an embodiment of the present invention discloses an image transmission method, which is applied to a consultation diagnosis client, and includes:
the consultation diagnosis client loads the tile in the pathological image with the highest compression rate and the basic information of the pathological image, which are sent by the consultation application client;
the consultation diagnosis client displays the tiles in the pathological image with the highest compression rate;
determining a pixel area to be checked selected by a consultation diagnosis client side in the pathological image, and calculating tiles to be checked in the pixel area to be checked according to a layer-by-layer upward borrowing mode;
and if the tile to be checked exists in the consultation diagnosis client, directly displaying the pathological image.
Optionally, the method further comprises:
if the tile to be checked does not have the consultation diagnosis client side, acquiring a three-dimensional coordinate when the tile to be checked is square, wherein the three-dimensional coordinate comprises: the number of layers of the tile to be checked, the abscissa of the tile to be checked and the ordinate of the tile to be checked;
sending the three-dimensional coordinates of the tiles to be checked to a transfer server so that the transfer server searches whether the tiles to be checked exist in the transfer server according to the three-dimensional coordinates of the tiles to be checked;
if the tile to be checked does not exist in the queue, the transfer server sends a priority uploading instruction to the consultation application client, the consultation application client inserts the tile to be checked into the head of the queue, and the tile to be checked is uploaded to the transfer server preferentially, so that the transfer server sends the tile to be checked to the consultation diagnosis client.
Optionally, the method further comprises:
generating a hierarchical table according to the basic information of the pathological image, wherein the hierarchical table stores the corresponding relation of the basic information, the hierarchical number and the reduction rate of the pathological sub-image;
the step of determining the pixel area to be checked selected by the consultation diagnosis client side in the pathological image and calculating the tiles to be checked in the pixel area to be checked in a layer-by-layer upward borrowing mode comprises the following steps:
when the consultation diagnosis client operates to adjust the current reduction rate to a first reduction rate, obtaining a first coordinate of the mouse at the current position of the pixel area to be checked;
obtaining a second coordinate of the pixel area to be checked according to the first coordinate and the screen resolution;
searching the hierarchical table according to the first reduction rate to obtain a hierarchy corresponding to the first reduction rate and a second reduction rate corresponding to the hierarchy;
calculating a first pixel corresponding to the first coordinate in the hierarchy according to the first coordinate, the first reduction rate and the second reduction rate;
calculating a second pixel corresponding to the first coordinate in the hierarchy according to the second coordinate, the first reduction rate and the second reduction rate
And calculating the tiles to be checked corresponding to the pixel areas to be checked in the hierarchy according to the first pixels and the second pixels.
Optionally, the step of calculating a first pixel corresponding to the first coordinate in the hierarchy according to the first coordinate, the first reduction rate, and the second reduction rate includes:
dividing the abscissa of the first coordinate by the first reduction rate multiplied by the second reduction rate to obtain the abscissa of the first pixel;
and dividing the ordinate of the first coordinate by the first reduction rate multiplied by the second reduction rate to obtain the ordinate of the first pixel.
Optionally, the step of calculating a second pixel corresponding to the second coordinate in the hierarchy according to the second coordinate, the first reduction rate, and the second reduction rate includes:
dividing the abscissa of the second coordinate by the first reduction rate and multiplying the second reduction rate to obtain the abscissa of the second pixel;
and dividing the ordinate of the second coordinate by the first reduction rate multiplied by the second reduction rate to obtain the ordinate of the second pixel.
Optionally, the step of calculating a tile to be viewed of a pixel area to be viewed in the hierarchy according to the first pixel and the second pixel comprises:
dividing the abscissa and the ordinate of the first pixel by a set pixel respectively to obtain a starting row and a starting column of the tile;
dividing the abscissa and the ordinate of the second pixel by a set pixel respectively to obtain an end row and an end column of the tile;
and obtaining the tiles to be checked corresponding to the pixel areas to be checked in the hierarchy according to the starting row, the starting column, the end row and the end column.
Optionally, before the step of loading the tile in the pathology image with the highest compression rate and the basic information of the pathology image sent by the consultation application client, the method further includes:
layering the basic information of the pathological images according to different reduction rates to obtain a plurality of pathological sub-images;
cutting the pathological sub-image to generate a plurality of tiles;
sequentially uploading the tiles to a pre-established queue according to the sequence of the compression rate of the pathological sub-images from high to low;
uploading the basic information of the tiles and the pathological images in the queue to a transit server so that a consultation diagnosis client downloads the basic information of the tiles and the pathological images from the transit server.
Optionally, the step of cutting the pathological sub-image to generate a plurality of tiles includes:
and cutting the pathological sub-image according to the set pixels to generate a plurality of tiles.
In order to solve the above problem, an embodiment of the present invention further discloses an image transmission apparatus, where the apparatus is applied to a consultation diagnosis client, and the apparatus includes:
the loading module is used for loading tiles in the pathological images with the highest compression rate and basic information of the pathological images, which are sent by the consultation application client;
a display module for displaying the tiles in the pathological image with the highest compression rate;
the computing module is used for determining a pixel area to be checked selected by the consultation diagnosis client side in the pathological image, and computing tiles to be checked in the pixel area to be checked in a layer-by-layer upward borrowing mode;
and the query module is used for directly displaying the pathological image if the tile to be checked exists in the consultation diagnosis client.
In order to solve the above problem, an embodiment of the present invention further discloses an electronic device, including:
one or more processors; and
one or more machine readable media having instructions stored thereon that, when executed by the one or more processors, cause the electronic device to perform the image transmission method.
In order to solve the above problem, an embodiment of the present invention further discloses a computer-readable storage medium storing a computer program for causing a processor to execute the image transmission method. The embodiment of the invention has the following advantages:
the consultation diagnosis client side preferentially loads the tiles in the pathological images with the highest compression ratio, namely preferentially loads the tiles in the pathological images with the smallest data volume, so that the original pathological images are reduced, the transmission speed is increased, and the consultation diagnosis client side can download pathological images with other compression ratios at the background while checking the pathological images, so that the pixel area to be checked selected in the pathological images by the consultation diagnosis client side is determined according to doctor operation, and the tiles to be checked in the pixel area to be checked are calculated in a layer-by-layer upward borrowing mode; and if the tile to be checked exists in the consultation diagnosis client, directly displaying the pathological image. Therefore, by displaying the fuzzy pathological images and continuously downloading tiles according to the operation of a doctor, the pathological images are continuously corrected clearly, namely, consultation diagnosis clients can download, check and upload simultaneously, so that low delay is realized, and the transmission speed of the pathological images is accelerated.
Drawings
Fig. 1 is a flowchart illustrating steps of an image transmission method according to a first embodiment of the present invention;
FIG. 2 is a block diagram of an image transmission method according to the present invention;
fig. 3 is a block diagram of an image transmission apparatus according to a second embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Example one
Referring to fig. 1, a flowchart of an image transmission method according to an embodiment of the present invention is shown, where the method is applied to a consultation diagnosis client, and specifically includes:
step 101: and the consultation diagnosis client loads the tile in the pathological image with the highest compression rate and the basic information of the pathological image, which are sent by the consultation application client.
In practical application, the consultation diagnosis client preferentially loads the pathological image with the highest compression rate sent by the consultation application client through the transfer server, namely preferentially loads the tile in the pathological image with the smallest data volume, so that the consultation diagnosis client can be ensured to check the pathological image at any time, and the waiting time of the consultation diagnosis client is reduced.
The consultation diagnosis client can also be understood as a consultation accepting party, and the consultation application client can also be understood as a consultation applying party, namely a client for uploading pathological images and initiating remote consultation application.
The pathological images are generally used for a pathologist to check and analyze the pathological images, and generally are two-dimensional images.
The basic information of the pathological image refers to the resolution of the pathological image, i.e., the width and height of the pathological image, that is, the width and height of the pathological image.
In practical application, the consultation application client can scan the pathological images by using the pathological scanner so as to obtain the pathological images and the basic information of the pathological images, and then the consultation application client sends the basic information of the pathological images and the basic information of the pathological images to the consultation diagnosis client through the transfer server.
In practical application, after the consultation diagnosis client receives the remote consultation application, the consultation diagnosis client can generate the hierarchical table according to the basic information of the pathological image, or generate the hierarchical table according to the basic information of the pathological image at the consultation application client, and then send the hierarchical table to the consultation diagnosis client through the transit server, wherein the specific method for generating the hierarchical table is as follows:
and layering the basic information of the pathological images according to different reduction rates to obtain a plurality of pathological sub-images.
The basic information of the pathological image is layered according to different reduction rates and divided into a plurality of layers, and each layer corresponds to one pathological sub-image, so that a plurality of pathological sub-images are obtained.
The reduction rate generally refers to a multiple of reduction of the pathological image.
The pathological sub-image is an image obtained by layering pathological images, that is, an original pathological image is layered to obtain a pathological image.
In a specific application, the basic information of the pathological image is layered according to the sequence of the reduction rate from high to low, and the layer with the highest reduction rate is taken as the top layer and then gradually reduced. That is, the size of the pathological image is reduced by layering the basic information of the pathological image, and then a plurality of digital pathological sub-images are obtained.
It should be noted that, in practical application, the invention is based on the original image of the pathological image being layered according to the scaling rate, the original image of the pathological image being layered is used, the loss rate of the image is the minimum, and the layered pathological sub-images can also be layered, so that the loss rate of the image is a little higher, and the specific layering method can be specifically selected according to the actual needs.
In actual use, pathological images are obtained by scanning a specimen slide through a magnifying lens of a scanner in order to observe more details. For example, the pathological image obtained by scanning the sample slide by using a 40-fold mirror of a scanner is called an original pathological image. In consultation, the pathology image to be transferred is the original pathology image.
If the reduction rate of a layer is N, the length and the width of the pathological sub-image of the layer are respectively reduced to 1/N of the original pathological image, namely the area of the pathological sub-image of the layer is reduced to 1/(N) of the original pathological image2) In the following, a layered embodiment of the present invention is described in detail, taking 8 thousands by 8 thousands of original pathological images and 7 layers of pathological images as an example.
The first pathological sub-image is the original pathological image with a resolution of 8 ten thousand by 8 ten thousand as layer 7. At this time, the reduction ratio is 1, i.e., the length and width of the first pathological image are reduced to 1/1 of the original pathological image, respectively.
The second pathological sub-image is regarded as the 6 th layer, and the reduction rate is 2, so that the resolution of the second pathological sub-image is 4 ten thousand by 4 ten thousand.
The third pathological sub-image is regarded as the 5 th layer, and the reduction rate is 4, so that the resolution of the third pathological sub-image is 2 ten thousands by 2 ten thousands.
The fourth pathological sub-image is regarded as the 4 th layer, and the reduction rate is 8, so that the resolution of the fourth pathological sub-image is 1 ten thousand by 1 ten thousand.
The fifth pathological sub-image is regarded as the 3 rd layer, and the reduction rate is 16, so the resolution of the fifth pathological sub-image is 5 thousand by 5 thousand.
The sixth pathological sub-image is regarded as the 2 nd layer, and the reduction rate is 32, so the resolution of the sixth pathological sub-image is 2500 x 2500.
The seventh pathological sub-image is regarded as layer 1, and the reduction rate is 64, then the resolution of the seventh pathological sub-image is 1250 × 1250.
And judging whether the resolution of the seventh pathological sub-image is greater than the preset resolution of the pathological image, if so, continuing to layer the basic information of the pathological image. If the number of the pathological images is smaller than the preset value, the layering of the pathological images is finished.
The resolution of the pathological image is generally much higher than the screen resolution of the terminal display device, so the preset resolution of the pathological image may be set according to the screen resolution of the terminal, or may be set according to a specific application scene, for example, the preset resolution of the pathological image is set to 1500 × 1500 pixels, or may be other pixels, which is not limited in the present invention.
After the above layering, for convenience of subsequent use, a layering table can be generated according to the layering result, and the layering table is as follows:
table one:
basic information Number of layers Reduction ratio
8 ten thousand by 8 thousand 7 1
4 thousands to 4 thousands 6 2
2 thousands to 2 thousands 5 4
1 ten thousand of 1 ten thousand 4 8
5 thousand to 5 thousand 3 16
2500*2500 2 32
1250*1250 1 64
In the specific application, the pathological images are layered according to different reduction rates and divided into a plurality of layers to obtain a plurality of pathological sub-images, and then the pathological sub-images are stored according to different reduction rates, different layers and different pathological sub-images corresponding to the reduction rates and stored in a layering table, that is, the layering table stores the basic information, the layering number and the corresponding relation of the reduction rates of the pathological sub-images.
The number of layers generally refers to the number of layers into which the pathological image is divided according to different reduction rates, and generally, the number of layers of the pathological image is 7, that is, the number of layers may be 1 st to 7 th.
For convenience of understanding, the present invention is described with the basic information of a pathological image being 8 ten thousand by 8 ten thousand, and in the case where the above calculation is performed in actual use, if the calculation cannot be divided, the calculation may be rounded up by rounding, and then the layers are further layered.
After the pathological images are layered, the pathological sub-images are cut to generate a plurality of tiles. Sequentially uploading the tiles to a pre-established queue according to the sequence of the compression rate of the pathological subimages from high to low, and uploading the tiles in the queue and the basic information of the pathological images to a transfer server, so that a consultation diagnosis client downloads the tiles and the basic information of the pathological images from the transfer server.
And cutting the pathological sub-image according to the set pixels to generate a plurality of tiles.
According to the invention, after the pathological images are layered, a plurality of pathological sub-images can be obtained, and the plurality of pathological sub-images can be cut according to the set pixels in sequence according to the number of layers to generate a plurality of tiles.
The predetermined pixels are 256 × 256 pixels, and the process of cutting the pathological sub-image will be described below by taking 256 × 256 pixels as an example.
In practical applications, the pathological section scanner sequentially cuts 256 × 256 pixels from left to right and top to bottom. In the embodiment of the invention, the pathological section scanner cuts the pathological section by 256 × 256 pixels in sequence from left to right and from top to bottom to obtain a tile with the size of the pixel, the tiles are combined together to finally obtain the picture of the whole pathological sub-image, and the transfer server or the consultation diagnosis client can obtain the complete pathological image more quickly in the subsequent analysis and splicing process.
It should be noted that, in practical applications, after the tile is cut according to 256 × 256 pixels, the 256 × 256 pixel cutting may not be satisfied, and in the case of the unsatisfied tile, the remaining tiles may be directly retained, and the remaining tiles are also directly uploaded to the queue without performing the padding process, so that the remaining tiles satisfy 256 × 256 pixels.
In practical application, the consultation client may establish the upload queue while submitting the pathological image remote consultation application, or may first submit the pathological image remote consultation application and then establish the upload queue, or may first establish the upload queue and then submit the pathological image remote consultation application, or may establish the upload queue before generating the hierarchical table, which is not particularly limited in the present invention.
In the invention, because the pathological images are large and a certain time is required for uploading after cutting, the uploading queue is established at the consultation client, and because the time for cutting the pathological images is less than the uploading time of the pathological images, the pathological images can be cut while the cut pathological images are uploaded to the queue, and the queue can also realize the effect of loading the switched pathological images in advance, namely, a queue insertion mechanism of the queue can also be understood as a plug mechanism, and the details of the queue plug mechanism are specifically described in detail in the embodiment later.
In specific application, the tiles in the received pathological sub-images are sequentially uploaded to a queue according to the sequence of the compression ratios of the pathological sub-images from high to low, the compression ratios reflect the different corresponding hierarchies, that is, the higher the compression ratio is, the lower the hierarchy is.
The compression ratio of the pathological subimage is lossy compression, the resolution ratio of the pathological subimage is reduced, and the higher the compression ratio is, the smaller the pathological subimage is, and the definition is low.
Since the tiles of the pathological sub-images are sequentially uploaded to the pre-established queue in the order of high compression rate to low compression rate of the pathological sub-images, the consultation diagnosis client is loaded from the pathological sub-images with high compression rate.
And uploading the tiles received in the queue to a transit server by the consultation application client according to a first-in first-out principle so that the consultation diagnosis client downloads the tiles from the transit server.
After the transit server receives the tiles uploaded by the consultation application client, the transit server stores the tiles in the order of high compression rate to low compression rate, namely, the tiles are stored in the cache space according to the hierarchy.
In practical application, the transit server marks each of the received tiles according to the number of layers, the horizontal coordinate and the vertical coordinate, and stores the marks in a cache space, for example: 1-1-1 is denoted as the first layer, with a transverse coordinate of 1 and a longitudinal coordinate of 1.
Step 102: and the consultation diagnosis client displays the tiles in the pathological image with the highest compression rate.
The pathological image with the highest compression rate is the pathological image obtained by compressing the pathological image, the pathological image has low definition, and the space occupied by the pathological image is small.
Because the pathological images are transmitted by the consultation application client side from high to low according to the compression ratio of the pathological images, after the consultation diagnosis client side is opened, the basic information of the pathological images and all tiles in the pathological images with the highest compression ratio are preferentially loaded and displayed to the consultation diagnosis client side, and meanwhile, the tiles in the pathological images with the rest compression ratios are downloaded in the background of the consultation diagnosis client side and cached in the consultation diagnosis client side.
Step 103: and determining a pixel area to be checked selected by the consultation diagnosis client in the pathological image, and calculating tiles to be checked in the pixel area to be checked according to a layer-by-layer upward borrowing mode.
Since the definition of the tile in the pathological image loaded by the consultation diagnosis client side and having the highest compression rate is low, the clear image of the pixel region which the consultation diagnosis client side wants to view is not transmitted, the tile of the pixel region which the consultation diagnosis client side needs to view can be preferentially transmitted, and therefore the requirement of the consultation diagnosis client side is met.
The consultation diagnosis client operates on the pathological image with the highest compression rate, for example, the image of a certain pixel region is required to be checked, but the image of the certain pixel region required to be checked by the consultation diagnosis client is not transmitted temporarily, at this time, the pixel region to be checked can be selected from the pathological image, and the tiles to be checked in the pixel region to be checked are calculated in a layer-by-layer upward borrowing mode, so that the consultation diagnosis client preferentially transmits the tiles to be checked in the pixel region to be checked, and the requirement of the consultation diagnosis client is met.
Step 103 comprises the following substeps:
substep 1031: and when the consultation diagnosis client operates to adjust the current reduction rate to the first reduction rate, obtaining a first coordinate of the mouse at the current position of the pixel area to be checked.
When the consultation diagnosis client operates to adjust the current reduction rate to the first reduction rate, the consultation diagnosis client indicates that the consultation diagnosis client wants to check certain pixel regions of the pathological image, and at the moment, when a user operates a mouse to move and click on the pathological image, the consultation diagnosis client acquires the coordinate information of the current position of the mouse, so that the first coordinate of the mouse at the current position of the pixel region to be checked can be acquired.
Substep 1032: and obtaining a second coordinate of the pixel area to be checked according to the first coordinate and the screen resolution.
When the consultation diagnosis client side is used for looking up the pathological image with the highest compression rate and amplifying or reducing a certain position in the pathological image through a mouse, it is necessary to obtain the first coordinate and the second coordinate of the current position of the mouse in the pixel area to be viewed, thus, the pixel area which needs to be checked by the consultation diagnosis client is determined, generally, the first coordinate is the coordinate of the pixel area to be checked in the upper left corner of the pathological image, then the second coordinate can be obtained according to the screen resolution, i.e. the second coordinate is the coordinate of the pixel area to be viewed in the lower right corner of the pathological image, thus determining the pixel area to be viewed, however, the tile to be checked corresponding to the pixel region to be checked is not transmitted yet, so that the tile of the pathological image close to the pixel region needs to be found by looking up the hierarchical table, and the tile to be checked of the pixel region to be checked is obtained.
Substep 1033: and searching the hierarchical table according to the first reduction rate to obtain a hierarchy corresponding to the first reduction rate and a second reduction rate corresponding to the hierarchy.
The hierarchical table is generated before and stores the corresponding relation of the basic information, the number of hierarchies and the reduction rate of the pathological sub-image, so that the hierarchical table can be searched through the first reduction rate, and if the first reduction rate exists, the hierarchy corresponding to the first reduction rate and the basic information of the pathological image corresponding to the hierarchy are directly acquired.
If the first reduction rate does not exist in the hierarchical table, finding the reduction rate closest to the first reduction rate, and searching a second reduction rate closest to the first reduction rate by adopting a mode of borrowing upwards, namely, taking the reduction rate which is minimum larger than the first reduction rate in the hierarchical table as the second reduction rate.
Substep 1034: and calculating a first pixel corresponding to the first coordinate in the hierarchy according to the first coordinate, the first reduction rate and the second reduction rate.
Substep 1035: and calculating a second pixel corresponding to the first coordinate in the hierarchy according to the second coordinate, the first reduction rate and the second reduction rate.
Since the first reduction rate does not exist in the hierarchical table, the first reduction rate is the closest second reduction rate, and therefore the first coordinate and the second coordinate of the pixel region to be viewed need to be converted, so that the corresponding first pixel and the second pixel at the second reduction rate are obtained.
Substep 1036: and calculating the tiles to be checked corresponding to the pixel areas to be checked in the hierarchy according to the first pixels and the second pixels.
As one implementation, sub-step 1034 includes:
and dividing the abscissa of the first coordinate by the first reduction rate and multiplying the first reduction rate by the second reduction rate to obtain the abscissa of the first pixel.
And dividing the ordinate of the first coordinate by the first reduction rate multiplied by the second reduction rate to obtain the ordinate of the first pixel.
As one implementation, sub-step 1035 includes:
and dividing the abscissa of the second coordinate by the first reduction rate and multiplying the second reduction rate to obtain the abscissa of the second pixel.
And dividing the ordinate of the second coordinate by the first reduction rate multiplied by the second reduction rate to obtain the ordinate of the second pixel.
Further, sub-step 1036 includes:
and dividing the abscissa and the ordinate of the first pixel by the set pixel respectively to obtain a starting row and a starting column of the tile.
And dividing the abscissa and the ordinate of the second pixel by the set pixel respectively to obtain an end row and an end column of the tile.
And obtaining the tiles to be checked corresponding to the pixel areas to be checked in the hierarchy according to the starting row, the starting column, the end row and the end column.
Step 104: and if the tile to be checked exists in the consultation diagnosis client, directly displaying the pathological image.
Step 105: and if the tile to be checked does not have the consultation diagnosis client side, acquiring the three-dimensional coordinate when the shape of the tile to be checked is square.
Wherein the square can be a square or a rectangle, and the three-dimensional coordinates include: the number of layers of the tiles to be checked, the abscissa of the tiles to be checked and the ordinate of the tiles to be checked;
step 106: and sending the three-dimensional coordinates of the tiles to be checked to a transfer server so that the transfer server searches whether the tiles to be checked exist in the transfer server or not according to the three-dimensional coordinates of the tiles to be checked.
Step 107: if the tile to be checked does not exist in the queue, the transfer server sends a priority uploading instruction to the consultation application client, the consultation application client inserts the tile to be checked into the head of the queue, and the tile to be checked is uploaded to the transfer server preferentially, so that the transfer server sends the tile to be checked to the consultation diagnosis client.
The consultation diagnosis client side preferentially loads the tiles in the pathological images with the highest compression ratio, namely preferentially loads the tiles in the pathological images with the smallest data volume, so that the original pathological images are reduced, the transmission speed is accelerated, and the consultation diagnosis client side can download pathological images with other compression ratios at the same time of checking the pathological images, so that the pixel area to be checked selected in the pathological images by the consultation diagnosis client side is determined according to the operation of a doctor, and the tiles to be checked in the pixel area to be checked are calculated in a layer-by-layer upward borrowing mode; and if the tile to be checked exists in the consultation diagnosis client, directly displaying the pathological image. Therefore, by displaying the fuzzy pathological images and continuously downloading tiles according to the operation of a doctor, the pathological images are continuously corrected clearly, namely, consultation diagnosis clients can download, check and upload simultaneously, so that low delay is realized, and the transmission speed of the pathological images is accelerated.
In order to better understand the scheme of the present invention, the scheme of image transmission according to the present invention is described in detail by taking fig. 2 as an example.
At the time of 12:00:00, a doctor at a consultation application client selects a pathological image file in a desktop application program, the program identifies and analyzes the pathological image file to obtain basic information (8 ten thousand by 8 ten thousand) of pathological images, and meanwhile, the pathological image file is layered according to 7 layers to calculate pathological sub-images corresponding to the layers, the reduction rate corresponding to each layer of 7 layers is (7-1X, 6-2X, 5-4X, 4-8X, 3-16X, 2-32X, 1-64X), and the generated hierarchical table is as table 1 in the first embodiment.
Wherein, the 1 st layer is the layer with the highest compression ratio, the compression ratio decreases with the increasing of the number of layers, namely, the 7 th layer is the layer with the lowest compression ratio, and the meaning represented by 7-1X is as follows: the corresponding reduction factor of layer 7 is 1, 6-2X and means: the reduction factor corresponding to the 6 th layer is 2, and the meanings of other layers can be analogized by referring to the above meanings.
About 2 seconds later, namely 12:00:02, a doctor of the consultation application client uploads the patient information, basic information of the pathological images and tiles in the pathological images with the highest compression rate on the layer 1 to a queue established by the consultation application client in advance.
According to the actual network condition, 12:00:05 is obtained after about 3 seconds, the tiles are transmitted to the transit server from the consultation application client, after the transit server receives the tiles, the received tiles are stored according to the layering (which can also be understood as the compression rate), a diagnostician of the consultation diagnosis client is informed, the storage space is opened, and the tiles uploaded by the consultation application client are received and cached.
About 5 seconds later, 12:00:10, the diagnostician receives the remote diagnosis application and opens the software to view the pathology image. The consultation diagnosis client downloads and displays the patient information together with the pathological image basic information and the tile of the layer 1 with the highest compression rate. At the moment, the consultation diagnosis client asynchronously and statically downloads the tiles of other layers from the high to the low compression rate (2-7 layers) in the background.
When the reduction rate of the doctor is reduced from 1 to 13.5, the coordinate of the mouse position of the pixel region to be viewed at the upper left corner of the pathological image is 2000 × 2000 (the first coordinate), and the resolution of the screen is 1028 × 720, the pixel coordinate of the pixel region to be viewed at the lower right corner of the pathological image is 3028 × 2720 (the second coordinate), so that the pixel region which the doctor needs to view is determined.
The hierarchical table is searched according to the reduction rate of 13.5, the reduction rate of 13.5 is closest to the 3 rd layer of the hierarchical table, namely, the hierarchical table is the 3 rd layer with the minimum value larger than 13.5, the reduction rate corresponding to the 3 rd layer is 16, and the pixel area which needs to be viewed by the doctor is converted into the pixel corresponding to the 3 rd layer, namely, the pixels 2000 to 3028 to 2720 are converted into the pixels corresponding to 16, namely, the pixels are 2370 to 3589 to 3234 (calculation method: pixel/13.5 to 16, and the pixels are rounded up and down).
Then, the tile range of the pixel area to be viewed is calculated to be row 9-column 9 to row 14-column 12 according to the tile block size 256 × 256 (calculation method: pixel/256, round up and down), the row is 6 and the column is 4 according to the starting row, the starting column, the ending row and the ending column, so that 24 tiles (6 × 4) are needed in total, and then 24 tiles are taken out from the layer 3 as the tiles to be viewed of the pixel area to be viewed.
And searching whether the tiles are downloaded in the local cache of the consultation diagnosis client section according to the layering number, the abscissa and the ordinate of the tiles to be checked, and if all the tiles are hit, directly drawing. If some coordinate tile is not downloaded, the layer number (number of layers), the horizontal coordinate number and the vertical coordinate number are sent to the transfer server to apply for preferential downloading and set a trigger, and the display is refreshed immediately once the drawing of the map is finished. And when the current tile does not exist on the transfer server, the transfer server can send a priority uploading instruction to the consultation application client, and the consultation application client preferentially transmits the tile of the pixel area to the transfer server until the consultation diagnosis client is hit when polling the transfer server.
Meanwhile, the drawing program judges whether the tiles which are not satisfied in the current layer (3 layers) can be compensated by the tiles in the previous layer (4 layers), if the same positions of the 4 layers can be complemented, the judgment is recorded, and if the 4 layers cannot be satisfied, the judgment is carried out on the upper layer 1 (5 layers), until the uppermost layer (7 layers), the tiles are necessarily hit (preloaded). And the image is drawn in order from top to bottom so that all positions of the image are blank. And recording the missing piece code into a buffer, judging whether the tile is missing when the receiving queue receives the tile, if so, triggering redrawing, and supplementing the part of the non-current layer (3 layers) until all the tile is displayed as the content of the current layer (3 layers).
According to the embodiment of the invention, when the consultation diagnosis client side checks the tile, the consultation diagnosis client side can directly download the tile from the transfer server, so that the consultation diagnosis client side can check the pathological image more quickly, and if the consultation diagnosis client side checks that the tile does not exist in the transfer server, the consultation diagnosis client side acquires the three-dimensional coordinate of the tile and sends the three-dimensional coordinate of the tile to the transfer server, so that the transfer server can search whether the tile exists in the transfer server or not according to the three-dimensional coordinate of the tile; if the tile is not available, the transfer server sends a priority uploading instruction to the consultation application client, the consultation application client inserts the tile into the head of the queue and preferentially uploads the tile to the transfer server, so that the transfer server sends the tile to the consultation diagnosis client, namely, when the consultation diagnosis client applies for downloading the unprocessed tile, the tile is placed into the front end of the queue for priority processing and returns a file in a tile queue insertion mode, and therefore the pathological image can be viewed immediately and remotely with low delay.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Example two
Referring to fig. 3, an image transmission apparatus according to a second embodiment of the present invention is shown, and the apparatus is applied to a consultation diagnosis client, and includes:
and the loading module 301 is configured to load the tile in the pathology image with the highest compression rate and the basic information of the pathology image, which are sent by the consultation application client.
A display module 302 for displaying the tiles in the pathology image with the highest compression rate.
The calculating module 303 is configured to determine a pixel region to be viewed selected by the consultation diagnosis client in the pathological image, and calculate tiles to be viewed in the pixel region to be viewed in a layer-by-layer upward borrowing manner.
And the query module 304 is configured to directly display the pathological image if the tile to be viewed exists in the consultation diagnosis client.
Optionally, the query module is further configured to, if the tile to be checked does not have the consultation diagnosis client, obtain a three-dimensional coordinate when the tile to be checked is square, where the three-dimensional coordinate includes: the number of layers of the tile to be checked, the abscissa of the tile to be checked and the ordinate of the tile to be checked;
the judging module is used for sending the three-dimensional coordinates of the tiles to be checked to a transfer server so that the transfer server can search whether the tiles to be checked exist in the transfer server according to the three-dimensional coordinates of the tiles to be checked;
if the judgment result of the judgment module is that the tile is not found, the transfer server sends a priority uploading instruction to the consultation application client, the consultation application client inserts the tile to be checked into the head of the queue, and the tile is uploaded to the transfer server preferentially, so that the transfer server sends the tile to be checked to the consultation diagnosis client.
Optionally, the apparatus further comprises:
and the hierarchical table module is used for generating a hierarchical table according to the basic information of the pathological image, and the hierarchical table stores the corresponding relation among the basic information, the hierarchical number and the reduction rate of the pathological sub-image.
The calculation module comprises:
the first coordinate submodule is used for obtaining a first coordinate of the mouse at the current position of the pixel area to be checked when the consultation diagnosis client operates to adjust the current reduction rate to the first reduction rate;
the second coordinate submodule is used for obtaining a second coordinate of the pixel area to be checked according to the first coordinate and the screen resolution;
the searching submodule is used for searching the hierarchical table according to the first reduction rate to obtain a hierarchy corresponding to the first reduction rate and a second reduction rate corresponding to the hierarchy;
a first calculating submodule, configured to calculate, according to the first coordinate, the first reduction rate, and the second reduction rate, a first pixel corresponding to the first coordinate in the hierarchy;
a second calculating sub-module, configured to calculate, according to the second coordinate, the first reduction rate, and the second reduction rate, a second pixel corresponding to the first coordinate in the hierarchy
And the third calculation sub-module is used for calculating the tiles to be checked corresponding to the pixel areas to be checked in the hierarchy according to the first pixels and the second pixels.
Optionally, the first computing submodule is specifically configured to:
dividing the abscissa of the first coordinate by the first reduction rate multiplied by the second reduction rate to obtain the abscissa of the first pixel;
and dividing the ordinate of the first coordinate by the first reduction rate multiplied by the second reduction rate to obtain the ordinate of the first pixel.
Optionally, the second calculating sub-module is specifically configured to divide the abscissa of the second coordinate by the first reduction ratio multiplied by the second reduction ratio to obtain the abscissa of the second pixel; and dividing the ordinate of the second coordinate by the first reduction rate multiplied by the second reduction rate to obtain the ordinate of the second pixel.
Optionally, the third computing sub-module is specifically configured to divide the abscissa and the ordinate of the first pixel by the set pixel to obtain a start row and a start column of the tile; dividing the abscissa and the ordinate of the second pixel by a set pixel respectively to obtain an end row and an end column of the tile; and obtaining the tiles to be checked corresponding to the pixel areas to be checked in the hierarchy according to the starting row, the starting column, the end row and the end column.
The device further comprises:
the layering module is used for layering the basic information of the pathological images according to different reduction rates to obtain a plurality of pathological sub-images;
the cutting module is used for cutting the pathological sub-image to generate a plurality of tiles;
the sequencing module is used for sequentially uploading the tiles to a pre-established queue according to the sequence of the compression rate of the pathological sub-images from high to low;
and the uploading module is used for uploading the basic information of the tiles and the pathological images in the queue to a transfer server so that the consultation diagnosis client downloads the basic information of the tiles and the pathological images from the transfer server.
Optionally, the cutting module is specifically configured to cut the pathological sub-image according to the set pixels, and generate a plurality of tiles.
According to the embodiment of the invention, when the consultation diagnosis client side checks the tile, the consultation diagnosis client side can directly download the tile from the transfer server, so that the consultation diagnosis client side can check the pathological image more quickly, and if the consultation diagnosis client side checks that the tile does not exist in the transfer server, the consultation diagnosis client side acquires the three-dimensional coordinate of the tile and sends the three-dimensional coordinate of the tile to the transfer server, so that the transfer server can search whether the tile exists in the transfer server or not according to the three-dimensional coordinate of the tile; if the tile is not available, the transfer server sends a priority uploading instruction to the consultation application client, the consultation application client inserts the tile into the head of the queue and preferentially uploads the tile to the transfer server, so that the transfer server sends the tile to the consultation diagnosis client, namely, when the consultation diagnosis client applies for downloading the unprocessed tile, the tile is placed into the front end of the queue for priority processing and returns a file in a tile queue insertion mode, and therefore the pathological image can be viewed immediately and remotely with low delay.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment. An embodiment of the present invention further provides an electronic device, including:
one or more processors; and
one or more machine readable media having instructions stored thereon that, when executed by the one or more processors, cause the electronic device to perform an image transmission method as described.
The embodiment of the invention also provides a computer readable storage medium, and a stored computer program enables a processor to execute the image transmission method.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The image transmission method, apparatus, device and medium provided by the present invention are described in detail above, and the principle and the implementation of the present invention are explained in this document by applying specific examples, and the description of the above examples is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (11)

1. An image transmission method applied to a consultation diagnosis client side comprises the following steps:
the consultation diagnosis client loads the tile in the pathological image with the highest compression rate and the basic information of the pathological image, which are sent by the consultation application client;
the consultation diagnosis client displays the tiles in the pathological image with the highest compression rate;
determining a pixel area to be checked selected by a consultation diagnosis client side in the pathological image, and calculating tiles to be checked in the pixel area to be checked according to a layer-by-layer upward borrowing mode;
and if the tile to be checked exists in the consultation diagnosis client, directly displaying the pathological image.
2. The method of claim 1, further comprising:
if the tile to be checked does not have the consultation diagnosis client side, acquiring a three-dimensional coordinate when the tile to be checked is square, wherein the three-dimensional coordinate comprises: the number of layers of the tile to be checked, the abscissa of the tile to be checked and the ordinate of the tile to be checked;
sending the three-dimensional coordinates of the tiles to be checked to a transfer server so that the transfer server searches whether the tiles to be checked exist in the transfer server according to the three-dimensional coordinates of the tiles to be checked;
if the tile to be checked does not exist in the queue, the transfer server sends a priority uploading instruction to the consultation application client, the consultation application client inserts the tile to be checked into the head of the queue, and the tile to be checked is uploaded to the transfer server preferentially, so that the transfer server sends the tile to be checked to the consultation diagnosis client.
3. The method of claim 1, further comprising:
generating a hierarchical table according to the basic information of the pathological image, wherein the hierarchical table stores the corresponding relation of the basic information, the hierarchical number and the reduction rate of the pathological sub-image;
the step of determining the pixel area to be checked selected by the consultation diagnosis client side in the pathological image and calculating the tiles to be checked in the pixel area to be checked in a layer-by-layer upward borrowing mode comprises the following steps:
when the consultation diagnosis client operates to adjust the current reduction rate to a first reduction rate, obtaining a first coordinate of the mouse at the current position of the pixel area to be checked;
obtaining a second coordinate of the pixel area to be checked according to the first coordinate and the screen resolution;
searching the hierarchical table according to the first reduction rate to obtain a hierarchy corresponding to the first reduction rate and a second reduction rate corresponding to the hierarchy;
calculating a first pixel corresponding to the first coordinate in the hierarchy according to the first coordinate, the first reduction rate and the second reduction rate;
calculating a second pixel corresponding to the first coordinate in the hierarchy according to the second coordinate, the first reduction rate and the second reduction rate
And calculating the tiles to be checked corresponding to the pixel areas to be checked in the hierarchy according to the first pixels and the second pixels.
4. The method of claim 3, wherein the step of calculating the first pixel corresponding to the first coordinate in the hierarchy according to the first coordinate, the first reduction ratio and the second reduction ratio comprises:
dividing the abscissa of the first coordinate by the first reduction rate multiplied by the second reduction rate to obtain the abscissa of the first pixel;
and dividing the ordinate of the first coordinate by the first reduction rate multiplied by the second reduction rate to obtain the ordinate of the first pixel.
5. The method of claim 3, wherein the step of calculating a second pixel corresponding to the second coordinate at the hierarchy according to the second coordinate, the first reduction rate, and the second reduction rate comprises:
dividing the abscissa of the second coordinate by the first reduction rate and multiplying the second reduction rate to obtain the abscissa of the second pixel;
and dividing the ordinate of the second coordinate by the first reduction rate multiplied by the second reduction rate to obtain the ordinate of the second pixel.
6. The method according to claim 4 or 5, wherein the step of computing a tile to be viewed of a pixel area to be viewed in a hierarchy from the first pixel and the second pixel comprises:
dividing the abscissa and the ordinate of the first pixel by a set pixel respectively to obtain a starting row and a starting column of the tile;
dividing the abscissa and the ordinate of the second pixel by a set pixel respectively to obtain an end row and an end column of the tile;
and obtaining the tiles to be checked corresponding to the pixel areas to be checked in the hierarchy according to the starting row, the starting column, the end row and the end column.
7. The method according to claim 1, wherein the step of loading the tile in the pathology image with the highest compression rate and the basic information of the pathology image sent by the consultation application client is preceded by the consultation diagnosis client, and the method further comprises the following steps:
layering the basic information of the pathological images according to different reduction rates to obtain a plurality of pathological sub-images;
cutting the pathological sub-image to generate a plurality of tiles;
sequentially uploading the tiles to a pre-established queue according to the sequence of the compression rate of the pathological sub-images from high to low;
uploading the basic information of the tiles and the pathological images in the queue to a transit server so that a consultation diagnosis client downloads the basic information of the tiles and the pathological images from the transit server.
8. The method of claim 1, wherein the step of cutting the pathological sub-image to generate a number of tiles comprises:
and cutting the pathological sub-image according to the set pixels to generate a plurality of tiles.
9. An image transmission apparatus applied to a consultation diagnosis client, comprising:
the loading module is used for loading tiles in the pathological images with the highest compression rate and basic information of the pathological images, which are sent by the consultation application client;
a display module for displaying the tiles in the pathological image with the highest compression rate;
the computing module is used for determining a pixel area to be checked selected by the consultation diagnosis client side in the pathological image, and computing tiles to be checked in the pixel area to be checked in a layer-by-layer upward borrowing mode;
and the query module is used for directly displaying the pathological image if the tile to be checked exists in the consultation diagnosis client.
10. An electronic device, comprising:
one or more processors; and
one or more machine readable media having instructions stored thereon that, when executed by the one or more processors, cause the electronic device to perform the image transmission method of any of claims 1-8.
11. A computer-readable storage medium, characterized in that it stores a computer program causing a processor to execute the image transmission method according to any one of claims 1 to 8.
CN202110714914.4A 2021-06-25 2021-06-25 Image transmission method, device, equipment and medium Pending CN113613036A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110714914.4A CN113613036A (en) 2021-06-25 2021-06-25 Image transmission method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110714914.4A CN113613036A (en) 2021-06-25 2021-06-25 Image transmission method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN113613036A true CN113613036A (en) 2021-11-05

Family

ID=78336834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110714914.4A Pending CN113613036A (en) 2021-06-25 2021-06-25 Image transmission method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN113613036A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6349330B1 (en) * 1997-11-07 2002-02-19 Eigden Video Method and appparatus for generating a compact post-diagnostic case record for browsing and diagnostic viewing
US20030163031A1 (en) * 2000-06-26 2003-08-28 Adlabs, Inc. Method and system for providing centralized anatomic pathology services
CN101669815A (en) * 2009-09-22 2010-03-17 广东威创视讯科技股份有限公司 Remote diagnosis system of medical section and network transmission method thereof
EP2469434A1 (en) * 2010-12-27 2012-06-27 Siemens Aktiengesellschaft Method and device for displaying medical image data
CN105357304A (en) * 2015-11-16 2016-02-24 广州华银医学检验中心有限公司 Remote pathologic diagnosis section digital image processing and transmitting technology
CN106446568A (en) * 2016-09-29 2017-02-22 北京和缓医疗科技有限公司 Method and device for realizing telepathology consultation
CN106599119A (en) * 2016-11-30 2017-04-26 广州极飞科技有限公司 Image data storage method and apparatus
CN106991143A (en) * 2017-03-22 2017-07-28 苏州中科图新网络科技有限公司 Multi-layer image file, generation method and device, read method and device
CN108564578A (en) * 2018-04-13 2018-09-21 上海商汤智能科技有限公司 Pathological diagnosis householder method, apparatus and system
CN109302451A (en) * 2018-09-03 2019-02-01 视联动力信息技术股份有限公司 A kind of methods of exhibiting and system of picture file
CN110675939A (en) * 2019-09-24 2020-01-10 深圳安泰创新科技股份有限公司 Image processing method, image processing apparatus, and computer-readable storage medium
CN111223544A (en) * 2019-12-31 2020-06-02 创业慧康科技股份有限公司 Remote real-time endoscope safety consultation system
CN111724398A (en) * 2020-06-18 2020-09-29 五八有限公司 Image display method and device

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6349330B1 (en) * 1997-11-07 2002-02-19 Eigden Video Method and appparatus for generating a compact post-diagnostic case record for browsing and diagnostic viewing
US20030163031A1 (en) * 2000-06-26 2003-08-28 Adlabs, Inc. Method and system for providing centralized anatomic pathology services
CN101669815A (en) * 2009-09-22 2010-03-17 广东威创视讯科技股份有限公司 Remote diagnosis system of medical section and network transmission method thereof
EP2469434A1 (en) * 2010-12-27 2012-06-27 Siemens Aktiengesellschaft Method and device for displaying medical image data
CN105357304A (en) * 2015-11-16 2016-02-24 广州华银医学检验中心有限公司 Remote pathologic diagnosis section digital image processing and transmitting technology
CN106446568A (en) * 2016-09-29 2017-02-22 北京和缓医疗科技有限公司 Method and device for realizing telepathology consultation
CN106599119A (en) * 2016-11-30 2017-04-26 广州极飞科技有限公司 Image data storage method and apparatus
CN106991143A (en) * 2017-03-22 2017-07-28 苏州中科图新网络科技有限公司 Multi-layer image file, generation method and device, read method and device
CN108564578A (en) * 2018-04-13 2018-09-21 上海商汤智能科技有限公司 Pathological diagnosis householder method, apparatus and system
CN109302451A (en) * 2018-09-03 2019-02-01 视联动力信息技术股份有限公司 A kind of methods of exhibiting and system of picture file
CN110675939A (en) * 2019-09-24 2020-01-10 深圳安泰创新科技股份有限公司 Image processing method, image processing apparatus, and computer-readable storage medium
CN111223544A (en) * 2019-12-31 2020-06-02 创业慧康科技股份有限公司 Remote real-time endoscope safety consultation system
CN111724398A (en) * 2020-06-18 2020-09-29 五八有限公司 Image display method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘小红;: "基于预处理图像压缩的病害诊断应用研究", 计算机技术与发展, no. 07, 10 July 2020 (2020-07-10) *

Similar Documents

Publication Publication Date Title
CN110555795B (en) High resolution style migration
RU2583730C2 (en) Adaptive image rendering and use of impostor image
US8159550B2 (en) Presenting images as mosaics
US20020025084A1 (en) Transfer and display method of digitally enlarged images
US8934718B2 (en) Interactive analytics of digital histology slides
CN111507333B (en) Image correction method and device, electronic equipment and storage medium
US20080219563A1 (en) Configuration of a plurality of images for multi-dimensional display
AU2021354030B2 (en) Processing images using self-attention based neural networks
CA2456033A1 (en) Network image server
US20200401840A1 (en) Digital image presentation
DE102019007796A1 (en) Use of a neural network serving for the detection of critical edges and a geometric model for determining camera parameters from a single digital image
CN108184097B (en) Real-time image viewing method in remote medical treatment
US20080165207A1 (en) Method and System for Manipulating Graphical Images
US9439565B1 (en) Wireless viewing of digital pathology specimens
CN113613036A (en) Image transmission method, device, equipment and medium
US11538578B1 (en) Methods and systems for the efficient acquisition, conversion, and display of pathology images
CN111966853B (en) Management method of remote sensing image
CN114119423A (en) Image processing method, image processing device, electronic equipment and storage medium
US20120224778A1 (en) Information processing apparatus, information processing method, and program
AU2002322153B2 (en) Network image server
CN110851752B (en) Image transmission method and device
JP5353299B2 (en) Image search system, image search device, and image search method
CN115455233A (en) Video dynamic thumbnail generation method, device, equipment and storage medium
US9514274B2 (en) Layered medical image forming, receiving, and transmitting methods
Hu et al. Use image streaming technologies to present high resolution images on the internet

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