Image classification method, classification model training method, device and storage medium

By extracting multiple groups of sub-image sequences as features and training the image classification model, the problem of identifying unobvious features of objects to be classified in tomography images is solved, and the classification accuracy and sensitivity are improved.

CN113033650BActive Publication Date: 2024-08-23GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110302994.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-22
Publication Date
2024-08-23
Estimated Expiration
2041-03-22

AI Technical Summary

Technical Problem

In image classification, especially when processing tomographic images, it is difficult to effectively extract the inconspicuous features of the objects to be classified, resulting in misjudgments and poor classification results.

Method used

By obtaining the sample image set, multiple groups of sub-image sequences are extracted as sample features, and the image classification model is trained based on these features, so that when the image sequence is to be classified, the image sequence to be classified is completely processed to avoid missing unobvious feature areas.

Benefits of technology

The sensitivity and accuracy of the image classification model are improved, misjudgments are reduced, and the ability to classify objects with less obvious features is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113033650B
    Figure CN113033650B
Patent Text Reader

Abstract

The embodiment of the present application discloses an image classification method, a training method, a device and a storage medium for a classification model, and belongs to the field of image classification technology. The embodiment of the present application can, after acquiring the image sequence to be classified of the object to be classified, extract q groups of sub-image sequences from the image sequence to be classified, and then extract q sub-sequence features from the q groups of sub-image sequences as the object features of the object to be classified, and input the object features into the image classification model, thereby obtaining the classification result of the object to be classified, and the classification result is used to indicate the most likely classification of the object to be classified, thereby achieving the effect of judging the corresponding classification result according to the complete image sequence to be classified of the object to be classified, thereby avoiding missing the inconspicuous feature image area in the image of the object to be classified, and reducing the occurrence of misjudgment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of image classification technology, and in particular to an image classification method, a classification model training method, a device and a storage medium. Background Art

[0002] With the rapid development of convolutional neural network technology, convolutional neural network technology has been widely used in the field of image classification to assist users in identifying the type of objects to be tested.

[0003] In the related art, when the image of the object to be tested is a collection of electronic computed tomography (CT) images, the image classification model will segment the area where the object to be tested needs to be identified from each CT image, and then identify the type of the object to be tested based on the area. Summary of the invention

[0004] The embodiment of the present application provides an image classification method, a classification model training method, a device and a storage medium. The technical solution is as follows:

[0005] According to one aspect of the present application, a method for training a classification model is provided, the method comprising:

[0006] Acquire a sample image set, the sample image set comprising a sample image sequence of at least two sample objects, the sample image sequence of the same sample object comprising a sequence formed by at least two tomographic images obtained by scanning the sample object, and the sample object is annotated with a classification result;

[0007] Extracting m groups of sub-image sequences from the sample image sequence of the same sample object, where m is a positive integer;

[0008] Extracting m subsequence features corresponding to the m groups of sub-image sequences as sample features of the sample object;

[0009] An image classification model is trained according to the sample features and the classification results of the at least two sample objects.

[0010] According to another aspect of the present application, there is provided an image classification method, the method comprising:

[0011] Acquire a sequence of images to be classified of the object to be classified, wherein the sequence of images to be classified includes a sequence formed by at least two tomographic scan images obtained by scanning the object to be classified;

[0012] Extracting q groups of sub-image sequences from the image sequence to be classified, where q is a positive integer;

[0013] Extracting q subsequence features corresponding to the q groups of sub-image sequences as object features of the object to be classified;

[0014] The object features of the object to be classified are input into the image classification model to obtain the corresponding classification results.

[0015] According to another aspect of the present application, a training device for a classification model is provided, the device comprising:

[0016] An image set acquisition module, used to acquire a sample image set, wherein the sample image set includes a sample image sequence of at least two sample objects, wherein the sample image sequence of the same sample object includes a sequence formed by at least two tomographic images obtained by scanning the sample object, and the sample object is annotated with a classification result;

[0017] A first sequence extraction module, used for extracting m groups of sub-image sequences from the sample image sequence of the same sample object, where m is a positive integer;

[0018] A first feature extraction module is used to extract m subsequence features corresponding to the m groups of sub-image sequences as sample features of the sample object;

[0019] A model training module is used to train an image classification model according to the sample features and the classification results of the at least two sample objects.

[0020] According to another aspect of the present application, there is provided an image classification device, the device comprising:

[0021] A sequence acquisition module, used to acquire a sequence of images to be classified of the object to be classified, wherein the sequence of images to be classified includes a sequence formed by at least two tomographic images obtained by scanning the object to be classified;

[0022] A second sequence extraction module is used to extract q groups of sub-image sequences from the image sequence to be classified, where q is a positive integer;

[0023] A second feature extraction module is used to extract q subsequence features corresponding to the q groups of sub-image sequences as object features of the object to be classified;

[0024] The object classification module is used to input the object features of the object to be classified into the image classification model to obtain the corresponding classification result.

[0025] According to another aspect of the present application, a computer device is provided, which includes a processor and a memory, wherein the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement a training method for a classification model as provided in the implementation of the present application.

[0026] According to another aspect of the present application, a computer device is provided, which includes a processor and a memory, wherein the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the image classification method provided in the embodiment of the present application.

[0027] According to another aspect of the present application, a computer-readable storage medium is provided, wherein at least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to implement a training method for a classification model as provided in the implementation of the present application.

[0028] According to another aspect of the present application, a computer-readable storage medium is provided, wherein at least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to implement the image classification method provided in the embodiment of the present application.

[0029] According to another aspect of the present application, a computer program product is provided, the computer program product comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the training method of the classification model provided in the above-mentioned various optional implementations.

[0030] According to another aspect of the present application, a computer program product is provided, the computer program product comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the image classification method provided in the above-mentioned various optional implementations.

[0031] When training an image classification model, the embodiment of the present application can, after acquiring an image sequence to be classified of an object to be classified, extract q groups of sub-image sequences from the image sequence to be classified, and then extract q sub-sequence features from the q groups of sub-image sequences as object features of the object to be classified, and input the object features into the image classification model, thereby obtaining a classification result of the object to be classified, and the classification result is used to indicate the most likely classification of the object to be classified, thereby achieving an effect of judging the corresponding classification result based on the complete image sequence to be classified of the object to be classified, thereby avoiding missing inconspicuous feature image areas in the image of the object to be classified and reducing the occurrence of misjudgment. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly introduce the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application 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.

[0033] Figure 1 is a schematic diagram of obtaining a tomographic image provided by an embodiment of the present application;

[0034] Figure 2 It is a schematic diagram of a training classification model provided by the related art;

[0035] Figure 3 It is an architecture diagram of a training method for a classification model provided by an exemplary embodiment of the present application;

[0036] Figure 4 is based on Figure 3 A schematic diagram of the structure of an image classification model provided by the illustrated embodiment;

[0037] Figure 5 is based on Figure 4 A schematic diagram of the structure of a residual block provided by the illustrated embodiment;

[0038] Figure 6 is a flow chart of a classification model training method provided by an exemplary embodiment of the present application;

[0039] Figure 7 is a flow chart of another classification model training method provided by another exemplary embodiment of the present application;

[0040] Figure 8 is based on Figure 7 A schematic diagram of a sample image sequence provided by the illustrated embodiment;

[0041] Fig. 9 is based on Figure 8 A schematic diagram of collecting a sub-image sequence provided by the illustrated embodiment;

[0042] Fig.10 is based on Figure 7 A schematic diagram of another process of collecting a sub-image sequence provided by the illustrated embodiment;

[0043] Fig.11 is based on Figure 7 A schematic diagram of another process of collecting a sub-image sequence provided by the illustrated embodiment;

[0044] Fig.12 is based on Figure 7A schematic diagram of another acquisition process of a sub-image sequence provided by the illustrated embodiment;

[0045] Fig.13 is based on Figure 7 A schematic diagram of another acquisition process of a sub-image sequence provided by the illustrated embodiment;

[0046] Fig.14 is a flow chart of an image classification method provided by an exemplary embodiment of the present application;

[0047] Fig.15 is a flowchart of another image classification method provided by an exemplary embodiment of the present application;

[0048] Fig.16 It is a structural block diagram of a classification model training device provided by an exemplary embodiment of the present application;

[0049] Fig.17 is a structural block diagram of an image classification device provided by an exemplary embodiment of the present application;

[0050] Fig.18 It is a structural block diagram of a computer device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0051] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0052] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.

[0053] In the description of the present application, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In the description of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "connected" and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances. In addition, in the description of the present application, unless otherwise specified, "multiple" means two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0054] In order to facilitate the understanding of the scheme shown in the embodiments of the present application, several nouns appearing in the embodiments of the present application are introduced below.

[0055] Target object: includes sample objects and objects to be classified. The target object is used to indicate the object to be scanned by CT. If the target object is scanned and annotated with a classification result, the target object becomes a sample object for training the image classification model. If the target object needs to be classified by the image classification model after scanning, the target object is an object to be classified.

[0056] Target image sequence: includes sample image sequence and to-be-classified image sequence. The target image sequence includes a sequence formed by at least two tomographic images obtained by scanning the target object. When the target object is a sample object, the target image sequence is a sample image sequence. When the target object is an to-be-classified object, the target image sequence is an to-be-classified image sequence.

[0057] Tomographic image: also known as computer tomography image or CT image. In a possible application scenario, the tomographic image usually appears in the form of an image set. Designers usually use a target image sequence to save a scan result of the target object. Optionally, the number of tomographic images included in the target image sequence can be dozens or hundreds. That is, in an actual application, the number interval of tomographic images included in a target image sequence for a target object is [10,999]. It should be noted that the number interval of tomographic images here is only for schematic illustration and does not limit the number interval of tomographic scans shown in this application.

[0058] In one application scenario, if the target object is a biological body. For example, the target object can be a human body, an animal body, or a plant body. In this scenario, a target image sequence is used to save all tomographic scan images of an organism in one scan. If the target object is a human body, and 80 CT images are obtained in one scan, then the 80 CT images are image sequences obtained by scanning in the order of implementation. It should be noted that the 80 CT images are equivalent to dividing the scanned three-dimensional part into 80 slices, and each CT image corresponds to a slice in the target object entity.

[0059] In another application scenario, if the target object is a non-living object. For example, the target object can be an industrial component, an industrial finished product, or a building block. In this scenario, a target image sequence can be used to indicate the internal physical structure of the non-living object. Since the size difference between non-living objects and living objects may be large, the CT instrument used to scan non-living objects can be specially designed, and the difference between the number of CT images included in a target image sequence is also large. For some non-living objects with simple structures, a target image sequence may include only a few CT images. For some non-living objects with complex structures, a target image sequence includes hundreds of CT images.

[0060] See also Figure 1 , Figure 1 Schematic diagram of obtaining a tomographic image provided by an embodiment of the present application. Figure 1 In the embodiment, the CT scanner includes a scanning unit 111 and a loading unit 112. The target object to be scanned is placed on the loading unit 112. When the target object is placed firmly on the loading unit 112, that is, the target object and the loading unit 112 are relatively stationary. At this time, the loading unit 112 carries the target object and passes through the annular portion surrounded by the scanning unit 111 at a specified speed and in a specified direction.

[0061] exist Figure 1 In the example, a spatial coordinate system Oxyz is established, where the specified direction can be the negative direction of the x-axis.

[0062] When the part of the target object that needs to be scanned begins to pass through the annular part of the scanning unit 111, the scanning unit 111 starts to scan the target object to obtain a CT image. If in this example, the target object is a human body, the scanned part is the chest cavity, and the number of acquired CT images is 120, then the target image sequence corresponding to the target object is the 120 CT images. It should be noted that each CT image can be marked with at least one auxiliary parameter of the acquisition sequence number, acquisition time, or the corresponding tomographic parameters of the target object, and the auxiliary parameter can be used to indicate the correspondence between the CT image and the actual part of the target object. Figure 1In the scene shown, if the head of the human body enters the annular portion of the scanning unit 111 first, the order of the 120 CT images in the target image sequence from front to back is the order of the chest cavity from the head end to the foot end.

[0063] For example, take the above 120 CT images as an example. Among them, the fault corresponding to the 30th CT image is connected to the fault corresponding to the 29th CT image, and the two faults can be connected to form a new fault. If the thickness of the fault corresponding to the 30th CT image is d1 and the thickness of the fault corresponding to the 29th CT image is d2, then the thickness of the new fault is d1+d2.

[0064] It should be noted that if the target object corresponding to the target image sequence containing the 120 CT images is marked with a classification result, the target image sequence can be used as a sample image sequence.

[0065] Classification result: is a specific classification result under a specified classification standard. The specified classification standard can be specifically adjusted according to the application scenario of the present application. Schematically, the classification result is annotated corresponding to the target object. One target object is annotated with one classification result. The classification result can be manually annotated by a professional.

[0066] Optionally, the specified classification criteria can be distinguished according to whether the characteristics of the normal type are met. In one possible way, the classification results include two types: normal type and abnormal type. In this classification method, the classification results can be used to detect whether the internal structure of the target object is abnormal. In another possible way, the classification results may also include a normal type, a first abnormal type, and a second abnormal type. It should be noted that the normal type is used to check whether the internal structure of the target object conforms to normal conditions. The first abnormal type is used to indicate that the internal structure of the target object does not conform to normal conditions, but conforms to the characteristics of the first abnormal type. The second abnormal type is used to indicate that the internal structure of the target object does not conform to normal conditions, but conforms to the characteristics of the second abnormal type. Among them, the characteristics of the first abnormal type and the characteristics of the second abnormal type are different.

[0067] As a possible application, if the classification result is used to indicate the lung condition of a human body, the classification result may include a normal type, a common pneumonia (CP) type, and a novel coronavirus pneumonia (COVID-19). Optionally, the common pneumonia type may include any one of viral pneumonia, bacterial pneumonia, mycoplasma pneumonia, and pulmonary fungal disease.

[0068] Sample image sequence: a sample image sequence formed by at least two tomographic images obtained from a sample object in a CT scan. For example, if a sample image sequence includes 80 tomographic images, the 80 tomographic images will be arranged in a specified order. Optionally, the specified order can be the order of CT scans, or the spatial position order of the physical slices corresponding to the tomographic images in the sample object.

[0069] Sample image set: a sample image sequence including at least two sample objects, wherein the sample image sequence of the same sample object includes a sequence formed by at least two tomographic images obtained by scanning the sample object. In the art, a considerable number of sample image sequences are usually required to train an image classification model. In the present application, since a training sample is a sample image sequence, the present application requires a database that can provide a considerable number of training sample image sets.

[0070] Optionally, the sample image set may include sample image sequences of several sample objects. A sample image sequence may be a sequence with a unique time attribute. That is, sample image sequences acquired at different times for the same sample object are regarded as two different sample image sequences in this application.

[0071] In one possible manner, the sample image set may be a database disclosed by a designated industry, the image set library may also be a publicly available database, or an independently collected database. Schematically, the image set library may be a large database provided by CC-CCII (China Consortium of Chest CT Image Investigation). In a scenario in which the database is applied in the present application, the large database includes 137,256 complete CT images of 691 target objects and 42,861 segmented CT images of 421 target objects.

[0072] It should be noted that the segmented CT image can be a CT image including the lung lobe area manually annotated by professionals. The multiple tomographic images shown in the embodiment of the application can form a certain spatial volume, which can be composed into a corresponding sub-image sequence.

[0073] Sub-image sequence: a sub-sequence extracted from a sample image sequence of the same sample object. The number of tomographic images included in the sub-sequence is less than the number of tomographic images in the sample image sequence. The sorting criteria between tomographic images in the sub-image sequence is the same as the sorting criteria of the sample image sequence.

[0074] Subsequence feature: feature data used to represent a sub-image sequence. Optionally, depending on different data structures, the subsequence feature can be represented in the form of a tensor, a vector, or other data structures. In one possible application, if the image classification model requires the input to be a tensor, the present application represents the subsequence feature in the form of a tensor.

[0075] Before introducing the training method of the classification model provided in the embodiment of the present application, the training method for the classification model in the art is now introduced.

[0076] In the related technology, for a given initial classification model, if the related technology uses a sample image set to train the initial classification model, the related technology will perform region extraction on each tomographic image in the sample image set, use the extracted region as the true sample image and combine it with the labeled classification results to train the initial classification model.

[0077] See also Figure 2 , Figure 2 It is a schematic diagram of a training classification model provided by the related technology. Figure 2 In the example, the sample image set includes a first tomographic image 201, a second tomographic image 202, and a third tomographic image 203. The related art will firstly crop the above three tomographic images to obtain a first cropped image 211, a second cropped image 212, and a third cropped image 213, respectively.

[0078] Among them, each cropped image is marked with a classification result. The relevant technology uses the above-mentioned collected images marked with classification results as training samples to train the initial classification model. When the loss function converges, the trained image classification model is obtained.

[0079] In this scenario, due to the accuracy of the cropping technology, the cropped image may crop out some features that need to be retained in some scenarios. For example, when the first tomographic image 201 is cropped into the first cropped image 211, the edge of some objects that need to be retained is lost. Therefore, the image classification model trained according to the relevant technology has poor recognition ability for the edge area in the tomographic image, resulting in the difficulty in correctly classifying the tomographic image with image features concentrated at the edge.

[0080] In order to improve the global classification capability of the image classification model for objects to be classified, the present application provides the following solution.

[0081] Please refer to Figure 3 , Figure 3 This is a diagram of a training method for a classification model provided by an exemplary embodiment of the present application. Figure 3The model training 330 includes five parts: data set processing 310, data set partitioning 320, model training 330, model testing 340, and result analysis 350. The model training 330 includes three parts: parameter initialization 331, model design 332, and iterative training 333.

[0082] This application introduces the overall implementation process of the solution with the server as the execution subject. In the data set processing 310, the server will obtain a sample image set and perform preliminary processing on the sample image set. Among them, the sample image set includes a sample image sequence of at least two sample objects. The preliminary processing performed by the server includes processing the tomographic image into a 3-channel RGB (Red Green Blue) image with a size of 512*512. Subsequently, in order to use the three-dimensional (3D) volume of the tomographic image to capture the spatial information within the tomographic image and the spatial information between the tomographic images, the server extracts n tomographic images from a sample image sequence to form a spatial volume, so that m groups of sub-image sequences can be obtained according to a sample image sequence, and each sub-image sequence corresponds to a sub-sequence feature.

[0083] In data set division 320, the server can divide the acquired total image data set into a sample image set and a test image set according to a specified data ratio. The sample image set can also be called a training set.

[0084] In the model training 330, the server can implement the functions of the model training 330 according to parameter initialization 331, model design 332 and iterative training 333. In the parameter initialization 331, the server initializes the parameters of the image classification model. In the model design 332, the server autonomously builds a model according to the demand or builds a model according to the existing architecture.

[0085] See also Figure 4 , Figure 4 is based on Figure 3 The illustrated embodiment provides a schematic structural diagram of an image classification model. Figure 4 An image classification model 400 is shown, which includes a first convolutional layer (Conv1) 410, a second convolutional layer (Conv2) 420, a third convolutional layer (Conv3) 430, a fourth convolutional layer (Conv4) 440, a fifth convolutional layer (Conv5) 450, a global average pooling layer 460, a fully connected layer 470, an activation function (softmax) 480 and an output layer 490.

[0086] The convolution kernel in the first convolution layer (Conv1) 410 is 7*7*7, and the convolution step size is 1 (D) and 2 (HW). That is, the step size of the 3D convolution in the parameter D direction is 1, the step size in the parameter H direction is 2, and the step size in the parameter W direction is 2.

[0087] The convolution kernel in the second convolution layer (Conv2) 420 is 64, and the data transmitted from the first convolution layer is max-pooled through a filter (filter) 3*3*3. Among them, the step size in the second convolution layer (Conv2) 420 is 2, and the residual block is 2.

[0088] The residual block of the third convolutional layer (Conv3) 430 is 2 and the convolution kernel is 128.

[0089] The fourth convolutional layer (Conv4) 440 has a residual block of 2 and a convolution kernel of 256.

[0090] The fifth convolutional layer (Conv5) 450 has a residual block of 2 and a convolution kernel of 512.

[0091] The above five convolutional layers pass data layer by layer, and the data output by the fifth convolutional layer is transmitted to the global average pooling layer 460. After the global average pooling layer 460 processes the data, it is input to the fully connected layer 470. After the fully connected layer 470 processes the data, the data is activated by the activation function 480, and finally the data is output through the output layer 490. Schematically, the activation function 480 can perform probability mapping within the (0, 1) interval, and output the category corresponding to the maximum probability through the output layer 490.

[0092] In iterative training 333, the server trains the image classification model according to the sample features and classification results of at least two sample objects. Indicatively, the server can calculate the cross entropy loss between the output result and the true classification result, perform the back propagation algorithm on the entire network of the image classification model, and update the parameters. The image classification model is repeatedly trained in multiple training cycles until the loss function is fully converged. In response to the loss function being fully converged, the current network model structure and parameters of the image classification model are saved. At this point, the image classification model has completed training.

[0093] Regarding the image classification model 400, it should be noted that the image classification model may include multiple 3D convolution basic blocks with residual connections. The image classification model 400 can extract feature information through the 3D convolution basic blocks, and the 3D convolution basic blocks can continuously extract local and global context feature information. Subsequently, the fully connected layer and activation function in the image classification model 400 are used to predict the results, and the predicted values ​​are arranged from large to small, and the category corresponding to the value with the largest predicted value is taken as the final prediction result.

[0094] From another perspective, the tomographic image is input into a 3D convolutional block with residual connection to obtain local and global feature information, which is then input into the fully connected layer for classification. This can generate the probabilities of each classification result, and finally the probability mapping within the (0,1) interval is performed through the activation function, and the category corresponding to the maximum probability category is output through the output layer.

[0095] Optionally, the classification result is used to indicate the internal structure state of the sample object, and the classification result has more than one type. In one possible manner, if the internal structure state is used to indicate the lung structure state, the classification result type includes a normal state type, a first abnormal state type, and a second state type. In this example, the normal state type may be a normal type, the first abnormal state type may be common pneumonia, and the second abnormal state type may be novel coronavirus pneumonia.

[0096] See also Figure 5 , Figure 5 is based on Figure 4 The embodiment shown is a schematic diagram of a residual block structure. Figure 5 , a basic residual block (Basic Block) 510 and a bottleneck layer residual block (Bottleneck Block) 520 are shown. Among them, the extraction module for local and global context feature information in the image classification model 400 is composed of the basic residual block 510 and / or the bottleneck layer residual block 520. When the extraction module for local and global context feature information in the image classification model 400 includes two residual blocks, the module is formed by superimposing the basic residual block 510 and the bottleneck layer residual block 520.

[0097] Optionally, the basic residual block 510 consists of two convolutional layers. Batch normalization and ReLU unit-based operations are performed after each of the two convolutional layers. The basic residual block 510 includes a shortcut channel that connects the top of the basic residual block 510 to the layer before the last ReLU unit in the basic residual block 510. As a possible implementation, the shortcuts used in the basic residual block 510 may include identity mapping and zero padding, thereby avoiding increasing the number of parameters of a relatively shallow network.

[0098] Optionally, the bottleneck layer residual block 520 is composed of three convolutional layers. In the three convolutional layers, the kernel size of the first convolutional layer and the third convolutional layer is 1*1*1, and the kernel size of the second convolutional layer is 3*3*3. In the above three convolutional layers, batch normalization and ReLUctant unit-based operations are performed after each convolutional layer. The shortcut of the bottleneck layer residual block 520 is the same as the shortcut of the basic residual block 510, which will not be repeated here.

[0099] Optionally, in the model training 330, the present application can use a large data set provided by CC-CCII, based on the PyTorch framework, and use multiple GPUs for training. As a possible implementation, the multiple GPUs can be 8 NVIDIA Tesla V100 GPUs. It should be noted that the data set, framework, and GPU used in the training model here can be replaced by other hardware and software structures with the same capabilities, and the training method of the classification model shown in the embodiment of the present application can also be implemented.

[0100] In a training scheme for an image learning model, the image learning model uses an Adam optimizer with an initial learning rate of 0.001, and the learning rate decreases by 0.1 times every 10 cycles, with a total of 20 cycles of training.

[0101] After the image classification model is trained, the server will perform a performance test on the model in the model test 340. The server can call the saved image classification model that has been trained and converged, and input the image test set to perform model evaluation. In one possible evaluation method, the server performs a multi-dimensional comprehensive evaluation through F1 value, accuracy, precision and recall rate, so as to obtain a real and effective performance indicator of the image classification model.

[0102] Illustratively, the performance evaluation tools involved in the above-mentioned model test 340 are introduced as follows.

[0103] (1) Cross entropy loss formula

[0104]

[0105] In the cross entropy loss formula, y i Represents the value of the true category, p i Represents the predicted value output by the image classification model. There are N class possibilities in a single sample feature. The logarithmic loss for all sample features represents the average of the logarithmic loss for each sample feature. Ideally, the logarithmic loss is 0.

[0106] (2) Accuracy calculation formula

[0107]

[0108] Among them, the accuracy (Accuracy) is equal to the sum of the true positives (TP) and the true negatives (TN), divided by the sum of the true positives (TP), the true negatives (TN), the false positives (FP) and the false negatives (FN). In the above TP, TN, FP and FN, T means that the image classification model is correct; F means that the image classification model is wrong; P means that the image classification model is positive; N means that the image classification model is negative.

[0109] (3) Precision calculation formula

[0110]

[0111] Among them, precision is equal to the quotient of true positives (TP) and the sum of true positives (TP) and false positives (FP).

[0112] (4) Recall calculation formula

[0113]

[0114] Among them, the recall rate (Recall) is equal to the quotient of the true positive (TP) and the sum of the true positive (TP) and the false negative (FN).

[0115] (5) F1 value calculation formula

[0116] Among them, the F1 value (F1-score) is equal to the quotient of twice the product of precision and recall, and the sum of precision and recall.

[0117] In one possible test result, the trained image classification model can achieve a recall rate of 99.96%, a precision rate of 99.35%, an F1 value of 99.65%, a three-way classification accuracy of 99.24% and an AUC (Area UnderCurve, the area enclosed by the ROC curve and the coordinate axis) of 99.86%.

[0118] Optionally, AUC indicates the area under the ROC curve, and the value range of AUC is between 0.5 and 1. When the value of AUC is closer to 1.0, the authenticity of the detection method is higher. When AUC is equal to 0.5, the authenticity of the detection method is the lowest, and the corresponding detection method has no application value.

[0119] The server may analyze the performance of the trained image classification model according to the test results obtained in the model test 340 in the result analysis 350 .

[0120] Please refer to Figure 6 , Figure 6 1 is a flow chart of a classification model training method provided by an exemplary embodiment of the present application. The classification model training method can be applied to a high-performance server or a dedicated server with good processing capability. Figure 6 In , the training method of the classification model includes:

[0121] Step 610, obtaining a sample image set, the sample image set includes a sample image sequence of at least two sample objects, the sample image sequence of the same sample object includes a sequence formed by at least two tomographic images obtained by scanning the sample object, and the sample object is marked with a classification result.

[0122] In the embodiments of the present application, a server is used as the execution entity for introduction.

[0123] The server will first obtain a sample image set. In one possible manner, if the sample image set is publicly available data, the server can automatically download it from a specified data interface. If the sample image set is an independently established data set, the server can download the sample data set through a specified key or access credential. In another possible implementation, the sample image set can also be a data set pre-downloaded to the server by the designer. This application does not limit the source and usage of the sample image set.

[0124] Optionally, the sample image set includes sample image sequences of at least two sample objects. In a possible manner, the number of sample image sequences may be in the order of thousands, tens of thousands, or hundreds of thousands. In a sample image set, sample image sequences belonging to the same sample object may be included. It should be noted that at least two sample image sequences belonging to the same sample object are obtained by scanning the sample object at different times.

[0125] In the embodiment of the present application, each sample image sequence has at least two tomographic images. It should be noted that the number of tomographic images specifically included in each sample image sequence may be different. In the actual application scenario, the number of tomographic images specifically included in a sample image sequence may depend on the setting of the CT scanner or the parameter setting of the CT scanner when scanning the sample object. For example, the number of tomographic images specifically included in a sample image sequence may be dozens or hundreds. The embodiment of the present application does not limit the specific numerical value. The sequence formed by at least two tomographic images can be regarded as the sample image sequence indicated in the present application.

[0126] Optionally, each sample image sequence is annotated with a classification result. Alternatively, the sample object corresponding to the sample image sequence is annotated with a classification result, and the server determines the classification result corresponding to the sample image sequence by identifying the classification result annotated in the sample object.

[0127] For example, in one possible scenario, sample image sequence A is labeled with the classification result of "COVID-19". Or, in another possible scenario, sample image sequence B is not labeled with the classification result, but the sample object S1 to which the sample image sequence B belongs is labeled with the classification result of "CP". In this scenario, sample image sequence B is equivalent to the classification result labeled as "CP".

[0128] Step 620: extract m groups of sub-image sequences from the sample image sequence of the same sample object, where m is a positive integer.

[0129] After the server obtains the sample image set, the server may adjust the data format of the tomographic image therein, for example, the server may adjust the tomographic image to a 3-channel RGB image with a size of 512*512.

[0130] Optionally, in order to train the image classification model efficiently, the server may divide the sample image sequence in the sample image set, wherein one part is used for training and verification, and the other part is used for testing.

[0131] Schematically, as a possible implementation method, the server can use 110,420 complete CT images in the large database provided by CC-CCII for training image classification models and verification work, and use 26,836 CT images for testing. In this application, the data used to train and verify the image classification model accounts for 80.4% of the total data, and the data used to test the image classification model accounts for 19.6% of the total data. It should be noted that the ratio between the data used for training and verification and the data used for testing is only a schematic illustration and does not limit the embodiments of this application.

[0132] Optionally, the test set can also include tomography images that have never been included in training and validation.

[0133] After the server obtains the sample image set for training and verification, the server can perform corresponding processing on each of the sample image sequences. This application is described by taking one of the sample image sequences as an example. It should be noted that the server extracts m groups of sub-image sequences from the sample image sequence of the same sample object. The sample image sequence is a tomographic image obtained in the same scan for the same sample object.

[0134] For example, sample object S1 underwent a CT scan at 15:00 on January 21, 2020, and obtained sample image sequence C. Sample object S1 underwent a CT scan at 10:00 on January 23, 2020, and obtained sample image sequence D. In the embodiment of the present application, the server uses one of the sample image sequences as the sample image sequence corresponding to the same sample object, rather than merging sample image sequence C and sample image sequence D as one sample image sequence.

[0135] Optionally, when extracting a sub-image sequence from the same sample image sequence, the server may have multiple extraction methods according to requirements. In an embodiment of the present application, the number of groups of the sub-image sequence may be at least two. In a scenario where the sample image sequence has different numbers of tomographic images, the value of m may be different. That is, the value of m may change as the sample image sequence changes.

[0136] Step 630 : extract m subsequence features corresponding to the m groups of sub-image sequences as sample features of the sample object.

[0137] In the embodiment of the present application, the server can extract m sub-sequence features from m groups of sub-image sequences respectively as sample features of the sample object. See Table 1.

[0138] Table 1

[0139]

[0140] In Table 1, when the server extracts a sample image sequence, that is, a sample image sequence C (p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12), it can simultaneously obtain the classification result (that is, "COVID-19") and the corresponding sample object (that is, sample object A) corresponding to the sample image sequence.

[0141] In an embodiment of the present application, the server can extract a sub-image sequence from a sample image sequence C (p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12) based on known data. In one possible extraction method, the server extracts three sub-image sequences from the above sample image sequence C, namely (p1, p2, p3, p4), (p5, p6, p7, p8) and (p9, p10, p11, p12). Subsequently, the above three sub-image sequences are used as the data basis and are represented as data under different data structures according to the requirements of the data structure. For example, in the scenario shown in Table 1, the data structure of the sub-sequence feature is a tensor. The server will extract the corresponding sub-sequence features based on the sub-image sequence.

[0142] It should be noted that a corresponding subsequence feature will be extracted from each sub-image sequence. For example, the subsequence feature corresponding to the above sub-image sequence (p1, p2, p3, p4) is (C1*H1*W1*D1); the subsequence feature corresponding to the above sub-image sequence (p5, p6, p7, p8) is (C2*H2*W2*D2); the subsequence feature corresponding to the above sub-image sequence (p9, p10, p11, p12) is (C3*H3*W3*D3).

[0143] In the example shown in Table 1, the data structure of the subsequence feature is a tensor, parameter C represents channels, parameter H represents height, parameter W represents width, and parameter D represents depth.

[0144] It should be noted that if the original data structure of the sub-image sequence is D*H*W*C, the server can convert D*H*W*C into C*H*W*D to successfully extract the sub-sequence features.

[0145] Step 640: training an image classification model based on sample features and classification results of at least two sample objects.

[0146] In an embodiment of the present application, the server can train the image classification model with sample features and classification results of at least two sample objects. It should be noted that if a sample object used to train the image classification model has a sample feature and a classification result, wherein a sample feature includes m groups of subsequence features.

[0147] When training an image classification model, the server will train the image classification model based on one sample feature and one classification result.

[0148] Illustratively, the image classification model may be a three-dimensional residual network (3D Resnet), wherein the 3D Resnet may be any one of 3DResnet-18 (a three-dimensional residual network with 18 hidden layers), 3D Resnet-34 (a three-dimensional residual network with 34 hidden layers), 3D Resnet-50 (a three-dimensional residual network with 50 hidden layers), 3D Resnet-101 (a three-dimensional residual network with 101 hidden layers), and 3D Resnet-152 (a three-dimensional residual network with 152 hidden layers).

[0149] It should be noted that the image classification model may also be other three-dimensional image classification models, and image classification models with three-dimensional image classification capabilities may be trained using the classification model training method provided in this application.

[0150] In one possible implementation, the server will determine when to complete the training of the image classification model based on the loss function in the image classification model. When the loss function in the image classification model has not converged, the server will continue to train the image classification model; when the loss function in the image classification model converges, the server will stop training the image classification model and determine the current image classification model as the trained image classification model. In the embodiment of the present application, the loss function may use the cross entropy loss function. It should be noted that the present application can also use other loss functions, and the above-mentioned cross entropy loss function is only used as an example and does not limit the possibility of other loss functions that may be used in the embodiments of the present application.

[0151] In summary, the training method of the classification model provided by the present embodiment can use a sample image set including a sample image sequence of at least two sample objects when training the image classification model. The present application extracts m groups of sub-image sequences from the sample image sequence of the same sample object, and extracts m sub-sequence features corresponding to the m groups of sub-image sequences as sample features of the sample object. Finally, the image classification model is trained based on the sample features and classification results of at least two sample objects. Since the sample features of the same sample object include m sub-sequence features, one sub-sequence feature can provide both spatial information and image information of the target object, and the present application does not segment the sample image, so that the features in the sample image are completely retained. Therefore, the sensitivity of the image classification model trained by the present application is high, and the classification ability of the objects to be classified whose features are less obvious is improved.

[0152] See also Figure 7 , Figure 7 FIG. 1 is a flow chart of another classification model training method provided by another exemplary embodiment of the present application. The classification model training method can be applied to the server shown above. Figure 7 In , the training method of the classification model includes:

[0153] Step 710: Obtain a sample image set.

[0154] In this example, the execution process of step 710 is the same as the execution process of step 610, which will not be repeated here.

[0155] Step 721: From the sample image sequence of the same sample object, k tomographic images are continuously taken as a group of sub-image sequences, and m groups of sub-image sequences are obtained in sequence.

[0156] It should be noted that each group of sub-image sequences includes k tomographic images, where k is a positive integer greater than 1.

[0157] In the embodiment of the present application, after acquiring the sample image set, the server can process the sample image sequence of each sample object in the sample image set, so that the sample image sequence of the same sample object can provide m groups of sub-image sequences, each group of sub-image sequences includes k tomographic images.

[0158] Please refer to Figure 8 , Figure 8 is based on Figure 7 The embodiment shown is a schematic diagram of a sample image sequence. Figure 8 The sample image set 800 shown includes sample image sequences corresponding to 100 sample objects, and each sample image sequence corresponding to a sample object includes 80 tomographic images. The sample image sequence for the same sample object is taken as an example for description.

[0159] In one possible approach, the server divides the sample image sequence into units of 4 according to the order in which they were acquired. Fig. 9 , Fig. 9 is based on Figure 8 The embodiment shown provides a schematic diagram of collecting a sub-image sequence. Fig. 9 In the example, the sample image sequence 810 includes 80 tomographic images. The 80 tomographic images are used to present the internal structure of the scanned object, and the scanning order may be to scan from one end to the other end at uniform length intervals. Optionally, each tomographic image has a corresponding serial number to indicate the order of acquisition.

[0160] exist Fig. 9 In the process of collecting the sub-image sequence shown in FIG. 1 , the server sequentially takes out 4 tomographic images from the sample image sequence in the order of the serial numbers to form 20 groups of sub-image sequences. In this example, k is equal to 4 and m is equal to 20.

[0161] It should be noted that in Fig. 9 In the formation process of the sub-image sequence shown, each tomographic image becomes an element of a group of sub-image sequences, and the tomographic images are not multiplexed.

[0162] Optionally, in the present application, any two groups of sub-image sequences in the m groups of sub-image sequences do not have the same tomographic scanning images.

[0163] In the process of extracting m groups of sub-image sequences from a sample image sequence of the same sample object, when the tomographic images are not reused, any two groups of sub-image sequences in the m groups of sub-image sequences do not have the same tomographic images.

[0164] When any two groups of sub-image sequences in the m groups of sub-image sequences do not have the same tomographic images, the tomographic images included in the sample image set can be greater than k*m, in order to make full use of the tomographic images in the sample image set and thus improve the performance of the trained classification model.

[0165] See also Fig.10 , Fig.10 is based on Figure 7 The embodiment shown is a schematic diagram of another process of collecting sub-image sequences. Fig.10 In the process, after the server continuously acquires 4 tomographic images, it will continuously acquire 4 tomographic images after one tomographic image. And with 5 tomographic images as a cycle, 16 groups of sub-image sequences are obtained from 80 tomographic images.

[0166] See also Fig.11 , Fig.11is based on Figure 7 The embodiment shown is a schematic diagram of another process of collecting sub-image sequences. Fig.11 In , the tomographic image is multiplexed, and the multiplexing degree is 4. It should be noted that the multiplexing degree is used to indicate the maximum number of times the same tomographic image is multiplexed. Fig.11 In the example, the server uses the 1st, 2nd, 3rd and 4th tomographic images as the 1st sub-image sequence; the 2nd, 3rd, 4th and 5th tomographic images as the 2nd sub-image sequence; the 3rd, 4th, 5th and 6th tomographic images as the 3rd sub-image sequence; ...; the 77th, 78th, 79th and 80th tomographic images as the 77th sub-image sequence. It can be seen that in the case of multiplexing tomographic images, the number of sub-image sequences obtained by the server through the same sample object will be greatly expanded.

[0167] In a possible application, if the total number of tomographic images included in the sample image set is k*m, then the distance between two adjacent groups of sub-image sequences in this scenario includes the following two possible scenarios.

[0168] In a possible scenario, the spatial distance between any two adjacent tomographic scan images in the m groups of sub-image sequences is less than or equal to a preset threshold, and the preset threshold is a positive number.

[0169] The preset threshold may be the distance between the spatial slices corresponding to the tomographic image. Indicatively, the preset threshold may be 0.1 cm, 0.2 cm, or 0.3 cm, etc. This application does not limit the preset threshold, and this application may independently set or change the value of the preset threshold according to actual needs.

[0170] Please refer to Fig.12 , Fig.12 Is based on Figure 7 The embodiment shown is a schematic diagram of another process of collecting sub-image sequences. Fig.12 In , the server collects a tomographic image every other tomographic image, and when k images are collected, the k sequentially arranged tomographic images are used as a set of sub-image sequences. Fig.12 In the illustrated scenario, the sample image sequence includes 80 tomographic images. The server extracts the sub-image sequence starting from the first tomographic image, and uses the 1st, 3rd, 5th, and 7th tomographic images as the 1st group of sub-image sequences, the 2nd, 4th, 6th, and 8th tomographic images as the 2nd group of sub-image sequences, the 3rd, 5th, 7th, and 9th tomographic images as the 3rd group of sub-image sequences, ..., and uses the 74th, 76th, 78th, and 80th tomographic images as the 74th group of sub-image sequences.

[0171] exist Fig.12 In the scene shown, the tomographic images in the sample image sequence are reused. The spatial interval between each group of sub-image sequence images is the thickness of the spatial slice corresponding to a tomographic image. If the thickness of the spatial slice corresponding to a tomographic image is 0.5 cm, then Fig.12 The spatial distance between any two adjacent tomographic images in the sub-image sequence shown is less than or equal to 0.5 centimeters.

[0172] In another possible scenario, the spatial distance between any two adjacent tomographic images in the m-group sub-image sequence is equal to zero. Fig. 9 The sub-image sequence shown is Fig. 9 Any two adjacent tomographic images in the sub-image sequence shown are images with consecutive serial numbers. Fig. 9 The distance between the spatial slices corresponding to any two adjacent tomographic images in the sub-image sequence shown is zero.

[0173] Step 722: From the sample image sequence of the same sample object, k tomographic images are selected as a group of sub-image sequences based on the interval step size, and m groups of sub-image sequences are obtained in sequence.

[0174] Optionally, in the present application, there are at least two groups of sub-image sequences among the m groups of sub-image sequences that have the same tomographic scanning images.

[0175] It should be noted that the scenario shown in step 722 may include a scenario in which the tomographic images are multiplexed, and a scenario in which the tomographic images are not multiplexed.

[0176] (1) Scenario of multiplexing of tomographic images.

[0177] In the present application, the interval step may be a value such as 1, 2 or 3. The server will obtain k tomographic images from the sample image sequence as a group of sub-image sequences according to the interval step, and obtain m groups of sub-image sequences in sequence.

[0178] See also Fig.12 The scene shown, in which the multiplexing degree of the tomographic scan image is 4 and the interval step size is 1.

[0179] (2) Scenarios where tomographic images are not reused.

[0180] In the present application, the tomographic images may not be reused, and each tomographic image may be used as an element in a set of sub-image sequences.

[0181] See also Fig.13 , Fig.13 is based on Figure 7The embodiment shown is a schematic diagram of another process of collecting sub-image sequences. Fig.13 In the example, the server obtains a sub-image sequence of 4 images in a group with an interval step of 1 from the sample image sequence. Since the tomographic images are not reused, the tomographic images included in each two sub-image sequences will constitute 8 consecutive tomographic images. If a sample image sequence includes a total of 80 tomographic images, then Fig.13 The provided solution can obtain 20 groups of sub-image sequences.

[0182] Step 730 : extract m subsequence features corresponding to the m groups of sub-image sequences as sample features of the sample object.

[0183] In this example, the execution process of step 730 is the same as the execution process of step 630, which will not be repeated here.

[0184] Step 741: train an image classification model according to the sample features and classification results of the i-th sample object among the at least two sample objects, where i is a positive integer.

[0185] In this example, the server can train the image classification model based on the sample features and classification results of the i-th sample object among the at least two sample objects. That is, as the number of i changes, the server can train the image classification model using the sample features and classification results of multiple sample objects.

[0186] Step 742, in response to the loss function of the image classification model converging, confirming that the image classification model has completed training.

[0187] Step 743: In response to the loss function of the image classification model not converging, continue to train the image classification model according to the sample features and classification results of the (i+1)th sample object.

[0188] In summary, the training method of the classification model provided by the present embodiment can use a sample image set including a sample image sequence of at least two sample objects when training the image classification model. The present application extracts m groups of sub-image sequences from the sample image sequence of the same sample object, and extracts m sub-sequence features corresponding to the m groups of sub-image sequences as sample features of the sample object. Finally, the image classification model is trained based on the sample features and classification results of at least two sample objects. Since the sample features of the same sample object include m sub-sequence features, one sub-sequence feature can provide both spatial information and image information of the target object, and the present application does not segment the sample image, so that the features in the sample image are completely retained. Therefore, the sensitivity of the image classification model trained by the present application is high, and the classification ability of the objects to be classified whose features are less obvious is improved.

[0189] Optionally, the preprocessing method provided in the present application can superimpose the tomographic images into volume blocks of different depths, and use the volume blocks to train the corresponding image classification model, thereby improving the classification performance of the image classification model, so that objects with unclear features can achieve better classification effects when using the image classification model provided in the present application.

[0190] Optionally, the training method of the classification model provided in the present application can determine the depth of the sub-image sequence, that is, the value of k, to 4, thereby achieving an image classification model with relatively optimal performance obtained by training under this value, which helps to quickly and accurately classify the objects to be classified in actual application scenarios.

[0191] Please refer to Fig.14 , Fig.14 1 is a flowchart of an image classification method provided by an exemplary embodiment of the present application. The image classification method can be applied in a personal computer (PC) or a computer device connected to a CT scanner. Fig.14 In the image classification method, the image classification method includes:

[0192] Step 1410: Acquire a sequence of images to be classified of the object to be classified, where the sequence of images to be classified includes a sequence formed by at least two tomographic scan images obtained by scanning the object to be classified.

[0193] In the embodiment of the present application, the PC is taken as an example for introduction. In this example, the PC can use Figure 6 The trained image classification model is matched to the image sequence to be classified of the classification object. Optionally, the image sequence to be classified of the classification object can be a sequence formed by at least two tomographic images directly output by a CT scanner.

[0194] In one possible approach, the PC is directly connected to the CT scanner. When the CT scanner completes scanning of the classified object, the PC then acquires the image sequence to be classified.

[0195] Step 1420: extract q groups of sub-image sequences from the image sequence to be classified, where q is a positive integer.

[0196] In this example, the PC extracts q groups of sub-image sequences from the image sequence to be classified, where q is a positive integer.

[0197] In one possible manner, a set of sub-image sequences includes k tomographic images. Different values ​​of k will affect the performance of the image classification model. Indicatively, possible values ​​of k include one of 2, 4, 8, 16, 32 or 64. Based on the results of actual tests of the image classification model trained in the present application, when k is equal to 4, the image classification model will obtain relatively excellent performance.

[0198] Step 1430 , extracting q subsequence features corresponding to the q groups of sub-image sequences as object features of the object to be classified.

[0199] In this example, the PC extracts a subsequence feature from each of the q sub-image sequences, obtaining q subsequence features in total. The PC uses the q subsequence features as object features of the object to be classified.

[0200] Step 1440, input the object features of the object to be classified into the image classification model to obtain the corresponding classification result.

[0201] In this example, the PC inputs the object features of the object to be classified into the image classification model, and the image classification model outputs the classification result. The data input to the image classification model has been organized into object features composed of q subsequence features, and a subsequence feature can represent a spatial feature in a spatial volume. The spatial feature is the feature extracted from the entire spatial volume.

[0202] In summary, the method shown in the present application can, after acquiring the image sequence to be classified of the object to be classified, extract q groups of sub-image sequences from the image sequence to be classified, and then extract q sub-sequence features from the q groups of sub-image sequences as the object features of the object to be classified, and input the object features into the image classification model, so as to obtain the classification result of the object to be classified. The classification result is used to indicate the most likely classification of the object to be classified, thereby achieving the effect of judging the corresponding classification result according to the complete image sequence to be classified of the object to be classified, thereby avoiding missing the inconspicuous feature image areas in the image of the object to be classified and reducing the occurrence of misjudgment.

[0203] See also Fig.15 , Fig.15 FIG. 1 is a flowchart of another image classification method provided by an exemplary embodiment of the present application. The image classification method can be applied in a personal computer (PC) or a computer device connected to a CT scanner. Fig.15 In the image classification method, the image classification method includes:

[0204] Step 1510: Obtain a sequence of images to be classified of the object to be classified.

[0205] In this field, professional workers can use a PC to execute the image classification method shown in the embodiment of the present application. The PC can be a computer device installed in a data processing center or a computer device set up in any office location.

[0206] In one possible approach, a PC is directly connected to a CT scanner that obtains a sequence of images to be classified, and the two are combined into an integrated device. In this scenario, there is no need for a network to provide a channel for data exchange between the PC and the CT scanner. The PC can directly use a sequence of several tomographic images obtained by scanning the CT scanner as a sequence of images to be classified.

[0207] In another possible manner, the PC and the CT scanner are connected via a network or other data storage medium to achieve data transmission. For example, the CT scanner transmits data to the PC via a wired network or a wireless network. Alternatively, the CT scanner can copy the image sequence to be classified to the PC via a mobile storage medium.

[0208] Step 1521: From the image sequence to be classified, k tomographic images are continuously selected as a group of sub-image sequences, and q groups of sub-image sequences are obtained in sequence.

[0209] Optionally, the PC can continuously select k tomographic images from the image sequence to be classified as a group of sub-image sequences, thereby obtaining q groups of sub-image sequences in sequence. Each sub-image sequence includes k tomographic images. The value of k here is a preset value, and the PC automatically executes according to the preset value. Optionally, the above steps can be implemented by a specified application or program.

[0210] Step 1522: From the image sequence to be classified, k tomographic images are selected as a group of sub-image sequences based on the interval step size, and q groups of sub-image sequences are obtained in sequence.

[0211] Optionally, in addition to implementing the operation of acquiring q groups of sub-image sequences through step 1521, the PC can also implement the operation of acquiring q groups of sub-image sequences by executing step 1522. In the present application, in the image sequence to be classified, the PC can take k tomographic images as a group of sub-image sequences based on the interval step, thereby sequentially obtaining q groups of sub-image sequences.

[0212] In the implementation process of step 1522, the use scenarios of the tomographic image include two scenarios: tomographic image multiplexing and tomographic image non-multiplexing. Among them, the application process of tomographic image multiplexing can be referred to in Fig.12 The scenario shown; the application process of non-reuse of tomographic images can be seen in Fig.13 The scene shown.

[0213] It should be noted that any two groups of sub-image sequences among the q groups of sub-image sequences do not have the same tomographic image, or at least two groups of sub-image sequences among the q groups of sub-image sequences have the same tomographic image.

[0214] When detecting an object to be classified, q groups of sub-image sequences can be obtained according to the preset method of the image classification model used. Among them, the image classification model can limit whether it supports multiplexing tomographic images through a configuration file. When multiplexing tomographic images is an optional implementation scheme, the PC can decide whether to multiplex tomographic images based on the number of image sequences to be classified. When the number of image sequences to be classified is greater than the target threshold, the PC does not multiplex tomographic images; when the number of image sequences to be classified is less than or equal to the target threshold, the PC multiplexes tomographic images.

[0215] Step 1530 , extracting q subsequence features corresponding to the q groups of sub-image sequences as object features of the object to be classified.

[0216] Optionally, after obtaining q groups of sub-image sequences, the PC can also extract q sub-sequence features from the q groups of sub-image sequences respectively as object features of the object to be classified, so as to complete preprocessing of the object to be classified.

[0217] Step 1540, input the object features of the object to be classified into the image classification model to obtain the corresponding classification result.

[0218] After preprocessing, the object to be classified can provide object features. The object features are input into the image classification model as input parameters to obtain the corresponding classification results.

[0219] Optionally, the classification result is used to indicate the internal structure state of the object to be classified. The internal structure state is used to indicate whether the internal structure is abnormal or in a certain specified state. In terms of the number of types of internal structure states, the classification result has more than one type.

[0220] In a possible implementation, the internal structure state is used to indicate the lung structure state, and the types of classification results include a normal state type, a first abnormal type, and a second abnormal type.

[0221] In summary, the image classification method shown in the present application can extract q groups of sub-image sequences from the image sequence to be classified after the PC obtains the image sequence to be classified by scanning the classification object, and extract the sub-sequence features of each of the q groups of sub-image sequences as the object features, and then input the object features into the image classification model to obtain the corresponding classification results. Since the whole process does not involve cutting the tomographic scan image, this solution can classify the classified object under the premise of ensuring the integrity of the overall features of the object to be classified, thereby improving the ability to identify image areas that are easily overlooked and having a higher recognition accuracy.

[0222] Optionally, the image classification method provided by the present application can, when preprocessing the image sequence to be classified, redivide the tomographic image into q groups of sub-image sequences in a specified manner, each group of sub-image sequences includes k tomographic images, and each group of sub-image sequences provides a sub-sequence feature, so that the spatial features of the previously associated tomographic images can be retained, so that the model can better judge the classification results of the objects to be classified.

[0223] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0224] Please refer to Fig.16 , Fig.16 This is a structural block diagram of a classification model training device provided by an exemplary embodiment of the present application. The classification model training device can be implemented as all or part of a terminal through software, hardware, or a combination of both. The device includes:

[0225] The image set acquisition module 1610 is used to acquire a sample image set, wherein the sample image set includes a sample image sequence of at least two sample objects, the sample image sequence of the same sample object includes a sequence formed by at least two tomographic images obtained by scanning the sample object, and the sample object is marked with a classification result.

[0226] The first sequence extraction module 1620 is configured to extract m groups of sub-image sequences from the sample image sequence of the same sample object, where m is a positive integer.

[0227] The first feature extraction module 1630 is used to extract m sub-sequence features corresponding to the m groups of sub-image sequences as sample features of the sample object.

[0228] The model training module 1640 is used to train an image classification model according to the sample features and the classification results of the at least two sample objects.

[0229] In an optional embodiment, each group of the sub-image sequences involved in the device includes k tomographic images, where k is a positive integer greater than 1.

[0230] In an optional embodiment, any two groups of sub-image sequences among the m groups of sub-image sequences involved in the device do not have the same tomographic image; or, there are at least two groups of sub-image sequences among the m groups of sub-image sequences that have the same tomographic image.

[0231] In an optional embodiment, the first sequence extraction module 1620 is used to continuously take k tomographic images from the sample image sequence of the same sample object as a group of sub-image sequences, and sequentially obtain the m groups of sub-image sequences; or, from the sample image sequence of the same sample object, take k tomographic images based on an interval step as a group of sub-image sequences, and sequentially obtain the m groups of sub-image sequences.

[0232] In an optional embodiment, the sample image set involved in the device includes k*m tomographic images, and the spatial distance between any two adjacent tomographic images in each group of the sub-image sequence is less than or equal to a preset threshold, and the preset threshold is a positive number; or, the spatial distance between any two adjacent tomographic images in each group of the sub-image sequence is equal to zero.

[0233] In an optional embodiment, the model training module 1640 is used to train the image classification model based on the sample features of the i-th sample object among the at least two sample objects and the classification results, where i is a positive integer; in response to the convergence of the loss function of the image classification model, confirm that the image classification model has completed training; in response to the failure of the loss function of the image classification model to converge, continue training the image classification model based on the sample features of the i+1-th sample object and the classification results.

[0234] In an optional embodiment, the classification result involved in the device is used to indicate the internal structural state of the sample object, and the classification result has more than one type.

[0235] In an optional embodiment, the internal structure state involved in the device is used to indicate the lung structure state, and the types of classification results include a normal state type, a first abnormal type, and a second abnormal type.

[0236] In summary, the training device of the classification model shown in the present application can use a sample image set including a sample image sequence of at least two sample objects when training an image classification model. The present application extracts m groups of sub-image sequences from the sample image sequence of the same sample object, and extracts m sub-sequence features corresponding to the m groups of sub-image sequences as sample features of the sample object. Finally, the image classification model is trained based on the sample features and classification results of at least two sample objects. Since the sample features of the same sample object include m sub-sequence features, one sub-sequence feature can provide both spatial information and image information of the target object, and the present application does not segment the sample image, so that the features in the sample image are completely retained. Therefore, the sensitivity of the image classification model trained by the present application is high, and the classification ability of the objects to be classified whose features are less obvious is improved.

[0237] Please refer to Fig.17 , Fig.17 This is a structural block diagram of an image classification device provided by an exemplary embodiment of the present application. The training device of the classification model can be implemented as all or part of the terminal through software, hardware or a combination of both.

[0238] The device includes:

[0239] A sequence acquisition module 1710 is used to acquire a sequence of images to be classified of an object to be classified, wherein the sequence of images to be classified includes a sequence formed by at least two tomographic scan images obtained by scanning the object to be classified;

[0240] The second sequence extraction module 1720 is used to extract q groups of sub-image sequences from the image sequence to be classified, where q is a positive integer;

[0241] The second feature extraction module 1730 is used to extract q sub-sequence features corresponding to the q groups of sub-image sequences as object features of the object to be classified;

[0242] The object classification module 1740 is used to input the object features of the object to be classified into the image classification model to obtain the corresponding classification result.

[0243] In an optional embodiment, the sub-image sequence involved in the device includes k tomographic images, where k is a positive integer greater than 1.

[0244] In an optional embodiment, any two groups of sub-image sequences among the q groups of sub-image sequences do not have the same tomographic image; or, at least two groups of sub-image sequences among the q groups of sub-image sequences have the same tomographic image.

[0245] In an optional embodiment, the second sequence extraction module 1720 is used to continuously take k tomographic images from the image sequence to be classified as a group of sub-image sequences, and sequentially obtain the q groups of sub-image sequences; or, the second sequence extraction module 1720 is used to continuously take k tomographic images from the image sequence to be classified as a group of sub-image sequences based on the interval step, and sequentially obtain the q groups of sub-image sequences.

[0246] In an optional embodiment, the classification result involved in the device is used to indicate the internal structure state of the object to be classified, and the type of the classification result is more than one.

[0247] In an optional embodiment, the internal structure state involved in the device is used to indicate the lung structure state, and the types of classification results include a normal state type, a first abnormal type, and a second abnormal type.

[0248] To sum up, the device shown in the present application can, after acquiring the image sequence to be classified of the object to be classified, extract q groups of sub-image sequences from the image sequence to be classified, and then extract q sub-sequence features from the q groups of sub-image sequences as the object features of the object to be classified, and input the object features into the image classification model to obtain the classification result of the object to be classified. The classification result is used to indicate the most likely classification of the object to be classified, thereby achieving the effect of judging the corresponding classification result based on the complete image sequence to be classified of the object to be classified, thereby avoiding missing the inconspicuous feature image areas in the image of the object to be classified and reducing the occurrence of misjudgment.

[0249] For example, the training method of the classification model shown in the embodiment of the present application can be applied in a computer device, and the terminal has the training function of the image classification model. The terminal can include a tablet computer, a laptop computer, a desktop computer, an all-in-one computer, a server or a workstation, etc.

[0250] See also Fig.18 , Fig.18 1 is a block diagram of a computer device provided by an exemplary embodiment of the present application. Fig.18 As shown, the computer device includes a processor 1820 and a memory 1840, wherein the memory 1840 stores at least one instruction, and the instruction is loaded and executed by the processor 1820 to implement the training method of the classification model as described in each method embodiment of the present application. Alternatively, the instruction is loaded and executed by the processor 1820 to implement the image classification method as described in each method embodiment of the present application.

[0251] In a possible implementation of the present application, the computer device 1800 is an electronic device with a classification model training function. The computer device 1800 is capable of acquiring a sample image set, the sample image set including a sample image sequence of at least two sample objects, the sample image sequence of the same sample object including a sequence formed by at least two tomographic images obtained by scanning the sample object, and the sample object is annotated with a classification result; extracting m groups of sub-image sequences from the sample image sequence of the same sample object, where m is a positive integer; extracting m sub-sequence features corresponding to the m groups of sub-image sequences as sample features of the sample object; and training an image classification model based on the sample features of the at least two sample objects and the classification results.

[0252] In another possible implementation of the present application, the computer device 1800 is an electronic device with a classification model training function. The computer device 1800 can obtain a sequence of images to be classified of an object to be classified, the sequence of images to be classified comprising a sequence formed by at least two tomographic images obtained by scanning the object to be classified; extract q groups of sub-image sequences from the sequence of images to be classified, where q is a positive integer; extract q sub-sequence features corresponding to the q groups of sub-image sequences as object features of the object to be classified; and input the object features of the object to be classified into an image classification model to obtain a corresponding classification result.

[0253] The processor 1820 may include one or more processing cores. The processor 1820 uses various interfaces and lines to connect various parts of the entire computer device 1800, and executes various functions and processes data of the computer device 1800 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1840, and calling data stored in the memory 1840. Optionally, the processor 1820 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 1820 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 1820, but may be implemented separately through a chip.

[0254] The memory 1840 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 1840 includes a non-transitory computer-readable storage medium. The memory 1840 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 1840 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc.; the data storage area may store data involved in the following various method embodiments, etc.

[0255] An embodiment of the present application also provides a computer-readable medium, which stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the training method of the classification model described in the above embodiments.

[0256] It should be noted that: when executing the training method of the classification model, the training device of the classification model provided in the above embodiment only uses the division of the above functional modules as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the training device of the classification model provided in the above embodiment and the training method embodiment of the classification model belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0257] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0258] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0259] The above description is only an illustrative embodiment that can be implemented in 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 scope of protection of the present application.

Claims

1. A classification model training method, characterized in that: The method comprises: Acquire a sample image set, the sample image set comprising a sample image sequence of at least two sample objects, the sample image sequence of the same sample object comprising a sequence formed by at least two tomographic images obtained by scanning the sample object, and the sample object is annotated with a classification result; From the sample image sequence of the same sample object, k tomographic images are selected as a group of sub-image sequences based on the interval step, and m groups of sub-image sequences are obtained in sequence, where m is a positive integer; Extracting m subsequence features corresponding to the m groups of sub-image sequences as sample features of the sample object through an image classification model; Training the image classification model according to the sample features and the classification results of the at least two sample objects; Among them, the image classification model includes a 3D convolution basic block, which is used to extract the m subsequence features corresponding to the m groups of sub-image sequences, and one of the subsequence features can represent a spatial feature in a spatial volume, and the spatial feature is a feature extracted from the entire spatial volume, and the spatial volume is a spatial volume composed of k tomographic images in the same group of subsequence images; at least one of the 3D convolution basic blocks includes a basic residual block and a bottleneck residual block, and the basic residual block includes two convolution layers, and the kernel size of each convolution layer of the basic residual block is 3*3*3, and each convolution layer of the basic residual block is followed by batch normalization and an operation based on a linear rectification function ReLU unit, and the basic residual block includes a shortcut channel, and the shortcut channel of the basic residual block is used to connect the top of the basic residual block to the last one in the basic residual block. The bottleneck residual block includes three convolution layers, the kernel sizes of the first convolution layer and the third convolution layer of the bottleneck residual block are 1*1*1, the kernel size of the second convolution layer of the bottleneck residual block is 3*3*3, batch normalization and ReLU unit-based operations are performed after each convolution layer of the bottleneck residual block, the bottleneck residual block includes a shortcut channel, and the shortcut channel of the bottleneck residual block is used to connect the top of the bottleneck residual block to the layer before the last ReLU unit in the bottleneck residual block. The shortcuts of the basic residual block and the bottleneck residual block include identity mapping and zero padding. The basic residual block and the bottleneck residual block are used to avoid increasing the number of parameters in the image classification model; the spatial distance between any two adjacent tomographic images in each group of the sub-image sequence is less than or equal to a preset threshold, and the preset threshold is a positive number.

2. The method according to claim 1, characterized in that Each group of the sub-image sequences includes k tomographic images, where k is a positive integer greater than 1.

3. The method according to claim 2, characterized in that Any two groups of sub-image sequences in the m groups of sub-image sequences do not have the same tomographic images; or, Among the m groups of sub-image sequences, at least two groups of sub-image sequences have the same tomographic images.

4. The method according to any one of claims 1 to 3, characterized in that: The step of training an image classification model according to the sample features and the classification results of the at least two sample objects comprises: Training the image classification model according to the sample features of the i-th sample object among the at least two sample objects and the classification result, where i is a positive integer; In response to the loss function of the image classification model converging, confirming that the image classification model has completed training; In response to the loss function of the image classification model not converging, the image classification model continues to be trained according to the sample features of the (i+1)th sample object and the classification result.

5. The method according to any one of claims 1 to 3, characterized in that: The classification result is used to indicate the internal structural state of the sample object, and the classification result has more than one type.

6. The method according to claim 5, characterized in that The internal structure state is used to indicate the lung structure state, and the types of the classification results include a normal state type, a first abnormal type, and a second abnormal type.

7. An image classification method, characterized in that: The method comprises: Acquire a sequence of images to be classified, wherein the sequence of images to be classified includes a sequence formed by at least two tomographic images obtained by scanning the object to be classified; From the image sequence to be classified, k tomographic images are selected as a group of sub-image sequences based on the interval step, and q groups of sub-image sequences are obtained in sequence, where q is a positive integer; Extracting q subsequence features corresponding to the q groups of sub-image sequences through an image classification model as object features of the object to be classified; Inputting the object features of the object to be classified into the image classification model to obtain a corresponding classification result; Among them, the image classification model includes a 3D convolution basic block, which is used to extract the q subsequence features corresponding to the q groups of sub-image sequences, and one of the subsequence features can represent a spatial feature in a spatial volume, and the spatial feature is a feature extracted from the entire spatial volume, and the spatial volume is a spatial volume composed of k tomographic images in the same group of subsequence images; at least one of the 3D convolution basic blocks includes a basic residual block and a bottleneck residual block, and the basic residual block includes two convolution layers, and the kernel size of each convolution layer of the basic residual block is 3*3*3, and each convolution layer of the basic residual block is followed by batch normalization and an operation based on a linear rectification function ReLU unit, and the basic residual block includes a shortcut channel, and the shortcut channel of the basic residual block is used to connect the top of the basic residual block to the last one in the basic residual block. The bottleneck residual block includes three convolution layers, the kernel sizes of the first convolution layer and the third convolution layer of the bottleneck residual block are 1*1*1, the kernel size of the second convolution layer of the bottleneck residual block is 3*3*3, batch normalization and ReLU unit-based operations are performed after each convolution layer of the bottleneck residual block, the bottleneck residual block includes a shortcut channel, and the shortcut channel of the bottleneck residual block is used to connect the top of the bottleneck residual block to the layer before the last ReLU unit in the bottleneck residual block. The shortcuts of the basic residual block and the bottleneck residual block include identity mapping and zero padding. The basic residual block and the bottleneck residual block are used to avoid increasing the number of parameters in the image classification model; the spatial distance between any two adjacent tomographic images in each group of the sub-image sequence is less than or equal to a preset threshold, and the preset threshold is a positive number.

8. The method according to claim 7, characterized in that The sub-image sequence includes k tomographic images, where k is a positive integer greater than 1.

9. The method according to claim 8, characterized in that Any two groups of sub-image sequences in the q groups of sub-image sequences do not have the same tomographic scan images; or, Among the q groups of sub-image sequences, at least two groups of sub-image sequences have the same tomographic images.

10. The method according to any one of claims 7 to 9, characterized in that: The classification result is used to indicate the internal structure state of the object to be classified, and the classification result has more than one type.

11. The method according to claim 10, characterized in that The internal structure state is used to indicate the lung structure state, and the types of the classification results include a normal state type, a first abnormal type, and a second abnormal type.

12. A training device for a classification model, characterized in that: The device comprises: An image set acquisition module, used to acquire a sample image set, wherein the sample image set includes a sample image sequence of at least two sample objects, wherein the sample image sequence of the same sample object includes a sequence formed by at least two tomographic images obtained by scanning the sample object, and the sample object is annotated with a classification result; A first sequence extraction module is used to extract k tomographic images from the sample image sequence of the same sample object as a group of sub-image sequences based on an interval step, and sequentially obtain m groups of sub-image sequences, where m is a positive integer; A first feature extraction module is used to extract m subsequence features corresponding to m groups of sub-image sequences through an image classification model as sample features of the sample object; A model training module, used for training the image classification model according to the sample features and the classification results of the at least two sample objects; Among them, the image classification model includes a 3D convolution basic block, which is used to extract the m subsequence features corresponding to the m groups of sub-image sequences, and one of the subsequence features can represent a spatial feature in a spatial volume, and the spatial feature is a feature extracted from the entire spatial volume, and the spatial volume is a spatial volume composed of k tomographic images in the same group of subsequence images; at least one of the 3D convolution basic blocks includes a basic residual block and a bottleneck residual block, and the basic residual block includes two convolution layers, and the kernel size of each convolution layer of the basic residual block is 3*3*3, and each convolution layer of the basic residual block is followed by batch normalization and an operation based on a linear rectification function ReLU unit, and the basic residual block includes a shortcut channel, and the shortcut channel of the basic residual block is used to connect the top of the basic residual block to the last one in the basic residual block. The bottleneck residual block includes three convolution layers, the kernel sizes of the first convolution layer and the third convolution layer of the bottleneck residual block are 1*1*1, the kernel size of the second convolution layer of the bottleneck residual block is 3*3*3, batch normalization and ReLU unit-based operations are performed after each convolution layer of the bottleneck residual block, the bottleneck residual block includes a shortcut channel, and the shortcut channel of the bottleneck residual block is used to connect the top of the bottleneck residual block to the layer before the last ReLU unit in the bottleneck residual block. The shortcuts of the basic residual block and the bottleneck residual block include identity mapping and zero padding. The basic residual block and the bottleneck residual block are used to avoid increasing the number of parameters in the image classification model; the spatial distance between any two adjacent tomographic images in each group of the sub-image sequence is less than or equal to a preset threshold, and the preset threshold is a positive number.

13. An image classification device, characterized in that: The device comprises: A sequence acquisition module, used to acquire a sequence of images to be classified of the object to be classified, wherein the sequence of images to be classified includes a sequence formed by at least two tomographic images obtained by scanning the object to be classified; A second sequence extraction module is used to extract k tomographic images from the image sequence to be classified as a group of sub-image sequences based on an interval step, and sequentially obtain q groups of sub-image sequences, where q is a positive integer; A second feature extraction module is used to extract q subsequence features corresponding to q groups of sub-image sequences through an image classification model as object features of the object to be classified; An object classification module, used for inputting the object features of the object to be classified into the image classification model to obtain a corresponding classification result; Among them, the image classification model includes a 3D convolution basic block, which is used to extract the q subsequence features corresponding to the q groups of sub-image sequences, and one of the subsequence features can represent a spatial feature in a spatial volume, and the spatial feature is a feature extracted from the entire spatial volume, and the spatial volume is a spatial volume composed of k tomographic images in the same group of subsequence images; at least one of the 3D convolution basic blocks includes a basic residual block and a bottleneck residual block, and the basic residual block includes two convolution layers, and the kernel size of each convolution layer of the basic residual block is 3*3*3, and each convolution layer of the basic residual block is followed by batch normalization and an operation based on a linear rectification function ReLU unit, and the basic residual block includes a shortcut channel, and the shortcut channel of the basic residual block is used to connect the top of the basic residual block to the last one in the basic residual block. The bottleneck residual block includes three convolution layers, the kernel sizes of the first convolution layer and the third convolution layer of the bottleneck residual block are 1*1*1, the kernel size of the second convolution layer of the bottleneck residual block is 3*3*3, batch normalization and ReLU unit-based operations are performed after each convolution layer of the bottleneck residual block, the bottleneck residual block includes a shortcut channel, and the shortcut channel of the bottleneck residual block is used to connect the top of the bottleneck residual block to the layer before the last ReLU unit in the bottleneck residual block. The shortcuts of the basic residual block and the bottleneck residual block include identity mapping and zero padding. The basic residual block and the bottleneck residual block are used to avoid increasing the number of parameters in the image classification model; the spatial distance between any two adjacent tomographic images in each group of the sub-image sequence is less than or equal to a preset threshold, and the preset threshold is a positive number.

14. A computer device, characterized in that: The computer device includes a processor, a memory connected to the processor, and program instructions stored in the memory. When the processor executes the program instructions, the training method of the classification model as described in any one of claims 1 to 6 is implemented.

15. A computer device, characterized in that: The computer device includes a processor, a memory connected to the processor, and program instructions stored in the memory. When the processor executes the program instructions, the image classification method according to any one of claims 7 to 11 is implemented.

16. A computer-readable storage medium, wherein program instructions are stored in the storage medium, characterized in that: When the program instructions are executed by a processor, a training method for a classification model as described in any one of claims 1 to 6 is implemented.

17. A computer-readable storage medium, wherein program instructions are stored in the storage medium, characterized in that: When the program instructions are executed by a processor, the image classification method as described in any one of claims 7 to 11 is implemented.