ResNet algorithm-based hippocampus japonicus growth state detection method
The head whiskers in hippocampal images were detected through the ResNet algorithm and the depth residual model, which solved the shortcomings of artificial random fishing in hippocampal aquaculture, achieved accurate judgment of hippocampal growth status, and improved breeding efficiency and hippocampal health protection.
Patent Information
- Application Number
- CN202411091397.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-11-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
During hippocampal breeding, artificial random fishing has problems such as small sample size, inability to completely randomize, and sudden temperature changes, resulting in a decline in hippocampal physical fitness, which makes it impossible to accurately determine whether the hippocampal weight has entered a stable period.
The growth state detection method of the bloated hippocampus based on the ResNet algorithm is used to obtain and preprocess the hippocampus images, and use the depth residual model to train and detect whether the head whiskers exist in the image, thereby judging the growth state of the hippocampus.
It realizes automated and precise identification of whether there is a head whisker in hippocampal images, reduces the influence of human factors, improves the accuracy of judgment and the robustness and generalization ability of the model, and ensures the objectivity and reliability of the detection.
Smart Images

Figure CN119048448A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of hippocampus bloatus image recognition, and in particular to a method for detecting the growth state of hippocampus bloatus based on a ResNet algorithm. Background Art
[0002] Seahorse is a commonly used precious animal Chinese medicinal material, which has the effects of warming the kidney and strengthening yang, dispersing nodules and reducing swelling. The bloated seahorse (Hippocampus abdominalis), also known as the big-bellied seahorse, has the characteristics of strong disease resistance and high survival rate of seedling cultivation, and is suitable for domestic promotion and breeding. According to multiple investigations, the costs required for commercial seahorse breeding are mainly concentrated in feeding and water quality replacement. In order to increase the economic value of seahorses per unit breeding area, it is necessary to determine the seahorse breeding cycle based on the growth law of seahorse weight, and then sell the seahorse after the weight of the seahorse tends to stabilize or enters a stable period. According to the survey, about 80% to 90% of the bloated seahorses will grow "head whiskers" on the crown of their heads before and after their weight growth enters a stable period. Therefore, in actual breeding, breeders will use simple random sampling to evaluate the growth and development of seahorses in the breeding pond and determine whether the weight growth of bloated seahorses tends to stabilize. However, manual operation will have the following problems:
[0003] (1) The number of samples in a single simple random sampling is small, and the number of random tests in the same time period every day is limited, which makes the total number of samples tested every day limited. According to statistical principles, it is impossible to accurately infer the overall characteristics using a small number of samples. In other words, it is impossible to accurately determine whether the seahorse population in the breeding pond has entered a stable weight period by artificial random fishing.
[0004] (2) In addition, it is impossible to achieve complete randomness in actual operations. The position and depth of the net during manual fishing do not conform to the principle of simple random sampling.
[0005] (3) During the artificial random detection process, when the seahorse changes from water temperature to room temperature, the sudden change in ambient temperature will cause the seahorse to breathe rapidly instantly. Repeated random detection over many days will cause the seahorse's physical fitness to decline. Therefore, it is impossible to use artificial random fishing to conduct real-time detection of the seahorse's weight growth in a long-term and frequent manner. Summary of the invention
[0006] In order to overcome the problems of small sample size, incomplete randomness and death of seahorses caused by sudden temperature changes in the current actual breeding process, a method for detecting the growth status of bloated seahorses based on the ResNet algorithm is proposed. The method includes:
[0007] Acquire a first training image and a second training image, wherein the first training image and the second training image include a first feature and a second feature, wherein the first feature is that there are beards on the crown of the head, and the second feature image is that there are no beards on the crown of the head;
[0008] Inputting the first training image and the second training image into a deep residual model for training to obtain a trained ResNet model;
[0009] The detection image is input into the trained ResNet model to detect the growth state and obtain the detection result.
[0010] Optionally, the process of acquiring the first training image and the second training image specifically includes:
[0011] An image of the hippocampus distended with abdominal distension is collected as an original image, and the original image is resized and data enhanced to obtain a preprocessed image, wherein the preprocessed image includes the first training image and the second training image.
[0012] Optionally, the training process of the image classification model specifically includes:
[0013] Inputting the first training image and the second training image into the first convolution stage of ResNet, changing the number of channels and the size of the first training image and the second training image, and obtaining a first processed image;
[0014] Inputting the first processed image into the second convolution stage for convolution, adding a skip connection during the convolution process to extract the basic features of the hippocampus bulging in the convolution image, and performing batch normalization and ReLU activation function processing on the image after the second convolution to obtain a second processed image;
[0015] Inputting the second processed image into the third convolution stage for convolution, extracting the detail features after the third convolution, and obtaining a third processed image;
[0016] S34. Inputting the third processed image into the fourth convolution stage for convolution, integrating basic features and detail features, and obtaining a fourth processed image;
[0017] Inputting the fourth processed image into the fifth convolution stage for convolution to extract semantic information to obtain a fifth processed image;
[0018] The fifth processed image is input and output from the global average pooling layer for pooling, so as to obtain the probability of having or not having hair whiskers on the crown of the head in the first training image and the second training image;
[0019] Optionally, inputting the first training image and the second training image into the first convolution stage of ResNet, changing the number of channels and the size of the first training image and the second training image, and obtaining the content of the first processed image specifically includes:
[0020] The first training image and the second training image are subjected to a convolution operation with a kernel size of 7×7, a step size of 2, a padding of 3, and an output channel number of 64, and the image size is changed from 3×224×224 to 64×112×112;
[0021] The image is passed into the maximum pooling layer for a maximum pooling operation with a kernel size of 3×3, a stride of 2, and a padding of 1, and a first processed image of size 64×56×56 is obtained.
[0022] Optionally, the first processed image is input into the second convolution stage for convolution, a skip connection is added during the convolution process to extract basic features of the distended hippocampus of the convolution image, and the image after the second convolution is processed by BatchNormalization and ReLU activation function, so that the content of the second processed image specifically includes:
[0023] Input the first processed image into two residual blocks, where each residual block has two convolutional layers, and the first processed image is sequentially subjected to four convolution operations with a kernel size of 3, a stride of 1, a padding of 1, and a kernel number of 64; the input and output sizes remain unchanged, both being 64×56×56;
[0024] Batch Normalization (BN) and ReLU activation function processing are performed after each convolution;
[0025] The two convolution blocks each have a skip connection operation, which directly adds the input of the residual block to the output of the residual block to obtain a second processed image, which contains basic features of the hippocampus distended image, such as edges, corners, colors and textures.
[0026] Optionally, inputting the second processed image into a third convolution stage for convolution, extracting detail features after the third convolution, and obtaining the content of the third processed image specifically includes:
[0027] The second processed image is input into two residual blocks, where each residual block has two convolutional layers, and the second processed image is sequentially subjected to four convolution operations:
[0028] The first convolution kernel size is 3, the stride is 2, the padding is 1, the number of kernels is 128, the input size is 64×56×56, and the output size is 128×28×28;
[0029] The kernel size of the subsequent three convolutions is 3, the stride is 1, the padding is 1, the number of kernels is 128, and the input and output sizes remain unchanged, both 128×28×28;
[0030] Batch Normalization and ReLU activation function processing are performed after each convolution; the two convolution blocks each have a skip connection operation, which directly adds the input of the residual block to the output of the residual block;
[0031] Since the input and output sizes of the first convolutional block are different, the skip connection of the first convolutional block performs a convolution with a kernel size of 1×1, a stride of 2, and a kernel number of 128 for downsampling, converting the input size of 64×56×56 into 128×28×28;
[0032] After convolution, a Batch Normalization operation is performed to extract complex detail features and obtain the third processed image.
[0033] Optionally, the third processed image is input into a fourth convolution stage for convolution, and basic features and detail features are integrated to obtain a fourth processed image, which specifically includes:
[0034] The third processed image is input into two residual blocks, wherein each residual block has two convolutional layers, and the third processed image is sequentially subjected to four convolution operations:
[0035] The first convolution kernel size is 3, the stride is 2, the padding is 1, the number of kernels is 256, the input size is 128×28×28, and the output size is 256×14×14;
[0036] The kernel size of the subsequent three convolutions is 3, the stride is 1, the padding is 1, the number of kernels is 256, and the input and output sizes remain unchanged, both 256×14×14;
[0037] Batch Normalization and ReLU activation function processing are performed after each convolution; the two convolution blocks each have a skip connection operation, which directly adds the input of the residual block to the output of the residual block;
[0038] The skip connection of the first convolutional block performs a convolution with a kernel size of 1×1, a stride of 2, and a kernel number of 256 for downsampling, converting the input size of 128×28×28 into 256×14×14;
[0039] After the convolution, a Batch Normalization operation is performed to fuse the basic features with the detail features to obtain the fourth processed image.
[0040] Optionally, inputting the fourth processed image into a fifth convolution stage for convolution to extract semantic information, and obtaining the content of the fifth processed image specifically includes:
[0041] The fourth processed image is input into two residual blocks, where each residual block has two convolutional layers, and the fourth processed image is sequentially subjected to four convolution operations:
[0042] The first convolution kernel size is 3, the stride is 2, the padding is 1, the number of kernels is 512, the input size is 256×14×14, and the output size is 512×7×7;
[0043] The kernel size of the subsequent three convolutions is 3, the stride is 1, the padding is 1, the number of kernels is 512, and the input and output sizes remain unchanged, both 512×7×7; Batch Normalization and ReLU activation function processing are performed after each convolution;
[0044] The two convolution blocks each have a skip connection operation, which adds the input of the residual block directly to the output of the residual block: the skip connection of the first convolution block performs a convolution with a kernel size of 1×1, a stride of 2, and a kernel number of 512 for downsampling, converting the input size of 256×14×14 into 512×7×7;
[0045] After the convolution, a Batch Normalization operation is performed to obtain the fifth processed image containing semantic features.
[0046] Compared with the prior art, the present invention has the following beneficial effects:
[0047] The present invention adopts the ResNet-18 model to classify the images of hippocampus inflatus. The model effectively solves the gradient vanishing problem in deep neural networks through residual block design. At the same time, in the image preprocessing link, the model has strong robustness and generalization ability through operations such as image scaling and data enhancement, thereby realizing the automatic and precise recognition of whether there are "head whiskers" in the hippocampus inflatus image; compared with manual detection, the deep learning model as the architecture can automatically learn the inherent laws of sample data, automatically extract features, eliminate the subjective influence of human factors on classification, and realize objective, rigorous and accurate classification; by evaluating the accuracy of the model obtained by each training, the optimal performance of the model is ensured, and the generalization ability of the model is evaluated using a test set to ensure the reliability and stability of the model in practical applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solution of the present invention, the following briefly introduces the drawings required for use in 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 paying creative labor.
[0049] Figure 1 This is a schematic diagram of the process of the hippocampal growth status detection method according to an embodiment of the present invention;
[0050] Figure 2 This is a diagram of the residual block structure of the ResNet network in an embodiment of the present invention;
[0051] Figure 3 This is a diagram of the ResNet-18 network structure used in the embodiments of the present invention. DETAILED DESCRIPTION
[0052] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0053] Embodiment 1
[0054] A method for detecting the growth status of hippocampus based on ResNet algorithm, such as Figure 1 As shown, the method includes:
[0055] A first training image and a second training image are acquired, wherein the first training image and the second training image include a first feature and a second feature, wherein the first feature is that there are beards on the crown of the head, and the second feature image is that there are no beards on the crown of the head.
[0056] The process of obtaining the first training image and the second training image specifically includes: photographing the bloated seahorse to be tested by an image acquisition device to obtain a high-definition original image, each photo contains only one bloated seahorse, and recording whether there are obvious whiskers on the crown of the seahorse in each photo. Use a high-definition camera to photograph the bloated seahorse at a resolution of 1920×1080, for a total of 600 JPEG format images. Ensure that each photo contains only one bloated seahorse. The number of images of seahorses with "whiskers" and seahorses without "whiskers" in the original image is the same, which is 50% of the total number of pictures taken. In this embodiment, the image of the seahorse with "whiskers" is the first training image; the image of the seahorse without "whiskers" is the second training image.
[0057] All original hippocampus images were scaled to a fixed size of 224×224 to ensure the consistency of the input image size. In order to simulate different shooting angles and enhance the diversity of the data, the original hippocampus image dataset was augmented by horizontally flipping the image, randomly rotating the image between [-15,15] degrees, and randomly scaling the image within the range of [0.8,1.2] using a data augmentation method, resulting in a dataset of 1800 RGB images.
[0058] The image dataset is divided into training set, validation set and test set in a ratio of 8:1:1, and put into folders named train, val and test respectively. In each folder, there are two subfolders named has_s pines and no_spines. In the three folders, the hippocampus with "head whiskers" is put into the has_spines folder, and the hippocampus without "head whiskers" is put into the no_spines folder, so as to complete the labeling of the hippocampus images. Finally, the image data is converted into PyTorch tensors so that it can be input into the model for training and evaluation.
[0059] The first training image and the second training image are input into a deep residual model for training to obtain a trained image classification model.
[0060] like Figure 3 As shown, the first training image and the second training image are input into the first convolution stage of ResNet, the number of channels and the size of the first training image and the second training image are changed to obtain a first processed image.
[0061] The first training image and the second training image are subjected to a convolution operation with a kernel size of 7×7, a step size of 2, a padding of 3, and an output channel number of 64, and the image size is changed from 3×224×224 to 64×112×112;
[0062] The image is passed into the maximum pooling layer for a maximum pooling operation with a kernel size of 3×3, a stride of 2, and a padding of 1, and a first processed image of size 64×56×56 is obtained.
[0063] The first processed image is input into the second convolution stage for convolution. During the convolution process, a jump connection is added to extract the basic features of the distended hippocampus of the convolution image. The image after the second convolution is processed by Batch Normalization and ReLU activation function to obtain a second processed image.
[0064] like Figure 2As shown, the first processed image is input into two residual blocks, wherein each residual block has two convolution layers, and the first processed image is sequentially subjected to four convolution operations with a kernel size of 3, a stride of 1, a padding of 1, and a kernel number of 64; the input and output sizes remain unchanged, both being 64×56×56;
[0065] Batch Normalization (BN) and ReLU activation function processing are performed after each convolution;
[0066] The two convolution blocks each have a skip connection operation, which directly adds the input of the residual block to the output of the residual block to obtain a second processed image, which contains basic features of the hippocampus distended image, such as edges, corners, colors and textures.
[0067] The second processed image is input into the third convolution stage for convolution, and the detail features after the third convolution are extracted to obtain a third processed image.
[0068] The second processed image is input into two residual blocks, where each residual block has two convolutional layers, and the second processed image is sequentially subjected to four convolution operations:
[0069] The first convolution kernel size is 3, the stride is 2, the padding is 1, the number of kernels is 128, the input size is 64×56×56, and the output size is 128×28×28;
[0070] The kernel size of the subsequent three convolutions is 3, the stride is 1, the padding is 1, the number of kernels is 128, and the input and output sizes remain unchanged, both 128×28×28;
[0071] Batch Normalization and ReLU activation function processing are performed after each convolution; the two convolution blocks each have a skip connection operation, which directly adds the input of the residual block to the output of the residual block;
[0072] Since the input and output sizes of the first convolutional block are different, the skip connection of the first convolutional block performs a convolution with a kernel size of 1×1, a stride of 2, and a kernel number of 128 for downsampling, converting the input size of 64×56×56 into 128×28×28;
[0073] After convolution, a batch normalization operation is performed. Complex detail features are extracted to obtain the third processed image. At this stage, more complex features of the bloated hippocampus image, such as texture and shape details, are extracted.
[0074] The third processed image is input into the fourth convolution stage for convolution, and basic features and detail features are integrated to obtain a fourth processed image.
[0075] The third processed image is input into two residual blocks, wherein each residual block has two convolutional layers, and the third processed image is sequentially subjected to four convolution operations:
[0076] The first convolution kernel size is 3, the stride is 2, the padding is 1, the number of kernels is 256, the input size is 128×28×28, and the output size is 256×14×14;
[0077] The kernel size of the subsequent three convolutions is 3, the stride is 1, the padding is 1, the number of kernels is 256, and the input and output sizes remain unchanged, both 256×14×14;
[0078] Batch Normalization and ReLU activation function processing are performed after each convolution; the two convolution blocks each have a skip connection operation, which directly adds the input of the residual block to the output of the residual block;
[0079] The skip connection of the first convolutional block performs a convolution with a kernel size of 1×1, a stride of 2, and a kernel number of 256 for downsampling, converting the input size of 128×28×28 into 256×14×14;
[0080] After convolution, a batch normalization operation is performed to fuse the basic features with the detail features to obtain the fourth processed image. At this stage, the features of the previous layers can be integrated to extract more complex image attributes.
[0081] The fourth processed image is input into the fifth convolution stage for convolution to extract semantic information, thereby obtaining a fifth processed image.
[0082] The fourth processed image is input into two residual blocks, where each residual block has two convolutional layers, and the fourth processed image is sequentially subjected to four convolution operations:
[0083] The first convolution kernel size is 3, the stride is 2, the padding is 1, the number of kernels is 512, the input size is 256×14×14, and the output size is 512×7×7;
[0084] The kernel size of the subsequent three convolutions is 3, the stride is 1, the padding is 1, the number of kernels is 512, and the input and output sizes remain unchanged, both 512×7×7; Batch Normalization and ReLU activation function processing are performed after each convolution;
[0085] The two convolution blocks each have a skip connection operation, which adds the input of the residual block directly to the output of the residual block: the skip connection of the first convolution block performs a convolution with a kernel size of 1×1, a stride of 2, and a kernel number of 512 for downsampling, converting the input size of 256×14×14 into 512×7×7;
[0086] After convolution, a batch normalization operation is performed to obtain the fifth processed image containing semantic features. At this stage, high-level semantic information can be captured, which is very important for understanding the overall scene.
[0087] The fifth processed image is input and output from the global average pooling layer for pooling, and the probabilities of having or not having hair beards on the crown of the head in the first training image and the second training image are obtained.
[0088] After the convolution stage, the global average pooling layer averagely pools the feature maps of each channel, and the output size is 512×1×1. Finally, the pooled feature map is flattened in the fully connected layer and input to the fully connected layer to give the output of the classification task. The output of the fully connected layer is converted into a probability distribution through the Softmax function to obtain the probability of the input hippocampus with or without "head whiskers" on the crown. The input image is judged whether it has head whiskers based on the probability of the input image having or not having head whiskers.
[0089] Input the hippocampus dataset into the ResNet model, set parameters, and train the model: Use the divided training set and validation set data to import the ResNet image classification model. Set the training parameters BatchSize to 16, Learn_rate to 0.0001, and epoch to 100. After each epoch, calculate the accuracy of the model through the validation set and save the model weight with the highest accuracy.
[0090] Input the bloated hippocampus images to be tested into the trained ResNet model for classification, obtain the classification results of each hippocampus, and calculate the accuracy of the classification results:
[0091]
[0092] Among them, TP means true positive, that is, the positive result is detected correctly, and the detection result of the hippocampus with long "whiskers" on the crown is correct; FP means false positive, that is, the positive result is detected incorrectly, that is, the hippocampus with long "whiskers" on the crown is judged as not having "whiskers"; TN means true negative, that is, the negative result is detected correctly, that is, the detection result of the hippocampus without "whiskers" on the crown is correct; FN means false negative, that is, the negative result is detected incorrectly: that is, the hippocampus without "whiskers" on the crown is judged as having long "whiskers".
[0093] The detection image is input into the trained ResNet model to detect the growth status and obtain the detection result. According to the classification result, the seahorse with head whiskers is determined to be an adult seahorse that can be sold. If the evaluation results of the classification model meet the requirements, it can be used for actual detection.
[0094] The model is compared with the manual detection results and the applicability of the model is evaluated based on the classification results. If the classification accuracy of the hippocampus is higher than 90% after classification, the model is considered to have good classification effect and can be used for actual detection; if the classification accuracy of the hippocampus is lower than 90%, the classification model is considered to be not robust enough and the parameters need to be readjusted to train the model.
[0095] The embodiments described above are only descriptions of the preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should all fall within the protection scope determined by the claims of the present invention.
Claims
1. A method for detecting the growth status of hippocampus bulging based on ResNet algorithm, characterized in that: The method comprises: Acquire a first training image and a second training image, wherein the first training image and the second training image include a first feature and a second feature, wherein the first feature is that there are beards on the crown of the head, and the second feature image is that there are no beards on the crown of the head; Inputting the first training image and the second training image into a deep residual model for training to obtain a trained ResNet model; The detection image is input into the trained ResNet model to detect the growth state and obtain the detection result.
2. The method for detecting the growth status of hippocampus distended based on ResNet algorithm according to claim 1, characterized in that: The process of acquiring the first training image and the second training image specifically includes: An image of the hippocampus distended with abdominal distension is collected as an original image, and the original image is resized and data enhanced to obtain a preprocessed image, wherein the preprocessed image includes the first training image and the second training image.
3. The method for detecting the growth status of hippocampus distended with a ResNet algorithm according to claim 1, characterized in that: The training process of the image classification model specifically includes: Inputting the first training image and the second training image into the first convolution stage of ResNet, changing the number of channels and the size of the first training image and the second training image, and obtaining a first processed image; Inputting the first processed image into the second convolution stage for convolution, adding a skip connection during the convolution process to extract the basic features of the hippocampus bulging in the convolution image, and performing batch normalization and ReLU activation function processing on the image after the second convolution to obtain a second processed image; Inputting the second processed image into the third convolution stage for convolution, extracting the detail features after the third convolution, and obtaining a third processed image; S34. Inputting the third processed image into the fourth convolution stage for convolution, integrating basic features and detail features, and obtaining a fourth processed image; Inputting the fourth processed image into the fifth convolution stage for convolution to extract semantic information to obtain a fifth processed image; The fifth processed image is input and output from the global average pooling layer for pooling, and the probabilities of having or not having hair beards on the crown of the head in the first training image and the second training image are obtained.
4. The method for detecting the growth status of hippocampus distended with a ResNet algorithm according to claim 3, characterized in that: Inputting the first training image and the second training image into the first convolution stage of ResNet, changing the number of channels and the size of the first training image and the second training image, and obtaining the content of the first processed image specifically includes: The first training image and the second training image are subjected to a convolution operation with a kernel size of 7×7, a step size of 2, a padding of 3, and an output channel number of 64, and the image size is changed from 3×224×224 to 64×112×112; The image is passed into the maximum pooling layer for a maximum pooling operation with a kernel size of 3×3, a stride of 2, and a padding of 1, and a first processed image of size 64×56×56 is obtained.
5. The method for detecting the growth status of hippocampus distended with a ResNet algorithm according to claim 3, characterized in that: The first processed image is input into the second convolution stage for convolution. During the convolution process, a skip connection is added to extract the basic features of the hippocampus bulging in the convolution image. The image after the second convolution is processed by Batch Normalization and ReLU activation function. The content of the second processed image obtained specifically includes: Input the first processed image into two residual blocks, where each residual block has two convolutional layers, and the first processed image is sequentially subjected to four convolution operations with a kernel size of 3, a stride of 1, a padding of 1, and a kernel number of 64; the input and output sizes remain unchanged, both being 64×56×56; Batch Normalization (BN) and ReLU activation function processing are performed after each convolution; The two convolution blocks each have a skip connection operation, which directly adds the input of the residual block to the output of the residual block to obtain a second processed image, which contains basic features of the hippocampus distended image, such as edges, corners, colors and textures.
6. The method for detecting the growth status of hippocampus distended with a ResNet algorithm according to claim 3, characterized in that: The second processed image is input into the third convolution stage for convolution, and the detail features after the third convolution are extracted to obtain the content of the third processed image, which specifically includes: The second processed image is input into two residual blocks, where each residual block has two convolutional layers, and the second processed image is sequentially subjected to four convolution operations: The first convolution kernel size is 3, the stride is 2, the padding is 1, the number of kernels is 128, the input size is 64×56×56, and the output size is 128×28×28; The kernel size of the subsequent three convolutions is 3, the stride is 1, the padding is 1, the number of kernels is 128, and the input and output sizes remain unchanged, both 128×28×28; Batch Normalization and ReLU activation function processing are performed after each convolution; the two convolution blocks each have a skip connection operation, which directly adds the input of the residual block to the output of the residual block; Since the input and output sizes of the first convolutional block are different, the skip connection of the first convolutional block performs a convolution with a kernel size of 1×1, a stride of 2, and a kernel number of 128 for downsampling, converting the input size of 64×56×56 into 128×28×28; After the convolution, a Batch Normalization operation is performed to extract complex detail features and obtain the third processed image.
7. The method for detecting the growth status of hippocampus distended with a ResNet algorithm according to claim 3, characterized in that: The third processed image is input into the fourth convolution stage for convolution, and the basic features and detail features are integrated to obtain the fourth processed image, which specifically includes: The third processed image is input into two residual blocks, where each residual block has two convolutional layers, and the third processed image is sequentially subjected to four convolution operations: The first convolution kernel size is 3, the stride is 2, the padding is 1, the number of kernels is 256, the input size is 128×28×28, and the output size is 256×14×14; The kernel size of the subsequent three convolutions is 3, the stride is 1, the padding is 1, the number of kernels is 256, and the input and output sizes remain unchanged, both 256×14×14; Batch Normalization and ReLU activation function processing are performed after each convolution; the two convolution blocks each have a skip connection operation, which directly adds the input of the residual block to the output of the residual block; The skip connection of the first convolutional block performs a convolution with a kernel size of 1×1, a stride of 2, and a kernel number of 256 for downsampling, converting the input size of 128×28×28 into 256×14×14; After the convolution, a Batch Normalization operation is performed to fuse the basic features with the detail features to obtain the fourth processed image.
8. The method for detecting the growth status of hippocampus distended with a ResNet algorithm according to claim 3, characterized in that: Inputting the fourth processed image into the fifth convolution stage for convolution, extracting semantic information, and obtaining the content of the fifth processed image specifically includes: The fourth processed image is input into two residual blocks, where each residual block has two convolutional layers, and the fourth processed image is sequentially subjected to four convolution operations: The first convolution kernel size is 3, the stride is 2, the padding is 1, the number of kernels is 512, the input size is 256×14×14, and the output size is 512×7×7; The kernel size of the subsequent three convolutions is 3, the stride is 1, the padding is 1, the number of kernels is 512, and the input and output sizes remain unchanged, both 512×7×7; Batch Normalization and ReLU activation function processing are performed after each convolution; The two convolution blocks each have a skip connection operation, which adds the input of the residual block directly to the output of the residual block: the skip connection of the first convolution block performs a convolution with a kernel size of 1×1, a stride of 2, and a kernel number of 512 for downsampling, converting the input size of 256×14×14 into 512×7×7; After the convolution, a Batch Normalization operation is performed to obtain the fifth processed image containing semantic features.
