Image processing apparatus, image processing method, and endoscope
10912444 ยท 2021-02-09
Assignee
Inventors
Cpc classification
A61B2576/00
HUMAN NECESSITIES
A61B1/05
HUMAN NECESSITIES
A61B1/0005
HUMAN NECESSITIES
A61B5/066
HUMAN NECESSITIES
International classification
A61B1/00
HUMAN NECESSITIES
A61B5/06
HUMAN NECESSITIES
A61B1/05
HUMAN NECESSITIES
G02B23/24
PHYSICS
Abstract
In order to acquire height information regarding a subject disposed on the internal surface of an elongated tubular member, an image processing apparatus according to the present disclosure, includes a processor the processor including hardware and configured to perform the steps of receiving a first image and a second image acquired from a subject using an optical system having a field of view in a direction of at least about 90 to a central axis of the optical system, the first image acquired at a first position, the second image acquired at a second position, the second position different from the first position along the central axis; and calculating a distance between the subject and the central axis of the optical system, based on a distance between the first position and the second position, and based on the corresponding points in the third image and in the fourth image.
Claims
1. An image processing apparatus comprising a processor, the processor comprising hardware and configured to perform the steps of: receiving a first image and a second image acquired from a subject using an optical system having a field of view in a direction of at least about 90 to a central axis of the optical system, the first image acquired at a first position, the second image acquired at a second position, the second position different from the first position along the central axis; setting a first barycentric position of a first brightness value in the first image; setting a second barycentric position of a second brightness value in the second image; creating a third image by performing polar coordinate transformation to the first image with the first barycentric position; creating a fourth image by performing polar coordinate transformation to the second image with the second barycentric position; detecting corresponding points of the subject in the third image and in the fourth image; and calculating a distance between the subject and the central axis of the optical system, based on a distance between the first position and the second position, and based on the corresponding points in the third image and in the fourth image.
2. The image processing apparatus according to claim 1, wherein the processor is further configured to perform the steps of: after receiving a first image and a second image, before setting the first barycentric position, segmenting each of the first image and the second image into a plurality of areas on the basis of the first brightness value and the second brightness value, wherein the first barycentric position and the second barycentric position are set in each of the plurality of areas of each of the first image and the second image.
3. The image processing apparatus according to claim 1, wherein the processor is further configured to calculate a distance between the subject and the central axis of the optical system, with a triangulation method using the distance between the first position and the second position, and a distance between corresponding points in the third image and the fourth image.
4. An image processing method comprising the steps of: receiving a first image and a second image acquired by taking a subject using an optical system having a field of view in a direction of at least 90 to an central axis of the optical system, the first image being taken at a first position, the second image being taken at a second position different from the first position along the central axis; setting a first barycentric position of a first brightness values in the first image; setting a second barycentric position of a second brightness values in the second image; creating a third image by performing polar coordinate transformation to the first image with the first barycentric position; and creating a fourth image by performing polar coordinate transformation to the second image with the second barycentric position, detecting corresponding points of the subject in the third image and in the fourth image; and calculating a distance between the subject and the central axis of the optical system, based on a distance between the first position and the second position, and on the corresponding points in the third image and in the fourth image.
5. The image processing method according to claim 4, further comprising the steps of: after receiving a first image and a second image, before setting the first barycentric position, segmenting each of the first image and the second image into a plurality of areas on the basis of the first brightness value and the second brightness value, wherein the first barycentric position and the second barycentric position are set in each of the plurality of areas of each of the first image and the second image.
6. The image processing method according to claim 5, wherein the processor is further configured to calculate a distance between the subject and the central axis of the optical system, with a triangulation method using the distance between the first position and the second position, and a distance between corresponding points in the third image and the fourth image.
7. An endoscope comprising: an image sensor configured to form the first image and the second image; a distance detector configured to set the distance between the first position and the second position; and the image processing apparatus according to claim 1.
8. The endoscope according to claim 7, wherein the optical system has the field of view of more than about 90 on one side to the central axis.
9. The endoscope according to claim 7, further comprising: a sensor configured to detect a distance between the first position and the second position.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
DESCRIPTION OF EMBODIMENTS
(20) An endoscope 1 and an image processing apparatus 8 according to an embodiment of the present invention, will be described below with reference to the drawings.
(21) The endoscope 1 according to the present embodiment, includes, as illustrated in
(22) The tip of the insertion unit 2 includes an observing optical system (optical system) 4 having a central axis O that is the same or substantially the same as the central axis in a longitudinal direction of the insertion unit 2, and an image pickup element 5, such as a CMOS sensor or other suitable sensor, that receives light condensed by the observing optical system 4, is disposed. For example, the observing optical system 4 includes, as illustrated in
(23) As illustrated in
(24) The apparatus body 3 includes the image processing apparatus 8 according to the present embodiment that processes signals from the image pickup element 5 and the insertion detection unit 7, and a display 9 that displays an image processed by the image processing apparatus 8. The image processing apparatus 8 is consisted of one or plural processors.
(25) As illustrated in
(26) The center detection unit 10 segments, on the basis of the distribution of brightness values in the entire image as illustrated in
(27) The barycentric positions calculated by the center detection unit 10 indicate the central axis O of the observing optical system 4 arranged for the respective areas.
(28) Therefore, the calculated barycentric positions are arranged on a substantially straight line, as illustrated in
(29) The image transformation unit 11 performs the polar coordinate transformation with the barycentric position (xci, yci) for each area calculated by the center detection unit 10, in accordance with the following expressions:
R=(xxci).sup.2+(yyci).sup.2)
=tan.sup.1((xxci)/(yyci))
(30) where R represents the distance in a radial direction from the central axis O of the observing optical system 4 and represents the angle around the central axis O of the observing optical system 4.
(31) This arrangement generates images subjected to the polar coordinate transformation, as illustrated in
(32) The detection of the barycentric positions by the center detection unit 10 and the polar coordinate transformation by the image transformation unit 11 are performed to two images, as illustrated in
(33) Then, the image transformation unit 11 transmits the two after-transformation images that have been subjected to the polar coordinate transformation, to the corresponding point detection unit 12, and then the corresponding point detection unit 12 detects corresponding points between the two images, with template matching processing, such as an SSD method (Sum of Squared Difference method).
(34) The difference in the number of pixels between the corresponding points detected by the corresponding point detection unit 12 and the travel amount of the insertion unit 2 between the image capture positions of the two images detected by the insertion detection unit 7, are input into the height information calculation unit 13, so that the distance from the central axis O of the observing optical system 4 detected by the center detection unit 10, is calculated with a triangulation method, on the basis of the difference in the number of pixels between the corresponding points and the travel amount of the insertion unit 2. In general, the triangulation method requires a base line and two angles from two points on the base line to a measuring point. In this case, the base line is the central axis O, the two points are both end of the travel amount of the insertion unit 2, the measuring point is the corresponding point in two images, and the two angle can be calculated from the number of pixels between the corresponding points. Accordingly the distance from the central axis O to the corresponding point can be calculated with a triangulation method.
(35) Then, for example, as illustrated in
(36) An image processing method with the image processing apparatus 8 according to the present embodiment with this configuration, will be described below.
(37) In order to detect height information regarding each region present in an image, with the image processing apparatus 8 according to the present embodiment, the insertion unit 2 is inserted into the tubular member or organ to be observed A, and then two images are acquired with the position in the longitudinal direction of the insertion unit 2 varying in proximity to a position at which the height information is to be detected.
(38) Referring to
(39) Then, after the generation of the after-transformation images for the two images, corresponding points are detected between the generated after-transformation images (corresponding point detection step S6), and the difference in the number of pixels between the detected corresponding points is calculated (step S7). The distance of each of the detected corresponding points from the central axis O of the observing optical system 4 is calculated with a suitable triangulation method on the basis of the calculated difference in the number of pixels and the travel amount input from the insertion detection unit 7 (distance calculation step S8).
(40) The endoscope 1 according to the present embodiment, has an advantage in that the height information regarding each region B on the internal surface of the member to be observed A, can be acquired with the insertion unit 2 disposed in the longitudinal axial direction of the member to be observed A without a need to orient the tip surface of the insertion unit 2 toward the internal surface of the tubular member to be observed A.
(41) The image processing apparatus 8 and the image processing method according to the present embodiment, have an advantage in that the height information regarding each region B on the internal surface of the tubular member to be observed A, can be acquired on the basis of the images acquired by the observing optical system 4 having the angle of view more than 90 on the one side from the central axis.
(42) With the endoscope 1 and the image processing apparatus 8, are of an arrangement having an advantage in that even when the central axis O of the observing optical system 4 inclines to the longitudinal axis of the tubular member to be observed A as illustrated in
(43) Note that, according to the present embodiment, the segmentation is made to acquire the plurality of annular areas each surrounding the central axis, on the basis of the brightness values, but a different method may be used for the segmentation, instead of this.
(44) According to the present embodiment, the observing optical system 4 has the angle of view of about 105 on the one side from the central axis O, but may have an angle of view of more than about 90 instead.
(45) According to the present embodiment, the case where the observing optical system 4 includes the fisheye lens 6 having the angle of view of about 105 on the one side from the central axis O, has been described, but an observing optical system 4 including a conic mirror 14 as illustrated in
(46) In this case, the detection of the central axis O of the observing optical system 4 and the polar coordinate transformation are performed to each of the acquired two images. Then, corresponding points are detected for after-transformation images as illustrated in
(47) Instead, an observing optical system including an objective lens that internally reflects lateral light twice to orient the lateral light toward an image pickup element, may be adopted.
(48) The images acquired by the camera are processed in order to detect the travel amount of the insertion unit 2. However, instead of this, a position sensor, such as a GPS sensor, may detect the travel amount.
REFERENCE SINGS LIST
(49) 1 Endoscope 2 Insertion unit (image pickup unit) 4 Observing optical system (optical system) 7 Insertion detection unit (distance setting unit) 8 Image processing apparatus 11 Image transformation unit 12 Corresponding point detection unit 13 Height information calculation unit (distance calculation unit) S2 Central axis setting step S4 Image transformation step S6 Corresponding point detection step S8 Distance calculation step A Member to be observed O Central axis