Image Classification Method Based on Semantic Segmentation
The image identification method using semantic segmentation with a convolutional neural network enhances esophageal cancer diagnosis by automatically detecting lesions with high accuracy, addressing the limitations of existing endoscopic techniques.
Patent Information
- Application Number
- JP2023014984
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-03-04
- Filing Date
- 2023-02-03
- Publication Date
- 2024-08-14
- Estimated Expiration
- 2043-02-03
AI Technical Summary
Current endoscopic methods for diagnosing esophageal cancer, particularly in early stages, suffer from low accuracy and require complex human operation, leading to missed lesions and late treatment due to the difficulty in identifying minute changes and the limitations of existing imaging technologies.
An image identification method based on semantic segmentation using a residual learning model of a convolutional neural network to encode and decode input images, generating semantic segmentation blocks that are classified as target or non-target object images, thereby aiding in automatic lesion detection.
The method achieves high accuracy in identifying esophageal cancer lesions, with 79% overall accuracy for white light images and 82% for narrow band images, significantly improving the precision of lesion detection and reducing human error.
Smart Images

Figure 0007533881000006 
Figure 0007533881000005 
Figure 0007533881000007
Abstract
Description
[Technical field]
[0001] The present invention relates to an image identification method, and in particular to an image identification method based on semantic segmentation. [Background technology]
[0002] At present, endoscopic imaging is commonly used to diagnose diseases of the digestive tract, especially esophageal cancer. Early esophageal cancer rarely has symptoms, so many patients only find out when they have swallowing problems. Clinically, esophageal cancer is diagnosed using esophageal endoscopy.
[0003] The esophagus is a tubular organ that connects the pharynx and the stomach, and is mainly used to transport food swallowed from the mouth to the stomach. Normal esophageal mucosa has multiple layers of squamous epithelial cells, is about 200 to 500 μm thick, and can be divided into the epithelial layer (EP), lamina propria (LPM), muscularis mucosae (MM), submucosa (SM), and muscularis propria (MP) from the surface down. Malignant tumors that occur in epithelial tissues are called cancers, and esophageal cancer is the eighth most common cancer in the world. In addition, malignant tumors (called cancer or malignant tumors) usually affect physiological functions and include sarcoma, lymphoma, leukemia, melanoma, carcinosarcoma, malignant glioma, etc.
[0004] Malignant tumors that develop in connective tissue are called sarcomas. The so-called connective tissues include fibrous tissue, adipose tissue, muscle, blood vessels, bone, and cartilage. Lymphoma and leukemia develop in hematopoietic tissue. Melanoma develops in skin cells. Malignant tumors that develop simultaneously in epithelial and connective tissue are called carcinosarcomas. Malignant gliomas are malignant tumors that develop in nervous tissue. Malignant tumors of esophageal cancer not only invade the epithelial tissue of the esophagus, but also invade the connective tissue in the later stages.
[0005] Current disease diagnostic techniques usually rely on single macroscopic data and information such as body temperature, blood pressure, and body scan images. For example, most of the currently commonly used devices to detect serious diseases such as cancer are imaging technology-based devices, including X-rays, CT scans, and Magnetic Resonance Imaging (MRI) technology. The combination of these diagnostic devices is more or less useful for diagnosing diseases. However, when these devices are used alone, they cannot provide accurate, highly precise, efficient, and economical detection of serious diseases at an early stage when they develop. Furthermore, many of the above conventional devices, such as X-rays, CT scans, and Nuclear Magnetic Resonance (NMR) imaging, are large and invasive. Therefore, in order to observe lesions in the digestive organs, endoscopy has been developed to examine whether lesions exist in the digestive organs.
[0006] In addition, early esophageal cancer is not easy to diagnose, and not only are there almost no symptoms in the early stages, but some early esophageal cancers are difficult to detect even with esophageal endoscopy. Because the changes in these lesions are very fine and often only have slight color changes, many early esophageal cancer lesions are overlooked with conventional endoscopic examinations, and treatment is delayed until it is too late. For this reason, Lugol chromoendoscopy, narrow band imaging technology (NBI), and magnifying endoscopy have been developed to detect lesions that are difficult to detect.
[0007] White Light Imaging (WLI): This is a traditional endoscopic technique in which white light is shone onto the esophageal mucosa and an image of the esophagus is obtained by reflection, but it has a low ability to detect early-stage lesions and can only detect obvious lesions such as late-stage esophageal cancer.
[0008] Narrow band endoscopic imaging (NBI): NBI can reveal the changes in IPCL blood vessels. It uses selected 415nm and 540nm light to scatter and absorb in blood vessels and intracellular tissues, and the hemoglobulin in blood vessels absorbs blue and green light, so the superficial capillaries appear brown, and other large blood vessels appear blue, which is superior to traditional white light.
[0009] Chromoendoscopy: In addition to changing the light source, the location of the lesion is determined by staining, taking advantage of changes in cells caused by cancer, but special care must be taken with esophageal staining due to the risk of accidental inhalation. Lugol chromoendoscopy is often used, which uses iodine to stain liver sugar brown, but cancer cells cannot be stained because they convert glycogen into energy. This allows the location of a likely lesion to be found, and these areas are sliced to confirm whether they have become cancerous, but iodine staining can cause discomfort in the chest and the patient may have an allergic reaction.
[0010] Magnifying endoscopy (ME): Unlike other endoscopic techniques, ME utilizes zoom technology to magnify the image while maintaining image quality, allowing for the observation of minute changes in the lesion. When combined with other image enhancement techniques such as NBI, it can stage the morphology of IPCL and determine the degree of cancer invasion.
[0011] However, the operation of the endoscope is very complicated, and only qualified medical staff can perform endoscopic examinations. Furthermore, medical staff must identify lesions while operating the endoscope. Although various improvements have been made to endoscopic examination methods, problems such as human operation errors and difficulty in identifying endoscopic images still exist.
[0012] In addition, new endoscopes, such as capsule endoscopes, sacrifice narrowband imaging capabilities and only provide white light imaging capabilities in order to reduce patient discomfort and facilitate easy access to the body, making it more difficult for doctors to interpret images.
[0013] Therefore, there is a need for a method to improve the esophageal cancer diagnosis process. Computer-aided diagnosis (CAD) technology has become a focus of biomedical research, and computer-aided diagnosis medical images can help doctors accurately determine the type of disease and the location of the lesion, and also improve the efficiency of image review. The use of convolutional neural networks in the field of computer vision (CV) is a current technological trend and has several application methods.
[0014] 1. Image Classification: Images are screened for classification, and deep learning is used to identify which classification the image belongs to. The focus is on one image containing one classification even if the image contains multiple targets. Therefore, simple image classification is not widely used. However, single target identification has the highest accuracy rate for deep learning algorithms, so in practical applications, object detection methods are used to find the target, and the captured image range is reduced to perform image classification. Therefore, image classification methods are usually used within the scope of object detection.
[0015] 2. Object Detection: An image may have one or more target objects. The target objects may belong to different categories. The algorithm can achieve two goals: find the target coordinates and identify the target category. It can also be applied to the combined application of face recognition related technologies, or to defect inspection in manufacturing, and even to the inspection of disease conditions of specific body parts using X-rays and ultrasound in hospitals. The basis of object detection is not separate from the basis of image classification, since it can be imagined as adding the function of marking the position on image classification. The coordinates marked in object detection are usually rectangular or square, and knowing the position of the target alone does not allow drawing on the periphery of the target, so the goal in normal applications is "just to know the position of the target."
[0016] 3. Semantic Segmentation: The algorithm identifies each pixel in an image, that is, unlike object detection, semantic segmentation can accurately distinguish the boundary pixels of each target. Simply put, semantic segmentation is pixel-level image classification, classifying each pixel. Of course, the mode used for this application requires a powerful GPU and requires a lot of time for training. Typical applications are similar to object detection, but have high resolution for image identification, such as drawing the boundary of a target. When using semantic segmentation for identification, usually one image is input, and the output is also one image of the same size, but pixels of different categories are drawn in different tones in the image.
[0017] In the examination of oral cancer lesions, it is usually only necessary to determine whether the lesion is located somewhere and the extent of the lesion. However, it is very suitable to determine the location and extent of the lesion using semantic segmentation images, especially in that semantic segmentation can depict the area of the lesion. An excellent object detection is a representation method that selects the block of the lesion by a frame, so it is desirable to develop the application of convolutional neural networks to image recognition methods.
[0018] In accordance with the above problems, the present invention provides an image identification method based on semantic segmentation, in which the input image is encoded and decoded by a residual learning model of a neural network to obtain a semantic segmentation block, and the input image is divided and classified into a target object image or a non-target object image, which can avoid the difficulty of artificial image identification, and can quickly mark the lesion area on the image, and assist doctors in image identification. Summary of the Invention
[0019] The main objective of the present invention is to provide an image identification method based on semantic segmentation, in which an input image is subjected to multiple rounds of dimensionality reduction to extract features, and then multiple rounds of dimensionality increase to generate several semantic segmentation blocks through the operation of a convolutional neural network, to estimate a measurement object image, and then to classify the measurement object image into a target object image or a non-target object image by comparing the measurement object image with a sample image, thereby providing an object detection method using hyperspectral images.
[0020] To achieve the above objective, the present invention provides an image identification method based on semantic segmentation. The method includes the following steps: an image capture unit of a host provides a first image; and generates a second image from the first image using data augmentation with a data enhancement function; the host generates at least one semantic segmentation block from the second image using a residual learning model of a neural network and an encoding-decoder scheme, the encoding-decoder scheme including the following steps: the second image is subjected to max pooling of a first contracting path to generate a plurality of first pooled images, the first pooled image is subjected to the max pooling of a second contracting path to generate a plurality of second pooled images, the second pooled image is subjected to the max pooling of a third contracting path to generate a plurality of third pooled images, the third pooled image is subjected to the max pooling of a fourth contracting path to generate a plurality of fourth pooled images, and the fourth pooled images are subjected to max pooling of a first expansion path.and performing at least two layers of convolution operations in a plurality of convolution kernels to obtain a plurality of first output images, the first output images being upsampled using the upsampling of a second extended path and concatenated with the second pooled images, and performing at least two layers of convolution operations in the convolution kernel to obtain a plurality of second output images, the second output images being upsampled using the upsampling of a third extended path and concatenated with the first pooled images, and performing at least two layers of convolution operations in the convolution kernel to obtain a plurality of second output images, the second output images being upsampled using the upsampling of a third extended path and concatenated with the first pooled images, and performing at least two layers of convolution operations in the convolution kernel to obtain a plurality of The third output images are further subjected to two-layer convolution operation to obtain a plurality of third output images, the third output images are subjected to the upsampling of a fourth extension path, and the second images are concatenated, and then the convolution kernels are subjected to at least two-layer convolution operation to obtain a fourth output image, the fourth output image includes the at least one semantic segmentation block, and the host compares the at least one semantic segmentation block with a sample image to generate a comparison result, and the host classifies the at least one semantic segmentation block into a target object image according to the comparison result, thereby achieving automatic identification and avoiding the problem of being difficult to identify.
[0021] In one embodiment of the present invention, the max pooling includes multiple convolution kernels of kernel size 2×2.
[0022] In one embodiment of the present invention, the upsampling comprises multiple deconvolution kernels of kernel size 2×2.
[0023] In one embodiment of the invention, the data enhancement function is the ImageDataGenerator function of the Keras function library.
[0024] In one embodiment of the invention, the ImageDataGenerator function is configured with a random rotation range of 60, a shear range of 0.5, a fill mode of nearest, and a validation split of 0.1.
[0025] In one embodiment of the present invention, the neural network is U-NET.
[0026] In one embodiment of the present invention, in the step of an image capture unit of a host capturing a first image, the image capture unit captures and adjusts the first image of one preset size.
[0027] In one embodiment of the present invention, in a step of an image capture unit of a host capturing a first image, the image capture unit captures the first image, the first image being, for example, a white light image or a narrow band image.
[0028] In one embodiment of the present invention, in the step of the host comparing with a sample image based on the at least one semantic segmentation block and generating a comparison result if there is a match, the host compares the multiple feature values corresponding to each of the at least one semantic segmentation block with the multiple feature values of the sample image and generates a comparison result if there is a match.
[0029] In one embodiment of the present invention, in the step of the host classifying the at least one semantic segmentation block into a target object image based on the comparison result, the host identifies the multiple feature values corresponding to the at least one semantic segmentation block, and if they match the multiple feature values of the sample image, the host classifies the at least one semantic segmentation block into the target object image, and conversely, the host classifies the at least one semantic segmentation block into a non-target object image, the semantic segmentation-based image identification method of claim 1. [Brief description of the drawings]
[0030] [Figure 1] FIG. 13 is a diagram showing a flow of a convolution detection image according to an embodiment of the present invention. [Figure 2A] FIG. 2 is a diagram illustrating some steps of an embodiment of the present invention. [Figure 2B] FIG. 2 is a diagram illustrating some steps of an embodiment of the present invention. [Figure 2C] FIG. 2 is a diagram illustrating some steps of an embodiment of the present invention. [Figure 2D] FIG. 2 is a diagram illustrating some steps of an embodiment of the present invention. [Figure 3A] FIG. 2 is an illustrative diagram of a white light image utilizing semantic segmentation in one embodiment of the present invention. [Figure 3B] FIG. 2 is an illustrative diagram of a white light image utilizing semantic segmentation in one embodiment of the present invention. [Figure 4A] FIG. 2 is an illustrative diagram of narrowband image processing using semantic segmentation according to one embodiment of the present invention. [Figure 4B] FIG. 2 is an illustrative diagram of narrowband image processing using semantic segmentation according to one embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0031] In order to allow you to further understand and appreciate the characteristics and achievable effects of the present invention, the following examples will be given.
[0032] It is known that the complicated operation of an endoscope leads to human operation errors or difficult image recognition. The present invention proposes an image identification method based on semantic segmentation to solve the well-known problems of human operation errors or difficult image recognition caused by endoscopic technology.
[0033] In the following, the characteristics of the image identification method based on semantic segmentation and the corresponding system are further described.
[0034] First, a flow chart of the method of the present invention is shown. As shown in the figure, the image identification method based on semantic segmentation of the present invention includes the following steps:
[0035] An image capture unit of the host captures a first image, step S00.
[0036] Step S10 applies a data enhancement function to the first image to produce a second image.
[0037] Step S20 of obtaining a semantic segmentation block from the second image through a residual learning model of the neural network and an encoding-decoding method.
[0038] The second image is generated using max pooling of the first contracting path in step S22 to generate a first pooled image.
[0039] The first pooled image is subjected to max pooling of a second shrinkage path to generate a second pooled image S24.
[0040] The second pooled image is subjected to max pooling of a third shrinkage path to generate a third pooled image S26.
[0041] The third pooled image is then subjected to max pooling of a fourth shrinkage path to generate a fourth pooled image S28.
[0042] In step S30, the fourth pooled image is concatenated with the third pooled image using upsampling of a first expansive path, and then convolved with a convolution kernel to obtain a first output image.
[0043] The first output image is concatenated with the second pooled image using the upsampling of the second augmentation path, and then convolved with the convolution kernel to obtain a second output image in step S32.
[0044] The second output image is concatenated with the second image using a third extended path upsampling, and then convolved with a convolution kernel to obtain a third output image in step S34.
[0045] The third output image is concatenated with the second image using a fourth augmentation path upsampling, and then convolved with a convolution kernel to obtain a fourth output image, in step S36, where the fourth output image includes the semantic segmentation block.
[0046] The host compares the sample image based on the semantic segmentation block and generates a comparison result if there is a match (S40).
[0047] The host classifies the semantic segmentation block as a target object image based on the comparison result (S50).
[0048] Please refer to FIG. 2A to FIG. 2D together. The detection system 1 related to the image identification method based on semantic segmentation of the present invention includes a host 10 and an image capture unit 20. In this embodiment, the host 10 includes, but is not limited to, a host having a processing unit 12, a memory 14, and a storage unit 16. A server, a laptop, a tablet, or an electronic device having basic computing power is the host 10 of the present invention. The repository 30 is provided in, but is not limited to, the storage unit 16, and may be an externally connected storage unit of the host 10. The host 10 executes a convolution program 120 by the processing unit 12 to form a corresponding neural network 124. Furthermore, in this embodiment, the image capture unit 20 is an endoscope for inspecting organ tissues in the body, such as a cystoscope, a gastroscope, a colonoscope, a bronchoscope, or a laparoscope.
[0049] In step S00, as shown in FIG. 2A, the host 10 reads a first image 22 captured by the image capture unit 20, the first image 22 including at least one object image 222 and a background image 224, and the first image 22 may be a white light image (abbreviated as WLI) or a narrow band image (abbreviated as NBI) stored in the repository 30. The image capture unit 20 in this embodiment obtains the corresponding white light image by a white light endoscope OLYMPUS EVIS LUCERA CV-260 SL, and obtains the corresponding narrow band image by a narrow band endoscope OLYMPUS EVIS LUCERA CLV-260. That is, the at least one object image 222 and the background image 224 are present in the white light image or narrow band image of the first image 22.
[0050] In step S10, as shown in Fig. 2A, the processing unit 12 of the host 10 generates a second image for the first image 22 using a data enhancement function 122. In this embodiment, the data enhancement function 122 is an ImageDataGenerator function of a high-layer neural network API: Keras function library in a Python environment, and this function is for performing data augmentation to improve the recognition rate of CNN when the input first image 22 is insufficient as a reference. This function includes a random rotation range that randomly rotates the input second image by a certain angle by inputting an integer to increase the amount of data, a shear range that generates a shear transformation angle in a counterclockwise direction by inputting a floating point number to increase the amount of data, a fill mode that selects a method to handle if a boundary is exceeded when converting the input second image by inputting one of the modes ``constant'', ``nearest'', ``reflec'', and ``wrap'', and a validation split that reserves a certain proportion of the input second image as a validation dataset by inputting a floating point number if a validation dataset is not provided.
[0051] Then, in step S20, the host uses a neural network 124 to obtain at least one semantic segmentation block 130 from the second image 24 through a residual learning mode 126 and an encoding / decoding method 128. In this embodiment, the neural network is a convolutional neural network (CNN), and the residual learning model 126 is ResNet152v2, which is a skeleton structure of a convolutional neural network. The encoding / decoding method 128 is shown in steps S22 to S26, and is also shown in FIG. 2B and FIG. 2C.
[0052] In step S22, as shown in Figures 2B and 2C, the second image 24 is convolved into a plurality of first pooled images 242 by max pooling 1246 in a first contracting path 1282. As shown in formula (1), the max pooling 1246 is set to have a plurality of convolution kernels 132 with a kernel size of 2x2 in the pooling layer, and the second image 24 is pooled by these convolution kernels 132 with a kernel size of 2x2 to generate the first pooled images 242. The resolution of the second image 24 is 608x608, and the resolution of the first pooled images 242 is 304x304, which is half that of the second image 24.
[0053]
number
[0054] In step S24, the first pooled images 242 are pooled in the max pooling 1262 of the second contraction path 1284 by the convolution kernels 132 of the pooling layer with a kernel size of 2×2 to generate a plurality of second pooled images 244. As shown in equation (1), the resolution of the second pooled images 244 is 152×152, which is half the resolution of the first pooled images 242.
[0055] In step S26, the second pooled images 244 are pooled in the max pooling 1262 of the third contraction path 1286 by the convolution kernels 132 with a kernel size of 2×2 in the pooling layer to generate a plurality of third pooled images 246. As shown in equation (1), the resolution of the third pooled images 246 is 76×76, which is half the resolution of the second pooled images 244.
[0056] In step S28, the third pooled images 246 are pooled in the max pooling 1262 of the fourth contraction path 1288 by the convolution kernels 132 with a pooling layer kernel size of 2×2 to generate a plurality of fourth pooled images 248. As shown in equation (1), the resolution of the fourth pooled images 248 is 38×38, which is half the resolution of the third pooled images 246.
[0057] In step S30, the fourth pooled images 248 are upsampled 1266 using the first expansive path 1290 by the deconvolution kernels 134 with a kernel size of 2×2. As shown in equation (2), the resolution of the fourth pooled images 248 is doubled after the upsampling 1266, and the fourth pooled images 248 are concated with the third pooled images 246 to form a first concatenated image 250. Concat is a method of feature fusion by merging the number of paths, and as shown in equation (3), the number of image channels increases after concatenation, so the number of feature values 136 increases, but all of the feature values 136 remain unchanged, and the resolution does not change. The first concatenated images 250 are then convolved with the convolution kernels 132 with a kernel size of 1×1 to generate a plurality of first output images 258. These first output images 258 have a resolution of 76×76, which is double the resolution of these fourth pooled images 248 .
[0058]
number
[0059]
number
[0060] In step S32, the first output images 258 are upsampled 1266 using a second augmentation path 1292 with the deconvolution kernels 134 having a kernel size of 2×2. After the upsampling 1266, the first output images 258 are doubled in resolution and concat with the second pooled images 244 to generate second concatenated images 252, as shown in equation (2). The second concatenated images 252 are then convolved with the convolution kernels 132 having a kernel size of 1×1 to generate a plurality of second output images 260, as shown in equation (3). The second output images 260 have a resolution of 152×152, which is doubled in resolution with respect to the first output images 258.
[0061] In step S34, the second output images 260 are upsampled 1266 using a third augmentation path 1294 by the deconvolution kernels 134 with a kernel size of 2×2. As shown in equation (2), after the upsampling 1266, the resolution of the second output images 260 is doubled and concat with the first pooled images 242 to form a third concatenated image 254. The third concatenated images 254 are then convolved by the convolution kernels 132 with a kernel size of 1×1 to generate a plurality of third output images 262. The resolution of the third output images 262 is 304×304, which is doubled with respect to the second output images 260.
[0062] In step S36, the third output images 262 are upsampled 1266 using a fourth augmentation path 1296 with the deconvolution kernels 134 having a kernel size of 2×2. As shown in equation (2), after the upsampling 1266, the third output images 262 are doubled in resolution and concat with the second images 24 to generate fourth concatenated images 256. The fourth concatenated images 256 are then convolved with the convolution kernels 132 having a kernel size of 1×1 to generate fourth output images 264. The fourth output images 264 include at least one semantic segmentation block 130, and all the semantic segmentation blocks 130 have corresponding feature values 136, and the fourth output images 264 have a resolution of 608×608, which is doubled in resolution with respect to the third output images 262.
[0063] In step S40, as shown in FIG. 2D, after the image capture unit 12 acquires the at least one semantic segmentation block 130, the host 10 compares the feature values 136 corresponding to each semantic segmentation block 130 with the feature values 136 corresponding to a sample image 270 to obtain a comparison result 138. The sample image 270 is stored in the repository 30. Then, in step S50, the host 10 classifies all the semantic segmentation blocks 130 into at least a target object image 266 or a non-target object image 268 based on the comparison result 128 by the convolution program 120 executed by the image capture unit 12. For example, in the case of a malignant tumor, if the convolution program 120 executed by the image capture unit 12 of the host 10 can identify the feature values 136 to which the at least one semantic segmentation block 130 corresponds, and a sample image 270 matches the corresponding feature values 136, the host 10 classifies the at least one semantic segmentation block 130 into the target object image 266. Meanwhile, the convolution program 120 executed by the image capture unit 12 of the host 10 classifies the at least one semantic segmentation block 130 into the non-target object image 268.
[0064] In this embodiment, the target object image 266 may be an esophageal cancer (SCC) image 272 or a dysplasia image 274 .
[0065] The image identification method of the present invention based on semantic segmentation has the function of performing data augmentation on an input image, and encoding and decoding the input image by a convolutional neural network to obtain a semantic segmentation block, and then classifying the semantic segmentation block into a target object image or a non-target object image to complete the identification of the input image. According to the judgment results of 165 esophageal endoscopy images, the accuracy of the presence or absence of lesions and the location of lesions according to whether the input image IMG of the present invention is a white light image (WLI) or a narrow band image (NBI) is 86% for the normal area judgment using the white light image (WLI) of semantic segmentation, 89% for the dysplasia area judgment, and 60% for the esophageal cancer (SCC) area judgment, with an overall accuracy rate of 79%. Using narrow band imaging (NBI) for semantic segmentation, the accuracy of normal zone determination is 84%, the accuracy of dysplasia zone determination is 80%, and the accuracy of esophageal cancer (SCC) zone determination is 78%, with an overall accuracy rate of 82%. Medical personnel can use this invention to provide supporting evidence for symptom determination.
[0066] Herein, a specific embodiment of the present invention is provided. As shown in Figures 3A, 3B, 4A and 4B, they are images of a specific embodiment of the present invention. For example, when identifying the presence or absence of esophageal cancer in a white light image (WLI image) or a narrow band image (NBI image) of an esophageal endoscope, the host 10 captures the first image 22, performs data augmentation on the first image 22 using the data enhancement function 122 to obtain the second image 24, and obtains the at least one semantic segmentation block 130 including the feature values 136 from the second image 24 through the residual learning model 126 of the neural network 124 and the encoding and decoding method 128. The feature values 136 of all the semantic segmentation blocks 130 are compared with the feature values 136 of a sample image 270 to obtain the comparison result 138. All the semantic segmentation blocks are classified into the target object image 266 or the non-target object image 268. The first image 22 in Fig. 9A is a white light image, and the first image 22 in Fig. 10A is a narrow band image. Fig. 9B and Fig. 10B show the at least one semantic segmentation block 130 output after the image is subjected to the method of the present invention, which can clearly show that the lesion location (target object image 266) in the first image 22, Fig. 10B, and even the malformation image 272 can be distinguished from the severe esophageal cancer image 274, improving the discrimination of the first image 22 and the contrast with the non-target object image 268, so that medical personnel can conveniently observe the lesion.
[0067] To sum up, in the method for detecting object images using hyperspectral bands of the present invention, the host obtains hyperspectral image information, converts the input image into a hyperspectral image based on the hyperspectral image information, and then uses the hyperspectral image to select a band and subsequently executes a convolution program to allow the host to build a convolutional neural network, convolve the input image of the image capture unit, select a selected area to be detected, form a prediction box on the input image, perform regression calculation, align the measurement object image by the bounding box, and finally compare it with the sample image, and use the comparison result to classify the image into a target object image and a non-target object image, thereby achieving the purpose of assisting the identification of object images using hyperspectral technology.
[0068] Therefore, since the present invention is indeed novel, inventive and industrially applicable, there is no doubt that it meets the patent application requirements of Taiwan’s Patent Law. We have filed an application for an invention patent in accordance with the law, and sincerely hope that your Office will grant us the patent at an early date.
[0069] However, the above are merely preferred embodiments of the present invention and are not intended to limit the scope of the present invention. All equivalent changes and modifications based on the shape, structure, characteristics and spirit described in the scope of the patent application of the present invention are included in the scope of the patent application of the present invention. [Explanation of symbols]
[0070] 1. Detection System 10 Host 12 Processing Unit 120 Convolution Program 122 Data Enhancement Functions 124 Neural Networks 126 Residual Learning Model 1262 Max Pooling 1264 upsampling 128 encoding and decoding methods 1282 First Contraction Path 1284 Second Contraction Path 1286 Third Contraction Pathway 1288 Fourth Contraction Pathway 1290 First Expansion Route 1292 Second expansion route 1294 Third Expansion Route 1296 4th expansion route 130 Semantic Segmentation Blocks 132 Convolution Kernels 134 Deconvolution Kernel 136 Feature Values 138 Comparison results 14. Memory 16 Storage Unit 20 Image Capture Unit 22 First image 222 Object Images 224 Background Images 24 Second Image 242 First pooling image 244 Second Pooling Image 246 Third Pooling Image 248 4th Pooling Image 250 First linked image 252 Second linked image 254 3rd linked image 256 4th linked image 258 1st output image 260 Second output image 262 Third output image 264 4th output image 266 Target Object Image 268 Non-target object images 270 Sample Images 272 Esophageal Cancer Images 274 Malformation Images 30 Repositories S00~50 steps
Claims
1. The image identification method based on semantic segmentation includes the following steps: an image capture unit of the host captures a first image; the host uses a data enhancement function to generate a second image from the first image, the second image being used to perform data augmentation on the first image; The host obtains at least one semantic segmentation block from the second image using a residual learning model of a neural network and an encoding / decoding scheme; The encoding / decoding method includes the following steps: The second image is subjected to a first shrinkage path max pooling to generate a plurality of first pooled images, the first shrinkage path max pooling reduces the dimension of the second image and extracts a plurality of feature values, and the resolution of the second image is reduced by half by the host after pooling; The first pooled image is subjected to max pooling of a second shrinkage path to generate a plurality of second pooled images, and the max pooling of the second shrinkage path is used to reduce the dimension of the first pooled image and extract the feature value, and after pooling, the resolution of the first pooled image is reduced by half by the host; The second pooled image is subjected to a third shrinkage path max pooling to generate a plurality of third pooled images, and the third shrinkage path max pooling is used to reduce the dimension of the second pooled image and extract the feature value, and the resolution of the second pooled image is reduced by half by the host after pooling; The third pooled image is subjected to a fourth shrinkage path max pooling to generate a plurality of fourth pooled images, and the fourth shrinkage path max pooling is used to reduce the dimension of the third pooled image and extract the feature value, and after pooling, the resolution of the third pooled image is reduced by half by the host; These fourth pooled images are subjected to a first extension path upsampling, and then a plurality of convolution kernels are used to perform at least two layers of convolution operations after concatenating these third pooled images to obtain a plurality of first output images, in which the first extension path upsampling is used to localize these feature values, thereby doubling the resolution of these fourth pooled images, and the at least two layers of convolution operations are used to reduce one channel number increased by concatenation; The first output images are subjected to a second augmentation path upsampling, and the second pooled images are concatenated and then subjected to at least two layers of convolution operation in the convolution kernel to obtain a plurality of second output images, and the second augmentation path upsampling is used to localize the feature values thereof, thereby doubling the resolution of the first output images; These second output images are subjected to a third augmentation path upsampling, and after concatenating these first pooled images, at least two layers of convolution operation are performed in the convolution kernel to obtain a plurality of third output images, and the third augmentation path upsampling is used to localize these feature values, thereby doubling the resolution of the second output images; These third output images are subjected to the upsampling of a fourth augmentation pass, and after concatenating the second images, at least two layers of convolution operations are performed with these convolution kernels to become fourth output images, the fourth output images include the at least one semantic segmentation block, and the upsampling of the fourth augmentation pass is used to localize the feature values thereof, thereby doubling the resolution of these third output images, and the resolution of the fourth output images is equal to the resolution of the second images; The host compares a sample image based on the at least one semantic segmentation block, and generates a comparison result if the sample image matches the at least one semantic segmentation block; The host classifies the at least one semantic segmentation block into a target object image according to a result of the comparison.
2. The method of claim 1 , wherein the max pooling includes multiple convolution kernels with a kernel size of 2×2.
3. The method of claim 1 , wherein the upsampling comprises multiple deconvolution kernels of kernel size 2×2.
4. The method of claim 1 , wherein the data enhancement function is the ImageDataGenerator function of the Keras function library.
5. 5. The method of claim 4, wherein the ImageDataGenerator function is set to a random rotation range of 60, a cut angle of 0.5, a padding mode of nearest, and a retained image scale of 0.
1.
6. The method for image classification based on semantic segmentation according to claim 1 , wherein the neural network is U-NET.
7. The method for image identification based on semantic segmentation according to claim 1 , wherein in the step of an image capture unit of a host capturing a first image, the image capture unit captures and adjusts the first image of one preset size.
8. The method for image identification based on semantic segmentation of claim 1 , wherein in a step of an image capture unit of a host capturing a first image, the image capture unit captures the first image, and the first image is, for example, a white light image or a narrow band image.
9. The image identification method based on semantic segmentation of claim 1, wherein in the step of the host comparing with a sample image based on the at least one semantic segmentation block and generating a comparison result based on a match, the host compares a plurality of feature values corresponding to each of the at least one semantic segmentation block with feature values of the sample image and generates a comparison result based on a match.
10. 2. The method for image identification based on semantic segmentation of claim 1, wherein, in the step of the host classifying the at least one semantic segmentation block into a target object image based on the comparison result, the host identifies the plurality of feature values corresponding to the at least one semantic segmentation block, and if they match the plurality of feature values of the sample image, the host classifies the at least one semantic segmentation block into the target object image, and if the plurality of feature values corresponding to the at least one semantic segmentation block do not match the plurality of feature values of the sample image, the host classifies the at least one semantic segmentation block into a non-target object image.
Citation Information
Patent Citations
Image recognition method, storage medium, and computer device
JP2021513167A
Image processing system for wildlife detection and method thereof
US20210397812A1
Diagnostic imaging assistance system and diagnostic imaging assistance device
WO2020026349A1
System and method for labeling ultrasound data
WO2020252330A1
Teeth segmentation using neural networks
WO2021155230A1
