WO2021169230A1 - Method and apparatus for displaying pathological section image, and electronic device and storage medium - Google Patents

Method and apparatus for displaying pathological section image, and electronic device and storage medium Download PDF

Info

Publication number
WO2021169230A1
WO2021169230A1 PCT/CN2020/113096 CN2020113096W WO2021169230A1 WO 2021169230 A1 WO2021169230 A1 WO 2021169230A1 CN 2020113096 W CN2020113096 W CN 2020113096W WO 2021169230 A1 WO2021169230 A1 WO 2021169230A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
image block
pathological slice
displayed
layers
Prior art date
Application number
PCT/CN2020/113096
Other languages
French (fr)
Chinese (zh)
Inventor
郭晶晶
段琦
张少霆
Original Assignee
上海商汤智能科技有限公司
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 上海商汤智能科技有限公司 filed Critical 上海商汤智能科技有限公司
Priority to JP2021542134A priority Critical patent/JP2022524707A/en
Priority to KR1020217020481A priority patent/KR20210110813A/en
Publication of WO2021169230A1 publication Critical patent/WO2021169230A1/en

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Definitions

  • This application relates to the field of image technology, and in particular to a method and device for displaying pathological slice images, electronic equipment and storage media.
  • the pathology system usually adopts the browser/server (Browser/Server, B/S) architecture, and the user uses the browser to view the pathological slice image, that is, the whole slide image (WSI).
  • Pathological slice images are usually divided into 10 layers according to different magnifications. For example, the magnification of the top layer is 1 ⁇ (that is, 1 times), the resolution is 6000 ⁇ 5000, and the magnification of the bottom layer is 40 ⁇ (that is, 40 Times), the resolution is 60000 ⁇ 50000.
  • the size of a single pathological slice image obtained by scanning is usually several hundred megabytes (Mbyte, MB), or even more than 1 gigabyte (Gbyte, GB). In related technologies, when displaying pathological slice images, there are huge challenges for terminals, servers, and bandwidth.
  • the embodiments of the present application provide a method and device for displaying pathological slice images, electronic equipment, and storage media.
  • the embodiment of the present application provides a method for displaying pathological slice images, including:
  • the pathological slice image can be displayed based on the image block of the pathological slice image, and the amount of transmitted data can be reduced, so that the display speed of the pathological slice image can be accelerated.
  • the method before the receiving the display request sent by the client, the method further includes:
  • a correspondence relationship between the number of layers, the number of rows and the number of columns of any image block in the array formed by the plurality of image blocks, and the any image block is established.
  • the subsequent processing of the pathological slice image display request can be processed based on the image blocks of the pathological slice image, thereby improving the pathological slice image. Display the processing speed of the request, thereby helping to improve the response speed of the browser.
  • the establishment of the number of layers, the number of rows and the number of columns of any image block in the array formed by the plurality of image blocks is the same as the number of any image block. Correspondence between, including:
  • the number of layers of the pathological slice image, the number of rows and the number of columns of any image block in the array formed by the multiple image blocks can be quickly established.
  • the corresponding relationship between the image blocks can improve the search speed and convenience of the image blocks.
  • the coordinate information includes the coordinates of four vertices of the image area requested to be displayed;
  • the determining, according to the number of layers and the coordinate information, the image block in the pathological slice image that contains the image area requested to be displayed includes:
  • the image block is determined.
  • the embodiment of the present application provides a method for displaying pathological slice images, including:
  • the pathological slice image can be displayed based on the image block of the pathological slice image, and the amount of transmitted data can be reduced, so that the display speed of the pathological slice image can be accelerated.
  • An embodiment of the present application provides a pathological slice image display device, including:
  • the first receiving module is configured to receive a display request sent by the client, where the display request carries the number of layers of the pathological slice image requested to be displayed and the coordinate information of the image area requested to be displayed;
  • the first determining module is configured to determine, according to the number of layers and the coordinate information, an image block in the pathological slice image that includes the image area requested to be displayed, wherein the pathological slice image includes at least one image block;
  • the return module is configured to return the image block to the client.
  • An embodiment of the present application provides a pathological slice image display device, including:
  • a sending module configured to send a display request to the server, where the display request carries the number of layers of the pathological slice image requested to be displayed and the coordinate information of the image area requested to be displayed;
  • a second receiving module configured to receive an image block returned by the server based on the display request, where the image block is an image block in the pathological slice image that includes the image area requested to be displayed;
  • the display module is configured to display the part of the image block that belongs to the range of the image area requested to be displayed.
  • An embodiment of the present application provides an electronic device, including: one or more processors; a memory configured to store executable instructions; wherein the one or more processors are configured to call the executable instructions stored in the memory To perform the above method.
  • An embodiment of the present application provides a computer-readable storage medium having computer program instructions stored on the computer-readable storage medium, and the computer program instructions implement the foregoing method when executed by a processor.
  • the embodiment of the present application provides a computer program, including computer readable code, and when the computer readable code runs in an electronic device, a processor in the electronic device executes the above method.
  • the pathological slice image contains the requested display
  • FIG. 1 is a schematic diagram of a system architecture of a method for displaying pathological slice images provided by an embodiment of the present application
  • FIG. 2 is an implementation flowchart of a method for displaying pathological slice images provided by an embodiment of the present application
  • 3A to 3D are schematic diagrams of dividing the pathological slice image into multiple image blocks in the pathological slice image display method provided by the embodiment of the present application;
  • FIG. 4 is a schematic diagram of a region of interest (a user perspective range) of a user in the method for displaying pathological slice images provided by an embodiment of the present application;
  • FIG. 5 is another implementation flowchart of the pathological slice image display method provided by the embodiment of the present application.
  • Fig. 6 is a schematic diagram of a pathological slice image display device provided by an embodiment of the present application.
  • FIG. 7 is another schematic diagram of a pathological slice image display device provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of an electronic device provided by an embodiment of the present application.
  • Fig. 9 is another schematic diagram of an electronic device provided by an embodiment of the present application.
  • the pathology system usually adopts the B/S architecture, and the user uses the browser on the client to view the pathological slice image.
  • Pathological slice images are usually divided into 10 layers according to different magnifications. For example, the magnification of the top layer is 1 ⁇ (that is, 1 times), the resolution is 6000 ⁇ 5000, and the magnification of the bottom layer is 40 ⁇ (that is, 40 Times), the resolution is 60000 ⁇ 50000.
  • the size of a single pathological slice image obtained by scanning is usually several hundred megabytes (Mbyte, MB), or even more than 1 gigabyte (Gbyte, GB).
  • the user usually browses the pathological slice images according to the magnification from small to large, and when the browser displays the pathological slice images, usually according to the number of layers browsed and the user’s current perspective, the slice images are dynamically extracted from the server, with pictures The stream is transmitted to the client, and the extracted slice image is displayed in the browser of the client.
  • the slice image is dynamically extracted. First, locate the layer number to be browsed, then perform the area coordinate conversion according to the user's current perspective, and finally extract the image content of the corresponding layer number according to the converted coordinate information.
  • the server continuously repeats the coordinate conversion image extraction operation. In the case of high user concurrency, it is easy to cause the browser to display slowly, freeze, or even crash, which reduces the user's use Experience.
  • an embodiment of the present application provides a method for displaying slice images according to the area where the user's perspective is located, which can display pathological slice images based on the image blocks of the pathological slice image, reduce the amount of transmitted data, and speed up the pathological slice.
  • the display speed of the image is not limited to the above problems.
  • FIG. 1 is a schematic diagram of the system architecture of the method for displaying pathological slice images provided by an embodiment of the present application.
  • the system architecture includes a client 100, a server 200, and a network 300.
  • the client 100 can connect to the server 200 through the network 300.
  • the browser of the client 100 can display the pathological slice images obtained from the server 200.
  • the client 100 can be a laptop, tablet, desktop computer, or a dedicated computer. Terminals with screen display functions such as message devices.
  • the network 300 may be a wide area network or a local area network, or a combination of the two, and uses wireless links to implement data transmission.
  • the server 200 may be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server based on cloud technology.
  • Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and network within a wide area network or a local area network to realize the calculation, storage, processing, and sharing of data.
  • the server 200 may be based on the pathological slice image display method provided by the embodiment of the present application, by receiving the display request sent by the client 100, according to the number of layers of the pathological slice image requested to be displayed and the coordinates of the image area requested to be displayed carried in the display request Information, determine the image block of the image area requested to be displayed in the pathological slice image, and return the determined image block to the client 100, and the browser of the client 100 displays the received image block to reduce transmission Therefore, the speed of displaying pathological slice images in the browser can be accelerated, and the experience of viewing pathological slice images of the user of the client terminal 100 can be improved.
  • Fig. 2 is an implementation flow chart of a method for displaying pathological slice images provided by an embodiment of the present application.
  • the method for displaying pathological slice images is applied to the server side of the system architecture shown in FIG. 1.
  • the execution body of the pathological slice image display method may be a pathological slice image display device, and the pathological slice image display device may be deployed on a server on the server side, that is, the execution body of the pathological slice image display method may be It is the server side.
  • the display method of the pathological slice image may be executed by a server or other processing equipment.
  • the display method of the pathological slice image may be implemented by a processor invoking a computer-readable instruction stored in a memory.
  • the display method of the pathological slice image includes step S11 to step S13.
  • Step S11 Receive a display request sent by the client, where the display request carries the number of layers of the pathological slice image requested to be displayed and the coordinate information of the image area requested to be displayed.
  • the user can select the pathological slice image that he wants to view in the browser of the client, and can select the region of interest in the pathological slice image for viewing.
  • the browser can determine the number of layers of the pathological slice image requested to be displayed and the coordinate information of the image area requested to be displayed according to the pathological slice image and area selected by the user.
  • the method before the receiving the display request sent by the client, the method further includes: for pathological slice images belonging to any number of layers, dividing the pathological slice image according to a preset image block size Divide into a plurality of image blocks; determine the number of rows and columns of any one of the plurality of image blocks in the array formed by the plurality of image blocks; establish the number of layers, the number of any one Correspondence between the number of rows and the number of columns of an image block in the array formed by the plurality of image blocks and any one of the image blocks.
  • the preset image block size is 256 ⁇ 256.
  • 3A to 3D are schematic diagrams of dividing the pathological slice image into multiple image blocks in the method for displaying the pathological slice image provided by the embodiment of the present application.
  • there are 4 layers of pathological slice images which are the 3rd layer (the topmost layer), the 2nd layer, the 1st layer, and the 0th layer (the bottommost layer).
  • the topmost pathological slice image is not divided; the pathological slice image of the second layer is divided into 4 image blocks, that is, the pathological slice image of the second layer is divided , Obtain a 2 ⁇ 2 image block array; divide the pathological slice image of the first layer into 12 image blocks, that is, divide the pathological slice image of the first layer to obtain a 4 ⁇ 3 image block array; The pathological slice image is divided into 48 image blocks, that is, the pathological slice image at the bottom is divided to obtain an 8 ⁇ 6 image block array.
  • the subsequent processing of the pathological slice image display request can be processed based on the image blocks of the pathological slice image, thereby improving the display of the pathological slice image.
  • the processing speed of the request which helps to improve the response speed of the browser.
  • the pathological slice image may also be divided in other ways.
  • the connected layers can be converted by a multiple of 2.
  • the pathological slice image of the top layer (the third layer) is not divided, and the pathological slice image of the second layer is divided to obtain 2 ⁇ 2
  • Divide the pathological slice image of the first layer into 16 image blocks that is, divide the pathological slice image of the first layer to obtain a 4 ⁇ 4 image block array
  • divide the pathological slice image of the bottom layer It is 64 image blocks, that is, the pathological slice image at the bottom is divided to obtain an 8 ⁇ 8 image block array. This determines the size and range of each divided image block.
  • the pathological slice image can be equally divided into N image blocks, where N is the preset number of image blocks.
  • the pathological slice image can be divided so that the size of each image block obtained by the division is within a preset interval.
  • the sizes of different image blocks may be the same or different.
  • the establishment of the number of layers, the number of rows and the number of columns of any image block in the array formed by the plurality of image blocks is the same as the number of any image block.
  • the correspondence relationship may include: according to the number of layers, and the number of rows and columns of any image block in the array formed by the plurality of image blocks, performing the calculation on any image block name.
  • image blocks can be named according to [number of layers]_[row]_[column].
  • image block A in the pathological slice image at the bottom level shown in FIG. 3D can be named [0]_[2]_[2]
  • image block B in the pathological slice image at the bottom level can be named [0] _[3]_[4].
  • each divided image block is determined, all the image blocks are generated into a file of a preset format, such as a file in the .jpg format, and then each file in the .jpg format is determined according to [ The layer number]_[row]_[column] rule names each image block.
  • the Named so that the number of layers of the pathological slice image, the number of rows and the number of columns of any image block in the array formed by the multiple image blocks, and the number of any image can be quickly established
  • the corresponding relationship between the blocks can improve the search speed and convenience of image blocks.
  • FIG. 4 is a schematic diagram of a region of interest (a user's viewing angle range) of a user in the method for displaying pathological slice images provided by an embodiment of the present application.
  • the user's viewing angle range is a part of the pathological slice image, such as the image corresponding to the dashed frame 401 in FIG.
  • the image information of other parts does not need to be loaded.
  • the server does not need to re-coordinate.
  • Time-consuming processing steps such as conversion and dynamic extraction of image information, only need to return the user's view area image to the client browser, which greatly accelerates the display speed of pathological slice images, shortens the response time of the flowmeter, and allows users to concurrently In the case of high volume, it can also be displayed quickly, thereby improving the user experience of pathological slice image display and achieving a smoother interactive experience.
  • the client can display the pathological slice image through the browser.
  • the screen or browser parameters may be different, and accordingly, the size of the display area may also be different. Therefore, the size of the image area requested to be displayed may also be different.
  • Step S12 Determine, according to the number of layers and the coordinate information, an image block in the pathological slice image that contains the image area requested to be displayed.
  • the pathological slice image includes at least one image block.
  • the image block includes the image area requested to be displayed, which means that the image block includes part or all of the image area requested to be displayed. That is, the pathological slice image contains the image block of the image area requested to be displayed, which may refer to the image block in the pathological slice image that has an overlapping area with the image area requested to be displayed.
  • the image blocks containing the image area requested to be displayed are the upper image block a2 and the image block b2; in the pathological slice image of the first layer shown in FIG.
  • the image block containing the image area requested to be displayed includes image block a3 to image block d3; in the pathological slice image of the 0th layer shown in Figure 3D, the image block containing the image area requested to be displayed includes image block a4 to image Block h4, that is, the image block in row 5 and column 3, the image block in row 5 and column 4, the image block in row 5 and column 5, the image block in row 5 and column 6, and the image block in row 4 and column 3 The image block in row 4 and column 4, the image block in row 4 and column 5, and the image block in row 4 and column 6.
  • the coordinate information of the image area requested to be displayed includes the coordinates of the four vertices of the image area requested to be displayed; and the pathology is determined according to the number of layers and the coordinate information.
  • Slicing the image block of the image area requested to be displayed in the slice image includes: determining the number of rows and columns of the image block according to the ratio of the coordinates of the four vertices to the preset size of the image block; The number of layers, the number of rows and columns of the image block, and the corresponding relationship determine the image block.
  • the coordinates of the upper left vertex of the requested image area are (x 1 , y 1 ), the coordinates of the upper right vertex are (x 2 , y 2 ), and the coordinates of the lower left vertex are (x 3 , y 3 ), The coordinates of the vertex at the lower right corner are (x 4 , y 4 ), and the preset image block size is 256 ⁇ 256.
  • the number of rows of the image block in the upper left corner of the image area requested to be displayed in the pathological slice image is The number of columns is The number of rows of the image block in the upper right corner of the image area requested to be displayed in the pathological slice image is The number of columns is The number of rows of the image block in the lower left corner of the image area requested to be displayed in the pathological slice image is The number of columns is The number of rows of the image block in the lower right corner of the image area requested to be displayed in the pathological slice image is The number of columns is in, Indicates rounding up.
  • the image block a4 in the upper left corner is the image block in row 5 and column 3
  • the image block d4 in the upper right corner is the image block in row 5 and column 6
  • the image block e4 in the lower left corner is the image block in the fourth column.
  • the image block in row 3 and column, the image block h4 in the lower right corner is the image block in row 4, column 6 and the image blocks a4 to h4 between image blocks a4, d4, e4 and h4 are determined as the
  • the pathological slice image contains the image block of the image area requested to be displayed.
  • Step S13 Return the image block to the client.
  • the pathological slice image contains the request according to the number of layers of the pathological slice image carried in the display request and the coordinate information of the image area requested to be displayed
  • the server only needs to return the image block containing the image area requested to be displayed to the client, instead of returning the entire pathological slice image to the client, reducing the amount of data transmitted, and the client only needs to The image block containing the image area requested to be displayed is received and processed, so that the transmission and display pressure of the server and client browsers can be reduced.
  • Fig. 5 is another implementation flow chart of the method for displaying pathological slice images provided by an embodiment of the present application.
  • the method for displaying pathological slice images is applied to the client of the system architecture shown in FIG. 1.
  • the execution subject of the pathological slice image display method may be a pathological slice image display device.
  • the display method of the pathological slice image may be executed by a terminal device or other processing device.
  • the terminal device can be a user equipment (UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (Personal Digital Assistant, PDA), a handheld device, a computing device, a vehicle-mounted device, or a portable device. Wearable equipment, etc.
  • UE user equipment
  • PDA Personal Digital Assistant
  • the display method of the pathological slice image may be implemented by a processor invoking a computer-readable instruction stored in a memory. As shown in FIG. 5, the display method of the pathological slice image includes step S41 to step S43.
  • Step S41 Send a display request to the server.
  • the display request carries the number of layers of the pathological slice image requested to be displayed and the coordinate information of the image area requested to be displayed.
  • the user can select the pathological slice image that he wants to view in the browser of the client, and can select the region of interest in the pathological slice image for viewing.
  • the browser can determine the number of layers of the pathological slice image requested to be displayed and the coordinate information of the image area requested to be displayed according to the pathological slice image and area selected by the user.
  • Step S42 Receive an image block returned by the server based on the display request, where the image block is an image block in the pathological slice image that includes the image area requested to be displayed.
  • the server after receiving the display request, can determine that the pathological slice image contains all the pathological slice images according to the number of layers of the pathological slice image carried in the display request and the coordinate information of the image area requested to be displayed.
  • Step S43 Display the part of the image block that belongs to the range of the image area requested to be displayed.
  • the browser when the browser displays the image block, it determines the part of the image block within the range of the image area requested to be displayed according to the image block, and then compares the determined image block The part within the range of the image area requested to be displayed in the display.
  • the server by sending a display request to the server, receiving the image block containing the image area requested to be displayed in the pathological slice image returned by the server based on the display request, and displaying the image
  • the part of the block that belongs to the range of the image area requested to be displayed can thereby display the pathological slice image based on the image block of the pathological slice image, reduce the amount of transmitted data, and accelerate the display speed of the pathological slice image.
  • the writing order of the steps does not mean a strict execution order but constitutes any limitation on the implementation process.
  • the execution order of each step should be based on its function and possible inherent Logic is determined.
  • embodiments of the present application also provide display devices, electronic equipment, computer-readable storage media, and programs for pathological slice images. All of the above can be used to implement any of the pathological slice image display methods provided in the embodiments of the present application, and the corresponding technical solutions And description and refer to the corresponding record in the method section.
  • Fig. 6 is a schematic diagram of a pathological slice image display device provided by an embodiment of the present application.
  • the device for displaying pathological slice images includes: a first receiving module 51 configured to receive a display request sent by a client, where the display request carries the number of layers of the pathological slice image requested to be displayed and the request The coordinate information of the displayed image area; the first determining module 52 is configured to determine, according to the number of layers and the coordinate information, the image block containing the image area requested to be displayed in the pathological slice image, wherein the The pathological slice image includes at least one image block; the returning module 53 is configured to return the image block to the client.
  • the device further includes: a dividing module configured to divide the pathological slice image into a plurality of image blocks according to a preset image block size for pathological slice images belonging to any number of layers
  • a second determining module configured to determine the number of rows and columns of any image block of the plurality of image blocks in the array formed by the plurality of image blocks
  • the establishment module configured to establish the layer The corresponding relationship between the number of rows and the number of columns of any image block in the array formed by the plurality of image blocks and the any image block.
  • the establishing module may also be configured to: according to the number of layers, the number of rows and the number of columns of any image block in the array formed by the plurality of image blocks, Name any image block.
  • the coordinate information includes the coordinates of the four vertices of the image area requested to be displayed; the determining module 52 may also be configured to: according to the coordinates of the four vertices and the preset The ratio of the size of the image block to determine the number of rows and the number of columns of the image block; the image block is determined according to the number of layers, the number of rows and columns of the image block, and the corresponding relationship.
  • the pathological slice image contains the request according to the number of layers of the pathological slice image carried in the display request and the coordinate information of the image area requested to be displayed
  • Fig. 7 is another schematic diagram of a pathological slice image display device provided by an embodiment of the present application.
  • the device for displaying pathological slice images includes: a sending module 61 configured to send a display request to the server, where the display request carries the number of layers of the pathological slice image requested to be displayed and the image requested to be displayed The coordinate information of the area; the second receiving module 62 is configured to receive the image block returned by the server based on the display request; the display module 63 is configured to display the range of the image area that belongs to the requested display in the image block The inner part.
  • the server by sending a display request to the server, receiving the image block containing the image area requested to be displayed in the pathological slice image returned by the server based on the display request, and displaying the image
  • the part of the block that belongs to the range of the image area requested to be displayed can thereby display the pathological slice image based on the image block of the pathological slice image, reduce the amount of transmitted data, and accelerate the display speed of the pathological slice image.
  • the functions or modules included in the apparatus provided in the embodiments of the present application may be configured to execute the methods described in the above method embodiments, and for implementation, refer to the description of the above method embodiments.
  • An embodiment of the present application also provides a computer-readable storage medium on which computer program instructions are stored, and the computer program instructions implement the above-mentioned method when executed by a processor.
  • the computer-readable storage medium may be a non-volatile computer-readable storage medium, or may be a volatile computer-readable storage medium.
  • the embodiments of the present application also provide a computer program product, including computer-readable code.
  • the processor in the device is configured to implement the pathological slice image display provided in any of the above embodiments. Method of instruction.
  • the embodiments of the present application also provide another computer program product configured to store computer-readable instructions, which when executed, cause the computer to perform the operations of the pathological slice image display method provided by any of the foregoing embodiments.
  • An embodiment of the present application further provides an electronic device, including: one or more processors; a memory configured to store executable instructions; wherein, the one or more processors are configured to call the executable stored in the memory Instructions to perform the above method.
  • the electronic device can be provided as a terminal, server or other form of device.
  • FIG. 8 is a schematic diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device 800 may be a mobile phone, a computer, a digital broadcasting terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and other terminals.
  • the electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, and an input/output (Input/Output, I/O) interface 812 , The sensor component 814, and the communication component 816.
  • a processing component 802 a memory 804, a power component 806, a multimedia component 808, an audio component 810, and an input/output (Input/Output, I/O) interface 812 , The sensor component 814, and the communication component 816.
  • the processing component 802 generally controls the overall operations of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • the processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the foregoing method.
  • the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components.
  • the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
  • the memory 804 is configured to store various types of data to support operations in the electronic device 800. Examples of such data include instructions of any application or method configured to operate on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc.
  • the memory 804 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (Static Random Access Memory, SRAM), electrically erasable programmable read-only memory (Electrically Erasable). Programmable Read Only Memory, EEPROM, Erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (Read Only Memory, ROM) , Magnetic memory, flash memory, magnetic disk or optical disk.
  • SRAM static random access memory
  • EPROM Erasable Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • Read Only Memory Read Only Memory
  • the power supply component 806 provides power for various components of the electronic device 800.
  • the power supply component 806 may include a power management system, one or more power supplies, and other components associated with the generation, management, and distribution of power for the electronic device 800.
  • the multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user.
  • the screen may include a liquid crystal display (Liquid Crystal Display, LCD) and a touch panel (TouchPanel, TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touch, sliding, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure related to the touch or slide operation.
  • the multimedia component 808 includes a front camera and/or a rear camera. When the electronic device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 810 is configured to output and/or input audio signals.
  • the audio component 810 includes a microphone (Microphone, MIC).
  • the microphone is configured to receive an external audio signal.
  • the received audio signal may be stored in the memory 804 or transmitted via the communication component 816.
  • the audio component 810 further includes a speaker configured to output audio signals.
  • the I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module.
  • the above-mentioned peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: home button, volume button, start button, and lock button.
  • the sensor component 814 includes one or more sensors configured to provide the electronic device 800 with various aspects of state evaluation.
  • the sensor component 814 can detect the on/off status of the electronic device 800 and the relative positioning of the components.
  • the component is the display and the keypad of the electronic device 800.
  • the sensor component 814 can also detect the electronic device 800 or the electronic device 800.
  • the position of the component changes, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration/deceleration of the electronic device 800, and the temperature change of the electronic device 800.
  • the sensor component 814 may include a proximity sensor configured to detect the presence of nearby objects when there is no physical contact.
  • the sensor component 814 may also include a light sensor, such as a complementary metal oxide semiconductor (Complementary Metal Oxide Semiconductor, CMOS) or a charge coupled device (Charge Coupled Device, CCD) image sensor, which can be used in imaging applications.
  • CMOS Complementary Metal Oxide Semiconductor
  • CCD Charge Coupled Device
  • the sensor component 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • the communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices.
  • the electronic device 800 can access a wireless network based on a communication standard, such as Wi-Fi, 2G, 3G, 4G/LTE, 5G, or a combination thereof.
  • the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel.
  • the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communication.
  • NFC Near Field Communication
  • the NFC module can be based on Radio Frequency Identification (RFID) technology, Infrared Data Association (Infrared Data Association, IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (Bluetooth, BT) technology and other technologies. Technology to achieve.
  • RFID Radio Frequency Identification
  • IrDA Infrared Data Association
  • UWB Ultra Wide Band
  • Bluetooth Bluetooth, BT
  • the electronic device 800 may be used by one or more application specific integrated circuits (ASIC), digital signal processors (Digital Signal Process, DSP), and digital signal processing equipment (Digital Signal Process).
  • ASIC application specific integrated circuits
  • DSP digital signal processors
  • Digital Signal Process Digital Signal Process
  • DSPD Digital Signal Process
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • controller microcontroller, microprocessor or other electronic components, configured to execute The above method.
  • non-volatile computer-readable storage medium such as the memory 804 including computer program instructions, which can be executed by the processor 820 of the electronic device 800 to complete the foregoing method.
  • Fig. 9 is another schematic diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device 1900 may be provided as a server.
  • the electronic device 1900 includes a processing component 1922, and may also include one or more processors, and a memory resource represented by the memory 1932, configured to store instructions executable by the processing component 1922, such as application programs.
  • the application program stored in the memory 1932 may include one or more modules each corresponding to a set of instructions.
  • the processing component 1922 is configured to execute instructions to perform the above-described methods.
  • the electronic device 1900 may also include a power supply component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input output (I/O) interface 1958 .
  • the electronic device 1900 can operate based on an operating system stored in the memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.
  • non-volatile computer-readable storage medium such as the memory 1932 including computer program instructions, which can be executed by the processing component 1922 of the electronic device 1900 to complete the above method.
  • the computer program product may include a computer-readable storage medium loaded with computer-readable program instructions configured to enable a processor to implement various aspects of the present application.
  • the computer-readable storage medium may be a tangible device that holds and stores instructions used by the instruction execution device.
  • the computer-readable storage medium may be, for example, but not limited to: an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
  • the computer-readable storage medium may include: portable computer disk, hard disk, random access memory (Random Access Memory, RAM), ROM, erasable programmable read-only memory (EPROM or flash memory), SRAM, portable compact disk read-only memory (Compact Disk-Read Only Memory, CD-ROM), Digital Video Disc (DVD), memory sticks, floppy disks, mechanical coding devices, such as punch cards with instructions stored on them or protrusions in the grooves Structure, and any suitable combination of the above.
  • the computer-readable storage medium used here is not interpreted as the instantaneous signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (for example, light pulses through fiber optic cables), or through wires Transmission of electrical signals.
  • the computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to various computing/processing devices, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and/or a wireless network.
  • the network may include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers.
  • the network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network, and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing/processing device .
  • the computer program instructions configured to perform the operations of this application may be assembly instructions, instruction set architecture (Instruction Set Architecture, ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or one or more Source code or object code written in any combination of two programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages.
  • Computer-readable program instructions can be executed entirely on the user's computer, partly on the user's computer, executed as a stand-alone software package, partly on the user's computer and partly executed on a remote computer, or entirely on the remote computer or server implement.
  • the remote computer may be connected to the user's computer through any kind of network (including a local area network or a wide area network), or may be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
  • electronic circuits such as programmable logic circuits, FPGAs, or programmable logic arrays (Programmable Logic Array, PLA), can be customized by using the status information of computer-readable program instructions. Read the program instructions to realize all aspects of this application.
  • These computer-readable program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine that makes these instructions when executed by the processor of the computer or other programmable data processing device , A device that implements the functions/actions specified in one or more blocks in the flowcharts and/or schematic diagrams is produced. It is also possible to store these computer-readable program instructions in a computer-readable storage medium. These instructions make computers, programmable data processing apparatuses, and/or other devices work in a specific manner, so that the computer-readable medium storing the instructions includes An article of manufacture, which includes instructions for implementing various aspects of the functions/actions specified in one or more blocks in the flowcharts and/or schematic diagrams.
  • each block in the flowchart or schematic diagram may represent a module, program segment, or part of an instruction. Executable instructions.
  • the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the schematic diagram and/or flowchart, and the combination of the blocks in the schematic diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or actions. Or it can be realized by a combination of dedicated hardware and computer instructions.
  • the computer program product can be implemented by hardware, software or a combination thereof.
  • the computer program product may be embodied as a computer storage medium.
  • the computer program product may be embodied as a software product, such as a software development kit (SDK) and many more.
  • SDK software development kit
  • This application relates to a method and device for displaying pathological slice images, electronic equipment and storage media.
  • the method includes: receiving a display request sent by a client, wherein the display request carries the number of layers of the pathological slice image requested to be displayed and the coordinate information of the image area requested to be displayed; according to the number of layers and the coordinate information, Determine the image block in the pathological slice image that includes the image area requested for display, wherein the pathological slice image includes at least one image block; and return the image block to the client.
  • the pathological slice image based on the image block of the pathological slice image, reduce the amount of transmitted data, and thereby speed up the display of the pathological slice image.

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Public Health (AREA)
  • Physics & Mathematics (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Epidemiology (AREA)
  • Radiology & Medical Imaging (AREA)
  • Data Mining & Analysis (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • User Interface Of Digital Computer (AREA)
  • Measuring And Recording Apparatus For Diagnosis (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

A method and apparatus for displaying a pathological section image, and an electronic device and a storage medium. The method comprises: receiving a display request sent by a client (S11); determining, according to the number of layers and coordinate information, an image block, which includes an image area requested to be displayed, in a pathological section image (S12); and returning the image block to the client (S13).

Description

病理切片图像的展示方法及装置、电子设备和存储介质Pathological slice image display method and device, electronic equipment and storage medium
相关申请的交叉引用Cross-references to related applications
本申请基于申请号为202010131227.5、申请日为2020年02月28日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on a Chinese patent application with an application number of 202010131227.5 and an application date of February 28, 2020, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated by reference into this application.
技术领域Technical field
本申请涉及图像技术领域,尤其涉及一种病理切片图像的展示方法及装置、电子设备和存储介质。This application relates to the field of image technology, and in particular to a method and device for displaying pathological slice images, electronic equipment and storage media.
背景技术Background technique
病理系统通常采用浏览器/服务器(Browser/Server,B/S)架构,用户使用浏览器查看病理切片图像,即全切片扫描图像(Whole Slide Image,WSI)。病理切片图像按照放大倍数的不同,通常分为10多层,例如,最顶层的放大倍数为1×(即1倍),分辨率为6000×5000,最底层的放大倍数为40×(即40倍),分辨率为60000×50000。通过扫描获得的单个病理切片图像的大小通常为几百兆(Mbyte,MB),甚至超过1吉(Gbyte,GB)。相关技术中,在展示病理切片图像时,对于终端、服务端以及带宽来说都存在巨大考验。The pathology system usually adopts the browser/server (Browser/Server, B/S) architecture, and the user uses the browser to view the pathological slice image, that is, the whole slide image (WSI). Pathological slice images are usually divided into 10 layers according to different magnifications. For example, the magnification of the top layer is 1× (that is, 1 times), the resolution is 6000×5000, and the magnification of the bottom layer is 40× (that is, 40 Times), the resolution is 60000×50000. The size of a single pathological slice image obtained by scanning is usually several hundred megabytes (Mbyte, MB), or even more than 1 gigabyte (Gbyte, GB). In related technologies, when displaying pathological slice images, there are huge challenges for terminals, servers, and bandwidth.
发明内容Summary of the invention
本申请实施例提供一种病理切片图像的展示方法及装置、电子设备和存储介质。The embodiments of the present application provide a method and device for displaying pathological slice images, electronic equipment, and storage media.
本申请实施例提供一种病理切片图像的展示方法,包括:The embodiment of the present application provides a method for displaying pathological slice images, including:
接收客户端发送的展示请求,其中,所述展示请求携带请求展示的病理切片图像的层数和请求展示的图像区域的坐标信息;Receiving a display request sent by the client, where the display request carries the number of layers of the pathological slice image requested to be displayed and the coordinate information of the image area requested to be displayed;
根据所述层数和所述坐标信息,确定所述病理切片图像中包含所述请求展示的图像区域的图像块,其中,所述病理切片图像包括至少一个图像块;Determine, according to the number of layers and the coordinate information, an image block in the pathological slice image that includes the image area requested to be displayed, wherein the pathological slice image includes at least one image block;
将所述图像块返回至所述客户端。Return the image block to the client.
根据本申请实施例提供的病理切片图像的展示方法,能够基于病理切片图像的图像块进行病理切片图像的展示,减少传输的数据量,从而能够加快病理切片图像的展示速度。According to the method for displaying the pathological slice image provided by the embodiment of the present application, the pathological slice image can be displayed based on the image block of the pathological slice image, and the amount of transmitted data can be reduced, so that the display speed of the pathological slice image can be accelerated.
在本申请一些实施例中,在所述接收客户端发送的展示请求之前,所述方法还包括:In some embodiments of the present application, before the receiving the display request sent by the client, the method further includes:
针对属于任一层数的病理切片图像,按照预设的图像块尺寸,将所述病理切片图像划分为多个图像块;For pathological slice images belonging to any number of layers, dividing the pathological slice image into multiple image blocks according to a preset image block size;
确定所述多个图像块中的任一图像块在所述多个图像块形成的阵列中所处的行数和列数;Determining the number of rows and the number of columns of any image block of the plurality of image blocks in the array formed by the plurality of image blocks;
建立所述层数、所述任一图像块在所述多个图像块形成的阵列中所处的行数和列数三者与所述任一图像块之间的对应关系。A correspondence relationship between the number of layers, the number of rows and the number of columns of any image block in the array formed by the plurality of image blocks, and the any image block is established.
在本申请实施例中,通过将病理切片图像划分为多个图像块,由此在后续处理病理切片图像的展示请求时,能够基于病理切片图像的图像块进行处理,从而能够提高病理切片图像的展示请求的处理速度,从而有助于提高浏览器的响应速度。In the embodiment of the present application, by dividing the pathological slice image into multiple image blocks, the subsequent processing of the pathological slice image display request can be processed based on the image blocks of the pathological slice image, thereby improving the pathological slice image. Display the processing speed of the request, thereby helping to improve the response speed of the browser.
在本申请一些实施例中,所述建立所述层数、所述任一图像块在所述多个图像块形成的阵列中所处的行数和列数三者与所述任一图像块之间的对应关系,包括:In some embodiments of the present application, the establishment of the number of layers, the number of rows and the number of columns of any image block in the array formed by the plurality of image blocks is the same as the number of any image block. Correspondence between, including:
根据所述层数、所述任一图像块在所述多个图像块形成的阵列中所处的行数和列数,对所述任一图像块进行命名。Name any image block according to the number of layers, the number of rows and the number of columns of any image block in the array formed by the plurality of image blocks.
根据本申请实施例,能够快速建立所述病理切片图像的层数、所述任一图像块在所述多个图像块形成的阵列中所处的行数和列数三者与所述任一图像块之间的对应关系,从而能够提高图像块的查找速度与便捷度。According to the embodiment of the present application, the number of layers of the pathological slice image, the number of rows and the number of columns of any image block in the array formed by the multiple image blocks can be quickly established. The corresponding relationship between the image blocks can improve the search speed and convenience of the image blocks.
在本申请一些实施例中,所述坐标信息包括所述请求展示的图像区域的四个顶点的坐标;In some embodiments of the present application, the coordinate information includes the coordinates of four vertices of the image area requested to be displayed;
所述根据所述层数和所述坐标信息,确定所述病理切片图像中包含所述请求展示的图像区域的图像块,包括:The determining, according to the number of layers and the coordinate information, the image block in the pathological slice image that contains the image area requested to be displayed includes:
根据所述四个顶点的坐标与所述预设的图像块尺寸的比值,确定所述图像块的行数与列数;Determining the number of rows and columns of the image block according to the ratio of the coordinates of the four vertices to the preset size of the image block;
根据所述层数,所述图像块的行数与列数,以及所述对应关系,确定所述图像块。According to the number of layers, the number of rows and columns of the image block, and the corresponding relationship, the image block is determined.
根据本申请实施例,能够快速、准确地确定病理切片图像中包含所述请求展示的图像区域的图像块。According to the embodiment of the present application, it is possible to quickly and accurately determine the image block in the pathological slice image that contains the image area requested to be displayed.
本申请实施例提供一种病理切片图像的展示方法,包括:The embodiment of the present application provides a method for displaying pathological slice images, including:
向服务端发送展示请求,其中,所述展示请求携带请求展示的病理切片图像的层数和请求展示的图像区域的坐标信息;Sending a display request to the server, where the display request carries the number of layers of the pathological slice image requested to be displayed and the coordinate information of the image area requested to be displayed;
接收所述服务端基于所述展示请求返回的图像块,所述图像块为所述病理切片图像中包含所述请求展示的图像区域的图像块;Receiving an image block returned by the server based on the display request, where the image block is an image block in the pathological slice image that includes the image area requested to be displayed;
展示所述图像块中属于所述请求展示的图像区域的范围内的部分。Display the part of the image block that belongs to the range of the image area requested to be displayed.
根据本申请实施例提供的病理切片图像的展示方法,能够基于病理切片图像的图像块进行病理切片图像的展示,减少传输的数据量,从而能够加快病理切片图像的展示速度。According to the method for displaying the pathological slice image provided by the embodiment of the present application, the pathological slice image can be displayed based on the image block of the pathological slice image, and the amount of transmitted data can be reduced, so that the display speed of the pathological slice image can be accelerated.
本申请实施例提供一种病理切片图像的展示装置,包括:An embodiment of the present application provides a pathological slice image display device, including:
第一接收模块,配置为接收客户端发送的展示请求,其中,所述展示请求携带请求展示的病理切片图像的层数和请求展示的图像区域的坐标信息;The first receiving module is configured to receive a display request sent by the client, where the display request carries the number of layers of the pathological slice image requested to be displayed and the coordinate information of the image area requested to be displayed;
第一确定模块,配置为根据所述层数和所述坐标信息,确定所述病理切片图像中包含所述请求展示的图像区域的图像块,其中,所述病理切片图像包括至少一个图像块;The first determining module is configured to determine, according to the number of layers and the coordinate information, an image block in the pathological slice image that includes the image area requested to be displayed, wherein the pathological slice image includes at least one image block;
返回模块,配置为将所述图像块返回至所述客户端。The return module is configured to return the image block to the client.
本申请实施例提供一种病理切片图像的展示装置,包括:An embodiment of the present application provides a pathological slice image display device, including:
发送模块,配置为向服务端发送展示请求,其中,所述展示请求携带请求展示的病理切片图像的层数和请求展示的图像区域的坐标信息;A sending module configured to send a display request to the server, where the display request carries the number of layers of the pathological slice image requested to be displayed and the coordinate information of the image area requested to be displayed;
第二接收模块,配置为接收所述服务端基于所述展示请求返回的图像块,所述图像块为所述病理切片图像中包含所述请求展示的图像区域的图像块;A second receiving module configured to receive an image block returned by the server based on the display request, where the image block is an image block in the pathological slice image that includes the image area requested to be displayed;
展示模块,配置为展示所述图像块中属于所述请求展示的图像区域的范围内的部分。The display module is configured to display the part of the image block that belongs to the range of the image area requested to be displayed.
本申请实施例提供一种电子设备,包括:一个或多个处理器;配置为存储可执行指令的存储器;其中,所述一个或多个处理器被配置为调用所述存储器存储的可执行指令,以执行上述方法。An embodiment of the present application provides an electronic device, including: one or more processors; a memory configured to store executable instructions; wherein the one or more processors are configured to call the executable instructions stored in the memory To perform the above method.
本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述方法。An embodiment of the present application provides a computer-readable storage medium having computer program instructions stored on the computer-readable storage medium, and the computer program instructions implement the foregoing method when executed by a processor.
本申请实施例提供一种计算机程序,包括计算机可读代码,当所述计算机可读代码在电子设备中运行时,所述电子设备中的处理器执行上述方 法。The embodiment of the present application provides a computer program, including computer readable code, and when the computer readable code runs in an electronic device, a processor in the electronic device executes the above method.
在本申请实施例中,通过接收客户端发送的展示请求,根据所述病理切片图像的层数,以及所述请求展示的图像区域的坐标信息,确定所述病理切片图像中包含所述请求展示的图像区域的图像块,其中,所述病理切片图像包括至少一个图像块,并将所述图像块返回至所述客户端,由此能够基于病理切片图像的图像块进行病理切片图像的展示,减少传输的数据量,从而能够加快病理切片图像的展示速度。In this embodiment of the application, by receiving the display request sent by the client, according to the number of layers of the pathological slice image and the coordinate information of the image area requested to be displayed, it is determined that the pathological slice image contains the requested display The image block of the image area of, wherein the pathological slice image includes at least one image block, and the image block is returned to the client, so that the pathological slice image can be displayed based on the image block of the pathological slice image, Reduce the amount of data transmitted, which can speed up the display of pathological slice images.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,而非限制本申请。根据下面参考附图对示例性实施例的详细说明,本申请的其它特征及方面将变得清楚。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, rather than limiting the application. According to the following detailed description of exemplary embodiments with reference to the accompanying drawings, other features and aspects of the present application will become clear.
附图说明Description of the drawings
此处的附图被并入说明书中并构成本说明书的一部分,这些附图示出了符合本申请的实施例,并与说明书一起用于说明本申请的技术方案。The drawings here are incorporated into the specification and constitute a part of the specification. These drawings show embodiments that conform to the application and are used together with the specification to illustrate the technical solution of the application.
图1是本申请实施例提供的病理切片图像的展示方法的系统架构示意图;FIG. 1 is a schematic diagram of a system architecture of a method for displaying pathological slice images provided by an embodiment of the present application;
图2是本申请实施例提供的病理切片图像的展示方法的一种实现流程图;FIG. 2 is an implementation flowchart of a method for displaying pathological slice images provided by an embodiment of the present application;
图3A至图3D是本申请实施例提供的病理切片图像的展示方法中将病理切片图像划分为多个图像块的示意图;3A to 3D are schematic diagrams of dividing the pathological slice image into multiple image blocks in the pathological slice image display method provided by the embodiment of the present application;
图4是本申请实施例提供的病理切片图像的展示方法中用户感兴趣的区域(用户视角范围)的示意图;FIG. 4 is a schematic diagram of a region of interest (a user perspective range) of a user in the method for displaying pathological slice images provided by an embodiment of the present application;
图5是本申请实施例提供的病理切片图像的展示方法的另一种实现流程图;FIG. 5 is another implementation flowchart of the pathological slice image display method provided by the embodiment of the present application;
图6是本申请实施例提供的病理切片图像的展示装置的一种示意图;Fig. 6 is a schematic diagram of a pathological slice image display device provided by an embodiment of the present application;
图7是本申请实施例提供的病理切片图像的展示装置的另一种示意图;FIG. 7 is another schematic diagram of a pathological slice image display device provided by an embodiment of the present application;
图8是本申请实施例提供的电子设备的一种示意图;FIG. 8 is a schematic diagram of an electronic device provided by an embodiment of the present application;
图9是本申请实施例提供的电子设备的另一种示意图。Fig. 9 is another schematic diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
以下将参考附图详细说明本申请的各种示例性实施例、特征和方面。附图中相同的附图标记表示功能相同或相似的元件。尽管在附图中示出了实施例的各种方面,但是除非特别指出,不必按比例绘制附图。Hereinafter, various exemplary embodiments, features, and aspects of the present application will be described in detail with reference to the accompanying drawings. The same reference numerals in the drawings indicate elements with the same or similar functions. Although various aspects of the embodiments are shown in the drawings, unless otherwise noted, the drawings are not necessarily drawn to scale.
在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。The dedicated word "exemplary" here means "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" need not be construed as being superior or better than other embodiments.
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中术语“至少一种”表示多种中的任意一种或多种中的至少两种的任意组合,例如,包括A、B、C中的至少一种,可以表示包括从A、B和C构成的集合中选择的任意一个或多个元素。The term "and/or" in this article is only an association relationship describing the associated objects, which means that there can be three relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, exist alone B these three situations. In addition, the term "at least one" in this document means any one of a plurality of or any combination of at least two of the plurality, for example, including at least one of A, B, and C, may mean including A, Any one or more elements selected in the set formed by B and C.
另外,为了更好地说明本申请,在下文的实施方式中给出了众多的细节。本领域技术人员应当理解,没有某些细节,本申请同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本申请的主旨。In addition, in order to better explain the present application, numerous details are given in the following embodiments. Those skilled in the art should understand that this application can also be implemented without certain details. In some examples, the methods, means, elements, and circuits well-known to those skilled in the art have not been described in detail in order to highlight the gist of the present application.
对本申请实施例进行详细说明之前,先对相关技术中的缺陷进行说明。Before describing the embodiments of the present application in detail, the defects in the related technology will be described first.
在相关技术中,病理系统通常采用B/S架构,用户使用其客户端上的浏览器查看病理切片图像。病理切片图像按照放大倍数的不同,通常分为10多层,例如,最顶层的放大倍数为1×(即1倍),分辨率为6000×5000,最底层的放大倍数为40×(即40倍),分辨率为60000×50000。通过扫描获得的单个病理切片图像的大小通常为几百兆(Mbyte,MB),甚至超过1吉(Gbyte,GB)。用户通常按照放大倍数由小到大的方式浏览病理切片图像,并且浏览器在展示病理切片图像时,通常情况下会根据浏览的层数和用户当前视角,从服务端动态提取切片图像,以图片流的传输至客户端,在客户端的浏览器中展示提取的切片图像。In related technologies, the pathology system usually adopts the B/S architecture, and the user uses the browser on the client to view the pathological slice image. Pathological slice images are usually divided into 10 layers according to different magnifications. For example, the magnification of the top layer is 1× (that is, 1 times), the resolution is 6000×5000, and the magnification of the bottom layer is 40× (that is, 40 Times), the resolution is 60000×50000. The size of a single pathological slice image obtained by scanning is usually several hundred megabytes (Mbyte, MB), or even more than 1 gigabyte (Gbyte, GB). The user usually browses the pathological slice images according to the magnification from small to large, and when the browser displays the pathological slice images, usually according to the number of layers browsed and the user’s current perspective, the slice images are dynamically extracted from the server, with pictures The stream is transmitted to the client, and the extracted slice image is displayed in the browser of the client.
相关技术中采用动态提取切片图像,首先要定位到浏览的层数,然后根据用户当前视角进行区域坐标转换,最后根据转换后的坐标信息提取对应层数的图片内容。当用户当前视角不断变换时,服务端不断地重复进行坐标转换图像提取操作,在用户并发度高的情况下,容易造成浏览器展示缓慢、卡顿的情况,甚至出现崩溃的情况,降低用户使用体验。In the related technology, the slice image is dynamically extracted. First, locate the layer number to be browsed, then perform the area coordinate conversion according to the user's current perspective, and finally extract the image content of the corresponding layer number according to the converted coordinate information. When the user's current perspective is constantly changing, the server continuously repeats the coordinate conversion image extraction operation. In the case of high user concurrency, it is easy to cause the browser to display slowly, freeze, or even crash, which reduces the user's use Experience.
基于以上问题,在本申请实施例中提供一种按照用户视角所在区域展示切片图像的方法,能够基于病理切片图像的图像块进行病理切片图像的展示,减少传输的数据量,从而能够加快病理切片图像的展示速度。Based on the above problems, an embodiment of the present application provides a method for displaying slice images according to the area where the user's perspective is located, which can display pathological slice images based on the image blocks of the pathological slice image, reduce the amount of transmitted data, and speed up the pathological slice. The display speed of the image.
参见图1,图1是本申请实施例提供的病理切片图像的展示方法的系统架构示意图,如图1所示,该系统架构中包括,客户端100、服务端200和网络300,为实现支撑一个示例性应用,客户端100可通过网络300连接服 务端200,客户端100的浏览器可展示从服务端200获取的病理切片图像,客户端100可以是笔记本电脑,平板电脑,台式计算机,专用消息设备等具有屏幕显示功能的终端。网络300可以是广域网或者局域网,又或者是二者的组合,使用无线链路实现数据传输。服务端200可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是基于云技术的云服务器。云技术是指在广域网或局域网内将硬件、软件、网络等系列资源统一起来,实现数据的计算、存储、处理和共享的一种托管技术。Referring to FIG. 1, FIG. 1 is a schematic diagram of the system architecture of the method for displaying pathological slice images provided by an embodiment of the present application. As shown in FIG. 1, the system architecture includes a client 100, a server 200, and a network 300. As an exemplary application, the client 100 can connect to the server 200 through the network 300. The browser of the client 100 can display the pathological slice images obtained from the server 200. The client 100 can be a laptop, tablet, desktop computer, or a dedicated computer. Terminals with screen display functions such as message devices. The network 300 may be a wide area network or a local area network, or a combination of the two, and uses wireless links to implement data transmission. The server 200 may be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server based on cloud technology. Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and network within a wide area network or a local area network to realize the calculation, storage, processing, and sharing of data.
服务端200可以基于本申请实施例提供的病理切片图像的展示方法,通过接收客户端100发送的展示请求,根据展示请求携带的请求展示的病理切片图像的层数和请求展示的图像区域的坐标信息,确定病理切片图像中包含所述请求展示的图像区域的图像块,并将确定的图像块返回至客户端100,由客户端100的浏览器对接收到的图像块进行展示,以减少传输的数据量,从而加快浏览器展示病理切片图像的速度,改善客户端100的用户查看病理切片图像的体验。The server 200 may be based on the pathological slice image display method provided by the embodiment of the present application, by receiving the display request sent by the client 100, according to the number of layers of the pathological slice image requested to be displayed and the coordinates of the image area requested to be displayed carried in the display request Information, determine the image block of the image area requested to be displayed in the pathological slice image, and return the determined image block to the client 100, and the browser of the client 100 displays the received image block to reduce transmission Therefore, the speed of displaying pathological slice images in the browser can be accelerated, and the experience of viewing pathological slice images of the user of the client terminal 100 can be improved.
图2是本申请实施例提供的病理切片图像的展示方法的一种实现流程图。所述病理切片图像的展示方法应用于图1所示系统架构的服务端。所述病理切片图像的展示方法的执行主体可以是病理切片图像的展示装置,所述病理切片图像的展示装置可以部署在服务端的服务器上,即,所述病理切片图像的展示方法的执行主体可以是服务端。例如,所述病理切片图像的展示方法可以由服务器或其它处理设备执行。在本申请一些实施例中,所述病理切片图像的展示方法可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。如图2所示,所述病理切片图像的展示方法包括步骤S11至步骤S13。Fig. 2 is an implementation flow chart of a method for displaying pathological slice images provided by an embodiment of the present application. The method for displaying pathological slice images is applied to the server side of the system architecture shown in FIG. 1. The execution body of the pathological slice image display method may be a pathological slice image display device, and the pathological slice image display device may be deployed on a server on the server side, that is, the execution body of the pathological slice image display method may be It is the server side. For example, the display method of the pathological slice image may be executed by a server or other processing equipment. In some embodiments of the present application, the display method of the pathological slice image may be implemented by a processor invoking a computer-readable instruction stored in a memory. As shown in FIG. 2, the display method of the pathological slice image includes step S11 to step S13.
步骤S11,接收客户端发送的展示请求,其中,所述展示请求携带请求展示的病理切片图像的层数和请求展示的图像区域的坐标信息。Step S11: Receive a display request sent by the client, where the display request carries the number of layers of the pathological slice image requested to be displayed and the coordinate information of the image area requested to be displayed.
在本申请实施例中,用户可以在客户端的浏览器中选择其想要查看的病理切片图像,并可以在该病理切片图像中选择其感兴趣的区域进行查看。浏览器可以根据用户选择的病理切片图像及区域,确定请求展示的病理切片图像的层数和请求展示的图像区域的坐标信息。In the embodiment of the present application, the user can select the pathological slice image that he wants to view in the browser of the client, and can select the region of interest in the pathological slice image for viewing. The browser can determine the number of layers of the pathological slice image requested to be displayed and the coordinate information of the image area requested to be displayed according to the pathological slice image and area selected by the user.
本申请一些实施例中,在所述接收客户端发送的展示请求之前,所述方法还包括:针对属于任一层数的病理切片图像,按照预设的图像块尺寸,将所述病理切片图像划分为多个图像块;确定所述多个图像块中的任一图 像块在所述多个图像块形成的阵列中所处的行数和列数;建立所述层数、所述任一图像块在所述多个图像块形成的阵列中所处的行数和列数三者与所述任一图像块之间的对应关系。In some embodiments of the present application, before the receiving the display request sent by the client, the method further includes: for pathological slice images belonging to any number of layers, dividing the pathological slice image according to a preset image block size Divide into a plurality of image blocks; determine the number of rows and columns of any one of the plurality of image blocks in the array formed by the plurality of image blocks; establish the number of layers, the number of any one Correspondence between the number of rows and the number of columns of an image block in the array formed by the plurality of image blocks and any one of the image blocks.
例如,预设的图像块尺寸为256×256。For example, the preset image block size is 256×256.
图3A至图3D是本申请实施例提供的病理切片图像的展示方法中将病理切片图像划分为多个图像块的示意图。在图3A至图3D所示的示例中,包括4层病理切片图像,分别为第3层(最顶层)、第2层、第1层和第0层(最底层)。在图3A至图3D所示的示例中,对最顶层的病理切片图像不进行划分;将第2层的病理切片图像划分为4个图像块,即,对第2层的病理切片图像进行划分,得到2×2的图像块阵列;将第1层的病理切片图像划分为12个图像块,即,对第1层的病理切片图像进行划分,得到4×3的图像块阵列;将最底层的病理切片图像划分为48个图像块,即,对最底层的病理切片图像进行划分,得到8×6的图像块阵列。例如,对于图3D所示的最底层的病理切片图像中的图像块A,可以建立第0层、第2行、第2列与图像块A的对应关系;对于最底层的病理切片图像中的图像块B,可以建立第0层、第3行、第4列与图像块B的对应关系。3A to 3D are schematic diagrams of dividing the pathological slice image into multiple image blocks in the method for displaying the pathological slice image provided by the embodiment of the present application. In the example shown in FIGS. 3A to 3D, there are 4 layers of pathological slice images, which are the 3rd layer (the topmost layer), the 2nd layer, the 1st layer, and the 0th layer (the bottommost layer). In the examples shown in Figures 3A to 3D, the topmost pathological slice image is not divided; the pathological slice image of the second layer is divided into 4 image blocks, that is, the pathological slice image of the second layer is divided , Obtain a 2×2 image block array; divide the pathological slice image of the first layer into 12 image blocks, that is, divide the pathological slice image of the first layer to obtain a 4×3 image block array; The pathological slice image is divided into 48 image blocks, that is, the pathological slice image at the bottom is divided to obtain an 8×6 image block array. For example, for image block A in the bottommost pathological slice image shown in Figure 3D, the correspondence between the 0th layer, the second row, and the second column and the image block A can be established; for the bottommost pathological slice image For image block B, the corresponding relationship between layer 0, row 3, column 4 and image block B can be established.
在该实现方式中,通过将病理切片图像划分为多个图像块,由此在后续处理病理切片图像的展示请求时,能够基于病理切片图像的图像块进行处理,从而能够提高病理切片图像的展示请求的处理速度,从而有助于提高浏览器的响应速度。In this implementation manner, by dividing the pathological slice image into multiple image blocks, the subsequent processing of the pathological slice image display request can be processed based on the image blocks of the pathological slice image, thereby improving the display of the pathological slice image. The processing speed of the request, which helps to improve the response speed of the browser.
在本申请实施例中,不限于按照预设的图像块尺寸对病理切片图像进行划分,还可以采用其他方式对病理切片图像进行划分。例如,在划分时,相连层之间可以通过2的倍数进行转换,如对最顶层(第3层)的病理切片图像不进行划分,对第2层的病理切片图像进行划分,得到2×2的图像块阵列;将第1层的病理切片图像划分为16个图像块,即,对第1层的病理切片图像进行划分,得到4×4的图像块阵列;将最底层的病理切片图像划分为64个图像块,即,对最底层的病理切片图像进行划分,得到8×8的图像块阵列。由此确定划分的每个图像块的大小与范围。又例如,可以将病理切片图像平均划分为N个图像块,其中,N为预设的图像块的数量。又如,可以对病理切片图像进行划分,使划分得到的每个图像块的尺寸在预设区间内。在本申请实施例中,不同图像块的大小可以相同,也可以不同。In the embodiment of the present application, it is not limited to dividing the pathological slice image according to the preset image block size, and the pathological slice image may also be divided in other ways. For example, when dividing, the connected layers can be converted by a multiple of 2. For example, the pathological slice image of the top layer (the third layer) is not divided, and the pathological slice image of the second layer is divided to obtain 2×2 Divide the pathological slice image of the first layer into 16 image blocks, that is, divide the pathological slice image of the first layer to obtain a 4×4 image block array; divide the pathological slice image of the bottom layer It is 64 image blocks, that is, the pathological slice image at the bottom is divided to obtain an 8×8 image block array. This determines the size and range of each divided image block. For another example, the pathological slice image can be equally divided into N image blocks, where N is the preset number of image blocks. For another example, the pathological slice image can be divided so that the size of each image block obtained by the division is within a preset interval. In the embodiment of the present application, the sizes of different image blocks may be the same or different.
在本申请一些实施例中,所述建立所述层数、所述任一图像块在所述 多个图像块形成的阵列中所处的行数和列数三者与所述任一图像块之间的对应关系,可以包括:根据所述层数,以及所述任一图像块在所述多个图像块形成的阵列中所处的行数和列数,对所述任一图像块进行命名。In some embodiments of the present application, the establishment of the number of layers, the number of rows and the number of columns of any image block in the array formed by the plurality of image blocks is the same as the number of any image block. The correspondence relationship may include: according to the number of layers, and the number of rows and columns of any image block in the array formed by the plurality of image blocks, performing the calculation on any image block name.
例如,可以按照[层数]_[行]_[列]对图像块进行命名。例如,图3D所示的最底层的病理切片图像中的图像块A可以命名为[0]_[2]_[2],最底层的病理切片图像中的图像块B可以命名为[0]_[3]_[4]。For example, image blocks can be named according to [number of layers]_[row]_[column]. For example, the image block A in the pathological slice image at the bottom level shown in FIG. 3D can be named [0]_[2]_[2], and the image block B in the pathological slice image at the bottom level can be named [0] _[3]_[4].
在本申请的一些实施例中,在确定了划分的每个图像块之后,将所有图像块生成为预设格式的文件,例如.jpg格式的文件,再对每个.jpg格式的文件按照[层数]_[行]_[列]规则对每个图像块进行命名。In some embodiments of the present application, after each divided image block is determined, all the image blocks are generated into a file of a preset format, such as a file in the .jpg format, and then each file in the .jpg format is determined according to [ The layer number]_[row]_[column] rule names each image block.
在该实现方式中,通过所述病理切片图像的层数,以及所述任一图像块在所述多个图像块形成的阵列中所处的行数与列数,对所述任一图像块进行命名,由此能够快速建立所述病理切片图像的层数、所述任一图像块在所述多个图像块形成的阵列中所处的行数和列数三者与所述任一图像块之间的对应关系,从而能够提高图像块的查找速度与便捷度。In this implementation, according to the number of layers of the pathological slice image, and the number of rows and columns of any image block in the array formed by the plurality of image blocks, the Named, so that the number of layers of the pathological slice image, the number of rows and the number of columns of any image block in the array formed by the multiple image blocks, and the number of any image can be quickly established The corresponding relationship between the blocks can improve the search speed and convenience of image blocks.
如图3A至图3D中的虚线框31至虚线框34,即为请求展示的图像区域。图4是本申请实施例提供的病理切片图像的展示方法中用户感兴趣的区域(用户视角范围)的示意图。如图4所示,用户视角范围为病理切片图像中的一部分,如图4中虚线框401对应的图像。根据用户视角范围获得病理切片图像中虚线框401对应的图像,且只需要加载虚线框401对应的图像即可,其他部分的图像信息无需加载,能够在用户变换视角时,服务端无需重新进行坐标转换和动态提取图片信息等非常耗时的处理步骤,只需要将用户视角区域图片返回给客户端浏览器即可,极大地加快病理切片图像的展示速度,缩短流量器的响应时间,在用户并发量较高的情况下也能够有快速展示,从而提高病理切片图像展示的用户体验度,实现较为流畅的交互体验。The dashed frame 31 to the dashed frame 34 in FIGS. 3A to 3D are the image areas requested to be displayed. FIG. 4 is a schematic diagram of a region of interest (a user's viewing angle range) of a user in the method for displaying pathological slice images provided by an embodiment of the present application. As shown in FIG. 4, the user's viewing angle range is a part of the pathological slice image, such as the image corresponding to the dashed frame 401 in FIG. Obtain the image corresponding to the dashed frame 401 in the pathological slice image according to the user's perspective, and only need to load the image corresponding to the dashed frame 401. The image information of other parts does not need to be loaded. When the user changes the perspective, the server does not need to re-coordinate. Time-consuming processing steps such as conversion and dynamic extraction of image information, only need to return the user's view area image to the client browser, which greatly accelerates the display speed of pathological slice images, shortens the response time of the flowmeter, and allows users to concurrently In the case of high volume, it can also be displayed quickly, thereby improving the user experience of pathological slice image display and achieving a smoother interactive experience.
在本申请实施例中,客户端可以通过浏览器展示病理切片图像。对于不同的客户端而言,屏幕或者浏览器的参数可能不同,相应地,显示区域的大小也可能不同,因此,请求展示的图像区域的大小也可能不同。In the embodiment of the present application, the client can display the pathological slice image through the browser. For different clients, the screen or browser parameters may be different, and accordingly, the size of the display area may also be different. Therefore, the size of the image area requested to be displayed may also be different.
步骤S12,根据所述层数和所述坐标信息,确定所述病理切片图像中包含所述请求展示的图像区域的图像块。Step S12: Determine, according to the number of layers and the coordinate information, an image block in the pathological slice image that contains the image area requested to be displayed.
其中,所述病理切片图像包括至少一个图像块。本申请实施例中,图像块包含请求展示的图像区域,指的是图像块包含请求展示的图像区域的部分或全部。即,病理切片图像中包含请求展示的图像区域的图像块,可 以指病理切片图像中与请求展示的图像区域具有重合区域的图像块。例如,在图3B所示的第2层的病理切片图像中,包含请求展示的图像区域的图像块为上方的图像块a2和图像块b2;在图3C所示的第1层的病理切片图像中,包含请求展示的图像区域的图像块包括图像块a3至图像块d3;在图3D所示的第0层的病理切片图像中,包含请求展示的图像区域的图像块包括图像块a4至图像块h4,即第5行第3列的图像块、第5行第4列的图像块、第5行第5列的图像块、第5行第6列的图像块、第4行第3列的图像块、第4行第4列的图像块、第4行第5列的图像块和第4行第6列的图像块。Wherein, the pathological slice image includes at least one image block. In the embodiment of the present application, the image block includes the image area requested to be displayed, which means that the image block includes part or all of the image area requested to be displayed. That is, the pathological slice image contains the image block of the image area requested to be displayed, which may refer to the image block in the pathological slice image that has an overlapping area with the image area requested to be displayed. For example, in the pathological slice image of the second layer shown in FIG. 3B, the image blocks containing the image area requested to be displayed are the upper image block a2 and the image block b2; in the pathological slice image of the first layer shown in FIG. 3C , The image block containing the image area requested to be displayed includes image block a3 to image block d3; in the pathological slice image of the 0th layer shown in Figure 3D, the image block containing the image area requested to be displayed includes image block a4 to image Block h4, that is, the image block in row 5 and column 3, the image block in row 5 and column 4, the image block in row 5 and column 5, the image block in row 5 and column 6, and the image block in row 4 and column 3 The image block in row 4 and column 4, the image block in row 4 and column 5, and the image block in row 4 and column 6.
在本申请一些实施例中,所述请求展示的图像区域的坐标信息包括所述请求展示的图像区域的四个顶点的坐标;所述根据所述层数和所述坐标信息,确定所述病理切片图像中包含所述请求展示的图像区域的图像块,包括:根据所述四个顶点的坐标与所述预设的图像块尺寸的比值,确定所述图像块的行数与列数;根据所述层数,所述图像块的行数与列数,以及所述对应关系,确定所述图像块。In some embodiments of the present application, the coordinate information of the image area requested to be displayed includes the coordinates of the four vertices of the image area requested to be displayed; and the pathology is determined according to the number of layers and the coordinate information. Slicing the image block of the image area requested to be displayed in the slice image includes: determining the number of rows and columns of the image block according to the ratio of the coordinates of the four vertices to the preset size of the image block; The number of layers, the number of rows and columns of the image block, and the corresponding relationship determine the image block.
例如,请求展示的图像区域的左上角顶点的坐标为(x 1,y 1),右上角顶点的坐标为(x 2,y 2),左下角顶点的坐标为(x 3,y 3),右下角顶点的坐标为(x 4,y 4),预设的图像块尺寸为256×256。所述病理切片图像中包含所述请求展示的图像区域的左上角的图像块的行数为
Figure PCTCN2020113096-appb-000001
列数为
Figure PCTCN2020113096-appb-000002
所述病理切片图像中包含所述请求展示的图像区域的右上角的图像块的行数为
Figure PCTCN2020113096-appb-000003
列数为
Figure PCTCN2020113096-appb-000004
所述病理切片图像中包含所述请求展示的图像区域的左下角的图像块的行数为
Figure PCTCN2020113096-appb-000005
列数为
Figure PCTCN2020113096-appb-000006
所述病理切片图像中包含所述请求展示的图像区域的右下角的图像块的行数为
Figure PCTCN2020113096-appb-000007
列数为
Figure PCTCN2020113096-appb-000008
其中,
Figure PCTCN2020113096-appb-000009
表示向上取整。将左上角的图像块、右上角的图像块、左下角的图像块和右下角的图像块之间的图像块,分别确定为所述病理切片图像中包含所述请求展示的图像区域的图像块。例如,层数为0,左上角的图像块a4为第5行第3列的图像块,右上角的图像块d4为第5行第6列的图像块,左下角的图像块e4为第4行第3列的图像块,右下角的图像块h4为第4行第6列 的图像块,则将图像块a4、d4、e4和h4之间的图像块a4至h4,分别确定为所述病理切片图像中包含所述请求展示的图像区域的图像块。
For example, the coordinates of the upper left vertex of the requested image area are (x 1 , y 1 ), the coordinates of the upper right vertex are (x 2 , y 2 ), and the coordinates of the lower left vertex are (x 3 , y 3 ), The coordinates of the vertex at the lower right corner are (x 4 , y 4 ), and the preset image block size is 256×256. The number of rows of the image block in the upper left corner of the image area requested to be displayed in the pathological slice image is
Figure PCTCN2020113096-appb-000001
The number of columns is
Figure PCTCN2020113096-appb-000002
The number of rows of the image block in the upper right corner of the image area requested to be displayed in the pathological slice image is
Figure PCTCN2020113096-appb-000003
The number of columns is
Figure PCTCN2020113096-appb-000004
The number of rows of the image block in the lower left corner of the image area requested to be displayed in the pathological slice image is
Figure PCTCN2020113096-appb-000005
The number of columns is
Figure PCTCN2020113096-appb-000006
The number of rows of the image block in the lower right corner of the image area requested to be displayed in the pathological slice image is
Figure PCTCN2020113096-appb-000007
The number of columns is
Figure PCTCN2020113096-appb-000008
in,
Figure PCTCN2020113096-appb-000009
Indicates rounding up. Determine the image blocks between the image block in the upper left corner, the image block in the upper right corner, the image block in the lower left corner, and the image block in the lower right corner respectively as the image blocks in the pathological slice image that contain the image area requested to be displayed . For example, if the number of layers is 0, the image block a4 in the upper left corner is the image block in row 5 and column 3, the image block d4 in the upper right corner is the image block in row 5 and column 6, and the image block e4 in the lower left corner is the image block in the fourth column. The image block in row 3 and column, the image block h4 in the lower right corner is the image block in row 4, column 6 and the image blocks a4 to h4 between image blocks a4, d4, e4 and h4 are determined as the The pathological slice image contains the image block of the image area requested to be displayed.
步骤S13,将所述图像块返回至所述客户端。Step S13: Return the image block to the client.
在本申请实施例中,通过接收客户端发送的展示请求,根据所述展示请求携带的病理切片图像的层数和请求展示的图像区域的坐标信息,确定所述病理切片图像中包含所述请求展示的图像区域的图像块,其中,所述病理切片图像包括至少一个图像块,并将所述图像块返回至所述客户端,由此能够基于病理切片图像的图像块进行病理切片图像的展示,从而能够加快病理切片图像的展示速度,在用户并发量较高的情况下也能够实现较为流畅的交互体验。在本申请实施例中,服务端仅需向客户端返回包含所述请求展示的图像区域的图像块,而无需向客户端返回整张病理切片图像,减少传输的数据量,客户端也仅需接收并处理包含所述请求展示的图像区域的图像块,因此,能够减轻服务端和客户端浏览器的传输、展示压力。In this embodiment of the application, by receiving the display request sent by the client, it is determined that the pathological slice image contains the request according to the number of layers of the pathological slice image carried in the display request and the coordinate information of the image area requested to be displayed The image block of the displayed image area, wherein the pathological slice image includes at least one image block, and the image block is returned to the client, so that the pathological slice image can be displayed based on the image block of the pathological slice image In this way, the display speed of pathological slice images can be accelerated, and a smoother interactive experience can be achieved even in the case of high user concurrency. In the embodiment of this application, the server only needs to return the image block containing the image area requested to be displayed to the client, instead of returning the entire pathological slice image to the client, reducing the amount of data transmitted, and the client only needs to The image block containing the image area requested to be displayed is received and processed, so that the transmission and display pressure of the server and client browsers can be reduced.
图5是本申请实施例提供的病理切片图像的展示方法的另一种实现流程图。所述病理切片图像的展示方法应用于图1所示系统架构的客户端。所述病理切片图像的展示方法的执行主体可以是病理切片图像的展示装置。例如,所述病理切片图像的展示方法可以由终端设备或其它处理设备执行。其中,终端设备可以是用户设备(User Equipment,UE)、移动设备、用户终端、终端、蜂窝电话、无绳电话、个人数字助理(Personal Digital Assistant,PDA)、手持设备、计算设备、车载设备或者可穿戴设备等。在本申请一些实施例中,所述病理切片图像的展示方法可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。如图5所示,所述病理切片图像的展示方法包括步骤S41至步骤S43。Fig. 5 is another implementation flow chart of the method for displaying pathological slice images provided by an embodiment of the present application. The method for displaying pathological slice images is applied to the client of the system architecture shown in FIG. 1. The execution subject of the pathological slice image display method may be a pathological slice image display device. For example, the display method of the pathological slice image may be executed by a terminal device or other processing device. Among them, the terminal device can be a user equipment (UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (Personal Digital Assistant, PDA), a handheld device, a computing device, a vehicle-mounted device, or a portable device. Wearable equipment, etc. In some embodiments of the present application, the display method of the pathological slice image may be implemented by a processor invoking a computer-readable instruction stored in a memory. As shown in FIG. 5, the display method of the pathological slice image includes step S41 to step S43.
步骤S41,向服务端发送展示请求。Step S41: Send a display request to the server.
其中,所述展示请求携带请求展示的病理切片图像的层数和请求展示的图像区域的坐标信息。Wherein, the display request carries the number of layers of the pathological slice image requested to be displayed and the coordinate information of the image area requested to be displayed.
在本申请实施例中,用户可以在客户端的浏览器中选择其想要查看的病理切片图像,并可以在该病理切片图像中选择其感兴趣的区域进行查看。浏览器可以根据用户选择的病理切片图像及区域,确定请求展示的病理切片图像的层数和请求展示的图像区域的坐标信息。In the embodiment of the present application, the user can select the pathological slice image that he wants to view in the browser of the client, and can select the region of interest in the pathological slice image for viewing. The browser can determine the number of layers of the pathological slice image requested to be displayed and the coordinate information of the image area requested to be displayed according to the pathological slice image and area selected by the user.
步骤S42,接收所述服务端基于所述展示请求返回的图像块,所述图像块为所述病理切片图像中包含所述请求展示的图像区域的图像块。Step S42: Receive an image block returned by the server based on the display request, where the image block is an image block in the pathological slice image that includes the image area requested to be displayed.
在本申请实施例中,服务端在接收到展示请求之后,可以根据所述展 示请求中携带的病理切片图像的层数和请求展示的图像区域的坐标信息,确定所述病理切片图像中包含所述请求展示的图像区域的图像块,其中,所述病理切片图像包括至少一个图像块。In the embodiment of the present application, after receiving the display request, the server can determine that the pathological slice image contains all the pathological slice images according to the number of layers of the pathological slice image carried in the display request and the coordinate information of the image area requested to be displayed. The image block of the image area requested for display, wherein the pathological slice image includes at least one image block.
步骤S43,展示所述图像块中属于所述请求展示的图像区域的范围内的部分。Step S43: Display the part of the image block that belongs to the range of the image area requested to be displayed.
在本申请一些实施例中,浏览器展示所述图像块时,根据所述图像块确定所述图像块中属于所述请求展示的图像区域的范围内的部分,然后对确定的所述图像块中属于所述请求展示的图像区域的范围内的部分进行展示。In some embodiments of the present application, when the browser displays the image block, it determines the part of the image block within the range of the image area requested to be displayed according to the image block, and then compares the determined image block The part within the range of the image area requested to be displayed in the display.
在本申请实施例中,通过向服务端发送展示请求,接收所述服务端基于所述展示请求返回的所述病理切片图像中包含所述请求展示的图像区域的图像块,并展示所述图像块中属于所述请求展示的图像区域的范围内的部分,由此能够基于病理切片图像的图像块进行病理切片图像的展示,减少传输的数据量,从而能够加快病理切片图像的展示速度。In the embodiment of the present application, by sending a display request to the server, receiving the image block containing the image area requested to be displayed in the pathological slice image returned by the server based on the display request, and displaying the image The part of the block that belongs to the range of the image area requested to be displayed can thereby display the pathological slice image based on the image block of the pathological slice image, reduce the amount of transmitted data, and accelerate the display speed of the pathological slice image.
可以理解,本申请提及的上述各个方法实施例,在不违背原理逻辑的情况下,均可以彼此相互结合形成结合后的实施例。It can be understood that the various method embodiments mentioned in this application can be combined with each other to form a combined embodiment without violating the principle logic.
本领域技术人员可以理解,在具体实施方式的上述方法中,各步骤的撰写顺序并不意味着严格的执行顺序而对实施过程构成任何限定,各步骤的执行顺序应当以其功能和可能的内在逻辑确定。Those skilled in the art can understand that in the above-mentioned methods of the specific implementation, the writing order of the steps does not mean a strict execution order but constitutes any limitation on the implementation process. The execution order of each step should be based on its function and possible inherent Logic is determined.
此外,本申请实施例还提供病理切片图像的展示装置、电子设备、计算机可读存储介质、程序,上述均可用来实现本申请实施例提供的任一种病理切片图像的展示方法,相应技术方案和描述和参见方法部分的相应记载。In addition, the embodiments of the present application also provide display devices, electronic equipment, computer-readable storage media, and programs for pathological slice images. All of the above can be used to implement any of the pathological slice image display methods provided in the embodiments of the present application, and the corresponding technical solutions And description and refer to the corresponding record in the method section.
图6是本申请实施例提供的病理切片图像的展示装置的一种示意图。如图6所示,所述病理切片图像的展示装置包括:第一接收模块51,配置为接收客户端发送的展示请求,其中,所述展示请求携带请求展示的病理切片图像的层数和请求展示的图像区域的坐标信息;第一确定模块52,配置为根据所述层数和所述坐标信息,确定所述病理切片图像中包含所述请求展示的图像区域的图像块,其中,所述病理切片图像包括至少一个图像块;返回模块53,配置为将所述图像块返回至所述客户端。Fig. 6 is a schematic diagram of a pathological slice image display device provided by an embodiment of the present application. As shown in FIG. 6, the device for displaying pathological slice images includes: a first receiving module 51 configured to receive a display request sent by a client, where the display request carries the number of layers of the pathological slice image requested to be displayed and the request The coordinate information of the displayed image area; the first determining module 52 is configured to determine, according to the number of layers and the coordinate information, the image block containing the image area requested to be displayed in the pathological slice image, wherein the The pathological slice image includes at least one image block; the returning module 53 is configured to return the image block to the client.
在本申请一些实施例中,所述装置还包括:划分模块,配置为针对属于任一层数的病理切片图像,按照预设的图像块尺寸,将所述病理切片图像划分为多个图像块;第二确定模块,配置为确定所述多个图像块中的任 一图像块在所述多个图像块形成的阵列中所处的行数和列数;建立模块,配置为建立所述层数、所述任一图像块在所述多个图像块形成的阵列中所处的行数和列数三者与所述任一图像块之间的对应关系。In some embodiments of the present application, the device further includes: a dividing module configured to divide the pathological slice image into a plurality of image blocks according to a preset image block size for pathological slice images belonging to any number of layers A second determining module, configured to determine the number of rows and columns of any image block of the plurality of image blocks in the array formed by the plurality of image blocks; the establishment module, configured to establish the layer The corresponding relationship between the number of rows and the number of columns of any image block in the array formed by the plurality of image blocks and the any image block.
在本申请一些实施例中,所述建立模块还可以配置为:根据所述层数、所述任一图像块在所述多个图像块形成的阵列中所处的行数与列数,对所述任一图像块进行命名。In some embodiments of the present application, the establishing module may also be configured to: according to the number of layers, the number of rows and the number of columns of any image block in the array formed by the plurality of image blocks, Name any image block.
在本申请一些实施例中,所述坐标信息包括所述请求展示的图像区域的四个顶点的坐标;所述确定模块52还可以配置为:根据所述四个顶点的坐标与所述预设的图像块尺寸的比值,确定所述图像块的行数与列数;根据所述层数,所述图像块的行数和列数,以及所述对应关系,确定所述图像块。In some embodiments of the present application, the coordinate information includes the coordinates of the four vertices of the image area requested to be displayed; the determining module 52 may also be configured to: according to the coordinates of the four vertices and the preset The ratio of the size of the image block to determine the number of rows and the number of columns of the image block; the image block is determined according to the number of layers, the number of rows and columns of the image block, and the corresponding relationship.
在本申请实施例中,通过接收客户端发送的展示请求,根据所述展示请求携带的病理切片图像的层数和请求展示的图像区域的坐标信息,确定所述病理切片图像中包含所述请求展示的图像区域的图像块,其中,所述病理切片图像包括至少一个图像块,并将所述图像块返回至所述客户端,由此能够基于病理切片图像的图像块进行病理切片图像的展示,减少传输的数据量,从而能够加快病理切片图像的展示速度。In this embodiment of the application, by receiving the display request sent by the client, it is determined that the pathological slice image contains the request according to the number of layers of the pathological slice image carried in the display request and the coordinate information of the image area requested to be displayed The image block of the displayed image area, wherein the pathological slice image includes at least one image block, and the image block is returned to the client, so that the pathological slice image can be displayed based on the image block of the pathological slice image , To reduce the amount of data transmitted, which can speed up the display of pathological slice images.
图7是本申请实施例提供的病理切片图像的展示装置的另一种示意图。如图7所示,所述病理切片图像的展示装置包括:发送模块61,配置为向服务端发送展示请求,其中,所述展示请求携带请求展示的病理切片图像的层数和请求展示的图像区域的坐标信息;第二接收模块62,配置为接收所述服务端基于所述展示请求返回的图像块;展示模块63,配置为展示所述图像块中属于所述请求展示的图像区域的范围内的部分。Fig. 7 is another schematic diagram of a pathological slice image display device provided by an embodiment of the present application. As shown in FIG. 7, the device for displaying pathological slice images includes: a sending module 61 configured to send a display request to the server, where the display request carries the number of layers of the pathological slice image requested to be displayed and the image requested to be displayed The coordinate information of the area; the second receiving module 62 is configured to receive the image block returned by the server based on the display request; the display module 63 is configured to display the range of the image area that belongs to the requested display in the image block The inner part.
在本申请实施例中,通过向服务端发送展示请求,接收所述服务端基于所述展示请求返回的所述病理切片图像中包含所述请求展示的图像区域的图像块,并展示所述图像块中属于所述请求展示的图像区域的范围内的部分,由此能够基于病理切片图像的图像块进行病理切片图像的展示,减少传输的数据量,从而能够加快病理切片图像的展示速度。In the embodiment of the present application, by sending a display request to the server, receiving the image block containing the image area requested to be displayed in the pathological slice image returned by the server based on the display request, and displaying the image The part of the block that belongs to the range of the image area requested to be displayed can thereby display the pathological slice image based on the image block of the pathological slice image, reduce the amount of transmitted data, and accelerate the display speed of the pathological slice image.
在一些实施例中,本申请实施例提供的装置具有的功能或包含的模块可以配置为执行上文方法实施例描述的方法,其实现可以参照上文方法实施例的描述。In some embodiments, the functions or modules included in the apparatus provided in the embodiments of the present application may be configured to execute the methods described in the above method embodiments, and for implementation, refer to the description of the above method embodiments.
本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述方法。其中,所述 计算机可读存储介质可以是非易失性计算机可读存储介质,或者可以是易失性计算机可读存储介质。An embodiment of the present application also provides a computer-readable storage medium on which computer program instructions are stored, and the computer program instructions implement the above-mentioned method when executed by a processor. Wherein, the computer-readable storage medium may be a non-volatile computer-readable storage medium, or may be a volatile computer-readable storage medium.
本申请实施例还提供一种计算机程序产品,包括计算机可读代码,当计算机可读代码在设备上运行时,设备中的处理器执行配置为实现如上任一实施例提供的病理切片图像的展示方法的指令。The embodiments of the present application also provide a computer program product, including computer-readable code. When the computer-readable code runs on the device, the processor in the device is configured to implement the pathological slice image display provided in any of the above embodiments. Method of instruction.
本申请实施例还提供另一种计算机程序产品,配置为存储计算机可读指令,指令被执行时使得计算机执行上述任一实施例提供的病理切片图像的展示方法的操作。The embodiments of the present application also provide another computer program product configured to store computer-readable instructions, which when executed, cause the computer to perform the operations of the pathological slice image display method provided by any of the foregoing embodiments.
本申请实施例还提供一种电子设备,包括:一个或多个处理器;配置为存储可执行指令的存储器;其中,所述一个或多个处理器被配置为调用所述存储器存储的可执行指令,以执行上述方法。An embodiment of the present application further provides an electronic device, including: one or more processors; a memory configured to store executable instructions; wherein, the one or more processors are configured to call the executable stored in the memory Instructions to perform the above method.
电子设备可以被提供为终端、服务器或其它形态的设备。The electronic device can be provided as a terminal, server or other form of device.
图8是本申请实施例提供的电子设备的一种示意图。例如,电子设备800可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等终端。FIG. 8 is a schematic diagram of an electronic device provided by an embodiment of the present application. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcasting terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and other terminals.
参照图8,电子设备800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(Input/Output,I/O)的接口812,传感器组件814,以及通信组件816。8, the electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, and an input/output (Input/Output, I/O) interface 812 , The sensor component 814, and the communication component 816.
处理组件802通常控制电子设备800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The processing component 802 generally controls the overall operations of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the foregoing method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
存储器804被配置为存储各种类型的数据以支持在电子设备800的操作。这些数据的示例包括配置为在电子设备800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(Static Random Access Memory,SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read Only Memory,EEPROM),可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM),可编程只读存储器(Programmable Read Only Memory,PROM),只读存储器(Read Only Memory,ROM),磁存储器,快闪存储 器,磁盘或光盘。The memory 804 is configured to store various types of data to support operations in the electronic device 800. Examples of such data include instructions of any application or method configured to operate on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (Static Random Access Memory, SRAM), electrically erasable programmable read-only memory (Electrically Erasable). Programmable Read Only Memory, EEPROM, Erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (Read Only Memory, ROM) , Magnetic memory, flash memory, magnetic disk or optical disk.
电源组件806为电子设备800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为电子设备800生成、管理和分配电力相关联的组件。The power supply component 806 provides power for various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with the generation, management, and distribution of power for the electronic device 800.
多媒体组件808包括在所述电子设备800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(Liquid Crystal Display,LCD)和触摸面板(TouchPanel,TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当电子设备800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (Liquid Crystal Display, LCD) and a touch panel (TouchPanel, TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, sliding, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure related to the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. When the electronic device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(Microphone,MIC),当电子设备800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,配置为输出音频信号。The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a microphone (Microphone, MIC). When the electronic device 800 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal may be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 further includes a speaker configured to output audio signals.
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module. The above-mentioned peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: home button, volume button, start button, and lock button.
传感器组件814包括一个或多个传感器,配置为为电子设备800提供各个方面的状态评估。例如,传感器组件814可以检测到电子设备800的打开/关闭状态,组件的相对定位,例如所述组件为电子设备800的显示器和小键盘,传感器组件814还可以检测电子设备800或电子设备800一个组件的位置改变,用户与电子设备800接触的存在或不存在,电子设备800方位或加速/减速和电子设备800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如互补金属氧化物半导体(Complementary Metal Oxide Semiconductor,CMOS)或电荷耦合器件(Charge Coupled Device,CCD)图像传感器,可在成像应用中使用。在一 些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。The sensor component 814 includes one or more sensors configured to provide the electronic device 800 with various aspects of state evaluation. For example, the sensor component 814 can detect the on/off status of the electronic device 800 and the relative positioning of the components. For example, the component is the display and the keypad of the electronic device 800. The sensor component 814 can also detect the electronic device 800 or the electronic device 800. The position of the component changes, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration/deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor component 814 may include a proximity sensor configured to detect the presence of nearby objects when there is no physical contact. The sensor component 814 may also include a light sensor, such as a complementary metal oxide semiconductor (Complementary Metal Oxide Semiconductor, CMOS) or a charge coupled device (Charge Coupled Device, CCD) image sensor, which can be used in imaging applications. In some embodiments, the sensor component 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件816被配置为便于电子设备800和其他设备之间有线或无线方式的通信。电子设备800可以接入基于通信标准的无线网络,如Wi-Fi、2G、3G、4G/LTE、5G或它们的组合。在本申请一些实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在本申请一些实施例中,所述通信组件816还包括近场通信(Near Field Communication,NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(Radio Frequency Identification,RFID)技术,红外数据协会(Infrared Data Association,IrDA)技术,超宽带(Ultra Wide Band,UWB)技术,蓝牙(Bluetooth,BT)技术和其他技术来实现。The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as Wi-Fi, 2G, 3G, 4G/LTE, 5G, or a combination thereof. In some embodiments of the present application, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In some embodiments of the present application, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be based on Radio Frequency Identification (RFID) technology, Infrared Data Association (Infrared Data Association, IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (Bluetooth, BT) technology and other technologies. Technology to achieve.
在本申请一些实施例中,电子设备800可以被一个或多个应用专用集成电路(Application Specific Integrated Circuit,ASIC)、数字信号处理器(Digital Signal Process,DSP)、数字信号处理设备(Digital Signal Process Device,DSPD)、可编程逻辑器件(Programmable Logic Device,PLD)、现场可编程门阵列(Field Programmable Gate Array,FPGA)、控制器、微控制器、微处理器或其他电子元件实现,配置为执行上述方法。In some embodiments of the present application, the electronic device 800 may be used by one or more application specific integrated circuits (ASIC), digital signal processors (Digital Signal Process, DSP), and digital signal processing equipment (Digital Signal Process). Device, DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (Field Programmable Gate Array, FPGA), controller, microcontroller, microprocessor or other electronic components, configured to execute The above method.
在本申请一些实施例中,还提供一种非易失性计算机可读存储介质,例如包括计算机程序指令的存储器804,上述计算机程序指令可由电子设备800的处理器820执行以完成上述方法。In some embodiments of the present application, there is also provided a non-volatile computer-readable storage medium, such as the memory 804 including computer program instructions, which can be executed by the processor 820 of the electronic device 800 to complete the foregoing method.
图9是本申请实施例提供的电子设备的另一种示意图。例如,电子设备1900可以被提供为一服务器。参照图9,电子设备1900包括处理组件1922,还可以包括一个或多个处理器,以及由存储器1932所代表的存储器资源,配置为存储可由处理组件1922的执行的指令,例如应用程序。存储器1932中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1922被配置为执行指令,以执行上述方法。Fig. 9 is another schematic diagram of an electronic device provided by an embodiment of the present application. For example, the electronic device 1900 may be provided as a server. 9, the electronic device 1900 includes a processing component 1922, and may also include one or more processors, and a memory resource represented by the memory 1932, configured to store instructions executable by the processing component 1922, such as application programs. The application program stored in the memory 1932 may include one or more modules each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above-described methods.
电子设备1900还可以包括一个电源组件1926被配置为执行电子设备1900的电源管理,一个有线或无线网络接口1950被配置为将电子设备1900连接到网络,和一个输入输出(I/O)接口1958。电子设备1900可以操作基于存储在存储器1932的操作系统,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。The electronic device 1900 may also include a power supply component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input output (I/O) interface 1958 . The electronic device 1900 can operate based on an operating system stored in the memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.
在本申请一些实施例中,还提供一种非易失性计算机可读存储介质,例如包括计算机程序指令的存储器1932,上述计算机程序指令可由电子设 备1900的处理组件1922执行以完成上述方法。In some embodiments of the present application, there is also provided a non-volatile computer-readable storage medium, such as the memory 1932 including computer program instructions, which can be executed by the processing component 1922 of the electronic device 1900 to complete the above method.
本申请可以是系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有配置为使处理器实现本申请的各个方面的计算机可读程序指令。This application can be a system, method and/or computer program product. The computer program product may include a computer-readable storage medium loaded with computer-readable program instructions configured to enable a processor to implement various aspects of the present application.
计算机可读存储介质可以是保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是但不限于:电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质可以包括:便携式计算机盘、硬盘、随机存取存储器(Random Access Memory,RAM)、ROM、可擦式可编程只读存储器(EPROM或闪存)、SRAM、便携式压缩盘只读存储器(Compact Disk-Read Only Memory,CD-ROM)、数字多功能盘(Digital Video Disc,DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。The computer-readable storage medium may be a tangible device that holds and stores instructions used by the instruction execution device. The computer-readable storage medium may be, for example, but not limited to: an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. The computer-readable storage medium may include: portable computer disk, hard disk, random access memory (Random Access Memory, RAM), ROM, erasable programmable read-only memory (EPROM or flash memory), SRAM, portable compact disk read-only memory (Compact Disk-Read Only Memory, CD-ROM), Digital Video Disc (DVD), memory sticks, floppy disks, mechanical coding devices, such as punch cards with instructions stored on them or protrusions in the grooves Structure, and any suitable combination of the above. The computer-readable storage medium used here is not interpreted as the instantaneous signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (for example, light pulses through fiber optic cables), or through wires Transmission of electrical signals.
这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to various computing/processing devices, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network, and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing/processing device .
配置为执行本申请操作的计算机程序指令可以是汇编指令、指令集架构(Instruction Set Architecture,ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言,诸如Smalltalk、C++等,以及常规的过程式编程语言,诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络(包括局域网或广域网)连接到用户计算机,或者,可以连接到外部计算机(例如利 用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、FPGA或可编程逻辑阵列(Programmable Logic Array,PLA),该电子电路可以执行计算机可读程序指令,从而实现本申请的各个方面。The computer program instructions configured to perform the operations of this application may be assembly instructions, instruction set architecture (Instruction Set Architecture, ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or one or more Source code or object code written in any combination of two programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions can be executed entirely on the user's computer, partly on the user's computer, executed as a stand-alone software package, partly on the user's computer and partly executed on a remote computer, or entirely on the remote computer or server implement. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network (including a local area network or a wide area network), or may be connected to an external computer (for example, using an Internet service provider to connect through the Internet). In some embodiments, electronic circuits, such as programmable logic circuits, FPGAs, or programmable logic arrays (Programmable Logic Array, PLA), can be customized by using the status information of computer-readable program instructions. Read the program instructions to realize all aspects of this application.
这里参照根据本申请实施例的方法、装置(系统)和计算机程序产品的流程图和/或示意图描述了本申请的各个方面。应当理解,流程图和/或示意图的每个方框以及流程图和/或示意图中各方框的组合,都可以由计算机可读程序指令实现。Here, various aspects of the present application are described with reference to the flowcharts and/or schematic diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each block of the flowcharts and/or schematic diagrams and combinations of blocks in the flowcharts and/or schematic diagrams can be implemented by computer-readable program instructions.
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或示意图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或示意图中的一个或多个方框中规定的功能/动作的各个方面的指令。These computer-readable program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine that makes these instructions when executed by the processor of the computer or other programmable data processing device , A device that implements the functions/actions specified in one or more blocks in the flowcharts and/or schematic diagrams is produced. It is also possible to store these computer-readable program instructions in a computer-readable storage medium. These instructions make computers, programmable data processing apparatuses, and/or other devices work in a specific manner, so that the computer-readable medium storing the instructions includes An article of manufacture, which includes instructions for implementing various aspects of the functions/actions specified in one or more blocks in the flowcharts and/or schematic diagrams.
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或示意图中的一个或多个方框中规定的功能/动作。It is also possible to load computer-readable program instructions onto a computer, other programmable data processing device, or other equipment, so that a series of operation steps are executed on the computer, other programmable data processing device, or other equipment to produce a computer-implemented process , So that the instructions executed on the computer, other programmable data processing apparatus, or other equipment realize the functions/actions specified in one or more blocks in the flowcharts and/or schematic diagrams.
附图中的流程图和示意图显示了根据本申请的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或示意图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个配置为实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,示意图和/或流程图中的每个方框、以及示意图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowcharts and schematic diagrams in the accompanying drawings show the possible implementation architecture, functions, and operations of the system, method, and computer program product according to multiple embodiments of the present application. In this regard, each block in the flowchart or schematic diagram may represent a module, program segment, or part of an instruction. Executable instructions. In some alternative implementations, the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the schematic diagram and/or flowchart, and the combination of the blocks in the schematic diagram and/or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or actions. Or it can be realized by a combination of dedicated hardware and computer instructions.
该计算机程序产品可以通过硬件、软件或其结合的方式实现。在本申请实施例的一实施方式中,所述计算机程序产品可以体现为计算机存储介 质,在另一实施方式中,计算机程序产品可以体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。The computer program product can be implemented by hardware, software or a combination thereof. In an implementation manner of the embodiments of the present application, the computer program product may be embodied as a computer storage medium. In another implementation manner, the computer program product may be embodied as a software product, such as a software development kit (SDK) and many more.
以上已经描述了本申请的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对相关技术的改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Without departing from the scope and spirit of the illustrated embodiments, many modifications and changes are obvious to those of ordinary skill in the art. The choice of terms used herein is intended to best explain the principles, practical applications, or improvements to related technologies of the various embodiments, or to enable other ordinary skilled in the art to understand the various embodiments disclosed herein.
工业实用性Industrial applicability
本申请涉及一种病理切片图像的展示方法及装置、电子设备和存储介质。所述方法包括:接收客户端发送的展示请求,其中,所述展示请求携带请求展示的病理切片图像的层数和请求展示的图像区域的坐标信息;根据所述层数和所述坐标信息,确定所述病理切片图像中包含所述请求展示的图像区域的图像块,其中,所述病理切片图像包括至少一个图像块;将所述图像块返回至所述客户端。由此能够基于病理切片图像的图像块进行病理切片图像的展示,减少传输的数据量,从而能够加快病理切片图像的展示速度。This application relates to a method and device for displaying pathological slice images, electronic equipment and storage media. The method includes: receiving a display request sent by a client, wherein the display request carries the number of layers of the pathological slice image requested to be displayed and the coordinate information of the image area requested to be displayed; according to the number of layers and the coordinate information, Determine the image block in the pathological slice image that includes the image area requested for display, wherein the pathological slice image includes at least one image block; and return the image block to the client. In this way, it is possible to display the pathological slice image based on the image block of the pathological slice image, reduce the amount of transmitted data, and thereby speed up the display of the pathological slice image.

Claims (13)

  1. 一种病理切片图像的展示方法,包括:A display method of pathological slice images, including:
    接收客户端发送的展示请求,其中,所述展示请求携带请求展示的病理切片图像的层数和请求展示的图像区域的坐标信息;Receiving a display request sent by the client, where the display request carries the number of layers of the pathological slice image requested to be displayed and the coordinate information of the image area requested to be displayed;
    根据所述层数和所述坐标信息,确定所述病理切片图像中包含所述请求展示的图像区域的图像块,其中,所述病理切片图像包括至少一个图像块;Determine, according to the number of layers and the coordinate information, an image block in the pathological slice image that includes the image area requested to be displayed, wherein the pathological slice image includes at least one image block;
    将所述图像块返回至所述客户端。Return the image block to the client.
  2. 根据权利要求1所述的方法,其中,在所述接收客户端发送的展示请求之前,所述方法还包括:The method according to claim 1, wherein, before the receiving the display request sent by the client, the method further comprises:
    针对属于任一层数的病理切片图像,按照预设的图像块尺寸,将所述病理切片图像划分为多个图像块;For pathological slice images belonging to any number of layers, dividing the pathological slice image into multiple image blocks according to a preset image block size;
    确定所述多个图像块中的任一图像块在所述多个图像块形成的阵列中所处的行数和列数;Determining the number of rows and the number of columns of any image block of the plurality of image blocks in the array formed by the plurality of image blocks;
    建立所述层数、所述任一图像块在所述多个图像块形成的阵列中所处的行数和列数三者与所述任一图像块之间的对应关系。A correspondence relationship between the number of layers, the number of rows and the number of columns of any image block in the array formed by the plurality of image blocks, and the any image block is established.
  3. 根据权利要求2所述的方法,其中,所述建立所述层数、所述任一图像块在所述多个图像块形成的阵列中所处的行数和列数三者与所述任一图像块之间的对应关系,包括:The method according to claim 2, wherein said establishing the number of layers, the number of rows and the number of columns of any one of the image blocks in the array formed by the plurality of image blocks are the same as those of the any The correspondence between an image block includes:
    根据所述层数、所述任一图像块在所述多个图像块形成的阵列中所处的行数和列数,对所述任一图像块进行命名。Name any image block according to the number of layers, the number of rows and the number of columns of any image block in the array formed by the plurality of image blocks.
  4. 根据权利要求2或3所述的方法,其中,所述坐标信息包括所述请求展示的图像区域的四个顶点的坐标;The method according to claim 2 or 3, wherein the coordinate information includes the coordinates of four vertices of the image area requested to be displayed;
    所述根据所述层数和所述坐标信息,确定所述病理切片图像中包含所述请求展示的图像区域的图像块,包括:The determining, according to the number of layers and the coordinate information, the image block in the pathological slice image that contains the image area requested to be displayed includes:
    根据所述四个顶点的坐标与所述预设的图像块尺寸的比值,确定所述图像块的行数与列数;Determining the number of rows and columns of the image block according to the ratio of the coordinates of the four vertices to the preset size of the image block;
    根据所述层数,所述图像块的行数与列数,以及所述对应关系,确定所述图像块。According to the number of layers, the number of rows and columns of the image block, and the corresponding relationship, the image block is determined.
  5. 一种病理切片图像的展示方法,包括:A display method of pathological slice images, including:
    向服务端发送展示请求,其中,所述展示请求携带请求展示的病理切片图像的层数和请求展示的图像区域的坐标信息;Sending a display request to the server, where the display request carries the number of layers of the pathological slice image requested to be displayed and the coordinate information of the image area requested to be displayed;
    接收所述服务端基于所述展示请求返回的图像块,所述图像块为所述病理切片图像中包含所述请求展示的图像区域的图像块;Receiving an image block returned by the server based on the display request, where the image block is an image block in the pathological slice image that includes the image area requested to be displayed;
    展示所述图像块中属于所述请求展示的图像区域的范围内的部分。Display the part of the image block that belongs to the range of the image area requested to be displayed.
  6. 一种病理切片图像的展示装置,包括:A display device for pathological slice images, including:
    第一接收模块,配置为接收客户端发送的展示请求,其中,所述展示请求携带请求展示的病理切片图像的层数和请求展示的图像区域的坐标信息;The first receiving module is configured to receive a display request sent by the client, where the display request carries the number of layers of the pathological slice image requested to be displayed and the coordinate information of the image area requested to be displayed;
    第一确定模块,配置为根据所述层数和所述坐标信息,确定所述病理切片图像中包含所述请求展示的图像区域的图像块,其中,所述病理切片图像包括至少一个图像块;The first determining module is configured to determine, according to the number of layers and the coordinate information, an image block in the pathological slice image that includes the image area requested to be displayed, wherein the pathological slice image includes at least one image block;
    返回模块,配置为将所述图像块返回至所述客户端。The return module is configured to return the image block to the client.
  7. 根据权利要求6所述的装置,其中,所述装置还包括:The device according to claim 6, wherein the device further comprises:
    划分模块,配置为针对属于任一层数的病理切片图像,按照预设的图像块尺寸,将所述病理切片图像划分为多个图像块;The dividing module is configured to divide the pathological slice image into a plurality of image blocks according to a preset image block size for a pathological slice image belonging to any number of layers;
    第二确定模块,配置为确定所述多个图像块中的任一图像块在所述多个图像块形成的阵列中所处的行数和列数;The second determining module is configured to determine the number of rows and the number of columns of any image block of the plurality of image blocks in the array formed by the plurality of image blocks;
    建立模块,配置为建立所述层数、所述任一图像块在所述多个图像块形成的阵列中所处的行数和列数三者与所述任一图像块之间的对应关系。The establishment module is configured to establish the corresponding relationship between the number of layers, the number of rows and the number of columns of any image block in the array formed by the plurality of image blocks, and the any image block .
  8. 根据权利要求7所述的装置,其中,所述建立模块还配置为:The device according to claim 7, wherein the establishing module is further configured to:
    根据所述层数、所述任一图像块在所述多个图像块形成的阵列中所处的行数和列数,对所述任一图像块进行命名。Name any image block according to the number of layers, the number of rows and the number of columns of any image block in the array formed by the plurality of image blocks.
  9. 根据权利要求7或8所述的装置,其中,所述坐标信息包括所述请求展示的图像区域的四个顶点的坐标;The device according to claim 7 or 8, wherein the coordinate information includes the coordinates of four vertices of the image area requested to be displayed;
    所述第一确定模块还配置为:The first determining module is also configured to:
    根据所述四个顶点的坐标与所述预设的图像块尺寸的比值,确定所述图像块的行数与列数;Determining the number of rows and columns of the image block according to the ratio of the coordinates of the four vertices to the preset size of the image block;
    根据所述层数,所述图像块的行数与列数,以及所述对应关系,确定所述图像块。According to the number of layers, the number of rows and columns of the image block, and the corresponding relationship, the image block is determined.
  10. 一种病理切片图像的展示装置,包括:A display device for pathological slice images, including:
    发送模块,配置为向服务端发送展示请求,其中,所述展示请求携带请求展示的病理切片图像的层数和请求展示的图像区域的坐标信息;A sending module configured to send a display request to the server, where the display request carries the number of layers of the pathological slice image requested to be displayed and the coordinate information of the image area requested to be displayed;
    第二接收模块,配置为接收所述服务端基于所述展示请求返回的图像块,所述图像块为所述病理切片图像中包含所述请求展示的图像区域的图 像块;The second receiving module is configured to receive an image block returned by the server based on the display request, where the image block is an image block in the pathological slice image that includes the image area requested to be displayed;
    展示模块,配置为展示所述图像块中属于所述请求展示的图像区域的范围内的部分。The display module is configured to display the part of the image block that belongs to the range of the image area requested to be displayed.
  11. 一种电子设备,包括:An electronic device including:
    一个或多个处理器;One or more processors;
    配置为存储可执行指令的存储器;A memory configured to store executable instructions;
    其中,所述一个或多个处理器被配置为调用所述存储器存储的可执行指令,以执行权利要求1至4或执行权利要求5中任意一项所述的方法。Wherein, the one or more processors are configured to call the executable instructions stored in the memory to execute the method according to any one of claims 1 to 4 or claim 5.
  12. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现权利要求1至4或执行权利要求5中任意一项所述的方法。A computer-readable storage medium having computer program instructions stored on the computer-readable storage medium. method.
  13. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在电子设备中运行时,所述电子设备中的处理器执行权利要求1至4或执行权利要求5中任意一项所述的方法。A computer program comprising computer readable code. When the computer readable code runs in an electronic device, a processor in the electronic device executes claims 1 to 4 or executes any one of claims 1 to 4 Methods.
PCT/CN2020/113096 2020-02-28 2020-09-02 Method and apparatus for displaying pathological section image, and electronic device and storage medium WO2021169230A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2021542134A JP2022524707A (en) 2020-02-28 2020-09-02 Pathological slice image display method and equipment, electronic devices and storage media
KR1020217020481A KR20210110813A (en) 2020-02-28 2020-09-02 Method and apparatus for displaying pathological slide images, electronic devices and storage media

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010131227.5A CN111354444A (en) 2020-02-28 2020-02-28 Pathological section image display method and device, electronic equipment and storage medium
CN202010131227.5 2020-02-28

Publications (1)

Publication Number Publication Date
WO2021169230A1 true WO2021169230A1 (en) 2021-09-02

Family

ID=71197309

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/113096 WO2021169230A1 (en) 2020-02-28 2020-09-02 Method and apparatus for displaying pathological section image, and electronic device and storage medium

Country Status (5)

Country Link
JP (1) JP2022524707A (en)
KR (1) KR20210110813A (en)
CN (1) CN111354444A (en)
TW (1) TWI776348B (en)
WO (1) WO2021169230A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111354444A (en) * 2020-02-28 2020-06-30 上海商汤智能科技有限公司 Pathological section image display method and device, electronic equipment and storage medium
TWI825633B (en) * 2022-03-24 2023-12-11 緯創資通股份有限公司 Image processing method, image processing apparatus, and image processing system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577445A (en) * 2012-07-31 2014-02-12 深圳市蓝韵网络有限公司 Method for displaying medical images on browser rapidly
CN103699792A (en) * 2013-12-18 2014-04-02 宁波江丰生物信息技术有限公司 Digital pathological section remote synchronous diagnostic system
CN104918044A (en) * 2014-03-14 2015-09-16 腾讯科技(深圳)有限公司 Image processing method and device
CN105590295A (en) * 2015-12-21 2016-05-18 江苏康克移软软件有限公司 Pathological section display method and device
US10430550B2 (en) * 2005-02-25 2019-10-01 Virtual Radiologic Corporation Medical image metadata processing
CN111354444A (en) * 2020-02-28 2020-06-30 上海商汤智能科技有限公司 Pathological section image display method and device, electronic equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013084309A (en) * 2013-01-30 2013-05-09 Toshiba Corp Medical image observation supporting system
JP5815167B1 (en) * 2014-04-09 2015-11-17 パナソニック株式会社 Information terminal control method and program
US10452813B2 (en) * 2016-11-17 2019-10-22 Terarecon, Inc. Medical image identification and interpretation
CN107423552A (en) * 2017-05-26 2017-12-01 粉蓝医疗科技(杭州)有限公司 Section file reading and device
JP6643433B2 (en) * 2018-09-03 2020-02-12 キヤノン株式会社 Supporting apparatus for creating an interpretation report and its control method
CN115083571A (en) * 2019-08-28 2022-09-20 上海联影智能医疗科技有限公司 Pathological section processing method, computer device and storage medium
CN112184579B (en) * 2020-09-24 2022-11-18 武汉千屏影像技术有限责任公司 Tissue lesion area image auxiliary restoration system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10430550B2 (en) * 2005-02-25 2019-10-01 Virtual Radiologic Corporation Medical image metadata processing
CN103577445A (en) * 2012-07-31 2014-02-12 深圳市蓝韵网络有限公司 Method for displaying medical images on browser rapidly
CN103699792A (en) * 2013-12-18 2014-04-02 宁波江丰生物信息技术有限公司 Digital pathological section remote synchronous diagnostic system
CN104918044A (en) * 2014-03-14 2015-09-16 腾讯科技(深圳)有限公司 Image processing method and device
CN105590295A (en) * 2015-12-21 2016-05-18 江苏康克移软软件有限公司 Pathological section display method and device
CN111354444A (en) * 2020-02-28 2020-06-30 上海商汤智能科技有限公司 Pathological section image display method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
KR20210110813A (en) 2021-09-09
TW202133190A (en) 2021-09-01
JP2022524707A (en) 2022-05-10
CN111354444A (en) 2020-06-30
TWI776348B (en) 2022-09-01

Similar Documents

Publication Publication Date Title
WO2022068698A1 (en) Photographing method and apparatus, and electronic device and storage medium
WO2020155711A1 (en) Image generating method and apparatus, electronic device, and storage medium
KR20200128165A (en) Video processing method and device, electronic device and storage medium
EP4262214A1 (en) Screen projection method and apparatus, and electronic device and storage medium
KR102248799B1 (en) Target object display method and apparatus, and electronic device
WO2021135626A1 (en) Method and apparatus for selecting menu items, readable medium and electronic device
WO2021036382A1 (en) Image processing method and apparatus, electronic device and storage medium
US10957012B2 (en) System and method for processing image information
US11417335B2 (en) Method and device for information processing, terminal, server and storage medium
US20210287009A1 (en) Video processing method, video processing device, and storage medium
CN110704647B (en) Content processing method and device
CN111970571B (en) Video production method, device, equipment and storage medium
WO2021169230A1 (en) Method and apparatus for displaying pathological section image, and electronic device and storage medium
CN112004032B (en) Video processing method, terminal device and storage medium
US20240119082A1 (en) Method, apparatus, device, readable storage medium and product for media content processing
CN113076048A (en) Video display method and device, electronic equipment and storage medium
JP2019102001A (en) Program, information processing method, and information processing device
CN111461968A (en) Picture processing method and device, electronic equipment and computer readable medium
CN111461965B (en) Picture processing method and device, electronic equipment and computer readable medium
WO2023217081A1 (en) Element control method and apparatus for information input page, device, and medium
CN112035691A (en) Method, device, equipment and medium for displaying cell labeling data of slice image
WO2023097998A1 (en) Chart display method and apparatus, electronic device, storage medium, and program
WO2023056925A1 (en) Document content updating method and apparatus, and electronic device
WO2022227419A1 (en) Multi-user assembling method and apparatus, and electronic device, storage medium, computer program and computer program product
CN115100492A (en) Yolov3 network training and PCB surface defect detection method and device

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2021542134

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20922166

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20922166

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20922166

Country of ref document: EP

Kind code of ref document: A1