Bad image recognition method and system under organ-like model based on machine recognition

Through the organoid model based on machine recognition, image segmentation and Fourier transform combined with CNN feature extraction are used to realize automatic monitoring of the growth posture of organoids, solving the problem of lack of automated monitoring in the existing technology and improving experimental efficiency and data. accuracy, reducing resource waste and costs.

CN118692083APending Publication Date: 2024-09-24ZHEJIANG PROVINCIAL PEOPLES HOSPITAL +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410892925.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

The existing organoid culture process lacks automated monitoring, resulting in manual observation that is not objective enough and cannot record the growth process in real time, resulting in a waste of resources and limited analysis data.

Method used

Using an organoid model based on machine recognition, a double U-shaped network model is constructed through image segmentation, Fourier transform and CNN feature extraction, and combined with time domain and frequency domain features, to achieve automatic monitoring of organoid growth posture and detection of poor status. Identify in time.

Benefits of technology

It improves experimental efficiency, reduces manual processing time, reduces costs, provides more objective and accurate data support, reduces resource waste, and improves the generalization performance of the model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118692083A
    Figure CN118692083A
Patent Text Reader

Abstract

The invention discloses a bad image recognition method and system under an organ-like model based on machine recognition, and the method comprises the steps: obtaining an organ-like image, segmenting the organ-like image, so as to obtain at least one segmented region, and enabling the segmented region to at least comprise one physiological structure; the segmented area is matched with a mother image in an image library to form image pairs, Fourier transform is carried out on the image pairs, the two image pairs form an image group, and the two image pairs are an original image pair and an image pair after Fourier transform respectively; inputting the image group into a CNN feature extractor to obtain features, constructing a training model, and calculating a feature space distance between two image pairs in the image group; judging whether the segmented region is matched with the parent image or not according to the feature space distance, and if the feature space distance is greater than a preset value, determining that the segmented region is a bad image; through automatic image processing and analysis, the monitoring efficiency of the organoid culture process can be greatly improved, the time cost for manually processing image data is reduced, and the experiment process is accelerated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image recognition technology, and in particular to a method and system for identifying adverse images in an organoid model based on machine recognition. Background Art

[0002] Organoid culture is currently a very popular in vitro three-dimensional culture technology. It uses stem cells or clinical samples as the source, undergoes in vitro culture and directed differentiation, and self-assembles into cell groups with organ-like structures. Compared with traditional 2D cell models and PDX models, it has the advantages of high fitting, short culture cycle, stable passage, and easy automation. In recent years, it has been widely used in translational medicine research and drug screening. Organoids have become a hot topic in scientific research. During the cultivation process of organoids, it is necessary to observe the cultivation process and obtain data for analysis. The existing organoid evaluation and analysis system is generally based on manual observation or endpoint method. The manual observation method is not objective enough and may affect the final analysis results. At the same time, manual observation also brings more work content to researchers and increases the difficulty of work. Although the endpoint method avoids human interference, it cannot record the process and can only detect the final result. It is impossible to record the state of organoids at each stage in real time. The final analysis data presented is limited for subsequent research. Moreover, it is impossible to observe whether the organoids in the growth cycle have characteristics such as mutations and poor growth and development, and it is impossible to stop the cultivation in time, resulting in a waste of resources. For this reason, the present invention proposes a method and system for identifying bad images under an organoid model based on machine recognition, and monitors the growth posture of the organoids during the cultivation process by intelligent means, and promptly discovers its bad state to achieve the purpose of timely terminating the cultivation. Summary of the invention

[0003] In view of this, the embodiments of the present invention hope to provide a method and system for identifying bad images in an organoid model based on machine recognition, so as to solve or alleviate the technical problems existing in the prior art, and at least provide a beneficial option;

[0004] The technical solution of the embodiment of the present invention is implemented as follows: In the first aspect, a method for identifying adverse images in an organoid model based on machine recognition is proposed, comprising the following steps:

[0005] S1: preprocessing: acquiring an organoid image and segmenting the organoid image to obtain at least one segmented region, wherein the segmented region includes at least one physiological structure;

[0006] S2: construct training data: match the segmented area with the mother image in the image library to form an image pair, perform Fourier transform on the image pair, and form an image group with two image pairs, wherein the two image pairs are the original image pair and the image pair after Fourier transform;

[0007] S3: inputting the image group into a CNN feature extractor to obtain features, constructing a training model and calculating the feature space distance between two image pairs in the image group;

[0008] S4: judging whether the segmented region matches the mother image according to the feature space distance; if the feature space distance is greater than a preset value, the segmented region is a bad image.

[0009] Furthermore, the method for identifying adverse images in an organoid model based on machine recognition, wherein the step of acquiring an organoid image and segmenting the organoid image to obtain at least one segmented region, wherein the segmented region includes at least one physiological structure, comprises:

[0010] S11: constructing a cell structure differentiation model, wherein the cell differentiation model adopts a double U-shaped network structure, including a first U-shaped network and a second U-shaped network;

[0011] S12: Acquire the RGB image and the HSV image of the segmented area respectively;

[0012] S13: inputting the RGB image into the first U-type network, and inputting the HSV image into the second U-type network;

[0013] S14: Calculate the difference of the histogram statistics in the RGB color space and the histogram statistics in the HSV color space, fuse the two, and make a judgment based on the fusion result to obtain a segmented area including at least one physiological structure.

[0014] Furthermore, the method for identifying adverse images in the organoid model based on machine recognition includes, in the cell structure differentiation model:

[0015] If the segmented region includes at least one physiological structure, updating parameters of the cell structure differentiation model;

[0016] Let the initial model parameters α and learning rate ν be:

[0017] Calculate the objective function E and the gradient of the objective function E to the network parameter P

[0018] Among them, D i is the judgment difference of the i-th segmented area, T is the function for calculating the gray value of the image, λ is the regularization parameter, R i (I,P) and G i (I, P) are the RGB image and HSV image of the segmented area respectively; by formula Update the network parameter P, repeat the update to minimize E, and obtain the network parameter P.

[0019] Furthermore, the method for identifying adverse images in the organoid model based on machine recognition, step S2 comprises:

[0020] The image library includes images of normally developed organoids at various growth stages, and the parent image is an image of the organoid image at a corresponding growth stage.

[0021] Furthermore, in the method for identifying adverse images in the organoid model based on machine recognition, the Fourier transform includes: assuming that the input image size is M*N, the image is expressed as a function F(x, y), which is transformed into:

[0022]

[0023] Where u takes values ​​between [0, M-1], v takes values ​​between [0, N-1], and e -j2π(ux / M+vy / N) Fourier transform constant; given F(u,v), F(x,y) can be derived by reverse derivation:

[0024]

[0025] Where x takes values ​​between [0, M-1] and y takes values ​​between [0, N-1]; u and v are frequency domain variables, and x and y are spatial or image variables.

[0026] Furthermore, in the method for identifying adverse images in the organoid model based on machine recognition, after the image is transformed by Fourier, the information expressed only includes the frequency domain, amplitude and direction. The frequency domain is F(u,v) with real and imaginary parts, and the amplitude can be obtained as:

[0027]

[0028] Where R(u,v) is the real part of F(u,v) and I(u,v) is the imaginary part of F(u,v).

[0029] Furthermore, the method for identifying adverse images in the organoid model based on machine recognition, the step of inputting the image group into a CNN feature extractor to obtain features, constructing a training model and calculating the feature space distance of two image pairs in the image group includes:

[0030] In the time domain image pair, the feature space distance of the time domain information is extracted. Let the feature space distance of the time domain image of the segmented area be L1, and the feature space distance of the time domain image of the mother image be L2, then the difference between the two is |L1-L2|;

[0031] In the frequency domain image pair, the feature space distance of the frequency domain information is extracted:

[0032]

[0033] Assume that the feature space distance of the frequency domain image of the segmented area is L3, and the feature space distance of the frequency domain image of the mother image is L4, then the difference between the two is |L3-L4|.

[0034] Furthermore, the method for identifying bad images in the organoid model based on machine recognition, the step of judging whether the segmented area matches the mother image according to the feature space distance, and if the feature space distance is greater than a preset value, the step of judging whether the segmented area is a bad image includes:

[0035] The activation function determines whether the feature space distance is greater than a preset value. In the activation function, the weight ratio of the feature space distance of the time domain information and the feature space distance of the frequency domain information is shared:

[0036]

[0037] α is the model parameter, w 1 and w 2 are the weight ratios of the time domain information feature space distance and the frequency domain information feature space distance, respectively.

[0038] In another aspect, a system for identifying bad images in an organoid model based on machine recognition is applied to any one of the methods for identifying bad images in an organoid model based on machine recognition, and the recognition system comprises:

[0039] A segmentation module: acquiring an organoid image and segmenting the organoid image to obtain at least one segmented region, wherein the segmented region includes at least one physiological structure;

[0040] Matching module: Match the segmented area with the mother image in the image library to form an image pair, perform Fourier transform on the image pair, and form an image group with two image pairs, wherein the two image pairs are the original image pair and the image pair after Fourier transform;

[0041] Extraction module: input the image group into the CNN feature extractor to obtain features, build a training model and calculate the feature space distance between two image pairs in the image group;

[0042] Judgment module: judge whether the segmented area matches the mother image according to the feature space distance; if the feature space distance is greater than a preset value, the segmented area is a bad image.

[0043] Furthermore, in the adverse image recognition system based on machine recognition in the organoid model, the segmentation module also includes:

[0044] Construction unit: constructing a cell structure differentiation model, wherein the cell differentiation model adopts a double U-shaped network structure, including a first U-shaped network and a second U-shaped network;

[0045] An acquisition unit: respectively acquires an RGB image and an HSV image of the segmented area;

[0046] Input unit: input the RGB image into the first U-type network, and the HSV image into the second U-type network;

[0047] Calculation unit: calculate the difference of histogram statistics in RGB color space and the difference of histogram statistics in HSV color space;

[0048] Fusion unit: fuse the two, make a judgment based on the fusion result, and obtain a segmented area including at least one physiological structure.

[0049] Compared with the prior art, the present invention has the following beneficial effects:

[0050] Improve experimental efficiency: Through automated image processing and analysis, this method can greatly improve the monitoring efficiency of the organoid culture process, reduce the time cost of manual processing of image data, and speed up the experimental process;

[0051] Cost saving: timely detection of bad images and termination of cultivation avoids misjudgment and wrong decision of bad growth status, reduces experimental costs and waste of resources. At the same time, combining frequency domain and time domain features can improve the generalization performance of the model because they can provide information at different levels, making it easier for the model to adapt to data outside the training samples, thus achieving better performance in judging bad images.

[0052] Increase data accuracy: Combining machine learning and image processing technology, this method can provide more objective, accurate and reliable data support, help to deeply analyze the growth status of organoids, and provide a high-quality data foundation for further research. In the segmentation process, the use of a double U-shaped network structure can more accurately extract subtle features in the image, including color, morphology, texture and other information, which can help the model better distinguish cell structures and improve segmentation accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0054] Figure 1It is a schematic flow chart of the method for identifying adverse images in an organoid model based on machine recognition of the present invention;

[0055] Figure 2 Schematic diagram of the process of step S1 in the method for identifying bad images in an organoid model based on machine recognition of the present invention;

[0056] Figure 3 A schematic diagram of a training model in the method for identifying adverse images in an organoid model based on machine recognition according to the present invention;

[0057] Figure 4 It is a schematic diagram of the adverse image recognition system in the organoid model based on machine recognition of the present invention. DETAILED DESCRIPTION

[0058] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below;

[0059] In the prior art, the existing organoid evaluation and analysis system is generally based on manual observation or endpoint method. Manual observation method is not objective enough and may affect the final analysis results. At the same time, manual observation also brings more work content to researchers and increases the difficulty of work. Although the endpoint method avoids human interference, it cannot record the process and can only detect the final result. It cannot record the state of organoids at each stage in real time. The final analysis data presented is limited for subsequent research. In order to change this situation, we propose the following solution;

[0060] In some specific embodiments of this application, please refer to Figure 1 :

[0061] In one embodiment, a method for identifying adverse images in an organoid model based on machine recognition is proposed, comprising the following steps:

[0062] S1: Preprocessing: Acquire an organoid image and segment the organoid image to obtain at least one segmented region, wherein the segmented region includes at least one physiological structure. The segmented region refers to dividing the entire image into small regions, wherein at least one physiological structure is included in the regions, such as a cell nucleus or other structure that can realize organoid-related functions;

[0063] S2: Construct training data: match the segmented area with the mother image in the image library and form an image pair, perform Fourier transform on the image pair, and the two image pairs form an image group. The two image pairs are respectively an original image pair and an image pair after Fourier transform. Here, the original image pair includes an image of the segmented area and a mother image corresponding to the segmented area, and the image pair formed by the Fourier transform of the two forms an image group. The image group includes: the segmented area image, the mother image corresponding to the segmented area, the Fourier transform image of the segmented area, and the Fourier transform image of the mother image corresponding to the segmented area. These four form an image group, and compare the corresponding information obtained in the two types of images to obtain the difference between the segmented image and the mother image;

[0064] S3: Input the image group into a CNN feature extractor to obtain features, build a training model and calculate the feature space distance between two image pairs in the image group, extract time domain features from the segmented region image and the mother image corresponding to the segmented region for comparison, extract frequency domain features from the Fourier transform image of the segmented region and the Fourier transform image of the mother image corresponding to the segmented region for comparison, and obtain the feature space distance between the two in the time domain and the frequency domain;

[0065] S4: judging whether the segmented area matches the mother image according to the feature space distance; if the feature space distance is greater than a preset value, the segmented area is a bad image, and judging it as a bad image means further processing should be performed on it, such as poor growth: terminating the cultivation.

[0066] In this embodiment, the frequency domain and time domain represent the characteristics of the image in different fields. The time domain represents the spatial distribution and grayscale change of the image, while the frequency domain represents the frequency components and texture information in the image; using these two representations at the same time can more comprehensively reflect the characteristics of the image, making the judgment of bad images more accurate; in addition, the time domain and frequency domain features each have their own advantages, and the comprehensive use of the two can improve the algorithm's resistance to interference such as noise and image transformation. When one feature is interfered with, the other feature may still be able to provide useful information, thereby improving the robustness of the judgment.

[0067] In the embodiment of the present invention, before judging the organoid image, the growth process of a large number of normal organoids is recorded to form a corresponding standard image library of the organoid to prevent the problem of inaccurate parent images. Similarly, it should be understood that the segmented area of ​​the present invention is only a certain point for judging the growth and development state of an organoid, and there are different physiological structures on the organoid. In the process of monitoring the growth and development state of an organoid, it is necessary to make a corresponding judgment on each physiological structure that needs to realize functional characteristics;

[0068] In one embodiment of the present invention, the step of acquiring an organoid image and segmenting the organoid image to obtain at least one segmented region, wherein the segmented region includes at least one physiological structure, comprises:

[0069] S11: constructing a cell structure differentiation model, wherein the cell differentiation model adopts a double U-shaped network structure, including a first U-shaped network and a second U-shaped network;

[0070] S12: Acquire the RGB image and the HSV image of the segmented area respectively;

[0071] S13: inputting the RGB image into the first U-type network, and inputting the HSV image into the second U-type network;

[0072] S14: Calculate the difference of the histogram statistics in the RGB color space and the histogram statistics in the HSV color space, fuse the two, and make a judgment based on the fusion result to obtain a segmented area including at least one physiological structure.

[0073] The histogram statistics value difference in the RGB color space is specifically: RGB color space is a method of representing color as a linear combination of red, green, and blue channels. In the RGB color space, the color of each pixel can be represented as a triplet (R, G, B), where R, G, and B represent the color components of the red, green, and blue channels, respectively, with a value range of 0 to 255. The RGB value of each pixel in the segmented area is counted, and the RGB value of each pixel is mapped to a 256*256*256 cube space to obtain the color histogram of the segmented area in the RGB color space.

[0074] In this embodiment, the cell structure differentiation model of this embodiment adopts a dual U-type network structure. The first U-type network is used to predict the boundary of the physiological structure, and the second U-type network is used to predict the regional part of the physiological structure. The modules of the two U-type networks at each scale are densely connected convolution modules, and each densely connected convolution module is composed of 32, 64, 96, and 128 feature maps connected, that is, each connection will add 32 convolution kernels, and finally the 128 feature maps will be reduced to 32 feature maps through 1*1 convolution, and input into the convolution operation of the next scale of the U-type network. Before the feature map is input into the convolution operation of the next scale, a convolution or deconvolution operation with a step size of 2 is performed to make the size of the feature map meet the requirements of the convolution operation in the next stage. Each U-shaped network has a jump connection in the downsampling stage and upsampling stage of the same scale. At the same time, an information fusion module is set between the two U-shaped networks, which fuses the features of the two U-shaped networks at adjacent scales. The double U-shaped network structure can more accurately extract subtle features in the image, including information such as color, morphology and texture, which can help the model better distinguish cell structures and improve segmentation accuracy. By acquiring RGB images and HSV images separately and inputting them into different networks for analysis, color information and color space characteristics can be more comprehensively used to distinguish cell structures. This comprehensive use of information from different color spaces helps to improve the robustness and accuracy of the model.

[0075] Furthermore, the cell structure differentiation model includes:

[0076] If the segmented region includes at least one physiological structure, updating parameters of the cell structure differentiation model;

[0077] Let the initial model parameters α and learning rate ν be:

[0078] Calculate the objective function E and the gradient of the objective function E to the network parameter P

[0079] Among them, D i is the judgment difference of the i-th segmented area, T is the function for calculating the gray value of the image, λ is the regularization parameter, R i (I,P) and G i (I, P) are the RGB image and HSV image of the segmented area respectively; by formula Update the network parameter P, repeat the update to minimize E, and obtain the network parameter P.

[0080] In this embodiment, by repeatedly updating the network parameter P to minimize the objective function E, a suitable parameter P can be found to minimize the difference between the registered physiological structure and the segmented area, which helps to improve the accuracy of segmentation and thus reduce errors in subsequent analysis processes. When updating the network parameter P by using the gradient descent method, the parameters can be adaptively adjusted according to the characteristics and differences of the image data, making the registration process more accurate and stable, and fully considering the differences between different physiological structures, thereby improving the accuracy of the registration results.

[0081] In one embodiment, step S2 includes:

[0082] The image library includes images of normally developed organoids at various growth stages, and the parent image is an image of the organoid image at a corresponding growth stage.

[0083] In one embodiment, the Fourier transform includes: assuming that the input image size is M*N, the image is expressed as a function F(x, y), which is transformed into:

[0084]

[0085] Where u takes values ​​between [0, M-1], v takes values ​​between [0, N-1], and e -j2π(ux / M+vy / N) Fourier transform constant; given F(u,v), F(x,y) can be derived by reverse derivation:

[0086]

[0087] Where x takes values ​​between [0, M-1] and y takes values ​​between [0, N-1]; u and v are frequency domain variables, and x and y are spatial or image variables.

[0088] Furthermore, after the image is transformed by Fourier, the information expressed only includes the frequency domain, amplitude and direction. The frequency domain is F(u,v) with real and imaginary parts, and the amplitude can be obtained as:

[0089]

[0090] Where R(u,v) is the real part of F(u,v) and I(u,v) is the imaginary part of F(u,v).

[0091] In the time domain image pair, the feature space distance of the time domain information is extracted. Let the feature space distance of the time domain image of the segmented area be L1, and the feature space distance of the time domain image of the mother image be L2, then the difference between the two is |L1-L2|;

[0092] In the frequency domain image pair, the feature space distance of the frequency domain information is extracted:

[0093]

[0094] Assume that the feature space distance of the frequency domain image of the segmented area is L3, and the feature space distance of the frequency domain image of the mother image is L4, then the difference between the two is |L3-L4|.

[0095] The activation function determines whether the feature space distance is greater than a preset value. In the activation function, the weight ratio of the feature space distance of the time domain information and the feature space distance of the frequency domain information is shared:

[0096]

[0097] α is the model parameter, w 1 and w 2 are the weight ratios of the time domain information feature space distance and the frequency domain information feature space distance, respectively.

[0098] In this embodiment, the image is converted from the time domain to the frequency domain through Fourier transform, so that components of different frequencies in the image can be analyzed, allowing periodic or repetitive patterns to be captured in the image, such as texture, edge and other features, which may not be easy to analyze and understand in the time domain; at the same time, the Fourier transform can compress the image, because the Fourier transform based on the frequency domain can better represent the information in the image, especially in the case of many repetitive patterns, this representation can provide a more compact representation and is more efficient for storage and transmission; filtering operations are performed in the frequency domain, and frequency domain filtering of the image can better handle noise, smooth the image or enhance information of a specific frequency; because in the image after Fourier transform, the data used to express information in the image only have frequency domain values ​​and amplitude values, the frequency domain values ​​are used to represent the distance to the center, and the amplitude values ​​represent its grayscale value. The amplitude value at the center is approximately the mean value, and in the direction according to the properties of the Fourier transform, its It can be translated, scaled or rotated without changing its properties. For the feature space distance of the initial image corresponding to the image of the frequency domain distribution image, in the process of feature extraction, the image features are extracted through the convolution layer and the pooling layer, and the convolution kernel parameters are confirmed through back propagation and converted into feature vectors for calculation. The extraction of time domain information can be collected using existing technologies. In this embodiment, the time domain feature space distance in the segmented area image is represented as L1, and its corresponding time domain feature space distance of the mother image is represented as L2. The feature space distance of the frequency domain image of the segmented area is L3, and the feature space distance of the frequency domain image of the mother image is L4. The difference between the two values ​​|L1-L2 and |L3-L4| is used to calculate the final feature space distance according to the different weights in the activation function, and compared with the preset value to determine whether the segmented area matches the mother image. If so, it means that the growth and development of the organoid is normal. Otherwise, there is a problem in the growth and development of the organoid.

[0099] In another aspect, a system for identifying bad images in an organoid model based on machine recognition is applied to any one of the methods for identifying bad images in an organoid model based on machine recognition, and the recognition system comprises:

[0100] A segmentation module: acquiring an organoid image and segmenting the organoid image to obtain at least one segmented region, wherein the segmented region includes at least one physiological structure;

[0101] Matching module: Match the segmented area with the mother image in the image library to form an image pair, perform Fourier transform on the image pair, and form an image group with two image pairs, wherein the two image pairs are the original image pair and the image pair after Fourier transform;

[0102] Extraction module: input the image group into the CNN feature extractor to obtain features, build a training model and calculate the feature space distance between two image pairs in the image group;

[0103] Judgment module: judge whether the segmented area matches the mother image according to the feature space distance; if the feature space distance is greater than a preset value, the segmented area is a bad image.

[0104] Furthermore, the segmentation module also includes:

[0105] Construction unit: constructing a cell structure differentiation model, wherein the cell differentiation model adopts a double U-shaped network structure, including a first U-shaped network and a second U-shaped network;

[0106] An acquisition unit: respectively acquires an RGB image and an HSV image of the segmented area;

[0107] Input unit: input the RGB image into the first U-type network, and the HSV image into the second U-type network;

[0108] Calculation unit: calculate the difference of histogram statistics in RGB color space and the difference of histogram statistics in HSV color space;

[0109] Fusion unit: fuse the two, make a judgment based on the fusion result, and obtain a segmented area including at least one physiological structure.

[0110] The above-mentioned embodiments only express the implementation methods of the relevant practical applications of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A method for identifying adverse images in an organoid model based on machine recognition, characterized in that: The steps include: S1: preprocessing: acquiring an organoid image and segmenting the organoid image to obtain at least one segmented region, wherein the segmented region includes at least one physiological structure; S2: construct training data: match the segmented area with the mother image in the image library to form an image pair, perform Fourier transform on the image pair, and form an image group with two image pairs, wherein the two image pairs are the original image pair and the image pair after Fourier transform; S3: inputting the image group into a CNN feature extractor to obtain features, constructing a training model and calculating the feature space distance between two image pairs in the image group; S4: judging whether the segmented region matches the mother image according to the feature space distance; if the feature space distance is greater than a preset value, the segmented region is a bad image.

2. The method for identifying adverse images in an organoid model based on machine recognition according to claim 1, characterized in that: The step of acquiring an organoid image and segmenting the organoid image to obtain at least one segmented region, wherein the segmented region includes at least one physiological structure, comprises: S11: constructing a cell structure differentiation model, wherein the cell differentiation model adopts a double U-shaped network structure, including a first U-shaped network and a second U-shaped network; S12: Acquire the RGB image and the HSV image of the segmented area respectively; S13: inputting the RGB image into the first U-type network, and inputting the HSV image into the second U-type network; S14: Calculate the difference of the histogram statistics in the RGB color space and the histogram statistics in the HSV color space, fuse the two, and make a judgment based on the fusion result to obtain a segmented area including at least one physiological structure.

3. The method for identifying adverse images in an organoid model based on machine recognition according to claim 2, characterized in that: Included in the cell structure differentiation model are: If the segmented region includes at least one physiological structure, updating parameters of the cell structure differentiation model; Let the initial model parameters α and learning rate ν be: Calculate the objective function E and the gradient of the objective function E to the network parameter P Among them, D i is the judgment difference of the i-th segmented area, T is the function for calculating the gray value of the image, λ is the regularization parameter, R i (I,P) and G i (I, P) are the RGB image and HSV image of the segmented area respectively; by formula Update the network parameter P, repeat the update to minimize E, and obtain the network parameter P.

4. The method for identifying adverse images in an organoid model based on machine recognition according to claim 1, characterized in that: The step S2 includes: The image library includes images of normally developed organoids at various growth stages, and the parent image is an image of the organoid image at a corresponding growth stage.

5. The method for identifying adverse images in an organoid model based on machine recognition according to claim 4, characterized in that: The Fourier transform includes: assuming that the input image size is M*N, the image is expressed as a function F(x, y), which is transformed into: Where u takes values ​​between [0, M-1], v takes values ​​between [0, N-1], and e -j2π (ux / M+vy / N) Fourier transform constant; given F(u,v), F(x,y) can be derived by reverse derivation: Where x takes values ​​between [0, M-1] and y takes values ​​between [0, N-1]; u and v are frequency domain variables, and x and y are spatial or image variables.

6. The method for identifying adverse images in an organoid model based on machine recognition according to claim 5, characterized in that: After the image is transformed by Fourier, the information expressed only includes frequency domain, amplitude and direction. The frequency domain is F(u,v) with real and imaginary parts, and the amplitude can be obtained as: Where R(u,v) is the real part of F(u,v) and I(u,v) is the imaginary part of F(u,v).

7. The method for identifying adverse images in an organoid model based on machine recognition according to claim 6, characterized in that: The step of inputting the image group into a CNN feature extractor to obtain features, constructing a training model and calculating the feature space distance of two image pairs in the image group includes: In the time domain image pair, the feature space distance of the time domain information is extracted. Let the feature space distance of the time domain image of the segmented area be L1, and the feature space distance of the time domain image of the mother image be L2, then the difference between the two is |L1-L2|; In the frequency domain image pair, the feature space distance of the frequency domain information is extracted: Assume that the feature space distance of the frequency domain image of the segmented area is L3, and the feature space distance of the frequency domain image of the mother image is L4, then the difference between the two is |L3-L4|.

8. The method for identifying adverse images in an organoid model based on machine recognition according to claim 7, characterized in that: The step of judging whether the segmented region matches the mother image according to the feature space distance, and judging that the segmented region is a bad image if the feature space distance is greater than a preset value, comprises: The activation function determines whether the feature space distance is greater than a preset value. In the activation function, the weight ratio of the feature space distance of the time domain information and the feature space distance of the frequency domain information is shared: α is a model parameter, w1 and w2 are the weight ratios of the time domain information feature space distance and the frequency domain information feature space distance, respectively.

9. A system for identifying adverse images in an organoid model based on machine recognition, characterized in that: The method for identifying an adverse image in an organoid model based on machine recognition according to any one of claims 1 to 8, wherein the recognition system comprises: A segmentation module: acquiring an organoid image and segmenting the organoid image to obtain at least one segmented region, wherein the segmented region includes at least one physiological structure; Matching module: Match the segmented area with the mother image in the image library to form an image pair, perform Fourier transform on the image pair, and form an image group with two image pairs, wherein the two image pairs are the original image pair and the image pair after Fourier transform; Extraction module: input the image group into the CNN feature extractor to obtain features, build a training model and calculate the feature space distance between two image pairs in the image group; Judgment module: judge whether the segmented area matches the mother image according to the feature space distance; if the feature space distance is greater than a preset value, the segmented area is a bad image.

10. The adverse image recognition system based on machine recognition in an organoid model according to claim 9, characterized in that: The segmentation module also includes: Construction unit: constructing a cell structure differentiation model, wherein the cell differentiation model adopts a double U-shaped network structure, including a first U-shaped network and a second U-shaped network; An acquisition unit: respectively acquires an RGB image and an HSV image of the segmented area; Input unit: input the RGB image into the first U-type network, and the HSV image into the second U-type network; Calculation unit: calculate the difference of histogram statistics in RGB color space and the difference of histogram statistics in HSV color space; Fusion unit: fuse the two, make a judgment based on the fusion result, and obtain a segmented area including at least one physiological structure.