Image processing system and capsule endoscope

By extracting and processing biometric information in the capsule endoscope, combined with the transmission of the radio frequency module and the decompression and enhanced fusion processing of the terminal device, the problem of loss of biometric information in the transmission of capsule endoscope image data is solved, and the focus of the disease is improved. The accuracy of identification and diagnosis ensures the reliability of test results.

CN113920039BActive Publication Date: 2024-10-01SHENZHEN JIFU MEDICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111123268.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-24
Publication Date
2024-10-01
Estimated Expiration
2041-09-24

AI Technical Summary

Technical Problem

Due to the limitations of radio frequency bandwidth and battery power during the transmission process of capsule endoscopes, the clarity of the original image data is reduced after high compression, and important biometric information is lost, which affects the identification and diagnosis of lesions, thereby affecting the accuracy of detection results.

Method used

Design an image processing system that extracts biometric information from the RGB image matrix collected by the capsule endoscope, generates a biometric image matrix, compresses it, and transmits it to the terminal device in conjunction with the radio frequency module for decompression and enhanced fusion processing. Generate RGB feature fusion images to ensure the integrity of biometric information.

Benefits of technology

It effectively prevents the loss of biometric information, improves the accuracy of identification and diagnosis of lesions, improves the accuracy of detection results of capsule endoscopy, and ensures high compression rate and real-time performance of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113920039B_ABST
    Figure CN113920039B_ABST
Patent Text Reader

Abstract

The present invention discloses an image processing system, comprising a capsule endoscope and a terminal device. The image acquisition module of the capsule endoscope acquires image data of a target area to obtain an RGB image matrix S; the image processing module of the capsule endoscope extracts biometric information of each pixel point in the matrix S to generate a biometric image matrix M, and compresses the matrix S and the matrix M to obtain a compressed RGB image matrix S′ and a compressed biometric image matrix M′; the terminal device decompresses the matrix S′ and the matrix M′ to obtain a decompressed RGB image matrix S″ and a decompressed biometric image matrix M″, and performs enhanced fusion processing on the matrix S″ and the matrix M″ to obtain an RGB feature fusion image S target , preventing important biometric information in the image data of the target area from being lost during compression and transmission, which is beneficial to the identification and diagnosis of lesions and improves the accuracy of the detection results of capsule endoscopy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of medical devices, and in particular to an image processing system and a capsule endoscope. Background Art

[0002] The original image data collected by the capsule endoscope is transmitted to the body due to the limitation of radio frequency transmission bandwidth and battery power. Before transmission, the original image data needs to be highly compressed and then transmitted to the body through the radio frequency module. After that, the original image data is restored by decompression and color enhancement processing by the terminal device to obtain the restored image data. After the above processing, the restored image data has lower clarity and image distortion compared with the original image data, especially the loss of important biometric information, which affects the identification and diagnosis of lesions, and further affects the accuracy of the detection results of the capsule endoscope. Summary of the invention

[0003] In order to solve at least one of the above-mentioned technical problems existing in the prior art, an embodiment of the present invention provides an image processing system and a capsule endoscope, which realizes enhanced processing of image data taken by the capsule endoscope and transmitted to the outside of the body, thereby preventing important biometric information in the image data of the target area in the body from being lost due to compression and transmission. The image data transmitted to the outside of the body is facilitated by enhanced processing to identify and diagnose lesions, thereby improving the accuracy of the detection results of the capsule endoscope.

[0004] An embodiment of the present invention provides an image processing system, including a capsule endoscope and a terminal device, wherein the capsule endoscope includes an image acquisition module and an image processing module, wherein the image acquisition module acquires image data of a target area to obtain the RGB image matrix S;

[0005] The image processing module extracts the RGB of each pixel in the RGB image matrix S. ij The biometric information is used to generate a biometric image matrix M, where i∈(1,M), j∈(1,N), M and N are positive integers respectively;

[0006] The image processing module compresses the RGB image matrix S and the biometric image matrix M respectively to obtain a compressed RGB image matrix S′ and a compressed biometric image matrix M′;

[0007] The terminal device decompresses the compressed RGB image matrix S′ and the compressed biometric image matrix M′ to obtain a decompressed RGB image matrix S″ and a decompressed biometric image matrix M″;

[0008] The terminal device performs enhanced fusion processing on the decompressed RGB image matrix S″ and the decompressed biometric image matrix M″ to obtain an RGB feature fusion image S target .

[0009] In some embodiments, the image processing module extracts the RGB of each pixel in the RGB image matrix S. ij The biometric information of the generated biometric image matrix M includes:

[0010] The image processing module processes each pixel RGB in the RGB image matrix S. ij Using a biometric index formula, obtain a biometric value of each pixel point and generate an initial biometric image matrix M1;

[0011] The image processing module performs an erosion operation on the initial biometric image matrix M1, and when the biometric morphology disappears after N iterations, an eroded image matrix M2 is obtained;

[0012] The image processing module performs an XOR operation on the initial biometric image matrix M1 and the eroded image matrix M2 to obtain the biometric image matrix M.

[0013] In some embodiments, the image processing module performs an erosion operation on the initial biometric image matrix M1. When the biometric morphology disappears after N iterations, obtaining the eroded image matrix M2 further includes:

[0014] The image processing module filters out the elements in the initial biometric image matrix M1 that deviate from the mean by more than a first preset threshold value, and obtains a filtered initial biometric image matrix M1′.

[0015] In some embodiments, the image processing module performs an erosion operation on the initial biometric image matrix M1. When the biometric morphology disappears after N iterations, obtaining the eroded image matrix M2 further includes:

[0016] The image processing module performs binarization processing on the initial biometric image matrix M1 to obtain a binarized initial biometric image matrix M1″.

[0017] In some embodiments, the image processing module compresses the RGB image matrix S and the biometric image matrix M respectively to obtain the compressed RGB image matrix S′ and the compressed biometric image matrix M′, which include:

[0018] The image processing module performs lossy compression processing on the RGB image matrix S to obtain the compressed RGB image matrix S′;

[0019] The image processing module performs lossless compression processing on the biometric image matrix M to obtain the compressed biometric image matrix M′.

[0020] In some embodiments, the image processing module performs lossless compression processing on the biometric image matrix M to obtain the compressed biometric image matrix M′, which includes:

[0021] The image processing module performs dimensionality reduction processing on the biometric image matrix M to obtain the compressed biometric image matrix M′, and the compressed biometric image matrix M′ includes an S submatrix S*, a V submatrix V* and a D submatrix D*.

[0022] In some embodiments, the capsule endoscope further includes a radio frequency module, and the terminal device decompresses the compressed RGB image matrix S′ and the compressed biometric image matrix M′ respectively to obtain the decompressed RGB image matrix S″ and the decompressed biometric image matrix M″, and further includes: the image processing module synthesizes the compressed RGB image matrix S′, the S submatrix S*, the V submatrix V* and the D submatrix D* into a data packet;

[0023] The radio frequency module sends the data packet to the outside of the body;

[0024] The terminal device receives the data packet.

[0025] In some embodiments, the terminal device decompresses the compressed RGB image matrix S′ and the compressed biometric image matrix M′ respectively to obtain the decompressed RGB image matrix S″ and the decompressed biometric image matrix M″, including:

[0026] The terminal device decompresses the compressed RGB image matrix S′ to obtain the decompressed RGB image matrix S″;

[0027] The terminal device performs matrix multiplication operation on the S sub-matrix S*, the V sub-matrix V* and the D sub-matrix D* to obtain the decompressed biometric image matrix M″.

[0028] In some embodiments, the terminal device performs enhanced fusion processing on the decompressed RGB image matrix S″ and the decompressed biometric image matrix M″ to obtain an RGB feature fusion image S target The terminal device converts the decompressed RGB image S" into an HSV image N", obtains the HSV image N" channel , S channel、V channel Channel data, obtain H channel data H″, S channel data S″, V channel data V″;

[0029] The terminal device performs enhanced fusion processing on the V channel data V″ and the decompressed biometric image matrix M″ to obtain an enhanced fusion matrix V enhance ;

[0030] The terminal device transmits the H channel data H″, the S channel data S″ and the matrix V enhance Convert to RGB color space to obtain the RGB feature fusion image S target .

[0031] The embodiment of the present invention provides a capsule endoscope, including an image acquisition module, an image processing module and a radio frequency module.

[0032] The image acquisition module acquires image data of the target area to obtain the RGB image matrix S;

[0033] The image processing module extracts the RGB of each pixel in the RGB image matrix S. ij The biometric information is used to generate a biometric image matrix M, where i∈(1,M), j∈(1,N), M and N are positive integers respectively;

[0034] The image processing module compresses the RGB image matrix S and the biometric image matrix M respectively to obtain a compressed RGB image matrix S′ and a compressed biometric image matrix M′;

[0035] The radio frequency module sends the compressed RGB image matrix S′ and the compressed biometric image matrix M′ to the outside of the body, so that the terminal device decompresses the compressed RGB image matrix S′ and the compressed biometric image matrix M′ to obtain the decompressed RGB image matrix S″ and the decompressed biometric image matrix M″, and the terminal device performs enhanced fusion processing on the decompressed RGB image matrix S″ and the decompressed biometric image matrix M″ to obtain the RGB feature fusion image S target .

[0036] In some embodiments, the image processing module extracts the RGB of each pixel in the RGB image matrix S. ij The biometric information of the generated biometric image matrix M includes:

[0037] The image processing module processes each pixel RGB in the RGB image matrix S. ijUsing a biometric index formula, obtain a biometric value of each pixel point and generate an initial biometric image matrix M1;

[0038] The image processing module performs an erosion operation on the initial biometric image matrix M1, and when the biometric morphology disappears after N iterations, an eroded image matrix M2 is obtained;

[0039] The image processing module performs an XOR operation on the initial biometric image matrix M1 and the eroded image matrix M2 to obtain the biometric image matrix M.

[0040] In some embodiments, the image processing module compresses the biometric image matrix M to obtain a compressed biometric image matrix M′, which includes:

[0041] The image processing module performs dimensionality reduction processing on the biometric image matrix M to obtain the compressed biometric image matrix M′, and the compressed biometric image matrix M′ includes an S submatrix S*, a V submatrix V* and a D submatrix D*.

[0042] An image processing system provided by an embodiment of the present invention includes a capsule endoscope and a terminal device. The capsule endoscope includes an image acquisition module and an image processing module. The image acquisition module acquires image data of a target area to obtain the RGB image matrix S; the image processing module extracts RGB of each pixel in the RGB image matrix S. ij The biometric information is used to generate a biometric image matrix M, where i∈(1, M), j∈(1, N), and M and N are positive integers respectively; the image processing module compresses the RGB image matrix S and the biometric image matrix M respectively to obtain a compressed RGB image matrix S′ and a compressed biometric image matrix M′; the terminal device decompresses the compressed RGB image matrix S′ and the compressed biometric image matrix M′ respectively to obtain a decompressed RGB image matrix S″ and a decompressed biometric image matrix M″; the terminal device enhances and fuses the decompressed RGB image matrix S″ and the decompressed biometric image matrix M″ to obtain an RGB feature fusion image S target , which realizes the enhanced processing of image data transmitted to the outside of the body, prevents the important biometric information in the image data of the target area from being lost due to compression and transmission. The enhanced processing of the image data transmitted to the outside of the body is conducive to the identification and diagnosis of lesions, thereby improving the accuracy of the detection results of the capsule endoscope. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The accompanying drawings are used to provide further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following specific implementation methods, they are used to explain the embodiments of the present invention, but do not constitute a limitation to the embodiments of the present invention.

[0044] Figure 1 A schematic diagram of an image processing system provided by an embodiment of the present invention;

[0045] Figure 2 A schematic diagram of a capsule endoscope in another image processing system provided by an embodiment of the present invention. In the accompanying drawings:

[0046] Capsule endoscope 1, terminal device 2. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0048] like Figure 1 As shown, an embodiment of the present invention provides an image processing system, including a capsule endoscope 1 and a terminal device 2. The capsule endoscope 1 includes an image acquisition module and an image processing module. The image acquisition module acquires image data of a target area to obtain the RGB image matrix S; the image processing module extracts RGB of each pixel in the RGB image matrix S. ij The biometric information is used to generate a biometric image matrix M, where i∈(1, M), j∈(1, N), and M and N are positive integers respectively; the image processing module compresses the RGB image matrix S and the biometric image matrix M respectively to obtain a compressed RGB image matrix S′ and a compressed biometric image matrix M′; the terminal device 2 decompresses the compressed RGB image matrix S′ and the compressed biometric image matrix M′ respectively to obtain a decompressed RGB image matrix S″ and a decompressed biometric image matrix M″; the terminal device 2 performs enhanced fusion processing on the decompressed RGB image matrix S″ and the decompressed biometric image matrix M″ to obtain an RGB feature fusion image S target .

[0049] Specifically, the image processing system includes a capsule endoscope 1 and a terminal device 2. The terminal device 2 may be, but is not limited to, various smart phones, tablet computers, laptop computers, desktop computers, etc. The capsule endoscope 1 includes an image acquisition module and an image processing module. The subject swallows the capsule endoscope 1, and the capsule endoscope 1 collects image data in the digestive tract of the subject, and may collect image data of the esophagus, stomach, small intestine, large intestine, etc. The lighting module of the capsule endoscope 1 may be an RGB color LED lamp, which outputs a white light source with the same proportion of RED, GREEN and BLUE through hardware pin control to illuminate the target area of ​​the subject. The target area may be any of the 24 parts of the stomach. The image acquisition module of the capsule endoscope 1 collects image data of the target area. The image acquisition module may be a CMOS (Complementary Metal-Oxide-Semiconductor) camera. The image processing module calibrates the image data to obtain an RGB image matrix with a resolution of M*N. M and N are positive integers respectively, where calibration may include one or more algorithms including BPF (Bayer Pattern Filter, mask array), BLC (Black Level Correction, dark current calibration), LSC (Lens Shading Correction, lens vignetting calibration), BPC (Bad Point Correction), AE (Auto Exposure, automatic exposure), DNR (Digital Noise Reduction, noise reduction), EE (Edge Enhance, enhancement), Demosaic, AWB (Auto White Balance, automatic white balance), CCM (Color Correction Matix, color correction matrix), GC (Gamma Correction, non-linear mapping), and Gamma (non-linear mapping).

[0050] The image processing module extracts the RGB of each pixel in the RGB image matrix S. ij The biometric information is used to generate a biometric image matrix M, where i∈(1, M), j∈(1, N), M and N are positive integers, and the biometric information, for example, can be vascular feature information. The image processing module compresses the RGB image matrix S and the biometric image matrix M to obtain a compressed RGB image matrix S′ and a compressed biometric image matrix M′.

[0051] The terminal device 2 decompresses the compressed RGB image matrix S′ and the compressed biometric image matrix M′ to obtain a decompressed RGB image matrix S″ and a decompressed biometric image matrix M″. The terminal device 2 performs enhanced fusion processing on the decompressed RGB image matrix S″ and the decompressed biometric image matrix M″ to obtain an RGB feature fusion image S target .

[0052] An image processing system provided by an embodiment of the present invention comprises a capsule endoscope 1 collecting image data of a target area, and processing the image data through an image processing module of the capsule endoscope 1 and a terminal device 2 to obtain an RGB feature fusion image S target , which realizes enhanced processing of image data transmitted to the outside of the body, prevents important biometric information in the image data of the target area from being lost due to compression and transmission. The enhanced processing of the image data transmitted to the outside of the body is conducive to the identification and diagnosis of lesions, thereby improving the accuracy of the detection results of the capsule endoscope 1.

[0053] In some embodiments, the image processing module extracts the RGB of each pixel in the RGB image matrix S. ij The biometric information of the generated biometric image matrix M includes: the image processing module processes each pixel RGB in the RGB image matrix S ij The biometric index formula is used to obtain the biometric value of each pixel point and generate an initial biometric image matrix M1; the image processing module performs an erosion operation on the initial biometric image matrix M1, and when the biometric form disappears after N iterations, the eroded image matrix M2 is obtained; the image processing module performs an XOR operation on the initial biometric image matrix M1 and the eroded image matrix M2 to obtain the biometric image matrix M.

[0054] Specifically, in the embodiment of the present invention, the biometric information takes blood vessel characteristics as an example, and the biometric index formula is as follows:

[0055]

[0056] Among them, IHb ij is the hemoglobin absorption index, R ij is the Red value of the pixel, G ij It is the Green value of the pixel.

[0057] For the pixel RGB in the RGB image matrix S ij Apply the above biometric index formula to perform traversal operations and obtain the IHb of each pixel point in turn ijvalue, and generate the initial biometric image matrix

[0058] The image processing module performs an erosion operation on the initial biometric image matrix M1. When the biometric morphology disappears after N iterations, the eroded image matrix M2 is obtained. Specifically, the image processing module performs an erosion operation of a preset neighborhood size on the initial biometric image matrix M1. The preset neighborhood can be set as needed, such as a 3*3 neighborhood, and iterates n times until the initial biometric image M1 is completely eroded. Count the number of pixels that disappear in each iteration Pdie _n , we get the point cloud W[log(n),log(Pdie _n )] and mark it in the spatial coordinate system. Take the initial point of the point cloud as the origin of the polar coordinates, transform the point cloud to the polar coordinate system ρ-θ, count the variance of the polar angle, obtain the point set W* with a variance less than a certain threshold, so that the distribution of W* has a consistent direction, and record the iteration number N at this time die , the mapping relationship at this time satisfies linearity and can be fitted as a straight line in the spatial coordinate system.

[0059] In the mapping diagram, as n increases, the vascular morphology is continuously eroded, and is linearly related to the logarithm of the vanishing pixels. die , where N die is the total number of times the vascular morphology in the human body disappears iteratively. When this linear relationship is destroyed, it means that the vascular morphology is completely corroded, and the corroded image matrix M2 is obtained. It can be understood that N die =N.

[0060] The initial biometric feature image matrix M1 and the corroded image matrix M2 are subjected to matrix element XOR operation according to row and column coordinates to segment the vascular morphology feature image matrix M.

[0061] In some embodiments, the image processing module performs an erosion operation on the initial biometric image matrix M1. When the biometric morphology disappears after N iterations, before obtaining the eroded image matrix M2, it also includes: the image processing module filters the elements in the initial biometric image matrix M1 that deviate from the mean by more than a first preset threshold value to obtain the filtered initial biometric image matrix M1′.

[0062] Specifically, the image processing module performs average statistics on all values ​​in the initial biometric image matrix M1 according to the following formula to obtain mean(M1):

[0063]

[0064] Traverse each element in the initial biometric image matrix M1, use the conditional threshold algorithm to filter out the elements that deviate from the mean mean(M) by more than a first preset threshold, the first preset threshold can be set as needed, and the positions of the filtered elements are replaced with 0 to obtain the filtered initial biometric image matrix M1′, Filtering out elements that deviate from the mean can improve the image enhancement effect. In some embodiments, the image processing module performs an erosion operation on the initial biometric image matrix M1. When the biometric form disappears after N iterations, the image matrix M2 after erosion is obtained further includes: the image processing module performs a binarization operation on the initial biometric image matrix M1 to obtain a binarized initial biometric image matrix M1″.

[0065]

[0066] In some embodiments, the image processing module compresses the RGB image matrix S and the biometric image matrix M respectively to obtain the compressed RGB image matrix S′ and the compressed biometric image matrix M′, including: the image processing module performs lossy compression on the RGB image matrix S to obtain the compressed RGB image matrix S′; the image processing module performs lossless compression on the biometric image matrix M to obtain the compressed biometric image matrix M′. The lossy compression may be jpeg compression, and the lossless compression may be singular value decomposition (SVD).

[0067] In some embodiments, the image processing module performs lossless compression processing on the biometric image matrix M to obtain the compressed biometric image matrix M′, which includes: the image processing module performs dimensionality reduction processing on the biometric image matrix M to obtain the compressed biometric image matrix M′, and the compressed biometric image matrix M′ includes an S submatrix S*, a V submatrix V*, and a D submatrix D*. Specifically, the biometric image matrix M is subjected to SVD decomposition to generate highly compressed S submatrix S*, V submatrix V*, and D submatrix D*.

[0068] In some embodiments, the capsule endoscope 1 also includes a radio frequency module, and the terminal device 2 decompresses the compressed RGB image matrix S′ and the compressed biometric image matrix M′ respectively to obtain the decompressed RGB image matrix S″ and the decompressed biometric image matrix M″, and also includes: the image processing module synthesizes the compressed RGB image matrix S′, the S submatrix S*, the V submatrix V* and the D submatrix D* into a data packet; the radio frequency module sends the data packet outside the body; and the terminal device 2 receives the data packet.

[0069] In some embodiments, the terminal device 2 decompresses the compressed RGB image matrix S′ and the compressed biometric image matrix M′, respectively, to obtain the decompressed RGB image matrix S″ and the decompressed biometric image matrix M″, including: the terminal device 2 decompresses the compressed RGB image matrix S′ to obtain the decompressed RGB image matrix S″; the terminal device 2 performs matrix multiplication operations on the S submatrix S*, the V submatrix V* and the D submatrix D* to obtain the decompressed biometric image matrix M″.

[0070] Specifically, the terminal device 2 can decompress the compressed RGB image matrix S′ through decodeJPEG to obtain the decompressed RGB image matrix S″. The terminal device 2 performs matrix multiplication operation on the S submatrix S*, the V submatrix V* and the D submatrix D* through the SVD algorithm to obtain the decompressed biometric image matrix M″. It can be understood that the decompressed biometric image matrix M″ is the same as the biometric image matrix M.

[0071] In some embodiments, the terminal device 2 performs enhanced fusion processing on the decompressed RGB image matrix S″ and the decompressed biometric image matrix M″ to obtain an RGB feature fusion image S target The terminal device 2 converts the decompressed RGB image S" into an HSV image N", obtains the HSV image N" channel , S channel 、V channel channel data, obtain H channel data H", S channel data S", V channel data V"; the terminal device 2 performs enhanced fusion processing on the V channel data V" and the decompressed biometric image matrix M", to obtain the enhanced fusion matrix V enhance The terminal device 2 sends the H channel data H″, the S channel data S″ and the matrix V enhance Convert to RGB color space to obtain the RGB feature fusion image Starget .

[0072] Specifically, based on the HSV-RGB mutual conversion operation, the decompressed RGB image S″ is converted to the HSV space to obtain the HSV image N″, and the HSV image N″ in the HSV image is obtained. channel , S channel 、V channel Channel data, H channel data H", S channel data S", V channel data V". The V channel data V" and the decompressed biometric image matrix M" are enhanced and fused according to the following formula to obtain the enhanced fused matrix V enhance :

[0073] V enhance (i,j)=δ1V″(i,j)+δ2M″(i,j),

[0074] Among them, δ1 is the fusion coefficient of the V channel data V″, δ2 is the fusion coefficient of the decompressed biometric image matrix M″, and δ1+δ2=1.

[0075] It is understandable that Based on the mutual conversion operation of HSV-RGB, the terminal device 2 converts the H channel data H″, the S channel data S″ and the matrix V enhance Convert to RGB color space to obtain the RGB feature fusion image S target .

[0076] An image processing system provided by an embodiment of the present invention includes a capsule endoscope 1 and a terminal device 2. The capsule endoscope 1 collects image data of a target area, extracts a biometric image from the image data, and performs lossless compression and transmission to the outside of the body. The image data of the target area is compressed and transmitted to the outside of the body. In the outside of the body, the terminal device 2 decompresses and fuses the received compressed images of the above two to obtain an RGB feature fusion image S target , the RGB feature fusion image S target The inclusion of biometric information helps medical staff to identify and diagnose lesions, thereby improving the accuracy of the detection results of the capsule endoscope 1; at the same time, it ensures the high compression rate and real-time transmission of data from inside the body to outside the body.

[0077] like Figure 2 As shown, an embodiment of the present invention provides a capsule endoscope 1, comprising an image acquisition module, an image processing module and a radio frequency module, wherein the image acquisition module acquires image data of a target area to obtain the RGB image matrix S;

[0078] The image processing module extracts the RGB of each pixel in the RGB image matrix S.ij The biometric information is used to generate a biometric image matrix M, where i∈(1, M), j∈(1, N), and M and N are positive integers respectively; the image processing module compresses the RGB image matrix S and the biometric image matrix M respectively to obtain a compressed RGB image matrix S′ and a compressed biometric image matrix M′; the radio frequency module sends the compressed RGB image matrix S′ and the compressed biometric image matrix M′ to the outside of the body, so that the terminal device 2 decompresses the compressed RGB image matrix S′ and the compressed biometric image matrix M′ respectively to obtain a decompressed RGB image matrix S″ and a decompressed biometric image matrix M″, and enables the terminal device 2 to enhance and fuse the decompressed RGB image matrix S″ and the decompressed biometric image matrix M″ to obtain an RGB feature fusion image S target .

[0079] In some embodiments, the image processing module extracts the RGB of each pixel in the RGB image matrix S. ij The biometric information of the generated biometric image matrix M includes: the image processing module processes each pixel RGB in the RGB image matrix S ij The biometric index formula is used to obtain the biometric value of each pixel point and generate an initial biometric image matrix M1; the image processing module performs an erosion operation on the initial biometric image matrix M1, and when the biometric form disappears after N iterations, the eroded image matrix M2 is obtained; the image processing module performs an XOR operation on the initial biometric image matrix M1 and the eroded image matrix M2 to obtain the biometric image matrix M.

[0080] In some embodiments, the image processing module compresses the biometric image matrix M to obtain a compressed biometric image matrix M′, which includes: the image processing module performs dimensionality reduction processing on the biometric image matrix M to obtain the compressed biometric image matrix M′, and the compressed biometric image matrix M′ includes an S submatrix S*, a V submatrix V* and a D submatrix D*.

[0081] For details on how the various functional modules of the capsule endoscope 1 and the terminal device 2 implement the above functions, please refer to the description of the above-mentioned embodiment of the image processing system, which will not be repeated here.

[0082] The embodiment of the present invention provides a capsule endoscope 1, which collects image data of a target area, extracts a biometric image from the image data, compresses the biometric image losslessly, and transmits the biometric image to the outside of the body, and compresses the image data of the target area and transmits the biometric image to the outside of the body, so that the terminal device 2 decompresses and fuses the received compressed images of the above two to obtain an RGB feature fused image S target , the RGB feature fusion image S target The inclusion of biometric information helps medical staff to identify and diagnose lesions, thereby improving the accuracy of the detection results of the capsule endoscope 1; at the same time, it ensures the high compression rate and real-time transmission of data from inside the body to outside the body.

[0083] Those skilled in the art can understand that all or part of the steps of implementing the above embodiments can be completed by hardware, or by instructing related hardware through a program, and the program can be stored in a computer storage medium, and the storage medium mentioned above can be a read-only memory, a disk or an optical disk, etc. The optional implementation methods of the embodiments of the present invention are described in detail above in conjunction with the accompanying drawings, but the embodiments of the present invention are not limited to the specific details of the above implementation methods. Within the technical concept of the embodiments of the present invention, the technical solutions of the embodiments of the present invention can be subjected to a variety of simple modifications, and these simple modifications all belong to the protection scope of the embodiments of the present invention.

[0084] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. To avoid unnecessary repetition, the embodiments of the present invention will not further describe various possible combinations.

[0085] In addition, various implementation modes of the embodiments of the present invention may be arbitrarily combined, and as long as they do not violate the concept of the embodiments of the present invention, they should also be regarded as the contents disclosed by the embodiments of the present invention.

Claims

1. An image processing system, characterized in that: It includes a capsule endoscope and a terminal device, wherein the capsule endoscope includes an image acquisition module and an image processing module. The image acquisition module acquires image data of the target area to obtain an RGB image matrix S; The image processing module extracts the RGB of each pixel in the RGB image matrix S. ij The biometric information is used to generate a biometric image matrix M, where i∈(1,M), j∈(1,N), M and N are positive integers, specifically including: The image processing module processes each pixel RGB in the RGB image matrix S. ij Using a biometric index formula, obtain a biometric value of each pixel point and generate an initial biometric image matrix M1; The image processing module performs an erosion operation on the initial biometric image matrix M1, and when the biometric morphology disappears after N iterations, an eroded image matrix M2 is obtained; The image processing module performs an XOR operation on the initial biometric image matrix M1 and the eroded image matrix M2 to obtain the biometric image matrix M; The image processing module compresses the RGB image matrix S and the biometric image matrix M to obtain a compressed RGB image matrix S′ and a compressed biometric image matrix M′; the terminal device decompresses the compressed RGB image matrix S′ and the compressed biometric image matrix M′ to obtain a decompressed RGB image matrix S″ and a decompressed biometric image matrix M″; The terminal device performs enhanced fusion processing on the decompressed RGB image matrix S″ and the decompressed biometric image matrix M″ to obtain an RGB feature fusion image S target .

2. The image processing system according to claim 1, characterized in that The image processing module performs an erosion operation on the initial biometric image matrix M1. When the biometric form disappears after N iterations, the eroded image matrix M2 is obtained, and the following steps are also included: The image processing module filters out the elements in the initial biometric image matrix M1 that deviate from the mean by more than a first preset threshold value, and obtains a filtered initial biometric image matrix M1′.

3. The image processing system according to claim 1, characterized in that: The image processing module performs an erosion operation on the initial biometric image matrix M1. When the biometric form disappears after N iterations, the eroded image matrix M2 is obtained, and the following steps are also included: The image processing module performs binarization processing on the initial biometric image matrix M1 to obtain a binarized initial biometric image matrix M1″.

4. The image processing system according to claim 1, characterized in that: The image processing module compresses the RGB image matrix S and the biometric image matrix M respectively to obtain the compressed RGB image matrix S′ and the compressed biometric image matrix M′, which include: The image processing module performs lossy compression processing on the RGB image matrix S to obtain the compressed RGB image matrix S′; The image processing module performs lossless compression processing on the biometric image matrix M to obtain the compressed biometric image matrix M′.

5. The image processing system according to claim 4, characterized in that: The image processing module performs lossless compression processing on the biometric image matrix M to obtain the compressed biometric image matrix M′, which includes: The image processing module performs dimensionality reduction processing on the biometric image matrix M to obtain the compressed biometric image matrix M′, and the compressed biometric image matrix M′ includes an S submatrix S*, a V submatrix V* and a D submatrix D*.

6. The image processing system according to claim 5, characterized in that: The capsule endoscope further includes a radio frequency module. The terminal device decompresses the compressed RGB image matrix S′ and the compressed biometric image matrix M′ to obtain the decompressed RGB image matrix S″ and the decompressed biometric image matrix M″ respectively, and further includes: The image processing module combines the compressed RGB image matrix S′, the S submatrix S*, the V submatrix V* and the D submatrix D* into a data packet; The radio frequency module sends the data packet to the outside of the body; The terminal device receives the data packet.

7. The image processing system according to claim 5, characterized in that: The terminal device decompresses the compressed RGB image matrix S′ and the compressed biometric image matrix M′ respectively to obtain the decompressed RGB image matrix S″ and the decompressed biometric image matrix M″, comprising: the terminal device decompresses the compressed RGB image matrix S′ to obtain the decompressed RGB image matrix S″; The terminal device performs matrix multiplication operation on the S sub-matrix S*, the V sub-matrix V* and the D sub-matrix D* to obtain the decompressed biometric image matrix M″.

8. The image processing system according to claim 7, characterized in that: The terminal device performs enhanced fusion processing on the decompressed RGB image matrix S″ and the decompressed biometric image matrix M″ to obtain an RGB feature fusion image S target include: The terminal device converts the decompressed RGB image S″ into an HSV image N″, and obtains HSV in the HSV image N″. channel , S channel 、V channel Channel data, obtain H channel data H″, S channel data S″, V channel data V″; The terminal device performs enhanced fusion processing on the V channel data V″ and the decompressed biometric image matrix M″ to obtain an enhanced fusion matrix V enhance ; The terminal device transmits the H channel data H″, the S channel data S″ and the matrix V enhance Convert to RGB color space to obtain the RGB feature fusion image S target .

9. A capsule endoscope, characterized in that: It includes an image acquisition module, an image processing module and a radio frequency module. The image acquisition module acquires image data of the target area to obtain an RGB image matrix S; The image processing module extracts the RGB of each pixel in the RGB image matrix S. ij The biometric information is used to generate a biometric image matrix M, where i∈(1,M), j∈(1,N), M and N are positive integers respectively, and specifically includes: the image processing module processes the RGB image matrix S for each pixel RGB ij Using a biometric index formula, obtain a biometric value of each pixel point and generate an initial biometric image matrix M1; The image processing module performs an erosion operation on the initial biometric image matrix M1, and when the biometric morphology disappears after N iterations, an eroded image matrix M2 is obtained; The image processing module performs an XOR operation on the initial biometric image matrix M1 and the eroded image matrix M2 to obtain the biometric image matrix M; The image processing module compresses the RGB image matrix S and the biometric image matrix M respectively to obtain a compressed RGB image matrix S′ and a compressed biometric image matrix M′; the radio frequency module sends the compressed RGB image matrix S′ and the compressed biometric image matrix M′ to the outside of the body, so that the terminal device decompresses the compressed RGB image matrix S′ and the compressed biometric image matrix M′ respectively to obtain a decompressed RGB image matrix S″ and a decompressed biometric image matrix M″, and enables the terminal device to enhance and fuse the decompressed RGB image matrix S″ and the decompressed biometric image matrix M″ to obtain an RGB feature fusion image S target .

10. The capsule endoscope according to claim 9, characterized in that: The image processing module compresses the biometric image matrix M to obtain a compressed biometric image matrix M′, which includes: the image processing module performs dimensionality reduction processing on the biometric image matrix M to obtain the compressed biometric image matrix M′, and the compressed biometric image matrix M′ includes an S submatrix S*, a V submatrix V* and a D submatrix D*.