JP7536463B2 - Imaging device, control method thereof, and program - Google Patents
Imaging device, control method thereof, and program Download PDFInfo
- Publication number
- JP7536463B2 JP7536463B2 JP2020023378A JP2020023378A JP7536463B2 JP 7536463 B2 JP7536463 B2 JP 7536463B2 JP 2020023378 A JP2020023378 A JP 2020023378A JP 2020023378 A JP2020023378 A JP 2020023378A JP 7536463 B2 JP7536463 B2 JP 7536463B2
- Authority
- JP
- Japan
- Prior art keywords
- affected area
- size
- imaging
- image
- imaging device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000003384 imaging method Methods 0.000 title claims description 132
- 238000000034 method Methods 0.000 title claims description 64
- 238000004891 communication Methods 0.000 claims description 39
- 208000004210 Pressure Ulcer Diseases 0.000 claims description 37
- 230000008859 change Effects 0.000 claims description 12
- 230000004044 response Effects 0.000 claims description 2
- 238000012545 processing Methods 0.000 description 103
- 230000008569 process Effects 0.000 description 46
- 238000005259 measurement Methods 0.000 description 18
- 238000004364 calculation method Methods 0.000 description 16
- 238000011156 evaluation Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 12
- 238000000605 extraction Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 7
- 238000013135 deep learning Methods 0.000 description 6
- 238000012986 modification Methods 0.000 description 6
- 230000004048 modification Effects 0.000 description 6
- 206010011985 Decubitus ulcer Diseases 0.000 description 5
- 230000035876 healing Effects 0.000 description 4
- 230000011218 segmentation Effects 0.000 description 4
- 238000013459 approach Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 230000018109 developmental process Effects 0.000 description 3
- 239000000284 extract Substances 0.000 description 3
- 238000002156 mixing Methods 0.000 description 3
- 238000003062 neural network model Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000037380 skin damage Effects 0.000 description 3
- 238000011282 treatment Methods 0.000 description 3
- 208000034693 Laceration Diseases 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000010191 image analysis Methods 0.000 description 2
- 206010061218 Inflammation Diseases 0.000 description 1
- 208000025865 Ulcer Diseases 0.000 description 1
- 206010052428 Wound Diseases 0.000 description 1
- 208000027418 Wounds and injury Diseases 0.000 description 1
- 230000037396 body weight Effects 0.000 description 1
- 210000001217 buttock Anatomy 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000013136 deep learning model Methods 0.000 description 1
- 238000003708 edge detection Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 210000000416 exudates and transudate Anatomy 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000005469 granulation Methods 0.000 description 1
- 230000003179 granulation Effects 0.000 description 1
- 208000015181 infectious disease Diseases 0.000 description 1
- 230000004054 inflammatory process Effects 0.000 description 1
- 238000011221 initial treatment Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000001338 necrotic effect Effects 0.000 description 1
- 230000007170 pathology Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 230000011514 reflex Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- 238000012549 training Methods 0.000 description 1
- 238000002834 transmittance Methods 0.000 description 1
- 231100000397 ulcer Toxicity 0.000 description 1
Images
Landscapes
- Studio Devices (AREA)
Description
本発明は、撮像装置、その制御方法およびプログラム等に関するものである。 The present invention relates to an imaging apparatus, a control method thereof , and a program therefor .
人や動物が横になっている状態では体重により接地面と体の接触部位が圧迫されることで褥瘡、いわゆる床ずれが発症することがある。褥瘡を発症した患者は、体圧分散ケアやスキンケア等の褥瘡ケアを施し、定期的に褥瘡を評価および管理していく必要がある。 When a person or animal is lying down, their body weight puts pressure on the contact area between the body and the surface, which can lead to the development of bedsores. Patients who develop bedsores should receive bedsore care such as pressure redistribution care and skin care, and regularly evaluate and manage the bedsores.
非特許文献1には、褥瘡評価のツールとして、日本褥瘡学会学術教育委員会が開発した褥瘡状態判定スケール、DESIGN-R(登録商標)が提案されている。DESIGN-Rは、褥瘡をはじめとする傷の治癒過程を評価するためのツールである。このスケールの命名は、深さ(Depth)、滲出液(Exudate)、大きさ(Size)、炎症・感染(Inflammation/Infection)、肉芽組織(Granulation)、壊死組織(Necrotic tissue)の各観察項目の頭文字をとっている。 Non-Patent Document 1 proposes the DESIGN-R (registered trademark), a pressure ulcer status assessment scale developed by the Academic Education Committee of the Japanese Society of Pressure Ulcers, as a tool for assessing pressure ulcers. DESIGN-R is a tool for evaluating the healing process of wounds, including pressure ulcers. The name of this scale is derived from the initials of the observation items: depth, exudate, size, inflammation/infection, granulation, and necrotic tissue.
DESIGN-Rは、日常の簡便な評価のための重症度分類用と、詳細に治癒過程の流れが示される経過評価用との2つがある。重症度分類用のDESIGN-Rは、6つの評価項目を軽度と重度の2つに区分して、軽度はアルファベットの小文字を用いて表し、重度は大文字を用いて表す。
初療時に重症度分類用を用いて評価することで、褥瘡の大まかな状態を把握することができる。どの項目が問題であるかがわかるため、治療方針を容易に決定できる。
DESIGN-R is available in two versions: one for severity classification, which is used for simple daily evaluation, and one for progress evaluation, which shows the flow of the healing process in detail. DESIGN-R for severity classification divides six evaluation items into two categories, mild and severe, with mild being represented by lowercase letters and severe being represented by uppercase letters.
By using the severity classification system to evaluate the pressure ulcer at the time of initial treatment, it is possible to grasp the general condition of the ulcer. By knowing which items are problematic, it is easy to decide on a treatment plan.
一方、経過評価用として、経過評価に加え患者間の重症度比較もできるDESIGN-Rも定められている。Rはrating(評価・評点)を表す。各項目に異なる重み付けをしており、深さ以外の6項目の合計点(0~66点)がその褥瘡の重症度を表す。治療開始後に治療経過を詳細かつ客観的に評価でき、個人の経過評価だけでなく、患者間の重症度比較もできる。
ここで、DESIGN-RのSize評価は、皮膚損傷範囲の長径と短径(長径と直交する最大径)を測定し(cm)、各々を掛け合わせた数値であるSizeを7段階に分類するものである。この7段階とは、s0:皮膚損傷なし、s3:4未満、s6:4以上16未満、s8:16以上36未満、s9:36以上64未満、s12:64以上100未満、S15:100以上、である。
Meanwhile, DESIGN-R has also been established for progress evaluation, which allows for comparison of severity between patients in addition to progress evaluation. R stands for rating. Each item is weighted differently, and the total score (0-66 points) of the six items other than depth represents the severity of the pressure ulcer. After treatment has begun, the treatment progress can be evaluated in detail and objectively, allowing not only an individual progress evaluation but also comparison of severity between patients.
Here, the size evaluation of DESIGN-R involves measuring the major axis and minor axis (the maximum axis perpendicular to the major axis) of the skin damage area (cm), multiplying them together to obtain a size, which is then classified into seven levels. The seven levels are: s0: no skin damage, s3: less than 4, s6: 4 to less than 16, s8: 16 to less than 36, s9: 36 to less than 64, s12: 64 to less than 100, and S15: 100 or more.
DESIGN-Rの採点は、非特許文献1に記載があるように、褥瘡の治癒経過を評価し、適切なケア選択を行うために1週間から2週間に1回採点することが推奨されており、褥瘡は定期的に病状を評価し管理していく必要がある。また、褥瘡の病状の変化を確かめるために、評価には正確性が求められる。
現状では、褥瘡のSize評価は、患部にメジャーを当てて手作業で計測された値に基づいて決定されることが多い。具体的にはまず、皮膚の損傷範囲のうち一番長い直線距離の2点を測定し、それを長径とする。さらに長径と直交する長さを短径とし、長径と短径を掛けた値を褥瘡のSizeとしている。
As described in Non-Patent Document 1, it is recommended that DESIGN-R be scored once every one to two weeks to evaluate the healing process of pressure ulcers and select appropriate care, and pressure ulcers need to be regularly evaluated and managed. In addition, accuracy is required in the evaluation to confirm changes in the condition of pressure ulcers.
Currently, the size of a bedsore is often determined based on manual measurements made by placing a tape measure on the affected area. Specifically, the longest two points in the damaged area of the skin are measured, and this is taken as the long axis. The length perpendicular to the long axis is taken as the short axis, and the value obtained by multiplying the long axis and the short axis is taken as the size of the bedsore.
しかしながら、褥瘡を撮影する場合には、寝たりきりの患者を半分起こして背中を撮る等、撮影者が不自然な体位になるために、適切に撮影することができない虞がある。患者の姿勢によって、褥瘡の形および面積が変わってしまうために、撮影の度に、褥瘡の見え方が変わってしまう可能性がある。そのため、褥瘡を撮影した画像を比較しても、経過を正確に比較することが困難な場合があった。なお、これは褥瘡に限られるものではなく、火傷や裂傷を撮影する場合であっても同様である。
本発明は、上述したような問題点に鑑みてなされたものであり、患部を適切に撮影できるようにすることを目的とする。
However, when photographing a bedsore, the photographer must assume an unnatural position, such as half-raising a bedridden patient to photograph his/her back, which may result in inappropriate photographing. Since the shape and area of the bedsore change depending on the patient's posture, the appearance of the bedsore may change each time it is photographed. Therefore, even when comparing images of bedsores, it may be difficult to accurately compare their progress. This is not limited to bedsores, but is also true when photographing burns or lacerations.
The present invention has been made in consideration of the above-mentioned problems, and has an object to make it possible to appropriately photograph an affected area.
本発明は、患部を撮影する撮像手段と、前記撮像手段にて撮影された画像における前記患部のサイズの情報を取得し、前記患部のサイズの情報に基づいて、前記撮像手段により前記患部を撮影するタイミングを制御する、または、ユーザに対して撮影操作を促すタイミングを制御する制御手段と、を有する撮像装置であって、前記制御手段は、前記患部のサイズが閾値以上である場合に、前記撮像手段により前記患部を撮影するように制御する、または、ユーザに対して撮影操作を促すように制御し、前記閾値は、同一患者の過去に撮影された前記患部のサイズに基づいた値であることを特徴とする。 The present invention is an imaging device having an imaging means for photographing an affected area, and a control means for acquiring information on the size of the affected area in an image photographed by the imaging means, and controlling the timing of photographing the affected area by the imaging means based on the information on the size of the affected area, or controlling the timing of prompting a user to perform a photographing operation, wherein the control means controls the imaging means to photograph the affected area, or controls the user to prompt the user to perform a photographing operation, when the size of the affected area is equal to or larger than a threshold, and the threshold is a value based on the size of the affected area previously photographed by the same patient .
本発明によれば、患部を適切に撮影することができる。 The present invention allows the affected area to be photographed properly.
以下、本発明に係る実施形態について図面を参照して説明する。
<第1の実施形態>
図1は、画像処理システム1の概要の一例を示す図である。
画像処理システム1は、手持ち可能なポータブルデバイスである撮像装置200と、画像処理装置300とを有する。本実施形態では、被写体101の患部102の病態の一例を、臀部に生じた褥瘡として説明する。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
First Embodiment
FIG. 1 is a diagram showing an example of an outline of an image processing system 1. As shown in FIG.
The image processing system 1 includes an
画像処理システム1では、撮像装置200が被写体101の患部102をライブビューで撮影し、撮影したライブビューの画像データを画像処理装置300に送信する。画像処理装置300は、受信した画像データから患部102の患部領域を抽出すると共に患部領域の面積を算出して、算出した面積の情報を撮像装置200に送信する。撮像装置200は、受信した患部領域の面積が閾値以上である場合に自動的に患部102を撮影する。なお、本実施形態では、患部102が褥瘡である場合を例に挙げて説明を行うが、褥瘡に限られず、火傷や裂傷であってもよい。
In the image processing system 1, the
図2は、撮像装置200のハードウェア構成の一例を示す図である。
撮像装置200は、一般的な一眼カメラ、コンパクトデジタルカメラ、あるいは、オートフォーカス機能付きのカメラを備えたスマートフォンやタブレット端末等を用いることができる。
撮像ユニット211は、レンズ群212、シャッタ213、イメージセンサ214を有する。レンズ群212に含まれる複数のレンズの位置を変更することで、フォーカス位置とズーム倍率を変更することができる。レンズ群212は、露出量を調節するための絞りも備える。
FIG. 2 is a diagram showing an example of a hardware configuration of the
The
The
イメージセンサ214は、光学像を画像データに変換するCCDやCMOSセンサ等の電荷蓄積型の固体イメージセンサで構成される。レンズ群212およびシャッタ213を通過した被写体からの反射光はイメージセンサ214に結像される。イメージセンサ214は被写体像に応じた電気信号を生成し、生成した電気信号に基づく画像データを出力する。
The
シャッタ213は、羽根部材の開閉動作を行うことによって、イメージセンサ214への露出や遮光を行い、イメージセンサ214の露光時間を制御する。なお、シャッタ213は、イメージセンサ214の駆動によって露光時間を制御する電子シャッタであってもよい。CMOSセンサで電子シャッタを行う場合には、画素ごと、あるいは、複数画素からなる領域ごと(例えばラインごと)に、画素の蓄積電荷量をゼロにするリセット走査を行う。その後、リセット走査を行った画素あるいは領域ごとに、それぞれ所定の時間を経過してから電荷の蓄積量に応じた信号を読み出す走査を行う。
ズーム制御回路215は、レンズ群212に含まれるズームレンズを駆動するためのモータを制御し、レンズ群212の光学倍率を制御する。
The
The
測距システム216は、被写体までの距離情報を算出する。測距システム216は、一眼レフカメラに搭載された一般的な位相差方式の測距センサを用いてもよく、TOF(Time Of Flight)センサを用いてもよい。TOFセンサは、照射波の送信タイミングと、当該照射波が物体で反射された反射波の受信タイミングとの時間差(または位相差)に基づいて、当該物体までの距離を測定するセンサである。更に、測距システム216には、受光素子にPSD(Position Sensitive Device)を用いたPSD方式等を用いてもよい。
The
なお、イメージセンサ214が、画素ごとに複数の光電変換領域を有し、それぞれの光電変換領域から得られた画像間の位相差から、画素あるいは領域の位置ごとに距離情報を求めることができる構成であってもよい。
また、測距システム216は、画像内の予め定められた所定の1つ、あるいは、複数の測距エリアにおける距離情報を求めるように構成してもよく、画像内の多数の画素あるいは領域の距離情報の分布を示す距離マップを求める構成としてもよい。
また、測距システム216は、画像データの高周波成分を抽出して積分し、積分値が最大となるフォーカスレンズの位置を決定するTV-AFまたはコントラストAFを行い、このフォーカスレンズの位置から距離情報を得るようにしてもよい。
The
In addition, the ranging
In addition, the
画像処理回路217は、イメージセンサ214から出力された画像データに対して、所定の画像処理を施す。画像処理回路217は、撮像ユニット211から出力された画像データ、あるいは、内部メモリ221に記憶されている画像データに対して、ホワイトバランス調整、ガンマ補正、色補間またはデモザイキング、フィルタリング等の様々な画像処理を行う。また、画像処理回路217は、画像処理を行った画像データに対して、JPEG等の規格で圧縮処理を行う。
AF制御回路218は、測距システム216で得られた距離情報に基づいて、レンズ群212に含まれるフォーカスレンズの位置を決定し、フォーカスレンズを駆動するモータを制御する。
The
The
通信装置219は、無線のネットワークを介して、画像処理装置300等の外部機器と通信を行うための通信インターフェースである。ネットワークの具体的な一例としては、Wi-Fi(登録商標)規格に基づくネットワークが挙げられる。なお、Wi-Fiを用いた通信はルータを介して実現してもよい。また、通信装置219は、USBやLAN等の有線の通信インターフェースにより実現されてもよい。
The
システム制御回路220は、CPU(Central Processing Unit)を有し、内部メモリ221に記憶されたプログラムを実行することによって、撮像装置200の全体制御を行う。また、システム制御回路220は、撮像ユニット211、ズーム制御回路215、測距システム216、画像処理回路217およびAF制御回路218等の制御を行う。なお、システム制御回路220はCPUを有する場合に限られず、FPGAやASIC等を用いてもよい。また、システム制御回路220は、所定の撮影条件に基づき、撮影条件に合致した場合はユーザにより操作部224を介して撮影指示をした場合と同様の内部信号を発生させる。
The
内部メモリ221は、例えば、フラッシュメモリやSDRAM等の書き換え可能なメモリを用いることができる。内部メモリ221は、撮像装置200の動作に必要な画像撮影時のピント位置の情報等の各種設定情報、撮像ユニット211が撮影した画像データ、画像処理回路217により画像処理された画像データ等を一時的に記憶する。また、内部メモリ221は、通信装置219が画像処理装置300と通信して受信した、画像データや被写体のサイズに関する情報等の解析データを一時的に記憶してもよい。
The
外部メモリ222は、撮像装置200に装着可能、あるいは、撮像装置200に内蔵された不揮発性の記録媒体である。外部メモリ222は、例えば、SDカードやCFカード等を用いることができる。外部メモリ222は、画像処理回路217により画像処理された画像データ、通信装置219が画像処理装置300と通信して受信した画像データや解析データ等を記録する。また、外部メモリ222は、再生時には記録された画像データが読み出され、撮像装置200の外部に出力することも可能である。
The
表示装置223は、例えば、TFT(Thin Film Transistor)液晶ディスプレイ、有機ELディスプレイ、EVF(電子ビューファインダ)等を用いることができる。表示装置223は、内部メモリ221に一時的に記憶されている画像データや外部メモリ222に記録された画像データを表示したり、撮像装置200の設定画面等を表示したりする。
操作部224は、撮像装置200に設けられたボタン、スイッチ、キー、モードダイアル、あるいは、表示装置223に兼用されるタッチパネル等で構成される。ユーザによるモード設定や撮影指示等の指令は、操作部224を経由して、システム制御回路220に通知される。
The
The
共通バス225は、撮像装置200の各構成部の間で信号の送受信を行うための信号線である。
The common bus 225 is a signal line for transmitting and receiving signals between each component of the
図3は、画像処理装置300のハードウェア構成の一例を示す図である。
画像処理装置300は、CPU310、記憶装置312、通信装置313、出力装置314、補助演算装置317等を備える。
CPU310は演算装置311を備える。CPU310は、記憶装置312に記憶されたプログラムを実行することで画像処理装置300の全体制御を行う。
FIG. 3 is a diagram illustrating an example of a hardware configuration of the
The
The
記憶装置312は主記憶装置315(ROMやRAM等)と補助記憶装置316(磁気ディスク装置やSSD(Solid State Drive)等)を備える。
通信装置313は、無線のネットワークを介して、撮像装置200等の外部機器と通信を行うための無線通信モジュールである。
出力装置314は、画像処理装置300に接続されたディスプレイ、プリンタあるいは外部ネットワークに、演算装置311が加工したデータや記憶装置312に記憶されたデータ等を出力する。
The
The
The
補助演算装置317はCPU310の制御の下で動作する補助演算用ICである。補助演算装置317としては、GPU(Graphic Processing Unit)等を用いることができる。GPUは、元々は画像処理用のプロセッサであるが、複数の積和演算器を有し、行列計算を得意としているため、信号学習用の処理を行うプロセッサとしても用いられることができる。したがって、GPUは深層学習を行う処理において用いられることが一般的である。補助演算装置317には、例えば、NVIDIA社のJetsonTX2 moduleを用いることができる。また、補助演算装置317として、FPGAやASIC等を用いてもよい。補助演算装置317は、画像データから患部領域の抽出処理を行う。
The
なお、画像処理装置300が備えるCPU310および記憶装置312は1つであっても複数であってもよい。すなわち、少なくとも1以上のCPUと少なくとも1つの記憶装置とが接続されており、少なくとも1以上のCPUが少なくとも1以上の記憶装置に記憶されたプログラムを実行した場合に、画像処理装置300は後述する各機能を実行する。また、画像処理装置300はCPU310を有する場合に限られず、FPGAやASIC等を用いてもよい。
The
図4は、画像処理システム1の処理の一例を示すフローチャートである。
図4において、S401~S420が撮像装置200による処理であり、S431~S456が画像処理装置300による処理である。図4のフローチャートは、撮像装置200と画像処理装置300とが、無線LAN規格であるWi-Fi規格のネットワークにそれぞれ接続することで開始される。
FIG. 4 is a flowchart showing an example of processing by the image processing system 1.
4, steps S401 to S420 are processes performed by the
S431では、画像処理装置300は、接続する撮像装置200の探索処理を行う。
S401では、撮像装置200は、画像処理装置300による探索処理に対して応答処理を行う。なお、ネットワークを介して機器を探索する技術としては、UPnP(Universal Plug and Play)が用いられる。ここでUPnPにおいて個々の装置の識別はUUID(Universally Unique IDentifier)によって行われる。
In S431, the
In S401, the
S402では、撮像装置200は、画像処理装置300との間で通信可能に接続されることで、ライブビュー処理を開始する。具体的には、撮像ユニット211が画像データを生成し、画像処理回路217が生成された画像データに対してライブビュー表示用の画像データを生成するための現像処理を行う。撮像ユニット211および画像処理回路217が処理を繰り返し行うことで、所定のフレームレートのライブビュー画像が表示装置223に表示される。
In S402, the
S403では、測距システム216が被写体までの距離情報を求め、AF制御回路218が被写体にピントが合うようにレンズ群212の駆動制御を行うAF処理を開始する。なお、測距システム216がTV-AFまたはコントラストAFでピント位置の調整を行った場合には、ピントを合わせた状態のフォーカスレンズの位置から、ピントを合わせた像の被写体101までの距離情報を求める。ピントを合わせる位置は、画像データの中央に位置する被写体であってもよく、撮像装置200に対して最も至近側の位置に存在する被写体であってもよい。測距システム216は被写体の距離マップを得ている場合には、距離マップから注目すべき領域を推定し、推定した領域に対してピントを合わせるようにしてもよい。また、測距システム216は既に画像処理装置300によってライブビュー画像における患部領域の位置が特定されている場合には、特定されている位置に対してピントを合わせるようにしてもよい。撮像装置200は、後述するS413でレリーズボタンが押下されるまで、ライブビュー画像の表示およびAF処理を繰り返し行う。
In S403, the
S404では、画像処理回路217は、ライブビュー画像の何れかの画像データに対して現像および圧縮処理を行い、例えばJPEG規格の画像データを生成する。画像処理回路217は、圧縮処理された画像データに対してリサイズ処理を行い、画像データのサイズを小さくする。
S405では、通信装置219は、リサイズ処理された画像データと、測距システム216が求めた距離情報を取得する。また、通信装置219は、必要に応じて、ズーム倍率の情報、リサイズ処理された画像データのサイズ(ピクセル数)の情報を取得する。
In S404, the
In S405, the
S406では、通信装置219は、取得した画像データおよび距離情報を含む1以上の情報を無線通信により画像処理装置300に送信する。ここで、送信する画像データのサイズが大きいほど無線通信に時間が掛かる。したがって、システム制御回路220は許容される通信時間に基づいて、S404において画像処理回路217がリサイズ処理する画像データのサイズを決定する。ただし、画像データのサイズが小さすぎると、画像処理装置300が後述するS442において患部領域の抽出処理の精度に影響が出てしまう。したがって、システム制御回路220は、通信時間に加えて、患部領域の抽出処理の精度に基づいて、画像データのサイズを決定する。なお、S404~S406までの処理は、フレームごとに行ってもよいし、数フレームに1回の割合で行うようにしてもよい。
In S406, the
次に、画像処理装置300による処理に移る。
S441では、画像処理装置300の通信装置313は、撮像装置200の通信装置219から送信された画像データおよび距離情報を含む1以上の情報を受信する。
S442では、画像処理装置300のCPU310および補助演算装置317は、受信した画像データから患部領域を抽出する。
Next, the process proceeds to the
In S<b>441 , the
In S442, the
患部領域を抽出する手法として、深層学習による意味的領域分割を行う。すなわち、予め学習用の高性能コンピュータに、複数の実際の褥瘡の患部領域の画像を教師データとしてニューラルネットワークのモデルを学習させて、学習済モデルを生成する。補助演算装置317は、高性能コンピュータから学習済モデルを取得して、学習済モデルに基づいて画像データから褥瘡のエリアを領域推定する。ニューラルネットワークのモデルの一例として、深層学習を用いたセグメンテーション・モデルである完全畳み込みネットワーク(FCN(Fully Convolutional Network))を適用することができる。深層学習による推論は、積和演算の並列実行を得意とする補助演算装置317により処理される。ただし、深層学習による推論は、FPGAやASIC等が実行してもよい。なお、他の深層学習のモデルを用いて領域分割を実現してもよい。また、セグメンテーション手法は深層学習に限られず、例えば、グラフカット、領域成長、エッジ検出、統治分割法等を用いてもよい。更に、補助演算装置317の内部で、褥瘡の患部領域の画像を教師データとしたニューラルネットワークのモデルの学習を行ってもよい。
As a method for extracting the affected area, semantic area segmentation by deep learning is performed. That is, a neural network model is trained in advance on a high-performance computer for learning using images of the affected areas of multiple actual bedsores as teacher data to generate a trained model. The
S443では、CPU310の演算装置311は、抽出された患部領域のサイズに関する情報として、患部領域の面積を計算する。
図5は、患部領域の面積の計算方法を説明するための図である。
撮像装置200が一般的なカメラである場合には、図5に示すようにピンホールモデルとして扱うことができる。入射光501はレンズ212aのレンズ主点を通り、イメージセンサ214の撮像面で受光する。ここで、レンズ群212を厚みのない単一のレンズ212aに近似した場合には、前側主点と後側主点の2つの主点は一致するとみなせる。イメージセンサ214の平面に像が結像するようにレンズ212aのピント位置を調整することで、撮像装置200は被写体504に焦点を合わせることができる。撮像面からレンズ主点までの距離Fである焦点距離502を変更することで、画角θ503が変更され、ズーム倍率が変わる。このとき、撮像装置200の画角θ503と被写体距離505の関係から、幾何学的に合焦面における被写体の幅506が決定される。被写体の幅506は、三角関数を用いて計算される。すなわち、被写体の幅506は、焦点距離502に応じて変化する画角θ503と、被写体距離505との関係によって決定する。被写体504の幅を画像データのライン上のピクセル数で除算することにより、画像データ上の1ピクセルに対応する合焦面上の長さが取得される。
In S443, the
FIG. 5 is a diagram for explaining a method for calculating the area of the affected region.
When the
演算装置311は、S442において抽出された患部領域から得られる領域のピクセル数と、画像上の1ピクセルに対応する合焦面上の長さから得られる1ピクセルの面積の積として、患部領域の面積を計算する。なお、焦点距離502と被写体距離505の組み合わせに応じた画像上の1ピクセルに対応する合焦面上の長さを予め求めておいて、テーブルデータとして予め用意してもよい。なお、画像処理装置300は、撮像装置200に応じたテーブルデータを予め記憶してもよい。
演算装置311が正しく患部領域の面積を求めるには、被写体504が平面であり、かつ、この平面が光軸に対して垂直であることが前提となる。
The
For the
S444では、演算装置311は、患部領域を抽出する対象とした画像データに対して、患部領域の抽出結果を示す情報と、患部領域のサイズに関する情報とを重畳した画像データを生成する。
図6は、患部領域の抽出結果を示す情報、および、患部領域のサイズに関する情報を画像データに重畳する方法を説明するための図である。
図6(a)に示す画像601は、重畳処理前の画像データを表示した一例であり、被写体101および患部102を含む。図6(b)に示す画像602は、重畳処理後の画像データを表示した一例である。
In S444, the
FIG. 6 is a diagram for explaining a method of superimposing information indicating the extraction result of the affected area and information regarding the size of the affected area on image data.
An
図6(b)に示す画像602の左上隅には、黒地の背景に白色の文字で、患部領域の面積の文字列612を表示したラベル611が重畳される。ここでは、患部領域のサイズに関する情報は、文字列612であって、演算装置311により計算された患部領域の面積である。なお、ラベル611の背景色と文字列の色は見やすいものであれば黒、白に限られない。また、透過量を設定してαブレンドすることで、ラベル611が重なった部分の画像をユーザが確認できるようにしてもよい。
また、画像602には、S442において抽出された患部領域の推定エリアを示す指標613が重畳される。推定エリアを示す指標613と、画像601の元となる画像データをαブレンドすることで、患部領域の面積を算出する元となる推定エリアが妥当か否かをユーザが確認することができる。推定エリアを示す指標613の色は、被写体の色と異なる色にすることが好ましい。また、αブレンドの透過率の範囲は、推定エリアと元の患部102とが識別できる範囲であることが好ましい。なお、患部領域の推定エリアを示す指標613が重畳して表示されていれば、ラベル611を表示しなくても、ユーザは推定エリアが妥当か否かを確認することができるためにS443を省略してもよい。
In addition, an
S445では、画像処理装置300の通信装置313は、患部領域の抽出結果を示す情報と、患部領域のサイズに関する情報とを無線通信により撮像装置200に送信する。本実施形態では、通信装置313は、S444において生成された画像データと、患部領域のサイズに関する情報である患部領域の面積とを撮像装置200に送信する。
In S445, the
次に、撮像装置200による処理に戻る。
S407では、撮像装置200の通信装置219は、画像処理装置300から送信されたデータがある場合にはデータを受信する。
S408では、システム制御回路220は、画像データと、患部領域のサイズに関する情報である患部領域の面積とを受信したか否かを判定する。受信した場合にはS409に進み、受信していない場合にはS410に進む。
Next, the process returns to the process performed by the
In S407, the
In S408, the
S409では、表示装置223は受信した画像データを所定時間表示する。ここでは、表示装置223は、図6(b)に示す画像602を表示する。このように、ライブビュー画像に対して、患部領域の抽出結果を示す情報等を重畳して表示することで、ユーザは患部領域の面積および推定エリアが妥当であるか否かを確認した上で、記録用の撮影に進むことができる。なお、本実施形態では、患部領域の推定エリアを示す指標613と、患部領域の面積を表示したラベル611とを表示する場合について説明したが、何れか一方だけを表示してもよいし、いずれも表示しない(S409を省略する)ようにしてもよい。
In S409, the
S410は、システム制御回路220が撮影条件を満たすか否かに応じて撮影するタイミングを制御する処理であり、S411およびS412を含む。撮像装置200に対して、患部領域が傾いていると、患部領域の面積を正しく算出することができない。また、撮影の度に、撮像装置200に対する患部領域の傾きの程度が異なると、後で撮影した画像を比較した場合に、大きさがどのように変化したのかを正しく判断することができない。しかも、寝たきりの患者を常に同じ姿勢にすることは難しく、撮影者が、患部に対して撮像装置200を正対させることは容易ではない。そこで、S411およびS412では、撮像装置200が患部領域に対して正対しているか否かを推定する処理を行う。
S410 is a process in which the
S411では、システム制御回路220は、受信した患部領域の面積と予め定めた閾値とを比較し、面積が閾値以上であるか否かを判定する。ここで、閾値は、初期値として予め外部メモリ222に記録されている。撮像装置200のシステム制御回路220は起動時に外部メモリ222から閾値を読み出す。閾値には、例えば、褥瘡として認識されるサイズに相当する面積が設定される。ただし、閾値は、ユーザが後から自由に変更して設定できる。したがって、撮影対象の被写体ごとに閾値を変更して設定してもよい。なお、S411において面積が閾値以上ではない場合には、S404に戻り、上述したS404以降の処理を行う。
In S411, the
S411で面積が閾値以上であると判定した場合にはS412に進み、最後に受信した面積と、その直前に受信した面積との比率あるいは差分を求める。撮影者が撮像装置200を患部領域に対して正対させようとして、撮像装置200を動かしている間は、最後に受信した面積と、その直前に受信した面積は大きく変化する。具体的には、撮像装置200が患部領域に対して傾いている状態から、撮像装置200が患部領域に対して正対する状態に近づくにつれて、患部領域の面積は増加することになる。反対に、撮像装置200が患部領域に対して正対している状態から、撮像装置200が患部領域に対して傾いている状態に近づくにつれて、患部領域の面積は減少することになる。撮像装置200が患部領域に対して正対に近い状態となれば、患部領域の面積の変動は小さくなる。そこで、S412では、最後に受信した面積と、その直前に受信した面積の比率あるいは差分が、所定範囲に収まった場合に、撮像装置200が患部領域に対して正対したと推定し、S413に進む。S412において面積が閾値以上ではない場合には、S404に戻り、上述したS404以降の処理を行う。
If it is determined in S411 that the area is equal to or greater than the threshold, the process proceeds to S412, where the ratio or difference between the last area received and the area received immediately before is calculated. While the photographer is moving the
S413では、システム制御回路220は、レリーズ信号を発行する。ここでは、レリーズ信号は、撮像装置200の操作部224に含まれるレリーズボタンをユーザが押下して撮影指示したときに発行される信号と同等な信号であり、ユーザがレリーズボタンを押下したように擬似的に発行する。つまり、撮影者が撮像装置200を患部領域に対して正対させようとして撮像装置200を動かしている間に、正対に近い状態となったタイミングになった時点で、システム制御回路220がレリーズ信号を発行することができる。
In S413, the
S414では、測距システム216が被写体までの距離情報を求め、AF制御回路218が被写体にピントが合うようにレンズ群212の駆動制御を行うAF処理を行う。この処理は、S403と同様の処理である。S403でAF処理は行われているので、このS414の処理は省略されても構わない。
S415では、撮像ユニット211は、レリーズ信号が発行されたタイミングで、記録用の静止画の撮影を行い、画像データを生成する。
In S414, the
In S415, the
S416では、画像処理回路217は、生成された画像データに対して現像および圧縮処理を行い、例えばJPEG規格の画像データを生成する。画像処理回路217は、圧縮処理された画像データに対してリサイズ処理を行い、画像データのサイズを小さくする。このとき、患部領域を計測する際の精度を優先するために、リサイズ処理した画像データのサイズは、S404においてリサイズ処理した画像データのサイズよりも大きいか、同じ大きさであることが好ましい。リサイズ処理された画像データのサイズとして、例えば、1440ピクセル×1080ピクセルで4ビットRGBカラーの場合には略4.45メガバイトになる。ただし、リサイズ処理された画像データのサイズは、この場合に限られない。
In S416, the
S417では、通信装置219は、リサイズ処理された画像データと、S414において測距システム216が求めた距離情報を取得する。また、通信装置219は、必要に応じて、ズーム倍率の情報、リサイズ処理された画像データのサイズ(ピクセル数)の情報を取得する。
S418では、通信装置219は、取得した画像データおよび距離情報を含む1以上の情報を無線通信により画像処理装置300に送信する。
In S417, the
In S418, the
次に、画像処理装置300による処理に移る。
S451では、画像処理装置300の通信装置313は、撮像装置200の通信装置219から送信された画像データおよび距離情報を含む1以上の情報を受信する。
S452では、画像処理装置300のCPU310および補助演算装置317は、受信した画像データから患部領域を抽出する。この処理の詳細は、S442と同様であるために説明を省略する。
Next, the process proceeds to the
In S<b>451 , the
In S452, the
S453では、CPU310の演算装置311は、抽出された患部領域のサイズに関する情報として、患部領域の面積を計算する。この処理の詳細は、S443と同様であるために説明を省略する。
S454では、演算装置311は画像解析を行う。具体的には、演算装置311はS453で求めた画像上の1ピクセルに対応する合焦面上の長さに基づいて、抽出した患部領域の長径と短径の長さ、および、患部領域に外接する矩形の面積を算出する。褥瘡の評価指標のDESIGN-Rの中で、褥瘡のサイズは長径と短径の積の値を計測することが定められている。本実施形態の画像処理システム1において、長径と短径の解析を行うことで、今までDESIGN-Rで計測されたデータとの互換性を確保することができる。DESIGN-Rは厳密な定義がないため、数学的には複数の長径と短径の算出方法が考えられる。
In S453, the
In S454, the
長径と短径の算出方法の第1例として、演算装置311が患部領域に外接する矩形のうち、面積が最小となる矩形(Minimum bounding rectangle)を算出する。次に、この矩形の長辺と短辺の長さを算出し、長辺の長さを長径とし、短辺の長さを短径として算出する。次に、S453で求めた画像上の1ピクセルに対応する合焦面上の長さに基づいて矩形の面積を算出する。
長径と短径の算出方法の第2例として、演算装置311が長径として最大のキャリパー長である最大フェレ径を選択し、短径として最小フェレ径を選択する。なお、長径として最大のキャリパー長である最大フェレ径を選択し、短径として最大フェレ径の軸に直交する方向で計測した長さを選択してもよい。
長径と短径の計算方法は、従来の計測結果との互換性に基づいて任意の方法を選択することができる。
As a first example of a method for calculating the major axis and the minor axis, the
As a second example of the method for calculating the major axis and the minor axis, the
The method for calculating the major axis and minor axis can be selected arbitrarily based on compatibility with conventional measurement results.
なお、患部領域の長径と短径の長さおよび矩形の面積を算出する処理は、S441において受信した画像データに対しては実行されない。ライブビュー中は、患部領域の抽出結果をユーザが確認できるようにすることを目的としているために、S441において受信した画像データに対してS454に相当する画像解析の処理を省くことで、処理時間を削減している。 The process of calculating the length of the long and short axes of the affected area and the area of the rectangle is not performed on the image data received in S441. During live view, the purpose is to allow the user to check the results of extraction of the affected area, so the processing time is reduced by omitting the image analysis process equivalent to S454 for the image data received in S441.
S455では、演算装置311は、患部領域を抽出する対象とした画像データに対して、患部領域の抽出結果を示す情報と、患部領域のサイズに関する情報とを重畳した画像データを生成する。
図7は、患部領域の抽出結果を示す情報と、患部領域の長径と短径を含む患部領域のサイズに関する情報とを画像データに重畳する方法を説明するための図である。患部領域のサイズに関する情報は複数、想定されるために図7(a)~(c)を参照して説明する。
In S455, the
7A to 7C are diagrams for explaining a method of superimposing information showing the extraction result of the affected area and information about the size of the affected area including the major axis and minor axis of the affected area on the image data. Since multiple pieces of information about the size of the affected area are assumed, the following description will be given with reference to FIGS. 7A to 7C.
図7(a)に示す画像701は、長径、短径の算出方法としてMinimum bounding rectangleを用いたものである。画像701の左上隅には、患部領域のサイズに関する情報として、図6(b)と同様に、黒地の背景に白色の文字で患部領域の面積の文字列612を表示したラベル611が重畳される。
また、画像701の右上隅には、患部領域のサイズに関する情報として、Minimum bounding rectangleに基づいて算出した長径および短径を表示したラベル712が重畳される。ラベル712には、文字列713と文字列714とが含まれる。文字列713は長径の長さ(単位はcm)を表し、文字列714は短径の長さ(単位はcm)を表す。また、画像701は、患部領域にMinimum boundingrectangleを表す矩形の枠715が重畳される。矩形の枠715を長径および短径の長さと一緒に重畳することで、ユーザは画像中のどの箇所の長さが計測されているのかを確認することができる。
The
In addition, a
また、画像701の右下隅には、スケールバー716が重畳される。スケールバー716は患部102のサイズを測定するためのものであり、距離情報に応じて画像データに対するスケールバーのサイズが変更される。具体的には、スケールバー716は、S453で得られた画像上の1ピクセルに対応する合焦面上の長さに基づいて、1cm単位で5cmまでの目盛りを刻んだバーであり、撮像装置200の合焦面上すなわち被写体上のサイズに対応したものである。ユーザはスケールバー716を参照することにより、被写体もしくは患部102の大きさを把握することができる。
In addition, a
また、画像701の左下隅には、上述したDESIGN-RのSize評価の指標717が重畳される。DESIGN-RのSize評価の指標717では、皮膚損傷範囲の、長径と短径(長径と直交する最大径)を測定し(単位はcm)、各々を掛け合わせた数値から上述した7段階に分類されている。本実施形態では長径と短径をそれぞれの算出方法によって出力された値に置き換えて得られる指標717が重畳される。
In addition, the DESIGN-R
図7(b)に示す画像702は、長径として最大フェレ径を用い、短径として最小フェレ径を用いたものである。画像702の右上隅には、長径の長さを示す文字列723および短径の長さを示す文字列724を表示したラベル722が重畳される。また、画像702の患部領域には、最大フェレ径の計測位置に相当する補助線725と、最小フェレ径に相当する補助線726が表示される。補助線725、726を長径および短径の長さを示す文字列723、724と一緒に重畳することで、ユーザは画像中のどの箇所の長さが計測されているのかを確認することができる。
図7(c)に示す画像703は、長径が図7(b)に示す画像702と同じであるが、短径が最小フェレ径ではなく最大フェレ径の軸に直交する方向で計測した長さとして計測したものである。画像702の右上隅には、長径の長さを示す文字列723および短径の長さを示す文字列734を表示したラベル732が重畳される。また、画像703の患部領域には、最大フェレ径の計測位置に相当する補助線725と、最大フェレ径の軸に直交する方向で計測した長さに相当する補助線736が表示される。
なお、図7(a)~(c)に示した、画像データに重畳する各種情報は、何れか1つまたは複数の組み合わせであってもよく、ユーザが表示する情報を選択できるようにしてもよい。また、図6および図7に示す画像は一例であって、患部102および患部領域のサイズに関する情報の表示形態、表示位置、サイズ、フォント、フォントサイズ、フォントの色、あるいは、位置関係等は様々な条件に応じて変更できる。
The various pieces of information shown in Figures 7(a) to (c) that are superimposed on the image data may be any one or a combination of multiple pieces, and the user may be able to select the information to be displayed. Also, the images shown in Figures 6 and 7 are merely examples, and the display format, display position, size, font, font size, font color, or positional relationship of the information regarding the size of the affected
S456では、画像処理装置300の通信装置313は、患部領域の抽出結果を示す情報と、患部領域のサイズに関する情報とを撮像装置200に送信する。本実施形態では、通信装置313は、S455において生成した画像データを撮像装置200に送信する。
In S456, the
次に、撮像装置200による処理に移る。
S419では、撮像装置200の通信装置219は、画像処理装置300から送信された画像データを受信する。
S420では、表示装置223は受信した画像データを所定時間表示する。ここでは、表示装置223は、図7に示す画像701~703の何れかを表示し、所定時間が経過することでS402の処理に戻る。
Next, the process proceeds to the
In S<b>419 , the
In S420, the
このように、本実施形態によれば、システム制御回路220は、取得した患部領域のサイズの情報に基づいて患部を撮影するタイミングを制御する。したがって、患部領域のサイズが適切になるような撮像装置200の姿勢になったときに患部を自動的に撮影するように制御できるために、ユーザが不自然な体位で撮影する場合でも患部を適切に撮影することができる。
In this way, according to this embodiment, the
具体的には、システム制御回路220は、新たに受信した患部領域のサイズが閾値以上であり、かつ、新たに受信した患部領域の面積と直前に受信した患部領域の面積の変動が所定範囲である場合に、レリーズ信号を発行することで患部を自動的に撮影するように制御する。すなわち、患部領域のサイズが閾値以上である場合には、撮像装置200の姿勢が患部を撮影するのに適切な姿勢であると想定できる。また、患部領域の面積の変動が所定範囲内に収まっている場合には、撮像装置200が患部領域に対して正対に近い状態であると想定できる。したがって、このような条件を満たす場合に患部を自動的に撮影するように制御することで、ユーザは患部を適切に撮影することができる。なお、撮像装置200は、患部領域のサイズが閾値以上であるか否かを判定せずに、患部領域の面積の変動が所定範囲内に収まっているか否かのみを判定して、撮像装置200の姿勢が患部を撮影するのに適切な姿勢であると想定する構成としてもよい。
Specifically, the
なお、上述したS409における画像データを表示する処理は、ユーザが手動で撮影指示を行う場合に必要な処理であるために、システム制御回路220がレリーズ信号を発行する場合には、S409を省略してもよい。同様に、S444における重畳した画像データを生成する処理を省略してもよい。また、S445のうち患部領域のサイズに関する情報を送信し、画像データを送信しないようにしてもよい。
Note that since the process of displaying image data in S409 described above is necessary when the user manually issues a shooting instruction, S409 may be omitted when the
また、本実施形態の画像処理システム1では、ユーザが撮像装置200で患部を撮影することにより、撮像装置200の表示装置223に患部領域のサイズに関する情報が表示される。したがって、褥瘡の患部領域のSize評価する場合に、医療関係者の負荷、および、評価をされる患者側の負荷を軽減することができる。また、患部領域のサイズの算出をプログラムに基づいて実行することで、医療関係者が手動で計測する場合に比べて個人差を抑制することができ、褥瘡のSize評価の正確性を向上することができる。また、褥瘡の規模をより的確に表すための指標としての患部領域の面積を算出して表示することができる。なお、ライブビュー表示の際に、ユーザが患部領域の推定エリアが妥当であるかを確認する機能はなくてもよく、S441~S445を省略してもよい。
In the image processing system 1 of this embodiment, the user photographs the affected area with the
また、画像処理装置300は、患部領域の抽出結果を示す情報、患部領域のサイズに関する情報、および、これらの情報を重畳した画像データを記憶装置312に記憶してもよい。この場合、出力装置314は、接続されたディスプレイ等の出力機器に、記憶装置312に記憶した何れか1つ以上の情報、あるいは、画像データを出力することができる。ディスプレイに画像を表示することで、患部を撮影するユーザとは別のユーザが、リアルタイム、あるいは、過去に得られた患部の画像データとサイズに関する情報を得ることができるようになる。画像処理装置300の演算装置311は、出力装置314からディスプレイに送信する画像データに対して、任意に位置および角度を変更するスケールバー等を表示する機能を設けてもよい。このようなスケールバーを表示することで、ディスプレイを見ているユーザが患部領域の任意の箇所の長さを計測することが可能となる。このスケールバーの目盛りの幅は、S451で受信した距離情報、ズーム倍率の情報、および、リサイズ処理された画像データのサイズ(ピクセル数)の情報等に基づいて自動調整されることが望ましい。
The
なお、画像処理装置300は、据え置き型であって常に電源が供給されることが好ましい。常に電源が供給されることで、画像処理装置300は、任意のタイミングで患部の画像データとサイズに関する情報を受信することができると共に、バッテリー切れを防止することができる。また、据え置き型は一般的に記憶容量が多いため、画像処理装置300は多数の画像データを記憶することができる。
また、本実施形態では褥瘡の評価指標としてDESIGN-R(登録商標)を用いているが、これに限定されるものではない。Bates-Jensen Wound Assessment Tool(BWAT)、Pressure Ulcer Scale for Healing(PUSH)、Pressure Sore Status Tool(PSST)などの、他の評価指標を用いてもよい。
It is preferable that the
In addition, although DESIGN-R (registered trademark) is used as an evaluation index for bedsores in this embodiment, it is not limited to this. Other evaluation indexes such as Bates-Jensen Wound Assessment Tool (BWAT), Pressure Ulcer Scale for Healing (PUSH), and Pressure Sore Status Tool (PSST) may be used.
(第1の変形例)
上述した図4のフローチャートでは、S411において面積が閾値以上ではないと判定された場合にはS412に進まずに、S404以降の処理が繰り返される。しかしながら、患部領域が必ずしも一定以上のサイズであるとは限られない。したがって、図4のフローチャートのS411をNoに進んだ後に、システム制御回路220は面積が閾値以上ではない状態で一定の期間が経過したか否かを判定するようにしてもよい。一定の期間が経過していない場合にはS404に戻り、一定の期間が経過した場合には、患部領域のサイズが小さいと推定してS412に進む。なお、一定の期間とは、例えば、5秒、10秒等の時間で規定してもよく、S408においてデータを受信した回数で規定してもよい。このように、一定の期間が経過した場合にレリーズ信号を発行することで、患部領域のサイズが一定以上のサイズでない場合であっても患部を撮影することができる。
(First Modification)
In the above-mentioned flowchart of FIG. 4, if it is determined in S411 that the area is not equal to or larger than the threshold, the process of S404 and subsequent steps is repeated without proceeding to S412. However, the affected area is not necessarily equal to or larger than a certain size. Therefore, after proceeding to No in S411 of the flowchart of FIG. 4, the
(第2の変形例)
上述した図4のフローチャートでは、S410の処理が撮影条件を満たすか否かに応じて撮影するタイミングを制御する処理について説明したが、撮影条件を満たすか否かに応じてユーザに対して撮影操作を促すタイミングを制御する処理であってもよい。具体的には、S412からS413に進んだ場合、システム制御回路220はユーザに対して撮影操作を促すように通知してもよい。例えば、システム制御回路220は、音声やアラームにより通知したり、表示装置223に表示して通知したりすることで、ユーザに対して操作部224に含まれるレリーズボタンを押下するように促す。なお、本変形例によれば、S413の後に、システム制御回路220は操作部224に含まれるレリーズボタンをユーザが実際に押下したか否かを判定して、押下した場合にS414以降の処理に進む。
(Second Modification)
In the above-mentioned flowchart of FIG. 4, the process of S410 has been described as controlling the timing of shooting depending on whether the shooting conditions are satisfied, but the process may be a process of controlling the timing of prompting the user to perform a shooting operation depending on whether the shooting conditions are satisfied. Specifically, when the process proceeds from S412 to S413, the
<第2の実施形態>
第1の実施形態では、患部領域の面積と比較する閾値が予め定められている場合について説明した。本実施形態では、閾値に履歴情報を用いる場合について説明する。
具体的には、S411において、システム制御回路220は、受信した患部領域の面積と予め定めた閾値とを比較する。面積が閾値以上である場合にはS412に進み、S412において面積の変動が所定範囲内である場合には、S413に進む。S413では、システム制御回路220はレリーズ信号を発行すると共に、受信した面積を外部メモリ222に記録する。次回、患部を撮影する際に図4のフローチャートのS411に進んだ場合には、システム制御回路220は、外部メモリ222に記録した面積を閾値として読み出す。なお、システム制御回路220は、読み出した閾値にマージンを設定することで閾値としてもよい。例えば、読み出した閾値から一定のマージンで減算した値を閾値としたり、前回からの撮影の間隔が長いほど大きいマージンで減算した値を閾値としたりすることができる。
Second Embodiment
In the first embodiment, a case where a threshold value to be compared with the area of the affected region is set in advance has been described. In the present embodiment, a case where history information is used as the threshold value will be described.
Specifically, in S411, the
また、システム制御回路220は、面積を記録する場合に、記録する面積と患者情報とを関連付けて記録することが好ましい。例えば、撮像装置200または画像処理装置300は、ユーザが撮像装置200または画像処理装置300に患者情報を入力したり選択したりすることで患者情報を取得することができる。画像処理装置300は患者情報を取得した場合には、S445において患者情報を面積と関連付けて撮像装置200に送信することで、撮像装置200は面積と患者情報とを関連付けて記録することができる。
When recording the area, the
患者情報を用いる場合、S411では、システム制御回路220は患者情報に関連付けられた面積を読み出して閾値とし、受信した面積と比較する。閾値以上であった場合にはS412に進み、S412で面積の変動が所定範囲内であった場合には、S413において、システム制御回路220はレリーズ信号を発行すると共に、受信した面積を患者情報に関連付けて、更新して記録する。なお、患者情報に関連付けられた面積がない場合には、システム制御回路220は予め定められた閾値(初期値)と、受信した面積とを比較するか、あるいは、ユーザに手動撮影を行うよう表示装置223に表示を行わせるようにする。
When patient information is used, in S411 the
なお、画像処理装置300が患者情報に関連付けて面積を記録してもよい。例えば、撮像装置200が患部を撮影する前に、患者が付帯する患者情報を含むバーコードタグ等を撮影し、上述したS406において送信するときにバーコードタグの画像データも画像処理装置300に送信する。画像処理装置300は、バーコードタグの画像データから患者情報を取得して、患者情報に関連付けられた面積を閾値として読み出して、上述したS445において送信するときに撮像装置200に送信する。したがって、撮像装置200のシステム制御回路220は、受信した閾値に基づいて撮影タイミングを制御することで、患者に応じた閾値を設定できる。更に、画像処理装置300のCPU310は、患者情報に関連付けて記録している面積を、S453において計算した患部領域の面積に更新してもよい。
The
このように本実施形態によれば、過去に撮影された患部領域の面積に基づいて閾値を設定して、受信した面積と比較する。通常、褥瘡は経時変化により大きさが変化するので、過去に撮影された患部領域の面積に基づいて閾値を設定することで最適な条件で患部を撮影することができる。また、同一患者の過去に撮影された患部領域の面積に基づいて閾値を設定することで、患者に応じた最適な条件で患部を撮影することができる。さらに、閾値の精度が向上するため、S411において患部領域の面積が閾値以上であった場合には、S412を省略してS413に進み、レリーズ信号を発行する構成としてもよい。 Thus, according to this embodiment, a threshold is set based on the area of the affected area photographed previously, and is compared with the received area. Since the size of a bedsore usually changes over time, setting the threshold based on the area of the affected area photographed previously allows the affected area to be photographed under optimal conditions. Also, setting the threshold based on the area of the affected area photographed previously for the same patient allows the affected area to be photographed under optimal conditions for the patient. Furthermore, to improve the accuracy of the threshold, if the area of the affected area is equal to or greater than the threshold in S411, S412 may be omitted and the process may proceed to S413, where a release signal is issued.
<第3の実施形態>
第1の実施形態では、患部領域の面積の変動が所定範囲内である場合に、患部領域に対して撮像装置200が正対していると判定した。本実施形態では、距離情報を用いて、患部を含む被写体に対して撮像装置200が正対しているか否かを判定し、正対していればレリーズ信号を発行する場合について説明する。
図8は、画像処理システム1の処理の一例を示すフローチャートである。図4と同様の処理は、同一のステップ番号を付して適宜、説明を省略する。具体的に、図8のフローチャートは、図4のフローチャートのS410をS810に変更したものである。
S810は、システム制御回路220が被写体に対する撮像装置200の姿勢に基づいて撮影するタイミングを制御する処理であり、S811を含む。
Third Embodiment
In the first embodiment, when the change in the area of the affected area is within a predetermined range, it is determined that the
Fig. 8 is a flowchart showing an example of processing of the image processing system 1. Processing similar to that in Fig. 4 is given the same step numbers and description thereof will be omitted as appropriate. Specifically, the flowchart in Fig. 8 is obtained by changing S410 in the flowchart in Fig. 4 to S810.
S810 is a process in which the
S811では、システム制御回路220は、患部を含む被写体に対して撮像装置200が正対しているか否かを判定する。上述したように、撮像装置200の測距システム216は、被写体までの距離情報、あるいは、距離情報の分布を示す距離マップを算出できる。任意の3点以上の距離情報もしくは距離マップ情報を用いることで面としての情報を取得することができる。該当箇所の距離情報が一致、あるいは、所定以内の差分であった場合に、被写体と撮像装置200が正対していると判定することができる。
したがって、システム制御回路220は、測距システム216が算出した距離情報あるいは距離マップ情報に基づいて、被写体に対して撮像装置200が正対しているか否かを判定することができる。正対していると判定した場合にはS413に進み、正対していないと判定した場合にはS404に戻る。
In S811, the
Therefore, the
このように本実施形態によれば、被写体に対する撮像装置200の姿勢に基づいて撮影するタイミングを制御する。したがって、被写体に対して撮像装置200が正対している場合にレリーズ信号を発行することができるので患部を適切に撮影することができる。
In this way, according to this embodiment, the timing of capturing an image is controlled based on the orientation of the
以上、本発明を種々の実施形態および変形例と共に説明したが、本発明は上述した実施形態および変形例にのみ限定されるものではなく、本発明の範囲内で変更等が可能であり、上述した実施形態および変形例を適時、組み合わせてもよい。
例えば、第1の実施形態と第3の実施形態を組み合わせてもよい。具体的には、システム制御回路220は、距離情報に基づいて被写体に対して撮像装置200が正対しているか否かを判定して、正対していると判定した場合に、受信した面積と閾値とを比較して、閾値以上である場合にレリーズ信号を発行してもよい。また、システム制御回路220は、受信した面積が閾値以上であるか否かを判定して、閾値以上である場合に、距離情報に基づいて撮像装置200と被写体が正対しているか否かを判定して、正対している場合にレリーズ信号を発行してもよい。
The present invention has been described above in conjunction with various embodiments and modifications. However, the present invention is not limited to the above-described embodiments and modifications. Modifications and the like are possible within the scope of the present invention, and the above-described embodiments and modifications may be combined as appropriate.
For example, the first embodiment and the third embodiment may be combined. Specifically, the
また、上述した実施形態では、患部領域のサイズに関する情報が患部領域の面積である場合について説明したが、この場合に限られず、患部領域の面積、患部領域の長径の長さ、および、患部領域の短径の長さの少なくとも何れか一つであってもよい。患部領域のサイズに関する情報を、患部領域の長径の長さまたは患部領域の短径の長さにする場合には、S408では、画像処理装置300から患部領域の長径の長さまたは患部領域の短径の長さを取得する。S411では、システム制御回路220は、患部領域の長径の長さまたは患部領域の短径の長さが予め定めた閾値以上であるか否かを判定することができる。
In the above embodiment, the information regarding the size of the affected region is the area of the affected region, but this is not limited to the case, and may be at least one of the area of the affected region, the length of the major axis of the affected region, and the length of the minor axis of the affected region. If the information regarding the size of the affected region is the length of the major axis of the affected region or the length of the minor axis of the affected region, in S408, the length of the major axis of the affected region or the length of the minor axis of the affected region is obtained from the
<その他の実施形態>
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記録媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
<Other embodiments>
The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a recording medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.
1:画像処理システム
200:撮像装置
211:撮像ユニット
216:測距システム
219:通信装置
300:画像処理装置
310:CPU
313:通信装置
1: Image processing system 200: Imaging device 211: Imaging unit 216: Distance measurement system 219: Communication device 300: Image processing device 310: CPU
313: Communication device
Claims (10)
前記撮像手段にて撮影された画像における前記患部のサイズの情報を取得し、前記患部のサイズの情報に基づいて、前記撮像手段により前記患部を撮影するタイミングを制御する、または、ユーザに対して撮影操作を促すタイミングを制御する制御手段と、
を有する撮像装置であって、
前記制御手段は、
前記患部のサイズが閾値以上である場合に、前記撮像手段により前記患部を撮影するように制御する、または、ユーザに対して撮影操作を促すように制御し、
前記閾値は、同一患者の過去に撮影された前記患部のサイズに基づいた値であることを特徴とする撮像装置。 An imaging means for imaging the affected area;
a control means for acquiring information on the size of the affected area in an image captured by the imaging means, and controlling a timing for the imaging means to capture an image of the affected area based on the information on the size of the affected area, or controlling a timing for prompting a user to perform an imaging operation;
An imaging device having
The control means
When the size of the affected area is equal to or larger than a threshold value, the imaging device controls the imaging device to capture an image of the affected area, or controls the imaging device to prompt a user to perform an imaging operation;
The imaging apparatus according to claim 1, wherein the threshold value is a value based on the size of the affected area previously photographed by the same patient .
前記患部のサイズが閾値以上であっても、前記患部のサイズの、その前に取得した前記患部のサイズに対する変動の割合あるいは差分が、所定範囲に収まらない間は、前記撮像手段により前記患部を撮影しないように制御する、または、ユーザに対して撮影操作を促さないように制御することを特徴とする請求項1に記載の撮像装置。 The control means
The imaging device according to claim 1, characterized in that even if the size of the affected area is equal to or larger than a threshold value, as long as the rate or difference of change in the size of the affected area relative to the previously acquired size of the affected area does not fall within a predetermined range, the imaging means is controlled not to photograph the affected area, or the user is not prompted to perform an imaging operation.
前記患部のサイズが閾値以上であり、かつ、前記患部のサイズの、その前に取得した前記患部のサイズに対する変動の割合あるいは差分が所定範囲に収まる場合には、前記撮像手段により前記患部を撮影するように制御する、または、ユーザに対して撮影操作を促すように制御することを特徴とする請求項2に記載の撮像装置。 The control means
The imaging device according to claim 2, characterized in that, when the size of the affected area is equal to or larger than a threshold value and the rate of change or difference in the size of the affected area relative to the previously acquired size of the affected area falls within a predetermined range, the imaging device is controlled to photograph the affected area, or the imaging device is controlled to prompt a user to perform a photographing operation.
前記患部のサイズが閾値以上ではない場合であっても、一定の期間が経過した場合には、前記撮像手段により前記患部を撮影するように制御する、または、ユーザに対して撮影操作を促すように制御することを特徴とする請求項1ないし3の何れか1項に記載の撮像装置。 The control means
The imaging device according to any one of claims 1 to 3, characterized in that even if the size of the affected area is not equal to or larger than a threshold value, when a certain period of time has elapsed, the imaging means is controlled to photograph the affected area, or the imaging means is controlled to prompt a user to perform a photographing operation.
前記撮像手段により撮影された前記患部を含む画像を、通信手段を介して外部に送信し、前記画像を前記外部に送信することに応じて、前記患部のサイズの情報を、前記通信手段を介して前記外部から受信することを特徴とする請求項1ないし4の何れか1項に記載の撮像装置。 The control means
5. The imaging device according to claim 1, further comprising: a communication means for transmitting an image including the affected area captured by the imaging means to an external device; and receiving information on the size of the affected area from the external device via the communication means in response to transmitting the image to the external device.
前記通信手段を介して前記画像を前記外部に送信するごとに、前記通信手段を介して前記患部のサイズの情報を前記外部から受信することを特徴とする請求項5に記載の撮像装置。 The control means
6. The imaging apparatus according to claim 5 , wherein information on the size of the affected area is received from the outside via the communication means every time the image is transmitted to the outside via the communication means.
前記患部のサイズは、患部領域の面積、患部領域の長径の長さおよび患部領域の短径の長さのうち少なくとも何れか一つであることを特徴とする請求項1ないし6の何れか1項に記載の撮像装置。 The affected area is a bedsore,
7. The imaging device according to claim 1 , wherein the size of the affected area is at least one of an area of the affected area, a length of a major axis of the affected area, and a length of a minor axis of the affected area.
前記撮像手段により撮影された画像における患部のサイズの情報を取得するステップと、
前記患部のサイズの情報に基づいて、前記撮像手段により前記患部を撮影するタイミングを制御する、または、ユーザに対して撮影操作を促すタイミングを制御する制御ステップと、
を有する撮像装置の制御方法であって、
前記制御ステップでは、
前記患部のサイズが閾値以上である場合に、前記撮像手段により前記患部を撮影するように制御する、または、ユーザに対して撮影操作を促すように制御し、
前記閾値は、同一患者の過去に撮影された前記患部のサイズに基づいた値であることを特徴とする撮像装置の制御方法。 taking an image of the affected area by an imaging means ;
acquiring information on the size of the affected area in the image captured by the imaging means;
a control step of controlling a timing for the imaging means to image the affected area or controlling a timing for prompting a user to perform an imaging operation based on information about the size of the affected area;
A method for controlling an imaging apparatus comprising:
In the control step,
When the size of the affected area is equal to or larger than a threshold value, the imaging device controls the imaging device to capture an image of the affected area, or controls the imaging device to prompt a user to perform an imaging operation;
2. A method for controlling an imaging apparatus , comprising: setting a threshold value based on a size of the affected area of a same patient previously photographed;
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US16/808,245 US11475571B2 (en) | 2019-03-13 | 2020-03-03 | Apparatus, image processing apparatus, and control method |
CN202010172159.7A CN111698401B (en) | 2019-03-13 | 2020-03-12 | Apparatus, image processing apparatus, control method, and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019045955 | 2019-03-13 | ||
JP2019045955 | 2019-03-13 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020156082A JP2020156082A (en) | 2020-09-24 |
JP7536463B2 true JP7536463B2 (en) | 2024-08-20 |
Family
ID=72560035
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020023378A Active JP7536463B2 (en) | 2019-03-13 | 2020-02-14 | Imaging device, control method thereof, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7536463B2 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012254221A (en) | 2011-06-09 | 2012-12-27 | Canon Inc | Image processing apparatus, method for controlling the same, and program |
-
2020
- 2020-02-14 JP JP2020023378A patent/JP7536463B2/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012254221A (en) | 2011-06-09 | 2012-12-27 | Canon Inc | Image processing apparatus, method for controlling the same, and program |
Also Published As
Publication number | Publication date |
---|---|
JP2020156082A (en) | 2020-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3326360B1 (en) | Image capturing apparatus and method of operating the same | |
JP4902562B2 (en) | Imaging apparatus, image processing apparatus, control method, and program | |
JP7322097B2 (en) | IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM AND RECORDING MEDIUM | |
US11600003B2 (en) | Image processing apparatus and control method for an image processing apparatus that extract a region of interest based on a calculated confidence of unit regions and a modified reference value | |
JP5822545B2 (en) | Image processing apparatus, image processing apparatus control method, and program | |
JP2011160413A (en) | Imaging device | |
JP3971240B2 (en) | Camera with advice function | |
WO2019230724A1 (en) | Image processing system, imaging device, image processing device, electronic device, control method thereof, and storage medium storing control method thereof | |
CN111698401B (en) | Apparatus, image processing apparatus, control method, and storage medium | |
JP2011155639A (en) | Imaging apparatus | |
US11599993B2 (en) | Image processing apparatus, method of processing image, and program | |
KR102351496B1 (en) | Image processing apparatus and method for operating thereof | |
US20210401327A1 (en) | Imaging apparatus, information processing apparatus, image processing system, and control method | |
JP7536463B2 (en) | Imaging device, control method thereof, and program | |
JP7527803B2 (en) | Imaging device, information processing device, and control method | |
JP2019169985A (en) | Image processing apparatus | |
JP7317498B2 (en) | Processing system, processing apparatus, processing method, and program | |
JP2008172732A (en) | Imaging apparatus, control method thereof, and program | |
US20240000307A1 (en) | Photography support device, image-capturing device, and control method of image-capturing device | |
JP2021049248A (en) | Image processing system and method for controlling the same | |
JP7317528B2 (en) | Image processing device, image processing system and control method | |
JP2022147595A (en) | Image processing device, image processing method, and program | |
Desai et al. | Photography of dermatological laser treatment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230209 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240115 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240220 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240409 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20240709 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20240807 |