A MDS microscopic digital imaging processing method and system
Through the MDS microscopic digital imaging processing method, the parameters and images of the microscope are collected and processed, and structural edges are identified and segmented, thereby realizing panoramic acquisition of microscopic digital imaging, solving the problem that microscopic digital images cannot reflect the overall situation of the observation object, and improving improve imaging quality and efficiency.
Patent Information
- Application Number
- CN202410729487.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-06-06
AI Technical Summary
It is difficult for microscopic digital images in the existing technology to fully reflect the overall condition of the observation object, resulting in a high loss rate of structural content and failure to provide complete information.
Through the MDS microscopy digital imaging processing method, the characteristics and environmental characteristics of the target slide are collected, the microscope parameters are adjusted, an initial full-slide image is generated, structural edges are identified, adaptive segmentation and semantic recognition are performed, and attention and non-interest substructures are generated. area, using multi-path microscopic image acquisition and fusion processing to generate a whole-slide digital image.
The quality of microscopic digital imaging is improved, the degree of preservation of the structural content of the observation object is increased, and the efficiency of imaging processing is improved.
Smart Images

Figure CN118314236B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of image processing, and in particular to an MDS microscopic digital imaging processing method and system. Background Art
[0002] In microscopic observation, although digital image technologies provide high-definition local views, they often fail to fully reflect the overall situation of the observed object. For example, when we observe a complex object structure, the microscopic digital image may only capture a specific area of the observed object. This limitation leads to a high loss rate of structural content of the observed object and fails to provide us with complete information. The existing technology has the technical problem that the microscopic digital image cannot fully reflect the overall situation of the observed object and has a high loss rate of structural content of the observed object. Summary of the invention
[0003] The present application provides an MDS microscopic digital imaging processing method and system, which is used to solve the technical problems in the prior art that microscopic digital images cannot fully reflect the overall situation of the observed object and the loss rate of the structural content of the observed object is high.
[0004] In view of the above problems, the present application provides a MDS microscopic digital imaging processing method and system.
[0005] In a first aspect of the present application, a method for processing MDS microscopic digital imaging is provided, wherein the method is applied to a digital imaging processing platform, the digital imaging processing platform is communicatively connected to the MDS microscope, and the method comprises:
[0006] Collect basic features of the target slide placed on the MDS microscope stage to obtain the target observation object features and target observation environment features;
[0007] Acquiring the adjustment parameter space of the MDS microscope, and configuring the adjustment parameters of the MDS microscope in combination with the target observation object characteristics and the target observation environment characteristics to generate initial adjustment parameters;
[0008] The MDS microscope is configured using the initial adjustment parameters, and the configured MDS microscope is used to perform an initial whole-slide image acquisition task for the target glass slide to generate an initial whole-slide image;
[0009] Calling the structure identifier in the digital imaging processing platform to perform edge recognition of the observed object structure on the initial full slide image to generate a target structure edge distribution map;
[0010] Adaptively optimizing the target structure edge distribution map to generate multiple substructure identification regions, and using a semantic identifier to identify the structure proportions of the target observation object in the multiple substructure identification regions to obtain multiple identification coefficients, wherein the multiple substructure identification regions correspond to the multiple identification coefficients one by one;
[0011] Binary classification is performed on the multiple recognition coefficients according to preset recognition coefficient standard values, and the multiple substructure recognition regions are divided according to the binary classification results to obtain M focused substructure recognition regions and N non-focus substructure recognition regions;
[0012] Taking the upper right corner of the target structure edge distribution map as the starting point, the M focused substructure identification regions and the N non-focused substructure identification regions are sequentially connected from right to left to generate a first imaging processing path and a second imaging processing path;
[0013] According to the first imaging processing path, microscopic image acquisition is performed on the M substructure identification areas of interest according to a preset first acquisition accuracy to generate M substructure digital images of interest, and according to the second imaging processing path, microscopic image acquisition is performed on the N substructure identification areas of non-interest according to a preset second acquisition accuracy to generate N substructure digital images of non-interest, wherein the M substructure digital images of interest and the N substructure digital images of non-interest have M positioning marks of interest and N positioning marks of non-interest, respectively;
[0014] The M substructure digital images of interest and the N substructure digital images of non-interest are fused according to the M positioning marks of interest and the N positioning marks of non-interest by using a fusion processing identifier to generate a full-slide digital image of the target slide.
[0015] The second aspect of the present application provides an MDS microscopic digital imaging processing system, the system comprising:
[0016] The environmental feature acquisition module is used to collect basic features of the target slide placed on the MDS microscope stage to obtain the target observation object features and target observation environment features;
[0017] An initial adjustment parameter generation module is used to collect the adjustment parameter space of the MDS microscope, and configure the adjustment parameters of the MDS microscope in combination with the target observation object characteristics and the target observation environment characteristics to generate initial adjustment parameters;
[0018] An initial whole-slide image generation module, configured to configure the MDS microscope using the initial adjustment parameters, and to perform an initial whole-slide image acquisition task for the target slide using the configured MDS microscope to generate an initial whole-slide image;
[0019] An edge distribution map generating module is used to call the structure identifier in the digital imaging processing platform to perform edge recognition of the observed object structure on the initial full slide image to generate an edge distribution map of the target structure;
[0020] A recognition coefficient acquisition module is used to perform adaptive optimization segmentation on the target structure edge distribution map to generate multiple substructure recognition areas, and use a semantic recognizer to perform structural proportion recognition of the target observation object on the multiple substructure recognition areas to obtain multiple recognition coefficients, wherein the multiple substructure recognition areas correspond to the multiple recognition coefficients one by one;
[0021] A substructure identification region acquisition module, used to perform binary classification on the multiple identification coefficients according to preset identification coefficient standard values, and divide the multiple substructure identification regions according to the binary classification results to obtain M focused substructure identification regions and N non-focus substructure identification regions;
[0022] An imaging processing path generation module is used to connect the M substructure identification regions of interest and the N substructure identification regions of non-interest in sequence from right to left, starting from the upper right corner of the target structure edge distribution map, to generate a first imaging processing path and a second imaging processing path;
[0023] a digital image generation module, configured to perform microscopic image acquisition on the M substructure identification regions of interest according to the first imaging processing path and a preset first acquisition accuracy to generate M substructure digital images of interest, and perform microscopic image acquisition on the N substructure identification regions of non-interest according to the second imaging processing path and a preset second acquisition accuracy to generate N substructure digital images of non-substructure of interest, wherein the M substructure digital images of interest and the N substructure digital images of non-substructure of interest have M location identifiers of interest and N location identifiers of non-substructure of interest, respectively;
[0024] The whole slide digital image generation module is used to use a fusion processing identifier to fuse the M focus substructure digital images and the N non-focus substructure digital images according to the M focus positioning marks and the N non-focus positioning marks, so as to generate a whole slide digital image of the target slide.
[0025] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0026] The present application acquires the basic features of a target slide placed on the stage of an MDS microscope to obtain the features of the target observation object and the features of the target observation environment, then acquires the adjustment parameter space of the MDS microscope, and configures the adjustment parameters of the MDS microscope in combination with the features of the target observation object and the features of the target observation environment to generate initial adjustment parameters, and then configures the MDS microscope using the initial adjustment parameters, and uses the configured MDS microscope to perform an initial full-slide image acquisition task on the target slide to generate an initial full-slide image, uses a structure identifier to identify the structural edges of the observation object on the initial full-slide image to generate a target structure edge distribution map, and then performs adaptive optimization segmentation on the target structure edge distribution map to generate multiple substructure recognition areas, and uses a semantic identifier to identify the structural proportions of the target observation object on the multiple substructure recognition areas respectively to obtain multiple recognition coefficients, wherein the multiple substructure recognition areas correspond one to one to the multiple recognition coefficients, and then the multiple recognition coefficients are binary-classified according to preset recognition coefficient standard values, and the multiple substructures are classified according to the binary classification results. The target structure identification area is divided into M focus substructure identification areas and N non-focus substructure identification areas. Then, starting from the upper right corner of the target structure edge distribution map, the M focus substructure identification areas and the N non-focus substructure identification areas are sequentially connected from right to left to generate a first imaging processing path and a second imaging processing path. According to the first imaging processing path, microscopic images of the M focus substructure identification areas are collected according to a preset first collection accuracy to generate M focus substructure digital images. According to the second imaging processing path, microscopic images of the N non-focus substructure identification areas are collected according to a preset second collection accuracy to generate N non-focus substructure digital images, wherein the M focus substructure digital images and the N non-focus substructure digital images have M focus positioning identifiers and N non-focus positioning identifiers, respectively. Then, a fusion processing identifier is used to fuse the M focus substructure digital images and the N non-focus substructure digital images according to the M focus positioning identifiers and the N non-focus positioning identifiers to generate a full-slide digital image of the target slide. The technical effect of improving the quality of MDS microscopic digital imaging, improving the degree of preservation of the structural content of the observed object, and acquiring microscopic images through two imaging processing paths, thereby improving the imaging processing efficiency, is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0028] Figure 1A schematic diagram of a MDS microscopic digital imaging processing method provided in an embodiment of the present application;
[0029] Figure 2 A schematic diagram of the structure of an MDS microscopic digital imaging processing system provided in an embodiment of the present application.
[0030] Explanation of the reference numerals: environmental feature acquisition module 11, initial adjustment parameter generation module 12, initial whole slide image generation module 13, edge distribution map generation module 14, recognition coefficient acquisition module 15, substructure recognition area acquisition module 16, imaging processing path generation module 17, digital image generation module 18, whole slide digital image generation module 19. DETAILED DESCRIPTION
[0031] The present application provides an MDS microscopic digital imaging processing method and system, which is used to solve the technical problems in the prior art that microscopic digital images cannot fully reflect the overall situation of the observed object and the loss rate of the structural content of the observed object is high.
[0032] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0033] It should be noted that the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or modules that are not explicitly listed or inherent to these processes, methods, products or devices. Embodiment 1
[0034] like Figure 1 As shown, the present application provides an MDS microscopic digital imaging processing method, wherein the method is applied to a digital imaging processing platform, the digital imaging processing platform is communicatively connected with the MDS microscope, and the method comprises:
[0035] Step S100: collecting basic features of a target glass slide placed on the stage of an MDS microscope to obtain features of a target observation object and features of a target observation environment;
[0036] In a possible embodiment, the MDS microscope can not only clearly observe the details of the observed object under the eyepiece, but also record the digital image of the observed object. The digital imaging processing platform is a functional platform for processing the images collected by the MDS microscope. The observed object is placed on the target slide, and then the target slide is placed on the stage of the MDS microscope. The observed object in the target slide is observed through the eyepiece of the MDS microscope, and the collected image is transmitted to the digital imaging processing platform for image processing, so as to obtain a full-slide digital image of the observed object in the target slide.
[0037] In one embodiment, basic features of the target glass slide are collected from two dimensions to obtain the target observation object features and the target observation environment features. The target observation object features are used to describe the characteristics of the external morphology and internal structure of the target observation object, including the type of the target observation object (plant rhizome cells, animal blood cells, etc.), the basic structure of the target observation object, etc. The target observation environment features are used to describe the working environment state of the MDS microscope, including the flatness of the stage, optical transparency, etc.
[0038] By obtaining the target observation object characteristics and the target observation environment characteristics, a reliable basis is provided for subsequent adaptive parameter adjustment of the MDS microscope according to actual application conditions, thereby achieving the technical effect of improving the quality of imaging preparation work and further reducing imaging errors.
[0039] Step S200: collecting the adjustment parameter space of the MDS microscope, and configuring the adjustment parameters of the MDS microscope in combination with the target observation object characteristics and the target observation environment characteristics to generate initial adjustment parameters;
[0040] Further, the adjustment parameter space of the MDS microscope is collected, and the adjustment parameter configuration of the MDS microscope is performed in combination with the target observation object characteristics and the target observation environment characteristics to generate initial adjustment parameters. Step S200 of the embodiment of the present application further includes:
[0041] Collecting the adjustment parameter space of the MDS microscope, wherein the adjustment parameter space includes a focal length adjustment range, a light source brightness adjustment range, a magnification adjustment range, and a focusing speed;
[0042] Using the adjustment parameter space as an index, collecting a plurality of sample observation object features, a plurality of sample observation environment features, and a plurality of sample initial adjustment parameters;
[0043] Constructing a parameter configurator based on the multiple sample observation object characteristics, the multiple sample observation environment characteristics and the multiple sample initial adjustment parameters, wherein the parameter configurator includes multiple sample points, and the multiple sample points are identified by using the multiple sample initial adjustment parameters;
[0044] Input the target observation object characteristics and the target observation environment characteristics into the parameter configurator, and match the k sample points with the closest distance, where k is an integer greater than or equal to 3;
[0045] The initial adjustment parameters are generated by performing weighted calculation based on the k sample initial adjustment parameters corresponding to the k sample points.
[0046] Furthermore, step S200 of the embodiment of the present application further includes:
[0047] Taking the observed object characteristics as the first-dimensional coordinate axis and the observed environment characteristics as the second-dimensional coordinate axis, a two-dimensional coordinate system of the parameter configurator is constructed;
[0048] Inputting the plurality of sample observation object features and the plurality of sample observation environment features into the two-dimensional coordinate system to generate a plurality of sample points, and marking the plurality of sample points using the plurality of sample initial adjustment parameters;
[0049] The parameter configurator is generated based on the two-dimensional coordinate system and the plurality of sample points.
[0050] In one possible embodiment, the adjustable parameter intervals of the MDS microscope are collected to form the adjustment parameter space. The adjustment parameter intervals include a focal length adjustment interval, a light source brightness adjustment interval, a magnification adjustment interval, and a focusing speed. The adjustment parameter intervals are obtained to master the adjustment capability of the MDS microscope. After obtaining the adjustment parameter space of the MDS microscope, the adjustment parameters of the MDS microscope are adaptively configured in combination with the characteristics of the target observation object and the characteristics of the target observation environment to obtain the initial adjustment parameters. The initial adjustment parameters are the parameters of the MDS microscope when the target observation object on the target slide is observed as a whole.
[0051] In an embodiment of the present application, according to the model of the MDS microscope, the design data of the MDS microscope is retrieved with the focal length, light source brightness, magnification and focusing speed as indexes, and the focal length adjustment interval, light source brightness adjustment interval, magnification adjustment interval and focusing speed are generated to form the adjustment parameter interval. Then, with the adjustment parameter space as an index, sample adjustment data that conforms to the adjustment parameter space is retrieved from the big data to obtain the multiple sample observation object features, multiple sample observation environment features and multiple sample initial adjustment parameters.
[0052] Furthermore, the observation object feature is used as the first-dimensional coordinate axis, and the observation environment feature is used as the second-dimensional coordinate axis, and then a two-dimensional coordinate system of the parameter configurator is constructed, and the multiple sample observation object features and multiple sample observation environment features are input into the two-dimensional coordinate system, and multiple sample points are generated according to the positions in the two-dimensional coordinate system, and the multiple sample initial adjustment parameters are used to identify the multiple sample points. The parameter configurator is generated according to the two-dimensional coordinate system and the multiple sample points. The parameter configurator is used to intelligently configure the parameters of the MDS microscope according to the observation object features and the observation environment features.
[0053] Optionally, the target observation object characteristics and the target observation environment characteristics are input into the parameter configurator to obtain a target point. According to the coordinate position of the target point, the k sample points with the closest distance are matched, where k is an integer greater than or equal to 3. Then, according to the k distances between the k sample points and the target point, the k sample initial adjustment parameters are weighted calculated to obtain the initial adjustment parameters. The closer the distance, the higher the weight ratio of the corresponding sample initial adjustment parameters in the weighted calculation, thereby improving the reliability of the initial adjustment parameters.
[0054] Step S300: configuring the MDS microscope using the initial adjustment parameters, and using the configured MDS microscope to perform an initial whole-slide image acquisition task for the target glass slide to generate an initial whole-slide image;
[0055] In a possible embodiment, the MDS microscope is configured according to the initial adjustment parameters (including initial focal length, initial light source brightness, initial magnification, initial focusing speed, etc.). After the configuration is completed, the MDS microscope performs an initial whole-slide image acquisition task for the target slide. At this time, when the whole-slide image is acquired, only the overall situation of the target slide is acquired. Therefore, the acquisition accuracy of the background position and the structural distribution position of the target observation object in the obtained initial whole-slide image is consistent.
[0056] Step S400: calling the structure identifier in the digital imaging processing platform to perform edge recognition of the observed object structure on the initial full slide image, and generating a target structure edge distribution map;
[0057] In a possible embodiment, after the initial whole slide image is obtained, it is input into the structure identifier in the digital imaging processing platform to identify the structural edge of the target observation object in the target slide, and obtain the target structure edge distribution map. The structure identifier is used to perform structural recognition on the whole slide image, including an input layer, a convolution layer, an activation function, a pooling layer, a fully connected layer and an output layer. The initial whole slide image is input into the input layer, the structural features in the initial whole slide image are extracted through the convolution layer, the nonlinearity of the convolution network is improved by the activation function (such as ReLU), and then the network parameters are reduced through the pooling layer to reduce the amount of calculation, and then the features are classified or categorized through the fully connected layer, and the structural edges are marked, so as to obtain the target structure edge distribution map. The target structure edge distribution map reflects the structural distribution of the target observation object in the target slide.
[0058] Step S500: Adaptively optimizing and segmenting the target structure edge distribution map to generate a plurality of substructure identification regions, and using a semantic identifier to identify the structure proportions of the target observation object in the plurality of substructure identification regions respectively to obtain a plurality of identification coefficients, wherein the plurality of substructure identification regions correspond to the plurality of identification coefficients one by one;
[0059] Furthermore, the target structure edge distribution map is adaptively optimized and segmented to generate multiple substructure identification regions. Step S500 of the embodiment of the present application further includes:
[0060] Calculating a target area of the target structure edge distribution map, and configuring a first segmentation step size according to the size of the target area;
[0061] Performing grid division on the target structure edge distribution map according to the first segmentation step length to obtain a plurality of initial substructure grids, wherein the plurality of initial substructure grids have a plurality of initial position identifiers;
[0062] Calling a semantic recognizer to perform structural proportion recognition of the target observation object on the multiple initial substructure grids respectively to obtain multiple initial recognition coefficients;
[0063] Based on the multiple initial recognition coefficients, the multiple initial substructure grids are subjected to neighboring segmentation and edge fusion, and the initial substructure grids whose initial recognition coefficient differences satisfy a preset difference threshold are divided into the same substructure recognition region to generate the multiple substructure recognition regions.
[0064] In one possible embodiment, the target structure edge distribution map is grid-divided, and the division results are adaptively optimized and fused during the division, so as to obtain the multiple substructure identification regions. After the multiple substructure identification regions are summarized, the target structure edge distribution map is obtained. A semantic identifier is used to identify the structural proportion of the target observation object in the multiple substructure identification regions, that is, the proportion of the area occupied by the structural content in each substructure identification region is intelligently identified, so as to obtain the multiple recognition coefficients. The larger the recognition coefficient, the larger the proportion of the structural content of the target observation object in the corresponding substructure identification region, and the more important it is for the full-slide digital image of the target observation object.
[0065] Optionally, by obtaining multiple sample substructure recognition areas and multiple sample recognition coefficients as training data, the framework based on the convolutional neural network is supervised and trained using the training data until the model reaches convergence, thereby obtaining the trained semantic recognizer. Furthermore, the multiple substructure recognition areas are input into the semantic recognizer, and the multiple recognition coefficients are obtained through intelligent calculation.
[0066] In a possible embodiment, the target area of the target structure edge distribution map is counted, and then the target area is used as an index to search in the area-segmentation step mapping relationship to obtain the first segmentation step. The first segmentation step is the side length of each grid when the target structure edge distribution map is equally grid-divided. By obtaining multiple sample areas and multiple sample segmentation steps, a one-to-one correspondence between the multiple sample areas and the multiple sample segmentation steps is constructed to generate the area-segmentation step mapping relationship.
[0067] Then, the target structure edge distribution map is equally grid-divided using the first segmentation step as the division scale to obtain a plurality of initial substructure grids. The plurality of initial substructure grids have a plurality of initial position identifiers. The plurality of initial substructure grids are input into the semantic identifier to identify the structural proportion of the target observation object, and a plurality of initial recognition coefficients are obtained. The plurality of initial recognition coefficients reflect the importance of the plurality of initial substructure grids. Based on the plurality of initial recognition coefficients, the segmentation edges of the plurality of adjacent initial substructure grids are fused, and the initial substructure grids whose initial recognition coefficient differences meet the preset difference threshold are divided into the same substructure recognition area, and the grid fusion is completed to generate the plurality of substructure recognition areas.
[0068] Furthermore, step S500 of the embodiment of the present application further includes:
[0069] Randomly extract Q initial substructure grids from the multiple initial substructure grids, match adjacent initial substructure grids according to the corresponding Q initial position identifiers, and add them into the Q adjacent initial substructure grid sets respectively;
[0070] Based on the multiple initial recognition coefficients, the differences between the initial recognition coefficients of the Q initial substructure grids and the Q sets of adjacent initial substructure grids are calculated respectively to obtain Q sets of initial recognition coefficient difference values.
[0071] Furthermore, step S500 of the embodiment of the present application further includes:
[0072] Determine whether the Q initial recognition coefficient difference sets meet a preset difference threshold, and if so, fuse the corresponding adjacent initial substructure grids with the Q initial substructure grids to obtain Q fused substructure grids;
[0073] The Q fused substructure grids are respectively used as Q substructure identification regions;
[0074] The Q fused substructure grids are removed from the multiple initial substructure grids, and the remaining multiple initial substructure grids are subjected to adjacent segmentation edge fusion, and the fusion result is aggregated with the Q substructure identification regions to generate the multiple substructure identification regions.
[0075] In an embodiment of the present application, Q initial substructure grids are randomly selected from the multiple initial substructure grids, the Q initial substructure grids are used as the starting point of the adjacent segmentation edge fusion, and the initial substructure grids adjacent to the Q initial substructure grids are added to the Q adjacent initial substructure grid sets according to the corresponding Q initial position identifiers. Then, the multiple initial recognition coefficients are matched according to the Q initial substructure grids and the Q adjacent initial substructure grid sets to obtain Q initial recognition coefficients and Q adjacent initial recognition coefficient sets.
[0076] The differences between the Q initial recognition coefficients and the initial recognition coefficients of the Q adjacent initial recognition coefficient sets are calculated respectively to obtain Q initial recognition coefficient difference sets, wherein the Q initial recognition coefficient difference sets reflect the degree of difference in recognition coefficients between the Q initial substructure grids and the adjacent initial substructure grids, that is, reflect the degree of difference in structural content of the target observation objects contained in the Q initial substructure grids and the adjacent initial substructure grids.
[0077] Determine whether the Q initial recognition coefficient difference sets meet a preset difference threshold, wherein the preset difference threshold is the minimum value of the initial recognition coefficient difference when it can be demarcated as a fused substructure grid set by a person skilled in the art. When the Q initial recognition coefficient difference sets are greater than the preset difference threshold, the corresponding adjacent initial substructure grids are fused with the Q initial substructure grids to obtain Q fused substructure grids. Furthermore, the Q fused substructure grids are respectively used as Q substructure identification regions, and the Q fused substructure grids are removed from the multiple initial substructure grids. Then, based on the same principle of obtaining the Q substructure identification regions, the remaining multiple initial substructure grids are subjected to adjacent segmentation edge fusion to obtain a fusion result. The fusion result includes multiple fused substructure grids. The fusion result is summarized with the Q substructure identification regions to generate the multiple substructure identification regions.
[0078] Step S600: Binary classifying the plurality of recognition coefficients according to preset recognition coefficient standard values, and dividing the plurality of substructure recognition regions according to the binary classification results to obtain M focused substructure recognition regions and N non-focus substructure recognition regions;
[0079] In a possible embodiment, after obtaining the multiple substructure identification regions, the multiple identification coefficients are classified into a first type of identification coefficient set greater than or equal to the preset identification coefficient standard value and a second type of identification coefficient set less than the preset identification coefficient standard value using a preset identification coefficient standard value. The multiple substructure identification regions corresponding to the first type of identification coefficient set are taken as M substructure identification regions of interest. The multiple substructure identification regions corresponding to the second type of identification coefficient set are taken as N substructure identification regions of non-interest.
[0080] Step S700: starting from the upper right corner of the target structure edge distribution map, connecting the M focused substructure identification regions and the N non-focused substructure identification regions in sequence from right to left to generate a first imaging processing path and a second imaging processing path;
[0081] Step S800: According to the first imaging processing path, microscopic image acquisition is performed on the M substructure identification areas of interest according to a preset first acquisition accuracy to generate M substructure digital images of interest, and according to the second imaging processing path, microscopic image acquisition is performed on the N substructure identification areas of non-interest according to a preset second acquisition accuracy to generate N substructure digital images of non-interest, wherein the M substructure digital images of interest and the N substructure digital images of non-interest have M positioning marks of interest and N positioning marks of non-interest, respectively.
[0082] In one embodiment, the upper right corner of the target structure edge distribution map is used as the connection starting point, and the M substructure identification regions of interest and the N substructure identification regions of non-interest are sequentially connected from right to left to obtain the first imaging processing path and the second imaging processing path. The first imaging processing path is the route for collecting microscopic images of the substructure identification region of interest. The second imaging processing path is the route for collecting microscopic images of the substructure identification region of non-interest.
[0083] According to the first imaging processing path, the M substructure identification areas of interest are subjected to microscopic image acquisition according to the preset first acquisition accuracy (accuracy when microscopic image acquisition is performed on an area with more structural content of the target observation object) pre-set by a person skilled in the art, and M digital images of substructures of interest are generated. And according to the second imaging processing path, the N non-substructure identification areas of interest are subjected to microscopic image acquisition according to the preset second acquisition accuracy (accuracy when microscopic image acquisition is performed on an area with less structural content of the target observation object) pre-set by a person skilled in the art, and N digital images of non-substructures of interest are generated, wherein the M digital images of substructures of interest and the N digital images of non-substructures of interest have M positioning marks of interest and N positioning marks of non-interest, respectively.
[0084] Step S900: using a fusion processing identifier to fuse the M substructure digital images of interest and the N substructure digital images of non-interest according to the M location marks of interest and the N location marks of non-interest, to generate a full-slide digital image of the target slide.
[0085] Further, the M substructure digital images of interest and the N substructure digital images of non-interest are fused according to the M location marks of interest and the N location marks of non-interest by using a fusion processing identifier to generate a full-slide digital image of the target slide. Step S900 of the embodiment of the present application further includes:
[0086] Collecting a plurality of sample whole-slide digital images, randomly segmenting the plurality of sample whole-slide digital images, and positioning and marking the segmentation results to generate a plurality of sample positioning mark sets and a plurality of sample substructure digital image sets;
[0087] Using the plurality of sample whole slide digital images, the plurality of sample location marks and the plurality of sample substructure digital image sets as training data;
[0088] An encoder and a decoder are constructed, and supervised training is performed on the encoder and the decoder using the training data. When the training reaches convergence, the trained fusion processing identifier is obtained.
[0089] In a possible embodiment, the fusion processing identifier is a functional model that intelligently fuses and splices multiple digital images according to the positioning of the digital images. By inputting the M focus positioning marks and the N non-focus positioning marks, as well as the M focus substructure digital images and the N non-focus structure digital images into the fusion processing identifier, after splicing and fusion, the full-slide digital image of the target slide is obtained. Since the acquisition accuracy of the non-focus structure digital image is low, the influence of the background image on the structural analysis of the target observation object is effectively avoided, and the technical effect of improving the quality of the full-slide digital image is achieved.
[0090] In one embodiment, multiple sample whole-slide digital images are retrieved from big data, and the multiple sample whole-slide digital images are randomly segmented, and the segmentation results are positioned and marked to generate multiple sample positioning mark sets and multiple sample substructure digital image sets. Each sample positioning mark set is used to positionally mark the segmented area in the corresponding sample whole-slide digital image. Thus, the goal of obtaining training data is achieved. Then, the multiple sample whole-slide digital images, the multiple sample positioning marks, and the multiple sample substructure digital image sets are used as training data, and supervised training is performed on the encoder and decoder. When the training converges, the trained fusion processing identifier is obtained.
[0091] Optionally, the multiple sample location identifiers and the multiple sample substructure digital images are input into the encoder (such as a recurrent neural network, a long short-term memory network, etc.) for vector recognition to obtain semantic information, and the semantic information is input into the decoder for prediction to obtain multiple predicted sample whole slide digital images, and the degree of difference between the multiple predicted sample whole slide digital images and the multiple sample whole slide digital images is analyzed using a loss function (such as a cross entropy loss), and the network parameters of the encoder and decoder are reversely iterated and optimized based on the analysis results until the output of the loss function reaches a preset standard and / or reaches a maximum number of training rounds, thereby obtaining the trained fusion processing identifier.
[0092] In summary, the embodiments of the present application have at least the following technical effects:
[0093] The present application collects the target observation object characteristics and the target observation environment characteristics corresponding to the target slide placed on the stage of the MDS microscope, and then analyzes the characteristics to generate initial adjustment parameters, and then configures the MDS microscope using the initial adjustment parameters, and performs the initial full-slide image acquisition task for the target slide to generate an initial full-slide image, and then uses a structure identifier to identify the structural edges of the observed object on the initial full-slide image to generate a target structure edge distribution map, and generates multiple substructure recognition areas by performing adaptive optimization segmentation, and uses a semantic identifier to perform target observation on the multiple substructure recognition areas respectively. The structure proportion of the object is identified, and multiple identification coefficients are obtained. Then, the multiple identification coefficients are classified into two categories according to the preset identification coefficient standard values to obtain M substructure identification areas of interest and N substructure identification areas of non-interest. Then, the first imaging processing path and the second imaging processing path are generated, and image acquisition is performed respectively to obtain M substructure digital images of interest and N substructure digital images of non-interest. Then, the fusion processing identifier is used to fuse the M substructure digital images of interest and the N substructure digital images of non-interest according to the M positioning marks of interest and the N positioning marks of non-interest, and the full-slide digital image of the target slide is generated. The technical effect of improving the quality of MDS microscopic digital imaging, improving the degree of preservation of the structural content of the observed object, and performing microscopic image acquisition through two imaging processing paths, thereby improving the imaging processing efficiency, is achieved. Embodiment 2
[0094] Based on the same inventive concept as the MDS microscopic digital imaging processing method in the aforementioned embodiment, Figure 2 As shown, the present application provides an MDS microscopic digital imaging processing system, and the system and method embodiments in the present application embodiments are based on the same inventive concept. The system includes:
[0095] The environment feature acquisition module 11 is used to collect basic features of the target slide placed on the MDS microscope stage to obtain the target observation object features and target observation environment features;
[0096] An initial adjustment parameter generating module 12 is used to collect the adjustment parameter space of the MDS microscope, and configure the adjustment parameters of the MDS microscope in combination with the target observation object characteristics and the target observation environment characteristics to generate initial adjustment parameters;
[0097] An initial whole-slide image generating module 13 is used to configure the MDS microscope using the initial adjustment parameters, and use the configured MDS microscope to perform an initial whole-slide image acquisition task for the target slide to generate an initial whole-slide image;
[0098] The edge distribution map generating module 14 is used to call the structure identifier in the digital imaging processing platform to perform the edge recognition of the observed object structure on the initial full slide image, and generate the target structure edge distribution map;
[0099] The recognition coefficient obtaining module 15 is used to perform adaptive optimization segmentation on the target structure edge distribution map to generate multiple substructure recognition areas, and use a semantic recognizer to perform structural proportion recognition of the target observation object on the multiple substructure recognition areas to obtain multiple recognition coefficients, wherein the multiple substructure recognition areas correspond to the multiple recognition coefficients one by one;
[0100] The substructure identification region obtaining module 16 is used to perform binary classification on the multiple identification coefficients according to preset identification coefficient standard values, and divide the multiple substructure identification regions according to the binary classification results to obtain M focused substructure identification regions and N non-focus substructure identification regions;
[0101] An imaging processing path generation module 17 is used to connect the M focused substructure identification regions and the N non-focused substructure identification regions in sequence from right to left, starting from the upper right corner of the target structure edge distribution map, to generate a first imaging processing path and a second imaging processing path;
[0102] The digital image generation module 18 is used to perform microscopic image acquisition on the M substructure identification areas of interest according to the first imaging processing path and a preset first acquisition accuracy to generate M substructure digital images of interest, and perform microscopic image acquisition on the N substructure identification areas of non-interest according to the second imaging processing path and a preset second acquisition accuracy to generate N substructure digital images of non-interest, wherein the M substructure digital images of interest and the N substructure digital images of non-interest have M location identifiers of interest and N location identifiers of non-interest, respectively;
[0103] The whole slide digital image generation module 19 is used to use a fusion processing identifier to fuse the M focus substructure digital images and the N non-focus substructure digital images according to the M focus positioning marks and the N non-focus positioning marks, so as to generate a whole slide digital image of the target slide.
[0104] Furthermore, the recognition coefficient obtaining module 15 is used to perform the following steps:
[0105] Calculating a target area of the target structure edge distribution map, and configuring a first segmentation step size according to the size of the target area;
[0106] Performing grid division on the target structure edge distribution map according to the first segmentation step length to obtain a plurality of initial substructure grids, wherein the plurality of initial substructure grids have a plurality of initial position identifiers;
[0107] Calling a semantic recognizer to perform structural proportion recognition of the target observation object on the multiple initial substructure grids respectively to obtain multiple initial recognition coefficients;
[0108] Based on the multiple initial recognition coefficients, the multiple initial substructure grids are subjected to neighboring segmentation and edge fusion, and the initial substructure grids whose initial recognition coefficient differences satisfy a preset difference threshold are divided into the same substructure recognition region to generate the multiple substructure recognition regions.
[0109] Furthermore, the recognition coefficient obtaining module 15 is used to perform the following steps:
[0110] Randomly extract Q initial substructure grids from the multiple initial substructure grids, match adjacent initial substructure grids according to the corresponding Q initial position identifiers, and add them into the Q adjacent initial substructure grid sets respectively;
[0111] Based on the multiple initial recognition coefficients, the differences between the initial recognition coefficients of the Q initial substructure grids and the Q sets of adjacent initial substructure grids are calculated respectively to obtain Q sets of initial recognition coefficient difference values.
[0112] Furthermore, the recognition coefficient obtaining module 15 is used to perform the following steps:
[0113] Determine whether the Q initial recognition coefficient difference sets meet a preset difference threshold, and if so, fuse the corresponding adjacent initial substructure grids with the Q initial substructure grids to obtain Q fused substructure grids;
[0114] The Q fused substructure grids are respectively used as Q substructure identification regions;
[0115] The Q fused substructure grids are removed from the multiple initial substructure grids, and the remaining multiple initial substructure grids are subjected to adjacent segmentation edge fusion, and the fusion result is aggregated with the Q substructure identification regions to generate the multiple substructure identification regions.
[0116] Furthermore, the whole slide digital image generation module 19 is used to perform the following steps:
[0117] Collecting a plurality of sample whole-slide digital images, randomly segmenting the plurality of sample whole-slide digital images, and positioning and marking the segmentation results to generate a plurality of sample positioning mark sets and a plurality of sample substructure digital image sets;
[0118] Using the plurality of sample whole slide digital images, the plurality of sample location marks and the plurality of sample substructure digital image sets as training data;
[0119] An encoder and a decoder are constructed, and supervised training is performed on the encoder and the decoder using the training data. When the training reaches convergence, the trained fusion processing identifier is obtained.
[0120] Furthermore, the initial adjustment parameter generating module 12 is used to perform the following steps:
[0121] Collecting the adjustment parameter space of the MDS microscope, wherein the adjustment parameter space includes a focal length adjustment range, a light source brightness adjustment range, a magnification adjustment range, and a focusing speed;
[0122] Using the adjustment parameter space as an index, collecting a plurality of sample observation object features, a plurality of sample observation environment features, and a plurality of sample initial adjustment parameters;
[0123] Building a parameter configurator based on the multiple sample observation object characteristics, the multiple sample observation environment characteristics and the multiple sample initial adjustment parameters, wherein the parameter configurator includes multiple sample points, and the multiple sample points are identified by using the multiple sample initial adjustment parameters;
[0124] Input the target observation object characteristics and the target observation environment characteristics into the parameter configurator, and match the k sample points with the closest distance, where k is an integer greater than or equal to 3;
[0125] The initial adjustment parameters are generated by performing weighted calculation based on the k sample initial adjustment parameters corresponding to the k sample points.
[0126] Furthermore, the initial adjustment parameter generating module 12 is used to perform the following steps:
[0127] Taking the observed object characteristics as the first-dimensional coordinate axis and the observed environment characteristics as the second-dimensional coordinate axis, a two-dimensional coordinate system of the parameter configurator is constructed;
[0128] Inputting the plurality of sample observation object features and the plurality of sample observation environment features into the two-dimensional coordinate system to generate a plurality of sample points, and marking the plurality of sample points using the plurality of sample initial adjustment parameters;
[0129] The parameter configurator is generated based on the two-dimensional coordinate system and the plurality of sample points.
[0130] It should be noted that the above-mentioned sequence of the embodiments of the present application is only for description and does not represent the advantages and disadvantages of the embodiments. And the above-mentioned specific embodiments of this specification are described. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0131] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
[0132] This specification and drawings are merely exemplary illustrations of the present application and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, a person skilled in the art may make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present application and its equivalents, the present application intends to include these modifications and variations.
Claims
1. A MDS microscopic digital imaging processing method, characterized in that: The method is applied to a digital imaging processing platform, the digital imaging processing platform is communicatively connected with an MDS microscope, and the method comprises: Collect basic features of the target slide placed on the MDS microscope stage to obtain the target observation object features and target observation environment features; Acquiring the adjustment parameter space of the MDS microscope, and configuring the adjustment parameters of the MDS microscope in combination with the target observation object characteristics and the target observation environment characteristics to generate initial adjustment parameters; The MDS microscope is configured using the initial adjustment parameters, and the configured MDS microscope is used to perform an initial whole-slide image acquisition task for the target glass slide to generate an initial whole-slide image; Calling the structure identifier in the digital imaging processing platform to perform edge recognition of the observed object structure on the initial full slide image to generate a target structure edge distribution map; Adaptively optimizing the target structure edge distribution map to generate multiple substructure identification regions, and using a semantic identifier to identify the structure proportions of the target observation object in the multiple substructure identification regions to obtain multiple identification coefficients, wherein the multiple substructure identification regions correspond to the multiple identification coefficients one by one; Binary classification is performed on the multiple recognition coefficients according to preset recognition coefficient standard values, and the multiple substructure recognition regions are divided according to the binary classification results to obtain M focused substructure recognition regions and N non-focus substructure recognition regions; Taking the upper right corner of the target structure edge distribution map as the starting point, the M focused substructure identification regions and the N non-focused substructure identification regions are sequentially connected from right to left to generate a first imaging processing path and a second imaging processing path; According to the first imaging processing path, microscopic image acquisition is performed on the M substructure identification areas of interest according to a preset first acquisition accuracy to generate M substructure digital images of interest, and according to the second imaging processing path, microscopic image acquisition is performed on the N substructure identification areas of non-interest according to a preset second acquisition accuracy to generate N substructure digital images of non-interest, wherein the M substructure digital images of interest and the N substructure digital images of non-interest have M positioning marks of interest and N positioning marks of non-interest, respectively; Using a fusion processing identifier, the M substructure digital images of interest and the N substructure digital images of non-interest are fused according to the M location marks of interest and the N location marks of non-interest, to generate a full-slide digital image of the target slide; The method includes collecting the adjustment parameter space of the MDS microscope, configuring the adjustment parameters of the MDS microscope in combination with the target observation object characteristics and the target observation environment characteristics to generate initial adjustment parameters. Collecting the adjustment parameter space of the MDS microscope, wherein the adjustment parameter space includes a focal length adjustment range, a light source brightness adjustment range, a magnification adjustment range, and a focusing speed; Using the adjustment parameter space as an index, collecting a plurality of sample observation object features, a plurality of sample observation environment features, and a plurality of sample initial adjustment parameters; Constructing a parameter configurator based on the multiple sample observation object characteristics, the multiple sample observation environment characteristics and the multiple sample initial adjustment parameters, wherein the parameter configurator includes multiple sample points, and the multiple sample points are identified by using the multiple sample initial adjustment parameters; Input the target observation object characteristics and the target observation environment characteristics into the parameter configurator, and match the k sample points with the closest distance, where k is an integer greater than or equal to 3; The initial adjustment parameters are generated by performing weighted calculation based on the k sample initial adjustment parameters corresponding to the k sample points.
2. The method according to claim 1, characterized in that Adaptively optimizing and segmenting the target structure edge distribution map to generate multiple substructure identification regions, the method comprising: Calculating a target area of the target structure edge distribution map, and configuring a first segmentation step size according to the size of the target area; Performing grid division on the target structure edge distribution map according to the first segmentation step length to obtain a plurality of initial substructure grids, wherein the plurality of initial substructure grids have a plurality of initial position identifiers; Calling a semantic recognizer to perform structural proportion recognition of the target observation object on the multiple initial substructure grids respectively to obtain multiple initial recognition coefficients; Based on the multiple initial recognition coefficients, the multiple initial substructure grids are subjected to neighboring segmentation and edge fusion, and the initial substructure grids whose initial recognition coefficient differences satisfy a preset difference threshold are divided into the same substructure recognition region to generate the multiple substructure recognition regions.
3. The method according to claim 2, characterized in that The method comprises: Randomly extract Q initial substructure grids from the multiple initial substructure grids, match adjacent initial substructure grids according to the corresponding Q initial position identifiers, and add them into the Q adjacent initial substructure grid sets respectively; Based on the multiple initial recognition coefficients, the differences between the initial recognition coefficients of the Q initial substructure grids and the Q sets of adjacent initial substructure grids are calculated respectively to obtain Q sets of initial recognition coefficient difference values.
4. The method according to claim 3, characterized in that The method comprises: Determine whether the Q initial recognition coefficient difference sets meet a preset difference threshold, and if so, fuse the corresponding adjacent initial substructure grids with the Q initial substructure grids to obtain Q fused substructure grids; The Q fused substructure grids are respectively used as Q substructure identification regions; The Q fused substructure grids are removed from the multiple initial substructure grids, and the remaining multiple initial substructure grids are subjected to adjacent segmentation edge fusion, and the fusion result is aggregated with the Q substructure identification regions to generate the multiple substructure identification regions.
5. The method according to claim 1, characterized in that The method comprises: performing fusion processing on the M substructure digital images of interest and the N substructure digital images of non-interest according to the M location marks of interest and the N location marks of non-interest by using a fusion processing identifier to generate a full-slide digital image of the target slide. The method comprises: Collecting a plurality of sample whole-slide digital images, randomly segmenting the plurality of sample whole-slide digital images, and positioning and marking the segmentation results to generate a plurality of sample positioning mark sets and a plurality of sample substructure digital image sets; Using the plurality of sample whole slide digital images, the plurality of sample location marks and the plurality of sample substructure digital image sets as training data; An encoder and a decoder are constructed, and supervised training is performed on the encoder and the decoder using the training data. When the training reaches convergence, the trained fusion processing identifier is obtained.
6. The method according to claim 1, characterized in that The method comprises: Taking the observed object characteristics as the first-dimensional coordinate axis and the observed environment characteristics as the second-dimensional coordinate axis, a two-dimensional coordinate system of the parameter configurator is constructed; Inputting the plurality of sample observation object features and the plurality of sample observation environment features into the two-dimensional coordinate system to generate a plurality of sample points, and marking the plurality of sample points using the plurality of sample initial adjustment parameters; The parameter configurator is generated based on the two-dimensional coordinate system and the plurality of sample points.
7. An MDS microscopic digital imaging processing system, characterized in that: The system is used to implement the steps of the method according to any one of claims 1 to 6, and the system comprises: The environmental feature acquisition module is used to collect basic features of the target slide placed on the MDS microscope stage to obtain the target observation object features and target observation environment features; An initial adjustment parameter generation module is used to collect the adjustment parameter space of the MDS microscope, and configure the adjustment parameters of the MDS microscope in combination with the target observation object characteristics and the target observation environment characteristics to generate initial adjustment parameters; An initial whole-slide image generation module, configured to configure the MDS microscope using the initial adjustment parameters, and to perform an initial whole-slide image acquisition task for the target slide using the configured MDS microscope to generate an initial whole-slide image; An edge distribution map generating module is used to call the structure identifier in the digital imaging processing platform to perform edge recognition of the observed object structure on the initial full slide image to generate an edge distribution map of the target structure; A recognition coefficient acquisition module is used to perform adaptive optimization segmentation on the target structure edge distribution map to generate multiple substructure recognition areas, and use a semantic recognizer to perform structural proportion recognition of the target observation object on the multiple substructure recognition areas to obtain multiple recognition coefficients, wherein the multiple substructure recognition areas correspond to the multiple recognition coefficients one by one; A substructure identification region acquisition module, used to perform binary classification on the multiple identification coefficients according to preset identification coefficient standard values, and divide the multiple substructure identification regions according to the binary classification results to obtain M focused substructure identification regions and N non-focus substructure identification regions; An imaging processing path generation module is used to connect the M substructure identification regions of interest and the N substructure identification regions of non-interest in sequence from right to left, starting from the upper right corner of the target structure edge distribution map, to generate a first imaging processing path and a second imaging processing path; a digital image generation module, configured to perform microscopic image acquisition on the M substructure identification regions of interest according to the first imaging processing path and a preset first acquisition accuracy to generate M substructure digital images of interest, and perform microscopic image acquisition on the N substructure identification regions of non-interest according to the second imaging processing path and a preset second acquisition accuracy to generate N substructure digital images of non-substructure of interest, wherein the M substructure digital images of interest and the N substructure digital images of non-substructure of interest have M location identifiers of interest and N location identifiers of non-substructure of interest, respectively; The whole slide digital image generation module is used to use a fusion processing identifier to fuse the M focus substructure digital images and the N non-focus substructure digital images according to the M focus positioning marks and the N non-focus positioning marks, so as to generate a whole slide digital image of the target slide.
