CN112331310A - Medical image data display method and device, storage medium and intelligent equipment - Google Patents

Medical image data display method and device, storage medium and intelligent equipment Download PDF

Info

Publication number
CN112331310A
CN112331310A CN202011080138.9A CN202011080138A CN112331310A CN 112331310 A CN112331310 A CN 112331310A CN 202011080138 A CN202011080138 A CN 202011080138A CN 112331310 A CN112331310 A CN 112331310A
Authority
CN
China
Prior art keywords
image
fragment
target image
client
fragmentation
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
CN202011080138.9A
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.)
Shenzhen Zhiying Medical Technology Co ltd
Original Assignee
Shenzhen Zhiying 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 Shenzhen Zhiying Medical Technology Co ltd filed Critical Shenzhen Zhiying Medical Technology Co ltd
Priority to CN202011080138.9A priority Critical patent/CN112331310A/en
Publication of CN112331310A publication Critical patent/CN112331310A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/20ICT specially adapted for the handling or processing of medical images for handling medical images, e.g. DICOM, HL7 or PACS

Landscapes

  • Health & Medical Sciences (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Radiology & Medical Imaging (AREA)
  • Engineering & Computer Science (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Medical Treatment And Welfare Office Work (AREA)
  • Measuring And Recording Apparatus For Diagnosis (AREA)

Abstract

The application is applicable to the technical field of computers, and provides a medical image data display method, a device, a storage medium and intelligent equipment, which comprise: the client sends an image calling and displaying request to the server, wherein the image calling and displaying request carries an image identifier of a target image which is requested to be called and displayed by the client; the server receives an image calling display request sent by the client, acquires and analyzes a target image corresponding to an image identifier, acquires original image data of the target image, performs fragmentation processing on the target image based on the original image data to obtain fragmentation information and a plurality of fragmentation images, and sends the fragmentation information and the plurality of fragmentation images to the client; and the client synthesizes the target image to display the image based on the fragment information and the plurality of fragment images. The method and the device have the advantages that the speed of loading the image data of the client is higher, the jamming is reduced, and the efficiency of loading and displaying the image data of the client is improved.

Description

Medical image data display method and device, storage medium and intelligent equipment
Technical Field
The application belongs to the technical field of computers, and particularly relates to a medical image data display method and device, a storage medium and intelligent equipment.
Background
DICOM (Digital Imaging and Communications in Medicine) has been used as a standard for storing and transmitting medical radiographic images in a variety of mature applications, and existing equipment manufacturers have abundant support for DICOM, and radiographic image files are stored in DICOM format.
With the innovation of technology, the application of medical images in the web is gradually enhanced. However, the stored image data is often large due to the inherent property of the medical image, so that the display loading speed of the image data in the web application is slow, the image data is easy to jam, the display of the image data is not smooth enough, and the display efficiency of the image data is low.
Disclosure of Invention
The embodiment of the application provides a medical image data display method, a medical image data display device, a storage medium and intelligent equipment, and can solve the problems that in the prior art, due to the fact that inherent attributes of medical images cause stored image data to be large, display loading speed of the image data in web application is low, the image data is easy to block, display of the image data is not smooth enough, and display efficiency of the image data is low.
In a first aspect, an embodiment of the present application provides a medical image data display method, including:
the method comprises the steps that a server receives an image calling and displaying request sent by a client, wherein the image calling and displaying request carries an image identifier of a target image which is requested to be called and displayed by the client;
the server acquires and analyzes a target image corresponding to the image identifier, and acquires original image data of the target image;
the server carries out fragmentation processing on the target image based on the original image data to obtain fragmentation information and a plurality of fragmentation images;
and the server sends the fragment information and the plurality of fragment images to the client, and instructs the client to synthesize a target image for image display based on the fragment information and the plurality of fragment images.
In a possible implementation manner of the first aspect, the step of acquiring and analyzing, by the server, a target image corresponding to the image identifier to acquire original image data of the target image includes:
acquiring image information and pixel data of the target image, wherein the image information comprises a color type;
based on the color type, the pixel data is converted into raw pixel data in a specified format.
In a possible implementation manner of the first aspect, the image information further includes a height and a width of a target image, and the step of performing, by the server, fragmentation processing on the target image based on the original image data to obtain a plurality of fragmented images includes:
determining the slicing proportion according to the height and the width of the target image;
determining the number of fragments of the fragment image obtained by performing fragment processing on the target image according to the fragment proportion;
and carrying out fragmentation processing on the target image based on the original pixel data of the target image and the fragmentation proportion to obtain the fragmentation images corresponding to the fragmentation quantity.
In a possible implementation manner of the first aspect, the step of performing slicing processing on the target image based on the original pixel data of the target image and the slicing ratio to obtain sliced images corresponding to the number of slices includes:
acquiring original pixel coordinates of original pixel data of the target image;
and determining the fragment serial number of the fragment image into which the original pixel data falls after fragment processing and the target pixel coordinate of the original pixel data in the fragment image into which the original pixel data falls according to the original pixel coordinate of the original pixel data and the fragment proportion of the target image.
In a second aspect, an embodiment of the present application provides a medical image data display method, including:
the method comprises the steps that a client sends an image calling and displaying request to a server, wherein the image calling and displaying request carries an image identifier of a target image which is requested to be called and displayed by the client, the image calling and displaying request is used for indicating the server to obtain and analyze the target image corresponding to the image identifier, original image data of the target image are obtained, based on the original image data, the target image is subjected to fragmentation processing to obtain fragmentation information and a plurality of fragmentation images, and the fragmentation information and the plurality of fragmentation images are sent to the client;
and the client synthesizes the target image to display the image based on the fragment information and the plurality of fragment images.
In a possible implementation manner of the second aspect, the fragment information includes a fragment serial number, and the step of synthesizing, by the client, the target image to display the image based on the fragment information and the plurality of fragment images includes:
circularly initiating a fragment acquisition request carrying a fragment sequence number to the server based on the fragment sequence number;
receiving and displaying a first fragment image sent by the server based on the fragment request;
and after receiving the plurality of fragment images sent by the server, synthesizing the plurality of fragment images according to the fragment sequence numbers to obtain a target image for image display.
In a third aspect, an embodiment of the present application provides a medical image data display system, including a client and a server, where:
the client sends an image calling and displaying request to a server, wherein the image calling and displaying request carries an image identifier of a target image which is requested to be called and displayed by the client;
the server receives the image calling display request sent by the client, acquires and analyzes a target image corresponding to the image identifier, acquires original image data of the target image, performs fragmentation processing on the target image based on the original image data to obtain fragmentation information and a plurality of fragmentation images, and sends the fragmentation information and the plurality of fragmentation images to the client;
and the client synthesizes the target image to display the image based on the fragment information and the plurality of fragment images.
In a fourth aspect, an embodiment of the present application provides a medical image data display apparatus, including:
the display request acquisition unit is used for receiving an image calling and displaying request sent by a client through a server, wherein the image calling and displaying request carries an image identifier of a target image requested to be called and displayed by the client;
the data analysis unit is used for acquiring and analyzing a target image corresponding to the image identifier through the server to acquire original image data of the target image;
the fragment processing unit is used for carrying out fragment processing on the target image based on the original image data through the server to obtain fragment information and a plurality of fragment images;
and the image sending and displaying unit is used for sending the fragment information and the plurality of fragment images to the client through the server, and instructing the client to synthesize a target image for image display based on the fragment information and the plurality of fragment images.
In a fifth aspect, the present application provides an intelligent device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the medical image data display method according to the first aspect.
In a sixth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the medical image data display method according to the first aspect.
In a seventh aspect, the present application provides a computer program product, which when run on an intelligent device, causes the intelligent device to execute the medical image data display method according to the first aspect.
In the embodiment of the application, send image and transfer the display request to the server through the client, the image is transferred and is displayed the image sign that the request carried the client and is requested to transfer the target image that shows, through the image that the client was sent is received to the server and is transferred the display request, obtain and analyze the target image that the image sign corresponds, obtain the original image data of target image, based on original image data, carry out fragmentation processing to the target image, obtain fragmentation information and a plurality of fragmentation image, and send fragmentation information and a plurality of fragmentation image to the client, can accelerate transmission speed, alleviate transmission pressure, the client is based on fragmentation information and a plurality of fragmentation image, the synthetic target image that obtains carries out image display. According to the scheme, the server processes the original large image data into a plurality of small fragment images and then sends the fragment images to the client, so that the speed of loading the image data by the client is higher, the blockage is reduced, the display of the image data is smoother, the efficiency of loading and displaying the image data by the client is improved, and the user experience is enhanced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a system architecture diagram of a medical image data display system provided in an embodiment of the present application;
fig. 2 is a flowchart of an implementation of a method for displaying medical image data on a server side according to an embodiment of the present application;
fig. 3 is a flowchart illustrating an implementation of step S202 in a medical image data displaying method according to an embodiment of the present application;
fig. 4 is a flowchart illustrating an implementation of step S203 in a medical image data displaying method according to an embodiment of the present application;
fig. 5 is a flowchart of an implementation of a method for displaying medical image data on a client side according to an embodiment of the present application;
fig. 6 is a flowchart illustrating an implementation of step S502 in a medical image data displaying method according to an embodiment of the present application;
fig. 7 is a block diagram of a medical image data display device according to an embodiment of the present application;
fig. 8 is a schematic diagram of an intelligent device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
Fig. 1 is a system architecture diagram of a medical image data display system according to an embodiment of the present application, which is detailed as follows: for convenience of explanation, only portions related to the embodiments of the present application are shown.
Referring to fig. 1, the medical image data display system includes a client 2 and a server 1, wherein:
the client 2 sends an image retrieval display request to the server 1, wherein the image retrieval display request carries an image identifier of a target image requested to be retrieved and displayed by the client 2.
The server 1 receives the image retrieval display request sent by the client 2, acquires and analyzes a target image corresponding to the image identifier, acquires original image data of the target image, performs fragmentation processing on the target image based on the original image data to obtain fragmentation information and a plurality of fragmentation images, and sends the fragmentation information and the plurality of fragmentation images to the client 2.
And the client 2 synthesizes the target image to display the image based on the fragment information and the plurality of fragment images.
As a possible implementation manner of the present application, the server 1 is further configured to compress the plurality of fragment images respectively and then send the compressed fragment images to the client 2, and instruct the client 2 to synthesize a target image for image display based on the fragment information and the compressed plurality of fragment images. In this embodiment of the application, after receiving the fragment information and the compressed fragment image, the client 2 decompresses the fragment image to obtain the fragment image before compression, and then synthesizes a plurality of fragment images into a target image according to the fragment information to display the target image.
In the embodiment of the application, the medical image data display system may establish wireless communication connection between the plurality of clients 2 and the server 1 by using technologies such as a WIFI technology or a 3G/4G/5G technology, and may also establish wired connection between the clients 2 and the server 1 by using a serial port technology or a USB interface technology.
In the embodiment of the application, send image and transfer the display request to server 1 through client 2, image transfer the display request and carry the image sign that client 2 requested to transfer the target image that shows, through server 1 receives the image transfer display request that client 2 sent, obtain and analyze the target image that the image sign corresponds, obtain the original image data of target image, based on original image data, carry out fragmentation processing to the target image, obtain fragmentation information and a plurality of fragmentation image, and send fragmentation information and a plurality of fragmentation image to client 2, can accelerate transmission speed, alleviate transmission pressure, client 2 is based on fragmentation information and a plurality of fragmentation image, the synthesis obtains the target image and carries out image display. According to the scheme, the server 1 processes original large image data into a plurality of small fragment images and then sends the fragment images to the client 2, so that the speed of loading the image data by the client 2 is higher, the blockage is reduced, the display of the image data is smoother, the efficiency of loading and displaying the image data by the client 2 is improved, and the user experience is enhanced.
Fig. 2 shows a flow of implementing the medical image data display method provided in the embodiment of the present application, in the embodiment, the execution subject of the flow is the server 1 shown in fig. 1, and the flow of the method includes steps S201 to S204. The specific realization principle of each step is as follows:
s201: the server receives an image calling and displaying request sent by a client, wherein the image calling and displaying request carries an image identifier of a target image requested to be called and displayed by the client.
In an embodiment of the present application, the target image is a DICOM image. The client sends an image calling and displaying request to the server to request to display the target image, and the server receives the image calling and displaying request sent by the client.
S202: and the server acquires and analyzes the target image corresponding to the image identifier to acquire original image data of the target image.
In this embodiment, the server obtains a target image corresponding to the image identifier, and analyzes the target image according to a specified analysis standard to obtain original image data of the target image.
As a possible implementation manner of the present application, fig. 3 shows a specific implementation flow of step S202 of the medical image data display method provided in the embodiment of the present application, which is detailed as follows:
a1: and acquiring image information and pixel data of the target image, wherein the image information comprises a color type.
The video information also includes image size (height × width), storage format, and the like.
A2: based on the color type, the pixel data is converted into raw pixel data in a specified format.
In one possible implementation, the server performs format conversion on the target image, and converts the pixel data of the target image into original pixel data. Specifically, the target image is converted into RAW format to obtain original pixel data.
In one possible embodiment, the pixel data of the target image is converted from grayscale data to RAW pixel data.
Exemplarily, taking an application scenario as an example, after receiving an image retrieval display request carrying an image identifier at a client, a server obtains a DICOM file corresponding to the image identifier, and analyzes the DICOM file according to a DICOM standard to obtain image information such as a color type, a storage format, an image size, and the like of the target image, and pixel data. And then converting the pixel data into original pixel data in a RAW format based on the color type of the target image.
In the embodiment of the application, by converting the pixel data into raw original pixel data, effective pixel data with high integrity can be obtained, and the data volume of the target image can be reduced.
S203: and the server performs fragmentation processing on the target image based on the original image data to obtain fragmentation information and a plurality of fragmentation images.
As a possible implementation manner of the present application, the image information further includes a height and a width of the image, and fig. 4 shows a specific implementation flow of step S203 of the medical image data display method provided in this application, which is detailed as follows:
b1: and determining the slicing proportion according to the height and the width of the target image.
In one possible embodiment, the slice fraction n of the target image is determined according to the following formula (1):
Figure BDA0002718452500000091
where H is the height of the target image, W is the width of the target image, and λ is a specified constant value, e.g., λ is 512.
In the embodiment of the present application, the height and width values of the target image are compared, the smaller value is divided by the specified constant value, and the division is rounded up to obtain the slice ratio of the target image.
Illustratively, the width × height of the target image is 2540 × 2940, the smaller value of the height and width is 2540 divided by 512 to obtain 2540/512 ═ 4.9609375, and then rounded up to obtain 5, i.e., 5 is the slice ratio of the target image.
In the embodiment of the present application, when determining the partition ratio, the division is performed by using a value smaller than the width in the target image and a specified constant value, and then rounding up is performed in order to avoid that part of the pixel data falls outside the tile image.
B2: and determining the number of the fragments of the fragment image obtained by performing fragment processing on the target image according to the fragment proportion.
In one possible embodiment, the number N of slices of the target video is determined according to the slice ratio N, where N is N × N.
Illustratively, the width × height of the target image is 2540 × 2940, the smaller value of the height and width is 2540 divided by 512 to obtain 2540/512 × 4.9609375, the target image is further rounded upward to obtain a slice ratio 5 of the target image, and the number of slices is 5 × 25 according to the slice ratio 5.
B3: and carrying out fragmentation processing on the target image based on the original pixel data of the target image and the fragmentation proportion to obtain the fragmentation images corresponding to the fragmentation quantity.
Specifically, a value is taken from every N pixel points horizontally and transversely on the target image to generate a sliced image, and N sliced images are obtained in total.
Illustratively, the width × height of the target image is 2540 × 2940, the smaller value of the height and width is 2540 divided by 512 to obtain 2540/512 × 4.9609375, the target image is further rounded upward to obtain a slice ratio 5 of the target image, and the number of slices is 5 × 25 according to the slice ratio 5. Specifically, one value is taken for every 5 pixels in the horizontal direction and one value is taken for every 5 pixels in the vertical direction of the target image, and a total of 25 slice images are obtained.
In one embodiment, the slice images obtained by the slice processing are sequentially numbered and sorted to obtain the serial number of each slice image, for example, 0,1, 2 … 24.
In the embodiment of the application, the fragment proportion is determined according to the height and the width of the target image, the fragment number is determined according to the fragment proportion, and finally, the fragment processing is performed based on the original pixel data of the target image and the fragment proportion, so that the fragment image corresponding to the fragment number is obtained.
In one possible implementation, the server sends the fragmentation proportion and the fragmentation number to the client.
As a possible implementation manner of the present application, the step B3 specifically includes:
c1: and acquiring the original pixel coordinates of the original pixel data of the target image.
C2: and determining the fragment serial number of the fragment image into which the original pixel data falls after fragment processing and the target pixel coordinate of the original pixel data in the fragment image into which the original pixel data falls according to the original pixel coordinate of the original pixel data and the fragment proportion of the target image.
In this embodiment, the step C2 is repeatedly executed until all the pixel data of the target image falls into each corresponding slice image.
In one possible embodiment, the raw pixel data p is determined according to the following equation (2)(i,j)The fragment sequence number s of the fragment image that falls after the fragment processing:
s=i%n+(j%n)×n(2)
wherein i is a horizontal abscissa of the original pixel data, j is a vertical ordinate of the original pixel data, and% represents a remainder.
For example, if the slice ratio of the target image is 5 and the number of slices is 25, according to the above formula (2), 10% 5+ (12% 5) × 5 ═ 0+2 × (5) ═ 10, it is determined that the original pixel data p (10,12) falls into the slice image with the serial number 10.
For example, if the slice ratio of the target image is 4 and the slice number is 16, the original pixel data p may be determined according to the above formula (2), 10% 4+ (12% 4) × 4 ═ 2+0 × (4) ═ 2(10,12)Fall into the slice image with sequence number 2.
In one possible embodiment, to further determine the specific location where the original pixel data falls in the sliced image, the target pixel coordinates (x, y) where the original pixel data after the slicing processing falls in the sliced image are determined according to the following formula (3):
Figure BDA0002718452500000111
where x denotes a horizontal abscissa in the slice image, and y denotes a vertical ordinate in the slice image.
For example, if the slice ratio of the target image is 5 and the slice number is 25, the original pixel data p can be determined according to the above formula (2)(10,12)In the slice image with the sequence number 10, the specific coordinate of the slice image with the sequence number 10 is determined to be (2, 2) according to the above formula (3).
For example, if the slice ratio of the target image is 4 and the slice number is 16, the original pixel data p can be determined according to the above formula (2)(10,12)Fall into the slice image with the sequence number 2 according to the above disclosureEquation (3), the specific coordinates of the slice image with sequence number 2 are (2, 3).
S204: and the server sends the fragment information and the plurality of fragment images to the client, and instructs the client to synthesize a target image for image display based on the fragment information and the plurality of fragment images.
In an embodiment, the server may directly invoke a display request according to an image of the client, and sequentially send the plurality of segment images to the client according to the segment sequence numbers.
In another embodiment, the server sends a fragment acquisition request according to a client, and sends a fragment image corresponding to a fragment sequence number carried by the fragment acquisition request to the client.
In a possible implementation manner, the server compresses the plurality of fragmented images respectively and sends the compressed fragmented images to the client. Specifically, the server compresses each fragmented image by using a PNG algorithm to obtain a PNG file, and then sends the PNG files to the client.
From top to bottom, in this application embodiment, send image and transfer the display request to the server through the client, the image is transferred and is displayed the image sign that the request carried the client request and transfer the target image that shows, through the image that the server received the client and sent is transferred and is displayed the request, obtain and resolve the target image that the image sign corresponds, obtain the original image data of target image, based on original image data, carry out fragmentation processing to the target image, obtain fragmentation information and a plurality of fragmentation image to send fragmentation information and a plurality of fragmentation image to the client, can accelerate transmission speed, alleviate transmission pressure, the client is based on fragmentation information and a plurality of fragmentation image, the target image that the synthesis obtained carries out image display. According to the scheme, the server processes the original large image data into a plurality of small fragment images and then sends the fragment images to the client, so that the speed of loading the image data by the client is higher, the blockage is reduced, the display of the image data is smoother, the efficiency of loading and displaying the image data by the client is improved, and the user experience is enhanced.
Fig. 5 shows a flow of implementing a medical image data display method according to another embodiment of the present application, in this embodiment, the main execution subject of the flow is the client 2 shown in fig. 1, and the flow of the method includes steps S501 to S502. The specific realization principle of each step is as follows:
step S501: the method comprises the steps that a client sends an image calling and displaying request to a server, the image calling and displaying request carries an image identifier of a target image which is requested to be called and displayed by the client, the image calling and displaying request is used for indicating the server to obtain and analyze the target image corresponding to the image identifier, original image data of the target image are obtained, based on the original image data, the target image is subjected to fragmentation processing, fragmentation information and a plurality of fragmentation images are obtained, and the fragmentation information and the plurality of fragmentation images are sent to the client.
In the embodiment of the application, after the client sends the image calling and displaying request to the server, the image calling and displaying request knowledge server performs fragment processing on the target image, divides the initial large image data into a plurality of fragment images and then sends the fragment images to the client, so that the pressure of data transmission can be reduced, the loading efficiency of the client can be improved, the blockage is reduced, and the user experience is enhanced.
Step S502: and the client synthesizes the target image to display the image based on the fragment information and the plurality of fragment images.
As a possible implementation manner of the present application, the fragment information includes a fragment serial number, and fig. 6 shows a specific implementation flow of step S502 of the medical image data display method provided in the embodiment of the present application, which is detailed as follows:
d1: and circularly initiating a fragment acquisition request carrying the fragment sequence number to the server based on the fragment sequence number.
In the embodiment of the application, after the server performs fragmentation processing on the target image, the server sends fragmentation information to the client, and the client initiates a fragmentation acquisition request to the server based on the fragmentation serial number in the fragmentation information, and specifically can acquire each fragmentation image by using ajax circulation.
D2: and receiving and displaying the first fragment image sent by the server based on the fragment request.
In the embodiment of the application, after receiving the first fragment image sent by the server based on the fragment request, the client renders the first fragment image to a page for display.
D3: and after receiving the plurality of fragment images sent by the server, synthesizing the plurality of fragment images according to the fragment sequence numbers to obtain a target image for image display.
In this embodiment, after receiving the slice images corresponding to the number of slices, the client performs image synthesis on the slice images to obtain a target image, and replaces the first slice image being displayed on the page with the target image.
From top to bottom, in this application embodiment, send image and transfer the display request to the server through the client, the image is transferred and is displayed the image sign that the request carried the client request and transfer the target image that shows, through the image that the server received the client and sent is transferred and is displayed the request, obtain and resolve the target image that the image sign corresponds, obtain the original image data of target image, based on original image data, carry out fragmentation processing to the target image, obtain fragmentation information and a plurality of fragmentation image to send fragmentation information and a plurality of fragmentation image to the client, can accelerate transmission speed, alleviate transmission pressure, the client is based on fragmentation information and a plurality of fragmentation image, the target image that the synthesis obtained carries out image display. According to the scheme, the server processes the original large image data into a plurality of small fragment images and then sends the fragment images to the client, so that the speed of loading the image data by the client is higher, the blockage is reduced, the display of the image data is smoother, the efficiency of loading and displaying the image data by the client is improved, and the user experience is enhanced.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 7 shows a block diagram of a medical image data display device according to an embodiment of the present application, which corresponds to the medical image data display method according to the foregoing embodiment, and only shows portions related to the embodiment of the present application for convenience of description.
Referring to fig. 7, the medical image data display apparatus includes: a display request acquiring unit 71, a data analyzing unit 72, a slice processing unit 73, and an image sending and displaying unit 74, wherein:
a display request obtaining unit 71, configured to receive, by a server, an image retrieval display request sent by a client, where the image retrieval display request carries an image identifier of a target image requested to be retrieved and displayed by the client;
a data analysis unit 72, configured to obtain and analyze the target image corresponding to the image identifier through the server, and obtain original image data of the target image;
a fragment processing unit 73, configured to perform fragment processing on the target image based on the original image data through the server to obtain fragment information and a plurality of fragment images;
and an image sending and displaying unit 74, configured to send the fragment information and the plurality of fragment images to the client through the server, and instruct the client to synthesize a target image for image display based on the fragment information and the plurality of fragment images.
In a possible embodiment, the data parsing unit 72 includes
The information acquisition module is used for acquiring image information and pixel data of the target image, wherein the image information comprises a color type;
and the original data acquisition module is used for converting the pixel data into original pixel data in a specified format based on the color type.
In a possible embodiment, the image information further includes a height and a width of the target image, and the slice processing unit 73 includes:
the fragment proportion determining module is used for determining the fragment proportion according to the height and the width of the target image;
the fragment number determining module is used for determining the fragment number of the fragment image obtained by performing fragment processing on the target image according to the fragment proportion;
and the image fragment processing module is used for carrying out fragment processing on the target image based on the original pixel data of the target image and the fragment proportion to obtain the fragment images corresponding to the fragment quantity.
In one possible implementation, the image slicing processing module specifically includes:
the original pixel coordinate acquisition submodule is used for acquiring the original pixel coordinate of the original pixel data of the target image;
and the target pixel coordinate acquisition sub-module is used for determining the fragment serial number of the fragment image into which the original pixel data falls after fragment processing and the target pixel coordinate of the original pixel data in the falling fragment image according to the original pixel coordinate of the original pixel data and the fragment proportion of the target image.
From top to bottom, in this application embodiment, send image and transfer the display request to the server through the client, the image is transferred and is displayed the image sign that the request carried the client request and transfer the target image that shows, through the image that the server received the client and sent is transferred and is displayed the request, obtain and resolve the target image that the image sign corresponds, obtain the original image data of target image, based on original image data, carry out fragmentation processing to the target image, obtain fragmentation information and a plurality of fragmentation image to send fragmentation information and a plurality of fragmentation image to the client, can accelerate transmission speed, alleviate transmission pressure, the client is based on fragmentation information and a plurality of fragmentation image, the target image that the synthesis obtained carries out image display. According to the scheme, the server processes the original large image data into a plurality of small fragment images and then sends the fragment images to the client, so that the speed of loading the image data by the client is higher, the blockage is reduced, the display of the image data is smoother, the efficiency of loading and displaying the image data by the client is improved, and the user experience is enhanced.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the steps of any one of the medical image data display methods shown in fig. 2 to 4, or implements the steps of any one of the medical image data display methods shown in fig. 5 to 6.
An embodiment of the present application further provides an intelligent device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of any one of the medical image data display methods shown in fig. 2 to 4 when executing the computer program, or implements the steps of any one of the medical image data display methods shown in fig. 5 to 6 when executing the computer program.
The present application further provides a computer program product, which when run on an intelligent device, causes the intelligent device to execute the steps of implementing any one of the medical image data display methods shown in fig. 2 to 4, or the steps of implementing any one of the medical image data display methods shown in fig. 5 to 6.
Fig. 8 is a schematic diagram of an intelligent device provided in an embodiment of the present application. As shown in fig. 8, the smart device 8 of this embodiment includes: a processor 80, a memory 81 and a computer program 82 stored in said memory 81 and executable on said processor 80. The processor 80 executes the computer program 82 to implement the steps in the above-mentioned embodiments of the medical image data display method, such as the steps S201 to S204 shown in fig. 2. Alternatively, the processor 80, when executing the computer program 82, implements the functions of the modules/units in the above-described device embodiments, such as the functions of the units 71 to 74 shown in fig. 7.
Illustratively, the computer program 82 may be partitioned into one or more modules/units that are stored in the memory 81 and executed by the processor 80 to accomplish the present application. The one or more modules/units may be a series of computer-readable instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 82 in the smart device 8.
The smart device 8 may be a server. The smart device 8 may include, but is not limited to, a processor 80, a memory 81. Those skilled in the art will appreciate that fig. 8 is merely an example of a smart device 8 and does not constitute a limitation of the smart device 8 and may include more or less components than those shown, or combine certain components, or different components, for example, the smart device 8 may also include input-output devices, network access devices, buses, etc.
The Processor 80 may be a CentraL Processing Unit (CPU), other general purpose Processor, a DigitaL SignaL Processor (DSP), an AppLication Specific Integrated Circuit (ASIC), an off-the-shelf ProgrammabLe Gate Array (FPGA) or other ProgrammabLe logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 81 may be an internal storage unit of the intelligent device 8, such as a hard disk or a memory of the intelligent device 8. The memory 81 may also be an external storage device of the Smart device 8, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure DigitaL (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the Smart device 8. Further, the memory 81 may also include both an internal storage unit and an external storage device of the smart device 8. The memory 81 is used for storing the computer programs and other programs and data required by the smart device. The memory 81 may also be used to temporarily store data that has been output or is to be output.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method for displaying medical images, comprising:
the method comprises the steps that a server receives an image calling and displaying request sent by a client, wherein the image calling and displaying request carries an image identifier of a target image which is requested to be called and displayed by the client;
the server acquires and analyzes a target image corresponding to the image identifier, and acquires original image data of the target image;
the server carries out fragmentation processing on the target image based on the original image data to obtain fragmentation information and a plurality of fragmentation images;
and the server sends the fragment information and the plurality of fragment images to the client, and instructs the client to synthesize a target image for image display based on the fragment information and the plurality of fragment images.
2. The method as claimed in claim 1, wherein the step of acquiring and analyzing the target image corresponding to the image identifier by the server to acquire the original image data of the target image comprises:
acquiring image information and pixel data of the target image, wherein the image information comprises a color type;
based on the color type, the pixel data is converted into raw pixel data in a specified format.
3. The medical image display method according to claim 2, wherein the image information further includes a height and a width of a target image, and the step of the server performing a slice processing on the target image based on the original image data to obtain a plurality of slice images includes:
determining the slicing proportion according to the height and the width of the target image;
determining the number of fragments of the fragment image obtained by performing fragment processing on the target image according to the fragment proportion;
and carrying out fragmentation processing on the target image based on the original pixel data of the target image and the fragmentation proportion to obtain the fragmentation images corresponding to the fragmentation quantity.
4. The medical image display method according to claim 3, wherein the step of performing a slice processing on the target image based on the original pixel data of the target image and the slice ratio to obtain slice images corresponding to the number of slices comprises:
acquiring original pixel coordinates of original pixel data of the target image;
and determining the fragment serial number of the fragment image into which the original pixel data falls after fragment processing and the target pixel coordinate of the original pixel data in the fragment image into which the original pixel data falls according to the original pixel coordinate of the original pixel data and the fragment proportion of the target image.
5. A method for displaying medical images, comprising:
the method comprises the steps that a client sends an image calling and displaying request to a server, wherein the image calling and displaying request carries an image identifier of a target image which is requested to be called and displayed by the client, the image calling and displaying request is used for indicating the server to obtain and analyze the target image corresponding to the image identifier, original image data of the target image are obtained, based on the original image data, the target image is subjected to fragmentation processing to obtain fragmentation information and a plurality of fragmentation images, and the fragmentation information and the plurality of fragmentation images are sent to the client;
and the client synthesizes the target image to display the image based on the fragment information and the plurality of fragment images.
6. The medical image display method according to claim 5, wherein the segment information includes a segment serial number, and the step of synthesizing, by the client, the target image for image display based on the segment information and the plurality of segment images includes:
circularly initiating a fragment acquisition request carrying a fragment sequence number to the server based on the fragment sequence number;
receiving and displaying a first fragment image sent by the server based on the fragment request;
and after receiving the plurality of fragment images sent by the server, synthesizing the plurality of fragment images according to the fragment sequence numbers to obtain a target image for image display.
7. A medical image display system, comprising a client and a server, wherein:
the client sends an image calling and displaying request to a server, wherein the image calling and displaying request carries an image identifier of a target image which is requested to be called and displayed by the client;
the server receives the image calling display request sent by the client, acquires and analyzes a target image corresponding to the image identifier, acquires original image data of the target image, performs fragmentation processing on the target image based on the original image data to obtain fragmentation information and a plurality of fragmentation images, and sends the fragmentation information and the plurality of fragmentation images to the client;
and the client synthesizes the target image to display the image based on the fragment information and the plurality of fragment images.
8. A medical image data display apparatus, comprising:
the display request acquisition unit is used for receiving an image calling and displaying request sent by a client through a server, wherein the image calling and displaying request carries an image identifier of a target image requested to be called and displayed by the client;
the data analysis unit is used for acquiring and analyzing a target image corresponding to the image identifier through the server to acquire original image data of the target image;
the fragment processing unit is used for carrying out fragment processing on the target image based on the original image data through the server to obtain fragment information and a plurality of fragment images;
and the image sending and displaying unit is used for sending the fragment information and the plurality of fragment images to the client through the server, and instructing the client to synthesize a target image for image display based on the fragment information and the plurality of fragment images.
9. An intelligent device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the medical image data display method according to any one of claims 1 to 4, or implements the medical image data display method according to any one of claims 5 to 6 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, implements the medical image data display method according to any one of claims 1 to 4, or implements the medical image data display method according to any one of claims 5 to 6.
CN202011080138.9A 2020-10-10 2020-10-10 Medical image data display method and device, storage medium and intelligent equipment Pending CN112331310A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011080138.9A CN112331310A (en) 2020-10-10 2020-10-10 Medical image data display method and device, storage medium and intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011080138.9A CN112331310A (en) 2020-10-10 2020-10-10 Medical image data display method and device, storage medium and intelligent equipment

Publications (1)

Publication Number Publication Date
CN112331310A true CN112331310A (en) 2021-02-05

Family

ID=74314770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011080138.9A Pending CN112331310A (en) 2020-10-10 2020-10-10 Medical image data display method and device, storage medium and intelligent equipment

Country Status (1)

Country Link
CN (1) CN112331310A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113129407A (en) * 2021-03-15 2021-07-16 武汉联影智融医疗科技有限公司 Physiological waveform chart drawing method and device, computer equipment and readable storage medium

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0981584A (en) * 1995-09-12 1997-03-28 Nippon Telegr & Teleph Corp <Ntt> Image data display method and server/client system
US20020065088A1 (en) * 2000-11-29 2002-05-30 Eastman Kodak Company Process for sending images to a low display ability terminal
WO2005043403A1 (en) * 2003-11-03 2005-05-12 Immertec Co., Ltd. Method and system for transmitting partitioned data for streaming service on low speed channel
JP2007053608A (en) * 2005-08-18 2007-03-01 Ricoh Co Ltd Image processing system, server device, client device, program and information recording medium
CN101534435A (en) * 2008-08-04 2009-09-16 广东威创视讯科技股份有限公司 Access method for transmitting and displaying high-resolution image data in blocks
CN102098451A (en) * 2010-12-15 2011-06-15 广东威创视讯科技股份有限公司 Image segmentation display method based on synthetic video
CN103925912A (en) * 2014-04-02 2014-07-16 中国人民解放军总参谋部测绘研究所 Internal view field optical partitional large-area-array CCD (charge coupled device) image geometric splicing method
WO2016107401A1 (en) * 2014-12-30 2016-07-07 珠海奔图电子有限公司 Image formation control system and image formation control method
CN106204422A (en) * 2016-06-30 2016-12-07 西安电子科技大学 Super large width image Rapid matching joining method based on block subgraph search
CN106934245A (en) * 2017-03-21 2017-07-07 上海辉明软件有限公司 A kind of DICOM image display methods, device and system
KR20180046129A (en) * 2016-10-27 2018-05-08 엘지이노텍 주식회사 Device and method of image split transmission
CN108231164A (en) * 2017-12-27 2018-06-29 沈阳东软医疗系统有限公司 A kind of image processing method, apparatus and system
CN108334412A (en) * 2018-02-11 2018-07-27 沈阳东软医疗系统有限公司 A kind of method and apparatus of display image
CN108830869A (en) * 2018-05-11 2018-11-16 西安电子科技大学 Remote sensing images Parallel segmentation method based on super-pixel
CN109377500A (en) * 2018-09-18 2019-02-22 平安科技(深圳)有限公司 Image partition method and terminal device neural network based
CN109828949A (en) * 2017-10-12 2019-05-31 贵阳朗玛信息技术股份有限公司 DICOM file format conversion method, apparatus and system

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0981584A (en) * 1995-09-12 1997-03-28 Nippon Telegr & Teleph Corp <Ntt> Image data display method and server/client system
US20020065088A1 (en) * 2000-11-29 2002-05-30 Eastman Kodak Company Process for sending images to a low display ability terminal
WO2005043403A1 (en) * 2003-11-03 2005-05-12 Immertec Co., Ltd. Method and system for transmitting partitioned data for streaming service on low speed channel
JP2007053608A (en) * 2005-08-18 2007-03-01 Ricoh Co Ltd Image processing system, server device, client device, program and information recording medium
CN101534435A (en) * 2008-08-04 2009-09-16 广东威创视讯科技股份有限公司 Access method for transmitting and displaying high-resolution image data in blocks
CN102098451A (en) * 2010-12-15 2011-06-15 广东威创视讯科技股份有限公司 Image segmentation display method based on synthetic video
CN103925912A (en) * 2014-04-02 2014-07-16 中国人民解放军总参谋部测绘研究所 Internal view field optical partitional large-area-array CCD (charge coupled device) image geometric splicing method
WO2016107401A1 (en) * 2014-12-30 2016-07-07 珠海奔图电子有限公司 Image formation control system and image formation control method
CN106204422A (en) * 2016-06-30 2016-12-07 西安电子科技大学 Super large width image Rapid matching joining method based on block subgraph search
KR20180046129A (en) * 2016-10-27 2018-05-08 엘지이노텍 주식회사 Device and method of image split transmission
CN106934245A (en) * 2017-03-21 2017-07-07 上海辉明软件有限公司 A kind of DICOM image display methods, device and system
CN109828949A (en) * 2017-10-12 2019-05-31 贵阳朗玛信息技术股份有限公司 DICOM file format conversion method, apparatus and system
CN108231164A (en) * 2017-12-27 2018-06-29 沈阳东软医疗系统有限公司 A kind of image processing method, apparatus and system
CN108334412A (en) * 2018-02-11 2018-07-27 沈阳东软医疗系统有限公司 A kind of method and apparatus of display image
CN108830869A (en) * 2018-05-11 2018-11-16 西安电子科技大学 Remote sensing images Parallel segmentation method based on super-pixel
CN109377500A (en) * 2018-09-18 2019-02-22 平安科技(深圳)有限公司 Image partition method and terminal device neural network based

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
马联波: "大幅图像高速接收管理与预处理", 中国优秀硕士学位论文全文数据库 信息科技辑, no. 05, pages 1138 - 1080 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113129407A (en) * 2021-03-15 2021-07-16 武汉联影智融医疗科技有限公司 Physiological waveform chart drawing method and device, computer equipment and readable storage medium
CN113129407B (en) * 2021-03-15 2023-08-18 武汉联影智融医疗科技有限公司 Physiological waveform drawing method, device, computer equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN102523367B (en) Real time imaging based on many palettes compresses and method of reducing
CN107967677B (en) Image processing method, image processing device, computer-readable storage medium and computer equipment
KR101775522B1 (en) Lossless image compression using differential transfer
CN110446062B (en) Receiving processing method for big data file transmission, electronic device and storage medium
US8356114B2 (en) Region of interest-based image transfer
EP3177024B1 (en) Apparatus for cloud streaming service
CN111314646B (en) Image acquisition method, image acquisition device, terminal device and readable storage medium
WO2021129883A1 (en) Map tile processing method and related apparatus applied to large visual screen
CN110399511A (en) Image cache method, equipment, storage medium and device based on Redis
CN113421312A (en) Method and device for coloring black and white video, storage medium and terminal
WO2018037665A1 (en) Information-processing device, information-processing system, control method, and program
CN112331310A (en) Medical image data display method and device, storage medium and intelligent equipment
WO2022133753A1 (en) Point cloud encoding and decoding methods and systems, point cloud encoder, and point cloud decoder
CN110650309B (en) Video conference video image transmission method, terminal and readable storage medium
CN113222806A (en) Storage allocation method and system for big data
CN110378479B (en) Image input method and device based on deep learning and terminal equipment
CN116912556A (en) Picture classification method and device, electronic equipment and storage medium
CN113992951A (en) Screen projection method, projector and terminal equipment
CN114584781A (en) Video compression method and device and computer readable storage medium
CN113179375A (en) Exposure processing method, exposure processing apparatus, electronic device, storage medium, and program product
CN113613024A (en) Video preprocessing method and device
CN115880416A (en) Three-dimensional model display method and device, server and storage medium
CN110119380B (en) Storage and reading method and device for scalable vector graphics file
CN111260531A (en) Image steganography method, device, equipment and computer readable storage medium
CN117435112B (en) Data processing method, system and device, electronic equipment and storage medium

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