# US 11,120,547 B2 · Reconstruction of images from an in vivo multi-camera capsule with two-stage confidence matching

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 11,120,547 B2
- Document ID: US11120547B2
- Status: Granted
- Kind: B2
- Application number: 16/393,894
- Filed: 2019-04-24
- Published: 2019-08-29
- Granted: 2021-09-14
- Earliest claimed: 2014-06-01
- Assignees: Capsovision Inc
- Applicants: CapsoVision, Inc.
- Inventors: Kang-Huai Wang; Chenyu Wu
- Web page: https://patentgrep.com/patent/US11120547B2

## CPC

- G06T 3/4038: Image mosaicing, e.g. composing plane images from plane sub-images
- A61B 1/0005: {combining images e.g. side-by-side, superimposed or tiled}
- A61B 1/041: {Capsule endoscopes for imaging}
- G06T 3/14: Transformations for image registration, e.g. adjusting or mapping for alignment of images
- G06T 7/0012: {Biomedical image inspection}
- G06T 7/33: using feature-based methods
- G06V 10/751: {Comparing pixel values or logical combinations thereof, or feature values having positional relevance, e.g. template matching}
- H04N 5/2624: {for obtaining an image which is composed of whole input images, e.g. splitscreen}
- H04N 17/002: {for television cameras}
- A61B 1/00009: {of image signals during a use of endoscope}
- G06T 2207/10068: Endoscopic image
- G06T 2207/30028: Colon; Small intestine
- G06T 2207/30092: Stomach; Gastric
- G06T 2207/30168: Image quality inspection
- G06T 2207/30242: Counting objects in image
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- A61B: DIAGNOSIS; SURGERY; IDENTIFICATION (usefulness limited to only animals A61D)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method and apparatus of image stitching using confidence level of image matching on image pair to be stitched are disclosed. According to the present invention, the first quality of image matching is determined for a current image based on feature matching on first image pairs corresponding to the current image and a neighboring image set. If the first quality of image matching for at least one first image pair satisfies a first quality criterion, then the second quality of image matching is determined based on pixel-domain matching for one or more candidate image pairs, where each candidate image pair has a corresponding first quality of image matching satisfying the first quality criterion. If the second quality of image matching for a candidate image pair satisfies a second quality criterion, then the matched image pair is stitched.

## Claims

### Claim 1

A method of displaying images of human GI (gastrointestinal) tract captured using a capsule camera when the capsule camera travelled through the human GI tract, the method comprising:
receiving a plurality of images captured by the capsule camera;
determining first quality of image matching for a current image based on feature matching for one or more first image pairs, wherein each of the first image pairs corresponds to the current image and one neighboring image in a neighboring image set of the current image, and wherein each neighboring image in the neighboring image set corresponds to an unstitched image from the plurality of images captured by the capsule camera or one previously stitched image close to the current image temporally;
when the first quality of image matching for at least one first image pair satisfies a first quality criterion:
determining second quality of image matching based on pixel-domain matching for one or more candidate image pairs, wherein each candidate image pair has a corresponding first quality of image matching satisfying the first quality criterion; and
when the second quality of image matching for at least one candidate image pair satisfies a second quality criterion:
designating the current image as one matched image; and
stitching said one matched image with a selected neighboring image to form one stitched image larger than the current image, wherein the selected neighboring image corresponds to one candidate image pair with the second quality of image matching satisfying the second quality criterion.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first quality of image matching is based on features extracted between two images of each first image pair.

### Claim 3 (depends on 2)

The method of claim 2, wherein the first quality of image matching is based on posterior probability corresponding to correct image matching for each of the features, wherein each of the features is modelled as a binary random variable being an inlier or an outlier.

### Claim 4 (depends on 3)

The method of claim 3, wherein the first quality of image matching is measured by counting a number of the features being the inlier, and the first quality criterion corresponds to the number of the features being to the inlier being greater than a first threshold.

### Claim 5 (depends on 4)

The method of claim 4, wherein the first threshold is dependent on a first probability corresponding to one feature being the inlier and a second probability corresponding to one feature being the outlier.

### Claim 6 (depends on 3)

The method of claim 3, further comprising, for a target candidate image pair, determining one transform model for two images of the target candidate image pair based on the features extracted for said two images of the target candidate image pair and the features belong to the inlier.

### Claim 7 (depends on 6)

The method of claim 6, wherein said one transform model is applied to the target candidate image pair prior to said determining the second quality of image matching for the target candidate image pair.

### Claim 8 (depends on 1)

The method of claim 1, wherein if the first quality of image matching for none of said one or more first image pairs satisfies the first quality criterion or if the second quality of image matching for none of said one or more candidate image pairs satisfies the second quality criterion, designating the current image as one unmatched image.

### Claim 9 (depends on 8)

The method of claim 8, wherein one or more stitched pictures and one or more unmatched images are displayed on a display device in an interleaved manner, wherein said one or more stitched pictures are displayed during first periods and said one or more unmatched images are displayed during second periods, and the first periods and the second periods are non-overlapping.

### Claim 10 (depends on 8)

The method of claim 8, wherein one or more stitched pictures are displayed in a first display area on a display device and one or more unmatched images are displayed in a second display area on the display device.

### Claim 11 (depends on 1)

The method of claim 1, wherein the second quality of image matching is based on a sum of squared distance (SSD), normalized cross correlation (NCC) or mutual information (MI) between two images in one candidate image pair.

### Claim 12 (depends on 11)

The method of claim 11, wherein when the second quality of image matching is based on the SSD, the second quality criterion corresponds to the SSD being smaller than a second threshold.

### Claim 13 (depends on 11)

The method of claim 11, wherein when the second quality of image matching is based on the NCC or MI, the second quality criterion corresponds to the NCC or MI being larger than a third threshold.

### Claim 14 (depends on 1)

The method of claim 1, wherein said stitching said one matched image with the selected neighboring image is performed only if a number of constituent images for the selected neighboring image is less than a fourth threshold.

### Claim 15

A system of displaying images of human gastrointestinal (GI) tract captured using a capsule camera when the capsule camera travelled through the GI tract, the system comprising:
a display device; and
a processor coupled to the display device, wherein the processor is configured to:
receive a plurality of images captured by the capsule camera;
determine first quality of image matching for a current image based on feature matching for one or more first image pairs, wherein each of the first image pairs corresponds to the current image and one neighboring image in a neighboring image set of the current image, and wherein each neighboring image in the neighboring image set corresponds to an unstitched image from the plurality of images captured by the capsule camera or one previously stitched image close to the current image temporally;
if the first quality of image matching for at least one first image pair satisfies a first quality criterion:
determine second quality of image matching based on pixel-domain matching for one or more candidate image pairs, wherein each candidate image pair has a corresponding first quality of image matching satisfying the first quality criterion; and
if the second quality of image matching for at least one candidate image pair satisfies a second quality criterion:
designate the current image as one matched image; and
stitch said one matched image with a selected neighboring image to form one stitched image larger than the current image, wherein the selected neighboring image corresponds to one candidate image pair with the second quality of image matching satisfying the second quality criterion.

### Claim 16 (depends on 15)

The system of claim 15, wherein if the first quality of image matching for none of the said one or more image pairs satisfies the first quality criterion or if the second quality of image matching for none of said one or more candidate image pairs satisfies the second quality criterion, designating the current image as one unmatched image.

### Claim 17 (depends on 16)

The system of claim 16, wherein one or more stitched pictures and one or more unmatched images are displayed on a display device in an interleaved manner, wherein said one or more stitched pictures are displayed during first periods and said one or more unmatched images are displayed during second periods, and the first periods and the second periods are non-overlapping.

### Claim 18 (depends on 16)

The system of claim 16, wherein one or more stitched pictures are displayed in a first display area on a display device and one or more unmatched images are displayed in a second display area on the display device.
