Splicing and storing method and device for pathological section scanning
By dividing the digital pathological slice into a splicing part and an original part, and then splicing it in memory and fusing it with the original part in the hard disk, the problem of slow slicing and storage speed is solved, the scanning speed and efficiency are improved, and the memory is reduced Occupy and ensures visibility of the image.
Patent Information
- Application Number
- CN202411188748.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-11-22
AI Technical Summary
During digital pathological slice scanning, slow stitching and storage speeds lead to images being stacked in memory, affecting scanning speed and efficiency.
Each slice is divided into a splicing part and an original part. The splicing part is saved in memory. The original part is saved in hard disk, and then merged with the original part after the memory is spliced to reduce memory usage.
Improves the speed and efficiency of digital slice scanning, reduces hardware costs, and ensures image visibility and consistency.
Smart Images

Figure CN119007951A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing, and in particular to a method and device for splicing and storing pathological slice scans. Background Art
[0002] Digital pathology slice scanning uses a digital pathology scanner to scan multiple locations of the entire digital pathology slice. Each location will produce an image fragment, which will be automatically spliced by the computer to form a complete and continuous digital image. This image contains all the details of the entire pathology slice. In the splicing process of digital pathology slices, the repeated parts are generally removed by computer processing before the image is saved. The scanning speed of the digital pathology scanner is also affected by the computer processing speed, and the splicing process will be much slower than the scanning process. That is to say, the digital pathology scanner has scanned many rows, but the corresponding splicing has not been completed. This will cause the computer's memory to need to save many images until the splicing is completed before storage. The large number of images in the memory will have a heavy impact on the speed of digital pathology slice scanning, resulting in low efficiency in scanning a slice. Therefore, how to solve the problem of slow splicing and storage speed during digital pathology slice scanning, which causes images to accumulate in the memory, thereby increasing memory and slow scanning speed, is an urgent problem to be solved. Summary of the invention
[0003] The embodiment of the present application provides a method and device for splicing and storing pathological slice scans, by dividing each slice segment into a splicing part and an original part, and storing the original part in a hard disk. After the splicing result of the corresponding splicing part is completed in the memory, it is merged with the original part, so that the digital slice scanning result can be obtained while occupying the least memory, thereby improving the scanning speed.
[0004] In a first aspect, an embodiment of the present application provides a method for splicing and storing pathological slice scans, the method comprising:
[0005] A method for splicing and storing pathological slice scans, characterized in that it comprises the following steps:
[0006] Use a digital pathology scanner to sequentially scan the digital slices to obtain a plurality of slice segments, divide each slice segment into a splicing portion and an original portion, the splicing portion includes edge information for image splicing in each slice segment, and the original portion is a portion other than the splicing portion, save the splicing portion in a memory, and save the original portion in a hard disk;
[0007] The position similarity of the corresponding splicing parts of two adjacent slice fragments is calculated in the memory and spliced to obtain the splicing result, and the original part is called in the hard disk and merged with the corresponding splicing result to obtain the digital slice scanning result.
[0008] In a second aspect, an embodiment of the present application provides a pathological slice scan splicing and storage device, comprising:
[0009] a division module, using a digital pathology scanner to sequentially scan the digital slices to obtain a plurality of slice segments, dividing each slice segment into a splicing portion and an original portion, wherein the splicing portion includes edge information for image splicing in each slice segment, and the original portion is a portion other than the splicing portion, and the splicing portion is saved in a memory, and the original portion is saved in a hard disk;
[0010] The splicing module is used to calculate the position similarity of the corresponding splicing parts of two adjacent slice fragments in the memory and splice them to obtain the splicing result, call the original part in the hard disk and merge it with the corresponding splicing result to obtain the digital slice scanning result.
[0011] In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute a method for splicing and storing pathological slice scans.
[0012] In a fourth aspect, an embodiment of the present application provides a readable storage medium, in which a computer program is stored. The computer program includes a program code for controlling a process to execute a process, and the process includes a method for splicing and storing pathological slice scans.
[0013] The main contributions and innovations of the present invention are as follows:
[0014] The embodiment of the present application sets a splicing part for each slice segment by setting the splicing size, and only retains the splicing part in the memory, and saves the original part other than the splicing part in the hard disk, thereby speeding up the splicing speed and the scanning speed; this solution ensures that the pathological area of each slice segment is visible by correcting the light intensity of each slice segment, so that the doctor can view the digital slice scanning results more clearly.
[0015] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0017] Figure 1 It is a flow chart of a method for splicing and storing pathological slice scans according to an embodiment of the present application;
[0018] Figure 2 is a schematic diagram of an arrangement of slice segments according to an embodiment of the present application;
[0019] Figure 3 is a schematic diagram of a method for selecting a splicing portion of slice segments according to an embodiment of the present application;
[0020] Figure 4 It is a structural block diagram of a pathological slice scanning splicing and storage device according to an embodiment of the present application;
[0021] Figure 5 It is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0022] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of this specification. Instead, they are merely examples of devices and methods consistent with some aspects of one or more embodiments of this specification as detailed in the appended claims.
[0023] It should be noted that: in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the steps included in the method may be more or less than those described in this specification. In addition, a single step described in this specification may be decomposed into multiple steps for description in other embodiments; and multiple steps described in this specification may be combined into a single step for description in other embodiments.
[0024] Embodiment 1
[0025] The embodiment of the present application provides a method for splicing and storing pathological slice scans, by dividing each slice segment into a splicing part and an original part, and storing the original part in a hard disk, and after the splicing result of the corresponding splicing part is completed in the memory, it is merged with the original part, so that the digital slice scan result can be obtained while occupying the least memory, thereby improving the scanning speed. Specifically, reference is made to Figure 1 , the method comprising:
[0026] Use a digital pathology scanner to sequentially scan the digital slices to obtain a plurality of slice segments, divide each slice segment into a splicing portion and an original portion, the splicing portion includes edge information for image splicing in each slice segment, and the original portion is a portion other than the splicing portion, save the splicing portion in a memory, and save the original portion in a hard disk;
[0027] The position similarity of the corresponding splicing parts of two adjacent slice fragments is calculated in the memory and spliced to obtain the splicing result, and the original part is called in the hard disk and merged with the corresponding splicing result to obtain the digital slice scanning result.
[0028] In the scanning of digital pathology sections, the digital pathology scanner scans the tissues or cells on the slide line by line to obtain multiple slices, and the slices are finally saved in a matrix. The conventional stitching method uses image stitching software to seamlessly stitch these slices. Since all the slices are saved in the memory, the memory is too large, which slows down the scanning speed.
[0029] In this scheme, a grayscale value comparison method is used to determine whether each slice segment contains a pathological area. The slice segment containing the pathological area is regarded as a valid slice, and the slice segment without the pathological area is regarded as an invalid slice. A reference grayscale value is set, and the grayscale value of each slice segment is obtained and compared with the reference grayscale value. If the grayscale value of the slice segment is greater than or equal to the reference grayscale value, the slice segment is a valid slice, and light intensity correction is performed on the valid segment. If the grayscale value of the slice segment is less than the reference grayscale value, the slice segment is an invalid slice, and the brightness of the invalid segment is adjusted to the set brightness, wherein the reference grayscale value is set based on the tissue cell pattern in the digital slice.
[0030] Specifically, in the process of sequentially scanning digital slices using a digital pathology scanner, there may be an area in the slide that does not contain tissues or cells, that is, the invalid slice does not contain the pathological area, but in order to ensure the correct position of each slice fragment, the invalid slice must be retained. Therefore, this solution adjusts the brightness value of the invalid slice to the set brightness, in order to ensure the overall consistency of the entire pathological slice.
[0031] Furthermore, in the step of “performing light intensity correction on the effective segment”, the pathological area in the effective slice is obtained, and the pathological area is split into a red channel image, a green channel image, and a blue channel image, and the average values of each pixel in the red channel image, the green channel image, and the blue channel image are respectively calculated to obtain the red channel pixel average value, the green channel pixel average value, and the blue channel pixel average value, and then the average value of the red channel pixel average value, the green channel pixel average value, and the blue channel pixel average value are calculated to obtain the three-color channel average value, and the three-color channel average value is divided by the red channel pixel average value to obtain the red channel gain coefficient, and the three-color channel average value is divided by the green channel average value. The green channel gain coefficient is obtained by dividing the average value of the three color channels by the average value of the blue channel to obtain the blue channel gain coefficient, the pixel value of each pixel in the red channel image is recalculated using the red channel gain coefficient to obtain a corrected red channel image, the pixel value of each pixel in the green channel image is recalculated using the green channel gain coefficient to obtain a corrected green channel image, the pixel value of each pixel in the blue channel image is recalculated using the blue channel gain coefficient to obtain a corrected blue channel image, and the corrected red channel image, the corrected green channel image and the corrected blue channel image are merged to obtain a valid segment after light intensity correction.
[0032] Specifically, the average value of the red channel pixels is avgR, the average value of the green channel pixels is avgG, and the average value of the blue channel pixels is avgB. The calculation formula for the average value of the three color channels is as follows:
[0033] Avg=(avgR+avgG+avgB) / 3
[0034] Among them, Avg is the average value of the three color channels.
[0035] The calculation formulas for the red channel gain coefficient, the green channel gain coefficient, and the blue channel gain coefficient are as follows:
[0036] kr=Avg / avgR, kg=Avg / avgG, kb=Avg / avgB
[0037] Among them, kr is the red channel gain coefficient, kg is the green channel gain coefficient, and kb is the blue channel gain coefficient.
[0038] In this scheme, the red channel gain coefficient is multiplied by the pixel value of each pixel in the red channel image to obtain a corrected red channel image, the green channel gain coefficient is multiplied by the pixel value of each pixel in the green channel image to obtain a corrected green channel image, and the blue channel gain coefficient is multiplied by the pixel value of each pixel in the blue channel image to obtain a corrected blue channel image.
[0039] Since the digital pathology scanner uses a row-by-row scanning method to scan the tissue or cells on the slide, the multiple slices obtained are arranged in a matrix manner, with fixed intervals between rows and columns. The specific arrangement of the slices is as follows: Figure 2 As shown, in this scheme, every time two adjacent slices are collected in the same row, they will be spliced together, for example Figure 2 In the first row, images 1 and 2 are stitched together, and images 2 and 3 are stitched together. When the second column is collected, the stitching is also performed. For example, Figure 2 In the example, the first row of picture 1 is spliced with the second row of picture 1, and the first row of picture 2 is spliced with the second row of picture 2. Therefore, if the slice segment is at the beginning of the first row, the spliced part is the right part and the bottom part of the slice segment. If the slice segment is at the end of the first row, the spliced part is the left part and the bottom part of the slice segment. If the slice segment is in the middle of the first row, the spliced part is the left, right, and bottom part of the slice segment. If the slice segment is at the beginning of the last row, the spliced part is the right and top part of the slice segment. If the slice segment is at the end position of the last row, the spliced part is the left and upper parts of the slice segment; if the slice segment is in the middle position of the last row, the spliced part is the left, right and upper parts of the slice segment; if the slice segment is at the starting position of the middle row, the spliced part is the upper, right and lower parts of the slice segment; if the slice segment is in the middle position of the middle row, the spliced part is the upper, lower, left and right parts of the slice segment; if the slice segment is at the end position of the middle row, the spliced part is the upper, lower and left parts of the slice segment.
[0040] In this solution, since the scanning interval of the digital pathology scanner is fixed, the size of the stitching area when stitching the slice segments is also the same. Based on the above characteristics, the stitching size is set, and the edge portion of the stitching size for image stitching is selected in each slice segment as the stitching portion.
[0041] Preferably, the splicing size in this solution can be set to 64px or 128px, that is, the 64px or 128px edge of each slice segment for image splicing is selected as the splicing portion.
[0042] Exemplarily, the method of selecting the splicing part of the slice segments is as follows: Figure 3 As shown by Figure 3 It can be seen that the splicing parts of the first row of picture 1 are the 64px part of the right edge and the 61px part of the lower edge. This is because the right and lower parts of the first row of picture 1 are used as the splicing parts when splicing. The selection of other splicing parts is similar and will not be repeated here.
[0043] In this solution, only the spliced portion is retained in the memory, and the original portion other than the spliced portion is stored in the hard disk, which can greatly reduce the memory usage, thereby speeding up the scanning of the pathological image.
[0044] In the step of "calculating the position similarity of the corresponding splicing parts of two adjacent slice fragments in the memory and splicing them to obtain the splicing result", the normalized square difference matching method is used to calculate the position similarity of the corresponding splicing parts of two adjacent slice fragments, and the part with the position similarity greater than the set threshold is taken as the overlapping position, and the splicing is performed based on the overlapping position to obtain the splicing result.
[0045] Specifically, the formula for calculating the position similarity of the corresponding splicing parts of two adjacent slice segments using the normalized square difference matching method is as follows:
[0046] D(x,y)=(I target (x,y)-I template (x,y) 2
[0047]
[0048] Among them, I target represents the target image, I template represents the template image, where the target image and the template image are the joints of two adjacent slice segments, D(x,y) is the variance, and It represents the pixel mean of the target image splicing part and the template image splicing part. NSSD is the normalized square difference matching degree. In this scheme, it is used to represent the position similarity of the corresponding splicing parts of two adjacent slice fragments.
[0049] Finally, the stitching result in the memory is merged with the original part saved in the hard disk to obtain the complete digital slice scan result. It is worth mentioning that in order to ensure the readability of the digital slice scan result, it is saved in the DICOM or SVS format.
[0050] Specifically, by dividing the stitching part and the original part and saving only the stitching part in the memory, the problem of excessive memory usage due to the stitching and storage speed not keeping up during the high-speed scanning and image acquisition process of the scanner can be solved, the scanning memory usage can be reduced, and the stitching speed can be increased. This method can also effectively reduce hardware costs and increase scanning speed.
[0051] Embodiment 2
[0052] Based on the same idea, refer to Figure 4 The present application also proposes a pathological slice scanning splicing and storage device, including:
[0053] a division module, using a digital pathology scanner to sequentially scan the digital slices to obtain a plurality of slice segments, dividing each slice segment into a splicing portion and an original portion, wherein the splicing portion includes edge information for image splicing in each slice segment, and the original portion is a portion other than the splicing portion, and the splicing portion is saved in a memory, and the original portion is saved in a hard disk;
[0054] The splicing module is used to calculate the position similarity of the corresponding splicing parts of two adjacent slice fragments in the memory and splice them to obtain the splicing result, call the original part in the hard disk and merge it with the corresponding splicing result to obtain the digital slice scanning result.
[0055] Embodiment 3
[0056] This embodiment also provides an electronic device, referring to Figure 5 , comprises a memory 404 and a processor 402, wherein the memory 404 stores a computer program, and the processor 402 is configured to run the computer program to execute the steps in any of the above method embodiments.
[0057] Specifically, the processor 402 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0058] Among them, the memory 404 may include a large capacity memory 404 for data or instructions. By way of example and not limitation, the memory 404 may include a hard disk drive (HDD), a floppy disk drive, a solid state drive (SSD), a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 404 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 404 may be inside or outside the data processing device. In a specific embodiment, the memory 404 is a non-volatile memory. In a specific embodiment, the memory 404 includes a read-only memory (ROM) and a random access memory (RAM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (Programmable Read-Only Memory, PROM for short), an erasable PROM (Erasable Programmable Read-Only Memory, EPROM for short), an electrically erasable PROM (Electrically Erasable Programmable Read-Only Memory, EEPROM for short), an electrically alterable ROM (Electrically Alterable Read-Only Memory, EAROM for short) or a flash memory (FLASH) or a combination of two or more of these. Under appropriate circumstances, the RAM can be a static random access memory (Static Random-Access Memory, abbreviated as SRAM) or a dynamic random access memory (Dynamic Random Access Memory, abbreviated as DRAM), wherein the DRAM can be a fast page mode dynamic random access memory 404 (Fast Page Mode Dynamic Random Access Memory, abbreviated as FPMDRAM), an extended data output dynamic random access memory (Extended Date Out Dynamic Random Access Memory, abbreviated as EDODRAM), a synchronous dynamic random access memory (Synchronous Dynamic Random-Access Memory, abbreviated as SDRAM), etc.
[0059] The memory 404 may be used to store or cache various data files required for processing and / or communication, as well as possible computer program instructions executed by the processor 402 .
[0060] The processor 402 reads and executes the computer program instructions stored in the memory 404 to implement any one of the pathological slice scan splicing and storage methods in the above embodiments.
[0061] Optionally, the electronic device may further include a transmission device 406 and an input / output device 408 , wherein the transmission device 406 is connected to the processor 402 , and the input / output device 408 is connected to the processor 402 .
[0062] The transmission device 406 can be used to receive or send data via a network. The specific examples of the above-mentioned network may include a wired or wireless network provided by a communication provider of the electronic device. In one example, the transmission device includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 406 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0063] The input / output device 408 is used to input or output information. In this embodiment, the input information may be slice segments, etc., and the output information may be digital scanning results, etc.
[0064] Optionally, in this embodiment, the processor 402 may be configured to perform the following steps through a computer program:
[0065] Use a digital pathology scanner to sequentially scan the digital slices to obtain a plurality of slice segments, divide each slice segment into a splicing portion and an original portion, the splicing portion includes edge information for image splicing in each slice segment, and the original portion is a portion other than the splicing portion, save the splicing portion in a memory, and save the original portion in a hard disk;
[0066] The position similarity of the corresponding splicing parts of two adjacent slice fragments is calculated in the memory and spliced to obtain the splicing result, and the original part is called in the hard disk and merged with the corresponding splicing result to obtain the digital slice scanning result.
[0067] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0068] In general, various embodiments may be implemented in hardware or dedicated circuits, software, logic, or any combination thereof. Some aspects of the invention may be implemented in hardware, while other aspects may be implemented in firmware or software that may be executed by a controller, microprocessor, or other computing device, but the invention is not limited thereto. Although various aspects of the invention may be shown and described as block diagrams, flow charts, or using some other graphical representation, it should be understood that, as non-limiting examples, the boxes, devices, systems, techniques, or methods described herein may be implemented in hardware, software, firmware, dedicated circuits or logic, general-purpose hardware or controllers or other computing devices, or some combination thereof.
[0069] Embodiments of the present invention may be implemented by computer software that is executable by a data processor of a mobile device, such as in a processor entity, or by hardware, or by a combination of software and hardware. Computer software or programs (also referred to as program products) including software routines, applets and / or macros may be stored in any device-readable data storage medium, and they include program instructions for performing specific tasks. A computer program product may include one or more computer executable components configured to perform an embodiment when the program is run. One or more computer executable components may be at least one software code or a portion thereof. In addition, at this point, it should be noted that, for example, Figure 5 Any block of the logic flow in the program may represent program steps, or interconnected logic circuits, blocks and functions, or a combination of program steps and logic circuits, blocks and functions. The software may be stored on physical media such as memory chips or storage blocks implemented within a processor, magnetic media such as hard disks or floppy disks, and optical media such as, for example, DVDs and their data variants, CDs, etc. Physical media are non-transitory media.
[0070] Those skilled in the art should understand that the technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0071] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for splicing and storing pathological slice scans, It is characterized in that The following steps are involved: Use a digital pathology scanner to sequentially scan the digital slices to obtain a plurality of slice segments, divide each slice segment into a splicing portion and an original portion, the splicing portion includes edge information for image splicing in each slice segment, and the original portion is a portion other than the splicing portion, save the splicing portion in a memory, and save the original portion in a hard disk; The position similarity of the corresponding splicing parts of two adjacent slice fragments is calculated in the memory and spliced to obtain the splicing result, and the original part is called in the hard disk and merged with the corresponding splicing result to obtain the digital slice scanning result.
2. A method for splicing and storing pathological slice scans according to claim 1, It is characterized in that In the step of "using a digital pathology scanner to sequentially scan digital slices to obtain multiple slice segments", a gray value comparison method is used to determine whether each slice segment contains a pathological area, and the slice segment containing the pathological area is regarded as a valid slice, and the slice segment without the pathological area is regarded as an invalid slice.
3. A method for splicing and storing pathological slice scans according to claim 2, It is characterized in that A reference grayscale value is set, the grayscale value of each slice segment is obtained and compared with the reference grayscale value. If the grayscale value of the slice segment is greater than or equal to the reference grayscale value, the slice segment is a valid slice, and light intensity correction is performed on the valid segment. If the grayscale value of the slice segment is less than the reference grayscale value, the slice segment is an invalid slice, and the brightness of the invalid segment is adjusted to the set brightness.
4. A method for splicing and storing pathological slice scans according to claim 3, It is characterized in that The baseline grayscale value is set based on the tissue cell pattern in the digital slides.
5. A method for splicing and storing pathological slice scans according to claim 3, It is characterized in that Furthermore, in the step of "performing light intensity correction on the effective segment", the pathological area in the effective slice is obtained, and the pathological area is split into a red channel image, a green channel image and a blue channel image, and the average values of each pixel in the red channel image, the green channel image and the blue channel image are respectively calculated to obtain the red channel pixel average value, the green channel pixel average value and the blue channel pixel average value, and then the average value of the red channel pixel average value, the green channel pixel average value and the blue channel pixel average value are calculated to obtain the three-color channel average value, and the three-color channel average value is divided by the red channel pixel average value to obtain the red channel gain coefficient, and the three-color channel average value is divided by the green channel pixel average value. The green channel gain coefficient is obtained by dividing the average value of the three color channels by the average value of the blue channel to obtain the blue channel gain coefficient, the pixel value of each pixel in the red channel image is recalculated using the red channel gain coefficient to obtain a corrected red channel image, the pixel value of each pixel in the green channel image is recalculated using the green channel gain coefficient to obtain a corrected green channel image, the pixel value of each pixel in the blue channel image is recalculated using the blue channel gain coefficient to obtain a corrected blue channel image, and the corrected red channel image, the corrected green channel image and the corrected blue channel image are merged to obtain a valid segment after light intensity correction.
6. A method for splicing and storing pathological slice scans according to claim 1, It is characterized in that The stitching size is set, and the edge portion of the stitching size for image stitching is selected in each slice segment as the stitching portion.
7. A method for splicing and storing pathological slice scans according to claim 1, It is characterized in that In the step of "calculating the position similarity of the corresponding splicing parts of two adjacent slice fragments in the memory and splicing them to obtain the splicing result", the normalized square difference matching method is used to calculate the position similarity of the corresponding splicing parts of two adjacent slice fragments, and the part with the position similarity greater than the set threshold is taken as the overlapping position, and the splicing is performed based on the overlapping position to obtain the splicing result.
8. A pathological section scanning splicing and storage device, It is characterized in that include: a division module, using a digital pathology scanner to sequentially scan the digital slices to obtain a plurality of slice segments, dividing each slice segment into a splicing portion and an original portion, wherein the splicing portion includes edge information for image splicing in each slice segment, and the original portion is a portion other than the splicing portion, and the splicing portion is saved in a memory, and the original portion is saved in a hard disk; The splicing module is used to calculate the position similarity of the corresponding splicing parts of two adjacent slice fragments in the memory and splice them to obtain the splicing result, call the original part in the hard disk and merge it with the corresponding splicing result to obtain the digital slice scanning result.
9. An electronic device comprising a memory and a processor, It is characterized in that The memory stores a computer program, and the processor is configured to run the computer program to execute the pathological slice scanning splicing and storage method according to any one of claims 1 to 7.
10. A readable storage medium, It is characterized in that The readable storage medium stores a computer program, wherein the computer program includes a program code for controlling a process to execute a process, wherein the process includes a pathological slice scanning splicing and storage method according to any one of claims 1-7.
