This application is based on and claims priority under 35 USC 119 from Japanese Patent Application No. 2022-028510 filed on Feb. 25, 2022, the disclosure of which is incorporated by reference herein.
The present disclosure relates to a blood vessel determination device, a blood vessel determination method and a non-transitory storage medium memorizing a blood vessel determination program.
A device that enables non-invasive observation of blood vessels in the palm of a hand or the like is known (for example, see Japanese Patent Application Laid-Open (JP-A) No. 2017-209315).
From a first image set formed of plural images of a region containing blood vessels of a subject, a processing apparatus disclosed in JP-A No. 2017-209315 identifies, from changes in brightness values of portions of the images, a changing range in which changes in blood flow in the blood vessels are large and states of change of the brightness values satisfy a predetermined condition. The processing apparatus generates a second image set by selecting plural images included in the changing range, and performs computation processing on signals of plural images including the images of the second image set.
When positions of blood vessels are extracted from images based on plural images as in the processing apparatus disclosed in JP-A No. 2017-209315, sophisticated image processing must be conducted on the images. When a sophisticated technique is used, the processing load of a microcomputer is great. Therefore, when a technique such as that disclosed in JP-A No. 2017-209315 is used for extracting blood vessels from images, a computer capable of dealing with this processing load must be provided, and costs for blood vessel determination processing are high.
The present disclosure is made in order to solve the problem described above. An object of the present disclosure is to provide a blood vessel determination device, a blood vessel determination method and a memory medium memorizing a blood vessel determination program that may determine blood vessels appearing in an image easily.
A blood vessel determination device relating to the present disclosure includes: an acquisition section that acquires an image captured while near-infrared light is illuminated at a part of a body; and a determination section that, based on brightness values of plural pixels configuring the image acquired by the acquisition section, determines that a predetermined number of pixels counted in order of brightness value from a pixel with a lowest brightness value represent blood vessels.
A blood vessel determination method relating to the present disclosure includes a computer executing processing including: acquiring an image captured while near-infrared light is illuminated at a part of a body; and, based on brightness values of a plurality of pixels configuring the acquired image, determining that a predetermined number of pixels counted in order of brightness value from a pixel with a lowest brightness value represent blood vessels.
A non-transitory storage medium memorizing a blood vessel determination program relating to the present disclosure memorizes a blood vessel determination program for causing a computer to execute processing including: acquiring an image captured while near-infrared light is illuminated at a part of a body; and, based on brightness values of a plurality of pixels configuring the acquired image, determining that a predetermined number of pixels counted in order of brightness value from a pixel with a lowest brightness value represent blood vessels.
According to the present disclosure, a blood vessel appearing in an image may be determined easily.
Below, an exemplary embodiment relating to the present disclosure is described in detail with reference to the drawings.
As shown in
Images of the finger F captured by the camera 16 while the near-infrared light is illuminated are stored at the image memory section 20. Plural images that are captured in a predetermined time interval are stored at the image memory section 20.
The acquisition section 22 acquires images of the finger F by reading the images from the image memory section 20. The acquisition section 22 acquires images of respective times that are stored at the image memory section 20.
By averaging brightness values of pixels at corresponding positions contained in a plural number of images acquired by the acquisition section 22, the averaging section 24 generates an averaged image in which the plural images are averaged. Thus, irregularities such as pulse waves and the like that appear in the images of the finger F may be moderated.
The arranging section 26 arranges brightness values of plural pixels configuring the averaged image generated by the averaging section 24 into ascending order.
Based on the brightness values of the plural pixels that have been arranged by the arranging section 26, the determination section 28 determines that, of the pixels configuring the averaged image, a first predetermined number of pixels counted in order of brightness value from a pixel with a lowest brightness value represent blood vessels, and determines that a second predetermined number of pixels counted in order of brightness value from a pixel with a highest brightness value do not represent blood vessels.
Accordingly, the determination section 28 according to the present exemplary embodiment determines that, of the plural pixels configuring the images acquired by the acquisition section 22, the first predetermined number of pixels counted from a pixel with a lowest brightness value represent blood vessels and the second predetermined number of pixels counted from a pixel with a highest brightness value do not represent blood vessels. For example, in relation to an image with 40,000 pixels, the first predetermined number used for determining what is blood vessels can be set to 10,000 and the second predetermined number used for determining what is not blood vessels can be set to 10,000. The first predetermined number and the second predetermined number are specified in advance.
As is also shown in
Thus, more specifically, the determination section 28 determines that, among pixels with brightness values higher than the lower threshold value, the first predetermined number of pixels counted from a pixel with a lowest brightness value represent blood vessels. In addition, the determination section 28 determines that, among pixels with brightness values smaller than the upper threshold value, the second predetermined number of pixels counted from a pixel with a highest brightness value do not represent blood vessels. Therefore, because pixels with very small brightness values and pixels with very high brightness values are excluded from determination, blood vessels appearing in the images may be determined easily and accurately.
In the example shown in
In
The blood vessel determination device 18 may be realized by, for example, a computer 50 as shown in
The memory section 53 may be realized by a hard disk drive (HDD), solid-state drive (SSD), flash memory or the like. A program for causing functioning of the computer 50 is memorized at the memory section 53, which serves as a memory medium. The CPU 51 reads the program from the memory section 53, loads the program into the memory 52, and sequentially executes processes of the program.
Now, operation of the blood vessel determination system 10 according to the exemplary embodiment is described.
When near-infrared light L is outputted from the lamp 12 and images of a finger F are captured by the camera 16, the blood vessel determination device 18 acquires the images and successively stores the images at the image memory section 20. Hence, when the blood vessel determination device 18 receives command signals for determining blood vessels, the blood vessel determination device 18 executes the processing routine shown in
In step S100, the acquisition section 22 acquires images stored at the image memory section 20 from respective times in a predetermined time interval.
In step S102, the averaging section 24 averages brightness values of pixels at corresponding positions contained in the plural images acquired in step S100, thus generating an averaged image in which the plural images are averaged.
In step S104, the arranging section 26 arrangs the brightness values of the plural pixels configuring the averaged image generated in step S102 into ascending order.
In step S106, based on the brightness values of the plural pixels arranged in step S104, the determination section 28 determines that, of the pixels configuring the averaged image, the first predetermined number of pixels counted in order of brightness value from pixels with small brightness values that have brightness values higher than the lower threshold value are pixels of blood vessels. In addition, the determination section 28 determines that, of the pixels configuring the averaged image, the second predetermined number of pixels counted in order of brightness value from pixels with high brightness values that have brightness values lower than the upper threshold value are pixels that are not of blood vessels.
In step S108, based on the determination results obtained in step S106, the determination section 28 generates a processed image Im2, as in the examples shown in
As described above, the blood vessel determination device according to the exemplary embodiment acquires an image captured while near-infrared light is illuminated at a finger, and based on brightness values of plural pixels configuring the image, the blood vessel determination device determines that a predetermined number of pixels counted in order of brightness value from pixels with small brightness values are of blood vessels. More specifically, the blood vessel determination device 18 determines that, among the respective plural pixels configuring the image, the first predetermined number of pixels counted from pixels with smaller brightness values among pixels with brightness values higher than the lower threshold value are pixels of blood vessels. In addition, the blood vessel determination device 18 determines that, among the respective plural pixels configuring the image, the second predetermined number of pixels counted from pixels with higher brightness values among pixels with brightness values lower than the upper threshold value are pixels that are not of blood vessels. Thus, blood vessels appearing in the image may be determined easily. Specifically, because the blood vessels are extracted by a simple algorithm, a reduction in processing load of a microcomputer that is a subject executing the processing may be enabled.
The blood vessel determination device according to this exemplary embodiment acquires plural images captured in a predetermined time interval and generates an averaged image in which the plural images are averaged by averaging brightness values of pixels at corresponding positions contained in the plural images. Based on the brightness values of the plural pixels configuring the averaged image, the blood vessel determination device determines that the first predetermined number of pixels counted from pixels with smaller brightness values are of blood vessels, and determines that the second predetermined number of pixels counted from pixels with higher brightness values are not of blood vessels. The processing of averaging is arithmetic processing with a relatively low computing cost. Images in which blood vessels appear are subject to effects from irregular components such as pulse waves and the like. Accordingly, by averaging plural images, the effects of irregular components such as pulse rates and the like may be moderated, and blood vessel determination accuracy may be improved even while the computing cost is reduced.
Because aggregations of pixels with brightness values not less than an arbitrary lower threshold value are determined to be regions of blood vessels, even when an object other than a finger impinges on an image, pixels in which this object appears may be excluded from determination by the lower threshold value. Therefore, blood vessels may be determined accurately.
Because regions corresponding to an arbitrary number of pixels counted in order of brightness value from smaller brightness values are determined to be blood vessels, irregularities in accuracy of the blood vessel determination due to irregularities in light amounts outputted from a light source may be suppressed.
Because aggregations of pixels with brightness values not more than an arbitrary upper threshold value are determined to be regions that are not blood vessels, even when an object other than a finger on a screen (for example, the light source itself) impinges on an image, pixels in which this object appears may be excluded from determination by the upper threshold value. Therefore, regions that are not blood vessels may be determined accurately.
Because regions corresponding to an arbitrary number of pixels counted from higher brightness values are determined not to be blood vessels, irregularities in accuracy of determining regions that are not blood vessels due to irregularities in light amounts outputted from a light source may be suppressed.
A conversion to a blood sugar level of the owner of a finger F appearing in an image may be calculated based on a difference between an average of brightness values of pixels in a region depicting blood vessels that is extracted by the blood vessel determination device 18 according to the present exemplary embodiment and an average of brightness values in a different region.
An exemplary embodiment of the present disclosure is described above, but the present disclosure is not limited by modes of the exemplary embodiment described above and numerous modifications may be embodied.
For example, in the exemplary embodiment described above, an example is described in which the example of a part of a body is a finger, but this is not limiting. A part of a body that is to be an object of blood vessel determination may be any part.
All publications, patent applications, and technical standards mentioned in this specification are herein incorporated by reference to the same extent as if each individual publication, patent application, or technical standard was specifically and individually indicated to be incorporated by reference.
Number | Date | Country | Kind |
---|---|---|---|
2022-028510 | Feb 2022 | JP | national |