A laryngeal cancer cell image classification method based on global Gabor filtering and local LBP features

By combining global Gabor filtering and local LBP features, using multi-scale and multi-directional Gabor filtering and local binary method to extract features, the problem of combining global and local features in laryngeal cancer cell image classification is solved, and accurate classification of laryngeal cancer cell images is achieved. classification, improving classification accuracy.

CN115115598BActive Publication Date: 2024-09-17山东省协同创新中药产业研究院有限公司
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210765034.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-30
Publication Date
2024-09-17
Estimated Expiration
2042-06-30

AI Technical Summary

Technical Problem

The existing technology is difficult to effectively combine global and local texture features in laryngeal cancer cell image classification, resulting in insufficient classification accuracy.

Method used

Global Gabor filtering and local LBP feature methods were used to extract global and local texture features of the laryngeal cancer cell data set, and image classification was achieved through SVM classifier training. Specific steps include data preprocessing, global feature extraction, local feature extraction, classifier training and test result prediction, combined with multi-scale and multi-directional Gabor filtering and local binary method to extract features.

Benefits of technology

It achieves accurate classification of fluorescence-stained laryngeal cancer cell images, combines the advantages of global and local texture features, and improves the utilization rate of discriminant features and classification accuracy of cell images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115115598B
    Figure CN115115598B
Patent Text Reader

Abstract

The present invention provides a laryngeal cancer cell image classification method based on global Gabor filtering and local LBP features, comprising the following steps: S1, obtaining a laryngeal cancer cell image data set and performing data preprocessing; S2, extracting image global feature information; S3, extracting image local feature information; S4, image classifier training; S5, test image label prediction, and obtaining test results. The present invention adopts the Gabor filtering method and the LBP method, and can accurately and efficiently classify laryngeal cancer cell images, and has both better classification accuracy and kappa coefficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of image processing, and in particular to a laryngeal cancer cell image classification method based on global Gabor filtering and local LBP features. Background Art

[0002] More than a century ago, basic diagnosis mainly relied on doctors to judge and distinguish based on patients' self-narration and symptoms. Observation, smell, questioning and palpation were still the traditional means for doctors to save lives. With the continuous advancement of science and technology, modern medicine, which has only appeared in the past two or three hundred years, has begun to develop rapidly. With the continuous improvement of the level of medical scientific research, the emergence of new drugs and new therapies, humans have a deeper understanding of the causes of diseases, and the treatment and prevention methods for various diseases have continued to increase, and the diagnosis and treatment effects have also been significantly improved. Although cancer is ferocious, there are only a few treatment methods such as radiotherapy, chemotherapy, and targeted drug therapy, and the success rate of cure is extremely low. In order to detect and treat cancer in its early stages or even before it develops, accurate identification and classification of cancer is the key. In order to start treatment in the early stages of cancer or before it develops, so as not to drag it into the middle or even late stages, early diagnosis of cancer has become a top priority, and how to improve the accuracy of cancer identification has become a major problem.

[0003] Cancer cell image classification is a method that distinguishes different types of cell images based on the different features revealed by the cells. Existing classification methods can be divided into several types based on different features, such as color feature-based, texture feature-based, and shape feature-based. Among them, texture feature-based image classification technology is the most effective method for classifying fluorescently stained laryngeal cancer images. Texture classification has the advantages of strong robustness, high accuracy, and rotation invariance.

[0004] Accurate laryngeal cancer cell classification models are heavily dependent on the extracted cell features. The features extracted by Gabor filtering have strong spatiality, scale and direction adjustability, and are insensitive to illumination changes. However, Gabor functions often extract global features of images, while local detail features of cells are also particularly important for accurate classification. Therefore, the present invention combines the local binary pattern (LBP) method that can extract local texture detail features of images with the global feature extraction Gabor method to propose an algorithm for accurately and effectively classifying laryngeal cancer cell images. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a laryngeal cancer cell image classification method based on global Gabor filtering and local LBP features. The Gabor filtering method and the LBP method are used to extract the global texture features of the laryngeal cancer cell data set and the local texture features of the laryngeal cancer cell data set respectively, and the global and local texture features are combined to train a SVM classifier to achieve accurate classification of laryngeal cancer cell images.

[0006] In order to solve the above technical problems, an embodiment of the present invention provides a laryngeal cancer cell image classification method based on global Gabor filtering and local LBP features, comprising the following steps:

[0007] S1, obtaining a laryngeal cancer cell image dataset and performing data preprocessing;

[0008] S2, extracting global feature information of the image;

[0009] S3, extracting local feature information of the image;

[0010] S4, image classifier training;

[0011] S5. Predict the test image label and obtain the test result.

[0012] The specific steps of step S1 are:

[0013] S1.1, randomly disrupt the order of elements in the data set;

[0014] S1.2, extract a part of the elements of the entire data set as the training set, and the other part of the data elements as the test set;

[0015] S1.3. The imported laryngeal cancer cell images are uniformly stretched to a digital size of 50×50 pixels and the image pixels are normalized.

[0016] Wherein, in step S1.2, 80% of the elements of the entire data set are extracted as a training set, and the remaining 20% ​​of the data elements are used as a test set.

[0017] Wherein, the step S2 comprises the following steps:

[0018] S2.1, set 40 Gabor filter kernels, including 5 scale Gabor filter kernels and 8 angle Gabor filter kernels;

[0019] S2.2, looping through the 40 Gabor filter kernels set in step S2.1, performing filtering operations on each Gabor filter kernel and the original image to obtain 40 filtered images;

[0020] S2.3. Perform matrix addition on the filtered Gabor image to obtain a Gabor global feature matrix with a digital size of 50×50 pixels.

[0021] Furthermore, in step S2.1, the five scales are 16 pixels, 32 pixels, 64 pixels, 128 pixels, and 256 pixels, and the eight angle directions are 0 degrees, 45 degrees, 90 degrees, 135 degrees, 180 degrees, 225 degrees, 270 degrees, and 315 degrees.

[0022] The specific steps of step S3 are:

[0023] S3.1. Set the detection window to a small area of ​​3×3 pixels. For the central pixel in each small area (with the central pixel of the window as the threshold), compare the grayscale values ​​of the 8 adjacent pixels with it. If the surrounding pixel value is greater than the central pixel value, the position of the pixel is marked as 1, otherwise it is marked as 0. In this way, the 8 points in the 3*3 neighborhood can generate an 8-bit binary number after comparison, that is, the LBP (Local Binary Pattern) mode value of the central pixel of the window is obtained;

[0024] S3.2, calculate the histogram of each small area to obtain the frequency of occurrence of each LBP mode value;

[0025] S3.3, normalizing the histogram of each small area;

[0026] S3.4. Connect the histograms of all small areas to obtain the LBP texture features of the entire image.

[0027] The specific steps of step S4 are as follows:

[0028] S4.1. Establish an SVM model and set two hyperparameters C and γ of SVM, where the value of C is 0.1, 1 and 10, and the value of γ is 0.1, 0.2, 0.3;

[0029] S4.2, using the combination of hyperparameters in step S4.1 to perform grid search and select the best fitting hyperplane coefficient;

[0030] S4.3, the training set in step S1 is divided into five equal parts, one of the five parts is used as a validation set in turn to test the model accuracy, and then the average of the five validation results is taken as the validation set result of the SVM classification model;

[0031] S4.4. Save the best SVM hyperparameter model of the validation set.

[0032] The beneficial effects of the above technical solution of the present invention are as follows:

[0033] The present invention adopts a laryngeal cancer cell image classification algorithm based on global Gabor filtering and local LBP features, combines the global Gabor filtering features with the local LBP features to accurately classify the fluorescently stained laryngeal cancer cell images, has the advantages of both global and local texture feature extraction algorithms, can effectively utilize the discriminant features of laryngeal cancer cell data, and thus achieve accurate classification of cell images. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 It is a process framework diagram of the present invention;

[0035] Figure 2 It is a visualization diagram of the Gabor filter kernel in the present invention;

[0036] Figure 3 This is a schematic diagram of the LBP operator calculation in the present invention. DETAILED DESCRIPTION

[0037] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0038] like Figure 1 As shown, an embodiment of the present invention provides a laryngeal cancer cell image classification method based on global Gabor filtering and local LBP features, comprising the following steps:

[0039] S1, obtaining a laryngeal cancer cell image dataset and performing data preprocessing;

[0040] S2, extracting global feature information of the image;

[0041] S3, extracting local feature information of the image;

[0042] S4, image classifier training;

[0043] S5. Predict the test image label and obtain the test result.

[0044] In this embodiment, the specific steps of step S1 are:

[0045] S1.1, randomly disrupt the order of elements in the data set;

[0046] S1.2, extract 80% of the elements of the entire data set as the training set, and the remaining 20% ​​of the data elements as the test set;

[0047] S1.3. The imported laryngeal cancer cell images are uniformly stretched to a digital size of 50×50 pixels and the image pixels are normalized.

[0048] The specific steps of step S2 are:

[0049] S2.1. Set the Gabor kernel to 5 scales and 8 angles. The 5 scales are 16 pixels, 32 pixels, 64 pixels, 128 pixels, and 256 pixels. The 8 angles are 0 degrees, 45 degrees, 90 degrees, 135 degrees, 180 degrees, 225 degrees, 270 degrees, and 315 degrees. There are 40 Gabor filter kernels in total.

[0050] S2.2, looping through the 40 Gabor filter kernels set in step S2.1, filtering each kernel with the original image to obtain 40 filtered images;

[0051] S2.3. Perform matrix addition on the filtered Gabor image to obtain a Gabor global feature matrix with a digital size of 50×50 pixels.

[0052] The Gabor filter kernel visualization diagram in the present invention is as follows: Figure 2 shown.

[0053] The specific steps of S3 are:

[0054] S3.1. Set the detection window to a small area of ​​3×3 pixels. For the central pixel in each small area (with the central pixel of the window as the threshold), compare the grayscale values ​​of the 8 adjacent pixels with it. If the surrounding pixel value is greater than the central pixel value, the position of the pixel is marked as 1, otherwise it is marked as 0. In this way, the 8 points in the 3*3 neighborhood can generate an 8-bit binary number after comparison, that is, the LBP (Local Binary Pattern) mode value of the central pixel of the window is obtained;

[0055] S3.2, calculate the histogram of each small area to obtain the frequency of occurrence of each LBP mode value;

[0056] S3.3, normalizing the histogram of each small area;

[0057] S3.4. Connect the histograms of all small areas to obtain the LBP texture features of the entire image.

[0058] The schematic diagram of LBP operator calculation in the present invention is as follows: Figure 3 shown.

[0059] The specific steps of step S4 are:

[0060] S4.1. Establish an SVM model and set two hyperparameters C and γ of SVM, where the value of C is 0.1, 1 and 10, and the value of γ is 0.1, 0.2, 0.3;

[0061] S4.2, using the combination of hyperparameters in step S4.1 to perform grid search and select the best fitting hyperplane coefficient;

[0062] S4.3, divide the training set in step S1 into five equal parts, take one of the five parts as the validation set in turn to test the model accuracy, and then take the average of the five validation results as the validation set result of the SVM classification model;

[0063] S4.4. Save the best SVM hyperparameter model of the validation set.

[0064] The present invention uses Gabor filters of 5 scales and 8 directions to perform multi-scale and multi-method filtering on images. The Gabor filter only allows the image texture corresponding to its frequency to pass smoothly, while the energy of other textures will be suppressed, making it difficult for them to pass through. Based on this feature, the frequency of the Gabor filter can be made to correspond to the texture frequency of the image, and the global texture features of the image in different scales and directions can be filtered out by using multi-scale and multi-directional Gabor filters. First, different features of 40 Gabor kernels are extracted, and then all features are matrix-added to achieve the purpose of global feature extraction of feature selection.

[0065] In addition, the present invention adopts the LBP method to extract features, which has the significant advantages of being simple and easy to calculate, grayscale invariance and rotation invariance. Compared with its feature extraction method, the local features extracted by LBP eliminate the problem of illumination change to a certain extent, have the advantages of rotation invariance, low texture feature dimension, fast calculation speed, etc. In addition, the combination of local LBP and global Gabor filtering can achieve the effect of local-global and comprehensive feature extraction.

[0066] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A laryngeal cancer cell image classification method based on global Gabor filtering and local LBP features, characterized in that: The following steps are involved: S1, obtaining a laryngeal cancer cell image dataset and performing data preprocessing; S2, extracting global feature information of the image; S3, extracting local feature information of the image; S4, image classifier training; S5, predict the test image label and obtain the test result; The step S2 comprises the following steps: S2.1, set 40 Gabor filter kernels, including 5 scale Gabor filter kernels and 8 angle Gabor filter kernels; S2.2, looping through the 40 Gabor filter kernels set in step S2.1, performing filtering operations on each Gabor filter kernel and the original image to obtain 40 filtered images; S2.3, performing matrix addition on the filtered Gabor image to obtain a Gabor global feature matrix with a digital size of 50×50 pixels; In step S2.1, the five scales are 16 pixels, 32 pixels, 64 pixels, 128 pixels, and 256 pixels, and the eight angle directions are 0 degrees, 45 degrees, 90 degrees, 135 degrees, 180 degrees, 225 degrees, 270 degrees, and 315 degrees; The step S3 comprises the following steps: S3.

1. Set the detection window to a small area of ​​3×3 pixels, compare the grayscale values ​​of the adjacent 8 pixels with it, and if the surrounding pixel values ​​are greater than the central pixel value, the position of the pixel is marked as 1, otherwise it is 0, and the LBP mode value of the central pixel of the window is obtained; S3.2, calculate the histogram of each small area to obtain the frequency of occurrence of each LBP mode value; S3.3, normalizing the histogram of each small area; S3.

4. Connect the histograms of all small areas to obtain the LBP texture features of the entire image.

2. The laryngeal cancer cell image classification method based on global Gabor filtering and local LBP features according to claim 1 is characterized in that: The step S1 comprises the following steps: S1.1, randomly disrupt the order of elements in the data set; S1.2, extract a part of the elements of the entire data set as the training set, and the other part of the data elements as the test set; S1.

3. The imported laryngeal cancer cell images are uniformly stretched to a digital size of 50×50 pixels and the image pixels are normalized.

3. The laryngeal cancer cell image classification method based on global Gabor filtering and local LBP features according to claim 2 is characterized in that: In step S1.2, 80% of the elements of the entire data set are extracted as a training set, and the remaining 20% ​​of the data elements are used as a test set.

4. The laryngeal cancer cell image classification method based on global Gabor filtering and local LBP features according to claim 1 is characterized in that: The step S4 comprises the following steps: S4.

1. Establish an SVM model and set two hyperparameters C and γ of SVM, where the value of C is 0.1, 1 and 10, and the value of γ is 0.1, 0.2, 0.3; S4.2, using the combination of hyperparameters in step S4.1 to perform grid search and select the best fitting hyperplane coefficient; S4.3, divide the training set in step S1 into five equal parts, take one of the five parts as the validation set in turn to test the model accuracy, and then take the average of the five validation results as the validation set result of the SVM classification model; S4.

4. Save the best SVM hyperparameter model of the validation set.

Citation Information

Patent Citations

  • CLBP texture image processing method based on multi-scale thresholds

    CN110766022A

  • Texture image classification method and system based on refined local mode

    CN112488123A

  • Method and equipment for classifying hepatocellular carcinoma images by combining computer vision features and radiomics features

    US20210200988A1