Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7539148B2 - Layered organ region specifying device, layered organ region specifying method, and program - Google Patents
[go: Go Back, main page]

JP7539148B2 - Layered organ region specifying device, layered organ region specifying method, and program - Google Patents

Layered organ region specifying device, layered organ region specifying method, and program Download PDF

Info

Publication number
JP7539148B2
JP7539148B2 JP2020203154A JP2020203154A JP7539148B2 JP 7539148 B2 JP7539148 B2 JP 7539148B2 JP 2020203154 A JP2020203154 A JP 2020203154A JP 2020203154 A JP2020203154 A JP 2020203154A JP 7539148 B2 JP7539148 B2 JP 7539148B2
Authority
JP
Japan
Prior art keywords
layer
pixels
pixel
instruction
value
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
Application number
JP2020203154A
Other languages
Japanese (ja)
Other versions
JP2022090703A (en
Inventor
貴琢 沖崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Asahikawa Medical University
Original Assignee
Asahikawa Medical University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Asahikawa Medical University filed Critical Asahikawa Medical University
Priority to JP2020203154A priority Critical patent/JP7539148B2/en
Publication of JP2022090703A publication Critical patent/JP2022090703A/en
Application granted granted Critical
Publication of JP7539148B2 publication Critical patent/JP7539148B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measuring And Recording Apparatus For Diagnosis (AREA)
  • Image Analysis (AREA)

Description

本発明は、医用画像から、層状構造を有する臓器の1以上の層の領域を特定する技術に関するものである。 The present invention relates to a technology for identifying regions of one or more layers of an organ having a layered structure from a medical image.

従来の技術として、手入力された輪郭点(入力輪郭点)に基づいて求めた第1画像の中心点から第1画像上に放射状に走査線を設定する過程と、各走査線に沿った画像濃度変化に着目して、前記入力輪郭点がある走査線以外の各走査線ごとに、輪郭点となる可能性がある輪郭候補点を抽出する過程と、前記複数個の入力輪郭点の一つを第1画像の確定した輪郭線の始端とし、他の一つを確定した輪郭線の終端として、前記両入力輪郭点間に存在する隣接した各走査線上の輪郭候補点を相互につないだ複数個の輪郭候補点の組合せを、臓器輪郭が滑らかであるという特性を利用して評価することにより、最適な輪郭候補点の組合せを選出する操作を全ての入力輪郭点の間で繰り返し行い、選出された最適な輪郭候補点の組合せを第1画像の輪郭点として確定する過程と、第2画像以降の各撮像画像について、第1画像の中心点に対応する点から放射状に走査線を設定する過程と、各走査線上の画像濃度変化に着目して各走査線ごとに複数個の輪郭候補点を抽出する過程と、隣接した前記各走査線の輪郭候補点を相互につないだ複数個の輪郭候補点の組合せを、第2画像以降の各撮像画像の輪郭点は当該撮像画像に対して時間的、または位置的に実質的に近い撮像画像の確定した輪郭点の近くにあり、かつ、臓器輪郭は滑らかであるという特性を利用して評価することにより、最適な輪郭候補点の組合せを第2画像以降の各撮像画像について選出し、これらを各撮像画像の輪郭点として確定する過程と、を備えた臓器輪郭の自動抽出方法が知られていた(例えば、特許文献1参照)。 In the prior art, the steps are: setting scanning lines radially on the first image from a center point of the first image determined based on a manually input contour point (input contour point); focusing on the image density change along each scanning line, extracting contour candidate points that have the potential to become contour points for each scanning line other than the scanning line on which the input contour point is located; and, taking one of the multiple input contour points as the start point of the determined contour line of the first image and the other as the end point of the determined contour line, evaluating combinations of multiple contour candidate points obtained by connecting the contour candidate points on each adjacent scanning line between the two input contour points using the characteristic that the organ contour is smooth, and repeating the operation of selecting an optimal combination of contour candidate points between all input contour points, and using the selected optimal combination of contour candidate points as the contour of the first image. A method for automatically extracting organ contours is known that includes the steps of: determining the central point of the first image as a point; setting scanning lines radially from a point corresponding to the central point of the first image for each captured image from the second image onwards; extracting multiple contour candidate points for each scanning line by focusing on the image density change on each scanning line; and evaluating combinations of multiple contour candidate points obtained by connecting the contour candidate points of adjacent scanning lines using the characteristics that the contour points of each captured image from the second image onwards are close to the determined contour points of an image that is substantially close in time or position to the captured image, and that organ contours are smooth, thereby selecting optimal combinations of contour candidate points for each captured image from the second image onwards and determining these as contour points for each captured image (see, for example, Patent Document 1).

特許第2903995号公報(第1頁、第1図等)Japanese Patent No. 2903995 (page 1, Figure 1, etc.)

しかしながら、従来の層状臓器領域特定装置においては、医用画像において、3層以上の層状構造を有する臓器の1以上の層の領域を適切に特定することができない、という課題があった。 However, conventional layered organ region identification devices had the problem that they were unable to properly identify the regions of one or more layers of an organ that has a layered structure of three or more layers in a medical image.

本発明の層状臓器領域特定装置は、第一層と、第一層の外側に接する第二層と、第二層の外側に接する第三層とを有する層状臓器の医用画像を表示する医用画像表示部と、医用画像の第一層内の画素を指定する第一指示を受け付ける第一受付部と、医用画像の第三層を含む領域の外側の輪郭を指定する第二指示を受け付ける第二受付部と、第一指示により指定される画素の画素値を取得し、画素値に対して第一近似条件を満たす画素であって、第一指示により指定される画素に連続する画素の集合を第一層の画素に決定する第一層決定部と、第一層の画素の外側に隣接する連続した画素の集合を第二層の画素に決定する第二層決定部と、第二層の画素の外側であって、第二指示により指定される輪郭内に位置している2以上の画素の画素値の代表値を取得し、代表値に対して第二近似条件を満たす画素値を有しており、第一層および第二層の画素以外の、第二指示により指定される輪郭の内側に位置している画素の集合を、第三層の画素に決定する第三層決定部と、第三層の画素を示す情報を出力する出力部と、を具備する層状臓器領域特定装置である。 The layered organ region identification device of the present invention includes a medical image display unit that displays a medical image of a layered organ having a first layer, a second layer that is in contact with the outside of the first layer, and a third layer that is in contact with the outside of the second layer, a first reception unit that receives a first instruction that specifies a pixel in the first layer of the medical image, a second reception unit that receives a second instruction that specifies the outer contour of a region including the third layer of the medical image, and a first calculation unit that acquires the pixel value of the pixel specified by the first instruction and determines a set of pixels that satisfy a first approximation condition for the pixel value and are adjacent to the pixel specified by the first instruction as the pixels of the first layer. The device for identifying layered organ regions includes a layer determination unit, a second layer determination unit that determines a set of adjacent, contiguous pixels on the outside of the pixels in the first layer as pixels in the second layer, a third layer determination unit that obtains a representative value of pixel values of two or more pixels located outside the pixels in the second layer and within a contour specified by a second instruction, and determines a set of pixels located inside the contour specified by the second instruction, other than the pixels in the first and second layers, that have a pixel value that satisfies a second approximation condition for the representative value, as pixels in the third layer, and an output unit that outputs information indicating the pixels in the third layer.

かかる構成により、医用画像において、3層以上の層状構造を有する臓器の1以上の層の領域を適切に特定することができる。 This configuration makes it possible to properly identify areas of one or more layers of an organ having a layered structure of three or more layers in a medical image.

また、本発明の層状臓器領域特定装置は、前記層状臓器領域特定装置において、第一近似条件は、画素値が、X-αからX+αまでの範囲内である(ただし、Xは、第一指示により指定される画素の画素値であり、αは、第一指示により指定される画素に連続する条件を満たす画素の集合が、第二指示により指定される輪郭の画素と重ならない値である)、という条件であるようにしてもよい。 Furthermore, in the layered organ region identifying device of the present invention, the first approximation condition may be a condition that the pixel value is within the range from X- α1 to X+ α1 (where X is the pixel value of the pixel specified by the first instruction, and α1 is a value such that a set of pixels satisfying the condition and contiguous to the pixel specified by the first instruction does not overlap with a pixel of the contour specified by the second instruction).

かかる構成により、第一層の領域を適切に特定して、1以上の層の領域を適切に特定できる。 This configuration allows the area of the first layer to be properly identified, and the area of one or more layers to be properly identified.

また、本発明の層状臓器領域特定装置は、前記層状臓器領域特定装置において、第一層決定部は、画素値が、X-αからX+αまでの範囲内である(ただし、Xは、第一指示により指定される画素の画素値である)という条件を満たす画素であって、第一指示により指定される画素に連続する条件を満たす画素の集合を、集合の少なくとも一部が、第二指示により指定される輪郭の画素と重なる状態から、重ならなくなる状態となるまで、αの値を、予め決められた初期値から減少させて順次検出し、重ならなくなる状態となったαの値であるαをαの値として有する条件である第一近似条件により検出される画素の集合を、第一層の画素に決定するようにしてもよい。 Furthermore, in the layered organ region identifying device of the present invention, the first layer determination unit may be configured to sequentially detect a set of pixels that satisfy the condition that the pixel value is within the range of X-α to X+α (where X is the pixel value of the pixel specified by the first instruction) and that are consecutive to the pixel specified by the first instruction, by decreasing the value of α from a predetermined initial value until at least a part of the set goes from overlapping with the pixel of the contour specified by the second instruction to no longer overlapping, and to determine the set of pixels detected under a first approximation condition, which is a condition that the value of α is α1 , which is the α value at which the set no longer overlaps, as the pixels of the first layer.

かかる構成により、第一層の領域を適切に特定して、1以上の層の領域を適切に特定できる。 This configuration allows the area of the first layer to be properly identified, and the area of one or more layers to be properly identified.

また、本発明の層状臓器領域特定装置は、前記層状臓器領域特定装置において、第二層決定部は、医用画像の、第一層の画素の外側に隣接する画素から、外側に向かって予め決められた画素数までの範囲内の画素の集合を、第二層の画素に決定するようにしてもよい。 In addition, in the layered organ region identifying device of the present invention, the second layer determining unit may determine a set of pixels in the medical image within a range from a pixel adjacent to the outside of the pixels in the first layer to a predetermined number of pixels outward as pixels in the second layer.

かかる構成により、第二層の領域を適切に特定して、1以上の層の領域を適切に特定できる。 This configuration allows the area of the second layer to be properly identified, and the area of one or more layers to be properly identified.

また、本発明の層状臓器領域特定装置は、前記層状臓器領域特定装置において、第三層決定部は、第一層の画素の代表点を決定し、代表点を中心として、第二指示により指定される輪郭よりも小さいサイズの、閉領域を有する図形の輪郭を決定し、輪郭上の2以上の画素について、画素値の代表値を取得するようにしてもよい。 In addition, in the layered organ region identifying device of the present invention, the third layer determination unit may determine a representative point of the pixels of the first layer, determine a contour of a figure having a closed area centered on the representative point and smaller in size than the contour specified by the second instruction, and obtain a representative pixel value for two or more pixels on the contour.

かかる構成により、第三層の画素の画素値の範囲を適切に設定でき、1以上の層の領域を適切に特定できる。 This configuration allows the pixel value range of the pixels in the third layer to be appropriately set, and allows the area of one or more layers to be appropriately identified.

また、本発明の層状臓器領域特定装置は、前記層状臓器領域特定装置において、第二近似条件は、画素値が、Y-γからY+γまでの範囲内である(ただし、Yは画素の代表値であり、γは、第三層の画素である可能性が高い画素値の範囲を示すための、輪郭上の2以上の画素の画素値を用いて取得された値である)、という条件であるようにしてもよい。 The layered organ region identifying device of the present invention may also be configured such that the second approximation condition is that the pixel value is within the range of Y-γ to Y+γ (where Y is a representative value of the pixel, and γ is a value obtained using the pixel values of two or more pixels on the contour to indicate the range of pixel values that are likely to be pixels of the third layer).

かかる構成により、第三層の画素の画素値の範囲を適切に設定でき、1以上の層の領域を適切に特定できる。 This configuration allows the pixel value range of the pixels in the third layer to be appropriately set, and allows the area of one or more layers to be appropriately identified.

また、本発明の層状臓器領域特定装置は、前記層状臓器領域特定装置において、前記出力部は、前記第一層および第二層の画素を示す情報をさらに出力するようにしてもよい。 In addition, in the layered organ region identifying device of the present invention, the output unit may further output information indicating the pixels of the first and second layers.

かかる構成により、第一層、第二層、および第三層の領域を適切に特定できる。 This configuration allows the first, second, and third layer regions to be properly identified.

また、本発明の層状臓器領域特定装置は、前記層状臓器領域特定装置において、層状臓器は、子宮であり第一層は、子宮内膜であり、第二層は、junction zone(内膜直下筋層)であり、第三層は、子宮筋層であるようにしてもよい。 The layered organ region identifying device of the present invention may be configured such that in the layered organ region identifying device, the layered organ is the uterus, the first layer is the endometrium, the second layer is the junction zone (muscle layer directly below the endometrium), and the third layer is the uterine muscle layer.

かかる構成により、層状臓器である子宮の医用画像において、1以上の層の領域を適切に特定できる。 This configuration makes it possible to properly identify one or more layered regions in medical images of the uterus, which is a layered organ.

本発明による層状臓器領域特定装置等によれば、医用画像において、3層以上の層状構造を有する臓器の1以上の層の領域を適切に特定することができる。 The layered organ region identification device according to the present invention can appropriately identify the region of one or more layers of an organ having a layered structure of three or more layers in a medical image.

本発明の実施の形態における層状臓器領域特定装置のブロック図FIG. 2 is a block diagram of a layered organ region specifying device according to an embodiment of the present invention; 同層状臓器領域特定装置の動作について説明するフローチャートA flowchart for explaining the operation of the layered organ region specifying device. 同層状臓器領域特定装置による医用画像の表示例を示す図FIG. 13 shows an example of a medical image displayed by the layered organ region specifying device. 同層状臓器領域特定装置による医用画像の表示例を示す図FIG. 13 shows an example of a medical image displayed by the layered organ region specifying device. 同層状臓器領域特定装置の特定層管理表を示す図(図5(a)-図5(c))FIG. 5(a)-FIG. 5(c) show a specific layer management table of the layered organ region specifying device. 同層状臓器領域特定装置が表示する医用画像における代表点等を示す模式図FIG. 13 is a schematic diagram showing representative points in a medical image displayed by the layered organ region specifying device. 同層状臓器領域特定装置による医用画像の表示例を示す図FIG. 13 shows an example of a medical image displayed by the layered organ region specifying device. 本発明の実施の形態におけるコンピュータシステムの外観の一例を示す図FIG. 1 is a diagram showing an example of the appearance of a computer system according to an embodiment of the present invention. 同コンピュータシステムの構成の一例を示す図FIG. 1 shows an example of the configuration of the computer system.

以下、層状臓器領域特定装置等の実施形態について図面を参照して説明する。なお、実施の形態において同じ符号を付した構成要素は同様の動作を行うので、再度の説明を省略する場合がある。 Below, an embodiment of a layered organ region identification device and the like will be described with reference to the drawings. Note that components with the same reference numerals in the embodiments perform similar operations, and therefore repeated explanations may be omitted.

(実施の形態)
図1は、本実施の形態における層状臓器領域特定装置1のブロック図である。
(Embodiment)
FIG. 1 is a block diagram of a layered organ region specifying device 1 according to the present embodiment.

層状臓器領域特定装置1は、医用画像表示部101、医用画像格納部102、第一受付部103、第二受付部104、第一層決定部105、第二層決定部106、第三層決定部107、および出力部108を備える。 The layered organ region identification device 1 includes a medical image display unit 101, a medical image storage unit 102, a first reception unit 103, a second reception unit 104, a first layer determination unit 105, a second layer determination unit 106, a third layer determination unit 107, and an output unit 108.

医用画像表示部101は、第一層と、第二層と、第三層とを有する層状臓器の医用画像を表示する。第二層は、第一層の外側に接す層であり、第三層は、第二層の外側に接する層である。層状臓器とは、層状構造を有する臓器である。層状臓器は、生体の臓器である。ここでの生体は、通常、人間であるが、人間以外の動物であってもよい。層状臓器は、例えば、子宮や心臓である。例えば、層状臓器が子宮である場合、第一層は子宮内膜であり、第二層はjunction zoneであり、第三層は、子宮筋層である。junction zoneとは、内膜直下筋層とも呼ばれる。また、層状臓器が心臓である場合、例えば、第一層が心室内腔、第二層が心筋、および第三層が心外膜である。なお、以下においては、医用画像が、子宮を撮影した画像である場合を主な例に挙げて説明を行う。 The medical image display unit 101 displays a medical image of a layered organ having a first layer, a second layer, and a third layer. The second layer is a layer that contacts the outside of the first layer, and the third layer is a layer that contacts the outside of the second layer. A layered organ is an organ that has a layered structure. A layered organ is an organ of a living body. The living body here is usually a human being, but may be an animal other than a human being. A layered organ is, for example, a uterus or a heart. For example, when the layered organ is a uterus, the first layer is the endometrium, the second layer is the junction zone, and the third layer is the myometrium. The junction zone is also called the muscle layer directly below the endometrium. When the layered organ is a heart, for example, the first layer is the ventricular cavity, the second layer is the myocardium, and the third layer is the epicardium. In the following, a medical image is mainly described as an image of a uterus.

層状臓器の医用画像とは、例えば、生体の層状臓器を撮影した医用画像である。医用画像は、例えば、通常は、臨床や医学のために利用可能な画像である。ただし、医用画像は、これら以外の用途、例えば、研究や学術の用途等に利用されてもよいことはいうまでもない。層状臓器の医用画像は、例えば、生体の層状臓器を含む部分における断層撮影画像である。医用画像は、例えば、CT(コンピュータ断層撮影)、MRI(核磁気共鳴画像法)、PET(陽電子放出断層撮影)、またはSPECT(単一光子放射断層撮影)等で撮影された画像である。医用画像は、例えば、グレースケールやカラーのラスタ画像である。医用画像の画素の画素値は、例えば、画素の輝度値や彩度等である。画素値は、通常、256階調の値で示されるが、画素値の階調数は、これに限定されない。医用画像の画素値は、例えば、画素に対応する生体内の部位において、医用画像を撮影する際に取得された測定値や信号値であってもよく、これらを指標化した値であってもよい。医用画像の解像度や、データ構造や、ファイル形式等は問わない。 A medical image of a layered organ is, for example, a medical image of a layered organ of a living body. A medical image is, for example, an image that can usually be used for clinical or medical purposes. However, it goes without saying that a medical image may be used for other purposes, such as research or academic purposes. A medical image of a layered organ is, for example, a tomographic image of a part including a layered organ of a living body. A medical image is, for example, an image taken by CT (computed tomography), MRI (magnetic resonance imaging), PET (positron emission tomography), or SPECT (single photon emission computed tomography). A medical image is, for example, a grayscale or color raster image. The pixel value of a pixel of a medical image is, for example, the luminance value or saturation of the pixel. A pixel value is usually expressed as a value of 256 gradations, but the number of gradations of a pixel value is not limited to this. The pixel values of a medical image may be, for example, measurement values or signal values acquired when capturing a medical image at a site in a living body corresponding to the pixel, or may be values that have been indexed from these. There is no restriction on the resolution, data structure, file format, etc. of the medical image.

なお、医用画像表示部101が表示する層状臓器の医用画像は、3層以上の層で構成される層状構造を有する層状臓器の医用画像であればよく、例えば、4層以上の層で構成される層状構造を有する層状臓器の医用画像であってもよい。医用画像が、4層以上の層で構成される層状構造を有する層状臓器を撮影した医用画像である場合、第一層の外側に、2つの層が重ねて配置されていれば、4層以上の層のうちのどの層を第一層と考えてもよい。このような場合、第一層の外側に接する層を上記の第二層、第二層の外側に接する層を上記の第三層とすればよい。 The medical image of a layered organ displayed by the medical image display unit 101 may be a medical image of a layered organ having a layered structure composed of three or more layers, for example, a medical image of a layered organ having a layered structure composed of four or more layers. When the medical image is a medical image of a layered organ having a layered structure composed of four or more layers, any layer of the four or more layers may be considered to be the first layer as long as two layers are arranged on top of each other outside the first layer. In such a case, the layer in contact with the outside of the first layer may be considered to be the second layer, and the layer in contact with the outside of the second layer may be considered to be the third layer.

医用画像表示部101が表示する層状臓器の医用画像は、医用画像格納部102に格納された層状画像の医用画像であってもよく、層状臓器領域特定装置1の外部に設けられたサーバ装置(図示せず)等に格納された層状臓器の医用画像であってもよい。以下においては、医用画像表示部101が、医用画像格納部102に格納された層状画像の医用画像を表示する場合を主な例に挙げて説明する。 The medical image of the layered organ displayed by the medical image display unit 101 may be a medical image of a layered image stored in the medical image storage unit 102, or may be a medical image of a layered organ stored in a server device (not shown) or the like provided outside the layered organ region identification device 1. In the following, a case where the medical image display unit 101 displays a medical image of a layered image stored in the medical image storage unit 102 will be mainly described as an example.

医用画像表示部101は、医用画像表示部101が有するモニタ(図示せず)等に医用画像を表示してもよく、層状臓器領域特定装置1の外部のモニタ(図示せず)等に医用画像を表示してもよい。また、ここでの医用画像の表示は、医用画像を表示可能な他の装置等に、医用画像を表示するための情報を送信して、他の装置において、医用画像を表示することも含む概念である。 The medical image display unit 101 may display the medical image on a monitor (not shown) that the medical image display unit 101 has, or may display the medical image on a monitor (not shown) external to the layered organ region identification device 1. The display of the medical image here also includes the concept of transmitting information for displaying the medical image to another device capable of displaying the medical image, and displaying the medical image on the other device.

医用画像表示部101は、モニタ等の表示デバイスを含むと考えても含まないと考えてもよい。医用画像表示部101は、例えば、モニタ等の表示デバイスのドライバーソフトまたは、モニタ等の表示デバイスのドライバーソフトウェアとモニタ等で実現される。 The medical image display unit 101 may or may not include a display device such as a monitor. The medical image display unit 101 is realized, for example, by driver software for a display device such as a monitor, or by driver software for a display device such as a monitor and a monitor, etc.

医用画像格納部102には、上述したような第一層、第二層、および第三層を有する層状臓器の1または2以上の医用画像が格納される。 The medical image storage unit 102 stores one or more medical images of a layered organ having a first layer, a second layer, and a third layer as described above.

医用画像格納部102には、例えば、層状臓器領域特定装置1が有する受信部(図示せず)が、医用画像を撮影する装置(図示せず)や、他の装置等から受信した医用画像が蓄積される。ここでの医用画像の格納は、受信部が受信した医用画像の一時記憶等であってもよい。なお、医用画像格納部102に医用画像がどのように蓄積されるかについては上記に限定されるものではない。 The medical image storage unit 102 accumulates medical images received by a receiving unit (not shown) of the layered organ region identification device 1 from a device (not shown) that captures medical images or from other devices. The storage of the medical images here may be temporary storage of the medical images received by the receiving unit. Note that the manner in which the medical images are accumulated in the medical image storage unit 102 is not limited to the above.

医用画像格納部102は、不揮発性の記録媒体が好適であるが、揮発性の記録媒体でも実現可能である。なお、医用画像表示部101が、医用画像格納部102に格納されている医用画像を表示しない場合、医用画像格納部102は省略してもよい。 The medical image storage unit 102 is preferably a non-volatile recording medium, but can also be a volatile recording medium. If the medical image display unit 101 does not display the medical images stored in the medical image storage unit 102, the medical image storage unit 102 may be omitted.

第一受付部103は、医用画像表示部101が表示する層状臓器の医用画像の第一層内の1以上の画素を指定する第一指示を受け付ける。第一指示の受け付けは、例えば、医用画像表示部101が表示する層状臓器の医用画像の第一層内の画素の座標の受け付けであってもよい。 The first receiving unit 103 receives a first instruction that specifies one or more pixels in a first layer of the medical image of the layered organ displayed by the medical image display unit 101. The reception of the first instruction may be, for example, the reception of the coordinates of a pixel in the first layer of the medical image of the layered organ displayed by the medical image display unit 101.

第一受付部103は、例えば、キーボードやマウス、タッチパネル、タブレット等の入力デバイス(図示せず)等を介して、ユーザ等から、第一指示を受け付ける。例えば、第一受付部103は、マウス等の入力デバイスを介して、医用画像表示部101が表示する層状臓器の医用画像の第一層内の画素をクリックする操作やタップする操作等を受け付けた場合に、クリックされた画素やタップされた画素を指定する第一指示を受け付ける。 The first reception unit 103 receives a first instruction from a user, for example, via an input device (not shown) such as a keyboard, a mouse, a touch panel, or a tablet. For example, when the first reception unit 103 receives an operation to click or tap a pixel in the first layer of the medical image of a layered organ displayed by the medical image display unit 101 via an input device such as a mouse, the first reception unit 103 receives a first instruction that specifies the clicked or tapped pixel.

ここでの第一指示の受け付けとは、キーボードやマウス、タッチパネルなどの入力デバイス(図示せず)から入力された情報の受け付け、有線もしくは無線の通信回線を介して送信された情報の受信、記録媒体から読み出された情報の受け付けなどを含む概念である。第一指示の受け付けに利用される入力手段は、キーボードやマウスやメニュー画面によるもの等、何でもよい。かかることは、後述する第二指示の受付についても同様である。第一受付部103は、マウスやキーボードやタッチパネル等の入力手段のデバイスドライバーや、メニュー画面の制御ソフトウェア等で実現され得る。かかることは、第二受付部104についても同様である。 Here, the concept of accepting a first instruction includes accepting information input from an input device (not shown) such as a keyboard, mouse, or touch panel, receiving information transmitted via a wired or wireless communication line, and accepting information read from a recording medium. The input means used to accept the first instruction may be anything, such as a keyboard, mouse, or menu screen. The same applies to the acceptance of a second instruction, which will be described later. The first acceptance unit 103 may be realized by a device driver for an input means such as a mouse, keyboard, or touch panel, or control software for a menu screen. The same applies to the second acceptance unit 104.

第二受付部104は、医用画像表示部101が表示する層状臓器の医用画像の第三層を含む領域の外側の輪郭を指定する第二指示を受け付ける。第三層を含む領域は、例えば、第三層の画素の集合が配置された領域を含む領域である。第三層を含む領域は、例えば、第三層の外側の辺縁に沿って、第三層を外側から囲む輪郭を有する領域である。第三層を含む領域は、第三層の外側の辺縁よりも外側にはみ出した部分や、第三層の外側の辺縁から内側に凹んだ部分等を有し得る領域である。第三層の外側とは、例えば、第三層の第二層とは反対側の部分である。第三層を含む領域は、例えば、第三層の画素の集合が配置された領域を含む領域であって、第三層の外側の辺縁よりも外側に位置する画素を含む領域であってもよい。また、第三層を含む領域は、例えば、第三層の画素の集合が配置された領域を含む領域であって、第三層の画素のうちの、第三層の外側の辺縁よりも内側に位置する画素の一部を含まない領域であってもよい。第三層を含む領域の、第三層の外側の縁よりも外側にはみ出した部分や、内側に凹んだ部分は、外側の縁に近接していることが好ましい。第三層を含む領域は、少なくとも第三層の領域全体を含む領域であることが好ましい。 The second reception unit 104 receives a second instruction specifying the outer contour of the area including the third layer of the medical image of the layered organ displayed by the medical image display unit 101. The area including the third layer is, for example, an area including an area where a set of pixels of the third layer is arranged. The area including the third layer is, for example, an area having a contour that surrounds the third layer from the outside along the outer edge of the third layer. The area including the third layer is an area that may have a portion that protrudes outward from the outer edge of the third layer, a portion that is recessed inward from the outer edge of the third layer, etc. The outside of the third layer is, for example, a portion of the third layer opposite the second layer. The area including the third layer may be, for example, an area including an area where a set of pixels of the third layer is arranged, and may include pixels located outside the outer edge of the third layer. In addition, the area including the third layer may be, for example, an area including an area where a set of pixels of the third layer is arranged, and may not include a portion of the pixels of the third layer that are located inside the outer edge of the third layer. It is preferable that the portion of the region including the third layer that protrudes outward from the outer edge of the third layer or that is recessed inward is close to the outer edge. It is preferable that the region including the third layer is a region that includes at least the entire region of the third layer.

第三層を含む領域を外側から囲む輪郭を指定する第二指示は、例えば、第三層を含む領域を外側から囲む連続した複数の画素を指定する指示である。ここでの連続した画素は、上下左右に隣接する画素と考えてもよく、上下左右に隣接する画素に加えて、斜めの方向に隣接する画素も含むと考えてもよい。 The second instruction specifying the contour that surrounds the area including the third layer from the outside is, for example, an instruction to specify multiple consecutive pixels that surround the area including the third layer from the outside. The consecutive pixels here may be considered to be adjacent pixels above, below, left, right, and so on, and may also be considered to include adjacent pixels in a diagonal direction in addition to adjacent pixels above, below, left, and right.

第二受付部104は、例えば、ユーザから手入力により、第二指示を受け付ける。第二受付部104は、例えば、第一受付部103と同様の入力デバイス(図示せず)等を介して、ユーザ等から、第一指示を受け付ける。例えば、第二受付部104は、医用画像表示部101が表示する層状臓器の医用画像上において、ユーザがマウスやタッチパネル等を用いて、カーソル等で第三層の領域の外側をなぞることにより、このなぞられた軌跡の座標に位置する画素の集合を指定する情報を、輪郭を指定する第二指示として受け付ける。なお、第三層を含む領域の外側の輪郭を指定する第二指示は、例えば、ユーザが手入力により、第三層の外側の輪郭を指定する指示や、第三層の外側をなぞることによって、第三層の輪郭を指定する指示と考えてもよく、通常、このようにして指定される輪郭は、第三層の外側のおおよその輪郭となる。 The second reception unit 104 receives the second instruction, for example, by manual input from the user. The second reception unit 104 receives the first instruction from the user, for example, via an input device (not shown) similar to the first reception unit 103. For example, the second reception unit 104 receives information specifying a set of pixels located at the coordinates of the traced trajectory by the user tracing the outside of the third layer area with a cursor or the like using a mouse or a touch panel on the medical image of the layered organ displayed by the medical image display unit 101 as a second instruction specifying a contour. Note that the second instruction specifying the outside contour of the area including the third layer may be considered, for example, as an instruction to specify the outside contour of the third layer by the user manually inputting it, or an instruction to specify the contour of the third layer by tracing the outside of the third layer, and usually the contour specified in this way is an approximate contour of the outside of the third layer.

第一層決定部105は、第一指示により指定される画素の画素値を取得し、画素値に対して第一近似条件を満たす画素であって、第一指示により指定される画素に連続する画素の集合を第一層の画素に決定する。第一層の画素に決定する、ということは、第一層の画素に決定された医療画像の画素に、第一層の画素であることを示すラベル等を対応付けることである。画素にラベルを対応付けることは、画素の識別子や、画素の座標等にラベルを対応づけて格納部(図示せず)等に蓄積したり、ラベルを対応づけた医療画像で、医用画像格納部102等に格納された医療画像を更新することであってもよい。また、第一層の画素に決定する、ということは、第一層の画素が連続する領域の輪郭を示す情報を取得して格納部(図示せず)に蓄積することであってもよい。輪郭を示す情報は、例えば、輪郭を示す複数の座標の情報や、輪郭上の複数の画素の情報(例えば、画素の識別子や画素の座標等)である。なお、かかることは、画素が異なる点を除けば、後述する第二層の画素を決定する処理や、第三層の画素を決定する処理等においても同様である。 The first layer determination unit 105 obtains the pixel value of the pixel specified by the first instruction, and determines a set of pixels that satisfy a first approximation condition for the pixel value and are continuous with the pixel specified by the first instruction as the pixels of the first layer. Determining the pixels of the first layer means associating a label or the like indicating that the pixel is a pixel of the first layer with the pixels of the medical image determined as the pixels of the first layer. Associating a label with a pixel may be associating a label with a pixel identifier or pixel coordinates, etc., and storing the label in a storage unit (not shown), or updating a medical image stored in the medical image storage unit 102, etc., with a medical image to which the label is associated. Also, determining the pixels of the first layer may be obtaining information indicating the contour of an area where the pixels of the first layer are continuous and storing the information in a storage unit (not shown). The information indicating the contour is, for example, information of multiple coordinates indicating the contour, or information of multiple pixels on the contour (for example, pixel identifiers, pixel coordinates, etc.). This is also true for the process of determining pixels of the second layer and the process of determining pixels of the third layer, which will be described later, except that the pixels are different.

第一近似条件は、例えば、医用画像において、第一指示により指定される画素の画素値に近似する画素を、第一層の画素として検出するための条件である。第一近似条件は、例えば、第一層の画素として検出する画素の画素値の範囲を示す条件である。第一近似条件は、例えば、第一指示により指定される画素の画素値を含む所望の範囲内の画素値を有する画素を、第一層の画素値として検出するための条件である。第一近似条件は、例えば、第一指示により指定される画素の画素値を含む画素値の範囲を示す条件であり、この範囲内の画素値を有する画素が、条件を満たす画素と判断される。画素値の範囲は、例えば、画素値の上限値と下限値とで表される。 The first approximation condition is, for example, a condition for detecting, in a medical image, a pixel that is approximate to the pixel value of a pixel specified by a first instruction as a pixel of the first layer. The first approximation condition is, for example, a condition indicating the range of pixel values of pixels to be detected as pixels of the first layer. The first approximation condition is, for example, a condition for detecting, as the pixel value of the first layer, a pixel having a pixel value within a desired range including the pixel value of the pixel specified by the first instruction. The first approximation condition is, for example, a condition indicating a range of pixel values including the pixel value of the pixel specified by the first instruction, and a pixel having a pixel value within this range is determined to be a pixel that satisfies the condition. The range of pixel values is, for example, expressed by an upper limit and a lower limit of pixel values.

第一近似条件は、例えば、第一指示により指定される画素の画素値を基準として設定される。第一近似条件は、例えば、第一指示により指定される画素の画素値をXとした場合において、画素の画素値が、X-αからX+αまでの範囲内である、という条件である。ここでのαは、通常、正の整数であるが、正の実数であってもよい。αは、予め特定されている値であってもよく、後述するように、第二指示により指定される輪郭に応じて、動的に決定される値であってもよい。また、ここでのαは、例えば、固定値であってもよく、Xの値に応じて特定される値であってもよい。例えば、αの値は、Xの値に対する比率で特定される値であってもよい。 The first approximation condition is set, for example, based on the pixel value of the pixel specified by the first instruction. The first approximation condition is, for example, a condition that, when the pixel value of the pixel specified by the first instruction is X, the pixel value of the pixel is within a range from X- α1 to X+ α1 . α1 here is usually a positive integer, but may be a positive real number. α1 may be a value specified in advance, or may be a value dynamically determined according to the contour specified by the second instruction, as described later. In addition, α1 here may be, for example, a fixed value, or may be a value specified according to the value of X. For example, the value of α1 may be a value specified as a ratio to the value of X.

なお、以下、本実施の形態においては、αの値を、Xの値に対する比率(具体的には%)で表し、画素の画素値が、第一近似条件を満たすか実際に判断する際には、αに代えて、Xのα%の値を用いるものとする。例えば、第一近似条件が、画素の画素値が、X-25%からX+25%までの範囲内の値であるという条件である場合、実際には、(1-0.25)Xから、(1+0.25)Xまでの範囲内の画素値を有する画素を、第一近似条件を満たす画素として検出する。 In the following, in this embodiment, the value of α1 is expressed as a ratio (specifically, %) to the value of X, and when actually judging whether the pixel value of a pixel satisfies the first approximation condition, the value of α1 % of X is used instead of α1 . For example, when the first approximation condition is that the pixel value of a pixel is within the range from X-25% to X+25%, pixels having pixel values within the range from (1-0.25)X to (1+0.25)X are actually detected as pixels that satisfy the first approximation condition.

第一近似条件が、画素値が、X-αからX+αまでの範囲内である画素を検出する、という条件である場合、αを、第一指示により指定される画素に連続する第一近似条件を満たす画素の集合が、第二指示により指定される輪郭の画素と重ならないような値に設定することが好ましい。 When the first approximation condition is a condition that pixels whose pixel values are within the range from X- α1 to X+ α1 are detected, it is preferable to set α1 to a value such that a set of pixels that are adjacent to the pixel specified by the first instruction and that satisfy the first approximation condition do not overlap with a pixel of the contour specified by the second instruction.

例えば、第一層決定部105は、X-αからX+αまでの画素値の範囲(ここでのαは、変数であるとする)において、αの値を、予め決められた値(例えば、初期値α:αは正の値であるとする)から、増加、または減少させることで、第一指示により指定される画素に連続する画素であって、画素値がX-αからX+αまでの範囲内である画素の集合が、第二指示により指定される輪郭の画素と重ならなくなるようなαの値をαとして決定して、このαを上記のαの値として代入した第一近似条件を決定してもよい。 For example, the first layer determination unit 105 may increase or decrease the value of α from a predetermined value (for example, initial value α 0 : α 0 is a positive value) in the pixel value range from X-α to X+α (where α is a variable) to determine the value of α as α1 such that a set of pixels that are adjacent to the pixel specified by the first instruction and have pixel values in the range from X-α to X+α do not overlap with the pixels of the contour specified by the second instruction, and may then determine a first approximation condition by substituting this α1 as the above value of α.

例えば、第一層決定部105は、第一指示により指定される画素に連続する画素であって、画素値が、X-αからX+αまでの範囲内であるという条件を満たす画素の集合を、αの値を、予め決められた初期値から減少させて順次検出する。そして、検出した画素の集合が、第二指示により指定される輪郭の画素と重なる状態から、重ならなくなる状態となったときに検出される画素の集合を、第一層の画素に決定する。また、このときのαの値であるαを、αの値として代入した上記の画素値の範囲を有する条件が、第一近似条件となる。 For example, the first layer determination unit 105 sequentially detects a set of pixels that are adjacent to the pixel specified by the first instruction and that satisfy the condition that the pixel value is within the range from X-α to X+α by decreasing the value of α from a predetermined initial value. Then, the first layer determination unit 105 determines the set of pixels detected when the detected set of pixels goes from overlapping with the pixel of the contour specified by the second instruction to no longer overlapping as the pixels of the first layer. The condition having the above pixel value range, in which α1 , the value of α at this time, is substituted for the value of α, becomes the first approximation condition.

具体的には、例えば、第一層決定部105は、予め決められた初期値αをαの値として代入したX-αからX+αまでの範囲内の画素値を有する画素であって、第一指示により指定される画素に連続する画素の集合を検出する。そして、検出した画素の集合が、第二指示により指定される輪郭の画素と重なるか判断する。重ならなければ、この初期値αをαとしてαに代入した上記の画素値の範囲を有する条件を第一近似条件とする。そして、このとき検出された第一指示により指定される画素に連続する画素の集合を、第一層の画素に決定してもよい。 Specifically, for example, the first layer determination unit 105 detects a set of pixels that have pixel values within the range of X-α to X+α with a predetermined initial value α0 substituted as the value of α and that are continuous with the pixel specified by the first instruction. Then, it determines whether the detected set of pixels overlaps with the pixels of the contour specified by the second instruction. If they do not overlap, the condition having the above range of pixel values with the initial value α0 substituted as α1 for α is set as the first approximation condition. Then, the set of pixels detected at this time that are continuous with the pixel specified by the first instruction may be determined as the pixels of the first layer.

また、重なる場合、第一層決定部105は、例えば、初期値αから、予め決められた値(例えば、値「1」)を、順次、減少させた値を上記の条件のαの値として代入し、減少させた値を代入するごとに、X-αからX+αまでの範囲内の画素値を有する画素であって、第一指示により指定される画素に連続する画素の集合を検出する。そして、検出するごとに、検出した画素の集合が、第二指示により指定される輪郭の画素と重なるか判断する。そして、このとき検出された第一指示により指定される画素に連続する画素の集合を、第一層の画素に決定する。また、第一層決定部105は、重ならなくなった時点のαの値をαとして代入した上記の画素値の範囲を有する条件を第一近似条件に決定してもよい。 Furthermore, if there is an overlap, the first layer determination unit 105 may, for example, sequentially decrease a predetermined value (for example, the value "1") from the initial value α 0 and assign it as the value of α in the above condition, and each time it assigns a decreased value, it detects a group of pixels having pixel values within the range from X-α to X+α that are continuous with the pixel specified by the first instruction. Each time it detects a group of pixels, it determines whether the detected group of pixels overlaps with the pixels of the contour specified by the second instruction. It then determines the detected group of pixels continuous with the pixel specified by the first instruction as the pixels of the first layer. The first layer determination unit 105 may also determine the first approximation condition to be a condition having the above range of pixel values, in which the value of α at the point where there is no overlap is assigned as α 1 .

なお、初期値αを代入して重ならない場合、第一層決定部105は、例えば、αの値として、初期値αから、予め決められた値(例えば、値「1」)を、順次、増加させた値を代入し、増加させた値を代入するごとに、X-αからX+αまでの範囲内の画素値を有する画素であって、第一指示により指定される画素に連続する画素の集合を検出するようにしてもよい。そして、画素の集合が検出されるごとに、検出された画素の集合が、第二指示により指定される輪郭の画素と重なるか判断し、重なるようになった直前に検出された画素の集合を、第一層の画素に決定してもよい。また、重なるようになったαの値の直前のαの値であるαをαの値として代入した上記の画素値の範囲を有する条件を第一近似条件に決定するようにしてもよい。 If no overlap occurs after substituting the initial value α 0 , the first layer determination unit 105 may, for example, substitute a value obtained by successively increasing the initial value α 0 by a predetermined value (for example, the value "1") as the value of α, and each time a value is substituted, detect a set of pixels having pixel values within the range from X-α to X+α that are continuous with the pixel specified by the first instruction. Then, each time a set of pixels is detected, it may be determined whether the detected set of pixels overlaps with the contour pixels specified by the second instruction, and the set of pixels detected immediately before the overlap is determined to be the pixels of the first layer. Alternatively, the first approximation condition may be determined to be a condition having the above range of pixel values, in which α 1 , which is the value of α immediately before the value of α that caused the overlap, is substituted as the value of α.

なお、上記においては、第一指示が一の画素を指定する指示である場合について説明したが、第一受付部103が、第一指示として、隣接する複数の画素を指定する指示を受け付けるようにしてもよく、この場合、第一層決定部105は、第一指示により指定された連続する複数の画素のうちの一の画素(例えば、複数の画素の最も中心または重心に近い画素等)を、後述する第一層決定部105が、第一指示が指定する一の画素として利用するようにしてもよい。また、第一層決定部105は、指定された連続する複数の画素の画素値の代表値(例えば、平均値や中央値等)を、第一指示が指定する画素の画素値として用いるようにし、第一指示により指定された連続する複数の画素のうちの一の画素(例えば、複数の画素の最も中心または重心に近い画素等)に連続する第一近似条件を満たす画素の集合を、第一層の画素に決定するようにしてもよい。 In the above, the case where the first instruction is an instruction to specify one pixel has been described, but the first receiving unit 103 may receive an instruction to specify multiple adjacent pixels as the first instruction. In this case, the first layer determination unit 105 may use one of the multiple consecutive pixels specified by the first instruction (e.g., the pixel closest to the center or center of gravity of the multiple pixels) as the one pixel specified by the first instruction by the first layer determination unit 105 described later. In addition, the first layer determination unit 105 may use a representative value (e.g., average value or median value) of the pixel values of the multiple consecutive pixels specified as the pixel value of the pixel specified by the first instruction, and may determine a set of pixels that satisfy a first approximation condition and are consecutive to one of the multiple consecutive pixels specified by the first instruction (e.g., the pixel closest to the center or center of gravity of the multiple pixels) as the pixels of the first layer.

また、上記においては、第一近似条件の一例として、画素が、X-αからX+αまでの範囲内の画素値を有するという条件を説明したが、この条件の画素値の範囲の下限値を、X-α2(α2は、α以外の正の値)としてもよい。 In addition, in the above, as an example of the first approximation condition, a condition that a pixel has a pixel value within the range from X- α1 to X+ α1 has been described, but the lower limit value of the pixel value range of this condition may be X- α2 ( α2 is a positive value other than α1 ).

第二層決定部106は、第一層の画素の外側に隣接する連続した画素の集合を第二層の画素に決定する。第二層決定部106は、例えば、医用画像の、第一層の画素の外側に隣接する画素から、外側に向かって予め決められた画素数までの範囲内の画素の集合を、第二層の画素に決定する。第一層の画素の外側に隣接する画素は、第一層の外側の辺縁の画素に隣接する画素と考えてもよい。予め決められた画素数は、例えば、一般的な第二層の厚さ等に応じて決定された画素数である。例えば、予め決められた画素数は、1画素から5画素の間の画素数である。ただし、この画素数は、層状臓器の種類や、検出する第二層がどの層であるか等によって変更してもよい。予め決められた画素数は、第一層のサイズや、第一層の外側から第二指示により指定される輪郭までの距離に応じて決定するようにしてもよい。例えば、第一層の最も長い部分の画素数に、予め決められた1未満の正の値を有する予め決められた係数を乗算したり、予め決められた画素数を加算したりして得られた画素数であってもよい。また、第一層の外側から第二指示により指定される輪郭までの距離に対して一定の割合となる画素数や、予め決められた画素数を加算して得られた画素数であってもよい。また、第二層決定部106は、医用画像の解像度に応じて、例えば、解像度が高くなるほど、画素数が多くなるよう、上記の予め決められた画素数を決定してもよい。 The second layer determination unit 106 determines a set of consecutive pixels adjacent to the outside of the pixels of the first layer as the pixels of the second layer. For example, the second layer determination unit 106 determines a set of pixels within a range from the pixels adjacent to the outside of the pixels of the first layer of the medical image to a predetermined number of pixels toward the outside as the pixels of the second layer. The pixels adjacent to the outside of the pixels of the first layer may be considered as pixels adjacent to the pixels of the outer edge of the first layer. The predetermined number of pixels is, for example, a number of pixels determined according to the thickness of a general second layer. For example, the predetermined number of pixels is a number of pixels between 1 pixel and 5 pixels. However, this number of pixels may be changed depending on the type of layered organ, which layer is the second layer to be detected, etc. The predetermined number of pixels may be determined according to the size of the first layer or the distance from the outside of the first layer to the contour specified by the second instruction. For example, the number of pixels may be obtained by multiplying the number of pixels of the longest part of the first layer by a predetermined coefficient having a predetermined positive value less than 1, or by adding a predetermined number of pixels. Alternatively, the number of pixels may be a certain ratio of the distance from the outside of the first layer to the contour specified by the second instruction, or may be a number of pixels obtained by adding a predetermined number of pixels. The second layer determination unit 106 may also determine the above-mentioned predetermined number of pixels according to the resolution of the medical image, for example, so that the higher the resolution, the greater the number of pixels.

なお、ここでの第二層の画素の決定の仕方は一例であり、第二層の決定の仕方は、上記に限定されるものではない。例えば、第二層決定部106は、第一層の画素の外側に隣接する複数の画素に連続する画素であって、この外側に隣接する画素の画素値を基準として、予め決められた第一の値(ただし、第一の値は正の値である)を加算した画素値から、予め決められた第二の値(ただし、第二の値は正の値である)を減算した画素値までの範囲内の画素値を有する集合を第二層の画素に決定してもよい。 Note that the method of determining the pixels of the second layer here is just an example, and the method of determining the second layer is not limited to the above. For example, the second layer determination unit 106 may determine, as the pixels of the second layer, a set of pixels that are contiguous to a plurality of pixels adjacent to the outside of the pixels of the first layer, and have pixel values within a range from a pixel value obtained by adding a predetermined first value (where the first value is a positive value) to a pixel value obtained by subtracting a predetermined second value (where the second value is a positive value) using the pixel value of the adjacent pixel on the outside as a reference.

第三層決定部107は、第二層の画素の外側であって、第二指示により指定される輪郭内に位置している2以上の画素の画素値の代表値を取得する。ここでの第二層の画素の外側とは、例えば、第一層側とは反対側である。ここでの第二層の画素の外側の画素とは、例えば、第二層の画素よりも外側に位置する画素であり、第二層の画素以外の画素である。第二層の画素の外側の画素は、第一層の画素および第二層の画素のいずれとも重ならない画素と考えてもよい。第二指示により指定される輪郭内に位置している画素とは、第二指示により指定される輪郭の画素に対して内側に位置する画素である。ここでの内側は、例えば、第二層側である。ここでの輪郭内の画素は、輪郭の画素を含むと考えてもよく、含まないと考えてもよい。代表値は、例えば、2以上の画素の画素値を統計処理にすることにより得られる代表値である。代表値は、例えば、平均値や中央値である。 The third layer determination unit 107 obtains a representative value of pixel values of two or more pixels located outside the pixels of the second layer and within the contour specified by the second instruction. The outside of the pixels of the second layer here is, for example, the side opposite to the first layer side. The pixels outside the pixels of the second layer here are, for example, pixels located outside the pixels of the second layer and are pixels other than the pixels of the second layer. The pixels outside the pixels of the second layer may be considered to be pixels that do not overlap with either the pixels of the first layer or the pixels of the second layer. The pixels located within the contour specified by the second instruction are pixels located inside the pixels of the contour specified by the second instruction. The inside here is, for example, the second layer side. The pixels within the contour here may be considered to include or not include the pixels of the contour. The representative value is, for example, a representative value obtained by statistically processing the pixel values of two or more pixels. The representative value is, for example, an average value or a median value.

第三層決定部107は、例えば、第一層決定部105が決定した第一層の画素の代表点を決定し、代表点を中心として、第二指示により指定される輪郭よりも小さいサイズの、閉領域を有する図形の輪郭を決定し、輪郭上の2以上の画素について、画素値の代表値を取得する。図形の輪郭を決定するということは、図形の輪郭上の画素を決定することや、図形の輪郭を示す複数の座標を決定することと考えてもよい。 The third layer determination unit 107, for example, determines a representative point of the pixels of the first layer determined by the first layer determination unit 105, determines the contour of a figure having a closed area centered on the representative point and smaller in size than the contour specified by the second instruction, and obtains representative pixel values for two or more pixels on the contour. Determining the contour of a figure may be thought of as determining the pixels on the contour of the figure, or as determining multiple coordinates that indicate the contour of the figure.

例えば、第三層決定部107は、第一層決定部105が決定した第一層の画素の代表点として、第一層の複数の画素が配置されている領域の重心となる点を決定する。なお、ここでは、代表点として重心となる点を決定するが、代表点は、重心となる点以外の点であってもよい。例えば、代表点は、中心点であってもよく、重心から数ピクセルずれた位置であってもよく、第一層の複数の画素が配置されている領域の長径と短径とが交わる点等であってもよい。 For example, the third layer determination unit 107 determines a point that is the center of gravity of the area in which multiple pixels of the first layer are arranged as a representative point of the pixels of the first layer determined by the first layer determination unit 105. Note that, although the point that is the center of gravity is determined as the representative point here, the representative point may be a point other than the center of gravity. For example, the representative point may be the center point, a position shifted by several pixels from the center of gravity, or a point where the major axis and minor axis of the area in which multiple pixels of the first layer are arranged intersect.

第三層決定部107は、上記で決定した代表点を中心として、第二指示により指定される輪郭よりも小さいサイズの、閉領域を有する図形の輪郭を決定する。閉領域を有する図形とは、例えば、閉じた図形である。閉領域を有する図形は、第二指示により指定された輪郭を縮小した形状を有する図形であってもよく、第一層決定部105が決定した第一層の画素が位置する領域の外側の辺縁の形状や、第二層決定部106が決定した第二層の画素が位置する領域の外側の辺縁の形状を拡大した形状を有する図形であってもよい。また、閉領域を有する図形は、例えば、円であってもよい。 The third layer determination unit 107 determines the contour of a figure having a closed area, the size of which is smaller than the contour specified by the second instruction, with the representative point determined above as the center. A figure having a closed area is, for example, a closed figure. The figure having a closed area may be a figure having a shape obtained by reducing the contour specified by the second instruction, or may be a figure having a shape obtained by enlarging the shape of the outer edge of the area in which the pixels of the first layer determined by the first layer determination unit 105 are located, or the shape of the outer edge of the area in which the pixels of the second layer determined by the second layer determination unit 106 are located. In addition, the figure having a closed area may be, for example, a circle.

第二指示により指定される輪郭よりも小さいサイズの図形とは、第二指示により指定される輪郭の画素と重ならない(言い換えれば、重なる部分がない)図形である。例えば、第三層決定部107は、上記で決定した代表点と第二指示により指定される輪郭の各画素との距離を取得し、取得した距離を用いて、第二指示により指定される輪郭の画素と重ならない図形の輪郭を決定する。 A figure that is smaller than the contour specified by the second instruction is a figure that does not overlap with the pixels of the contour specified by the second instruction (in other words, has no overlapping parts). For example, the third layer determination unit 107 obtains the distance between the representative point determined above and each pixel of the contour specified by the second instruction, and uses the obtained distances to determine the contour of the figure that does not overlap with the pixels of the contour specified by the second instruction.

また、閉領域を有する図形が、第二指示により指定された輪郭を縮小した形状を有する図形である場合、第三層決定部107は、例えば、全体のサイズを、第二指示により指定された輪郭よりも小さくした図形、例えば、第二指示により指定された輪郭を、元のサイズの100%より小さい予め決められた倍率のサイズに縮小した輪郭を決定してもよい。 In addition, if the figure having a closed area is a figure having a shape obtained by reducing the contour specified by the second instruction, the third layer determination unit 107 may, for example, determine a figure whose overall size is smaller than the contour specified by the second instruction, for example, a contour obtained by reducing the contour specified by the second instruction to a size that is a predetermined factor that is smaller than 100% of the original size.

また、閉領域を有する図形が、第一層決定部105が決定した第一層の画素が位置する領域の外側の辺縁の形状を、上記で決定した代表点を中心として拡大した形状を有する図形である場合、第三層決定部107は、例えば、上記で決定した代表点と第二指示により指定される輪郭の各画素とを結ぶ方向における、第一層決定部105が決定した第一層の画素が位置する領域の外側の辺縁の画素と、第二指示により指定される輪郭の各画素との距離のうちの最も短い部分を検出し、拡大した図形における、この短い部分に対応する辺縁の画素と中心との距離が、この短い部分における上記で決定した代表点と第二指示により指定される輪郭の画素との距離よりも小さくなるようなサイズの図形の輪郭を設定するようにしてもよい。 In addition, if the figure having a closed region is a figure having a shape obtained by enlarging the shape of the outer edge of the region in which the pixels of the first layer determined by the first layer determination unit 105 are located, centered on the representative point determined above, the third layer determination unit 107 may, for example, detect the shortest part of the distance between the pixels of the outer edge of the region in which the pixels of the first layer determined by the first layer determination unit 105 are located and each pixel of the contour specified by the second instruction in the direction connecting the representative point determined above and each pixel of the contour specified by the second instruction, and set the contour of the figure of a size such that the distance between the pixel of the edge corresponding to this short part in the enlarged figure and the center is smaller than the distance between the representative point determined above and the pixel of the contour specified by the second instruction in this short part.

また、例えば、閉領域を有する図形が正円である場合、第三層決定部107は、半径が、上記で決定した代表点と第二指示により指定される輪郭の各画素との距離のうちの最も短い距離よりも短い正円の輪郭を決定してもよい。例えば、第三層決定部107は、上記で決定した代表点を中心とした正円であって、上記で決定した代表点と第二指示により指定される輪郭の各画素との距離のうちの最も短い距離のβ%(βは100未満の正の値)の半径を有する正円の輪郭を決定してもよい。βは、例えば、予め決められた値である。なお、βの値は、80%以下であることが好ましい。ただし、正円の半径は、上記の第二指示により指定される輪郭と代表点との距離のうちの、最も短い距離よりも短い半径であれば、どのように決定してもよい。例えば、最も短い距離よりも短い半径を任意に決定してもよい。例えば、βは予め決められた値である。 For example, when the figure having a closed region is a perfect circle, the third layer determination unit 107 may determine a perfect circle contour whose radius is shorter than the shortest distance between the representative point determined above and each pixel of the contour specified by the second instruction. For example, the third layer determination unit 107 may determine a perfect circle contour whose center is the representative point determined above and whose radius is β% (β is a positive value less than 100) of the shortest distance between the representative point determined above and each pixel of the contour specified by the second instruction. β is, for example, a predetermined value. Note that the value of β is preferably 80% or less. However, the radius of the perfect circle may be determined in any way as long as it is shorter than the shortest distance between the contour specified by the second instruction and the representative point. For example, a radius shorter than the shortest distance may be determined arbitrarily. For example, β is a predetermined value.

また、閉領域を有する図形が、第一層決定部105が決定した第一層の画素が位置する領域の外側の辺縁の形状を、上記で決定した代表点を中心として拡大した形状を有する図形である場合、第三層決定部107は、例えば、上記で決定した代表点と第二指示により指定される輪郭の各画素とを結ぶ方向における、第一層決定部105が決定した第一層の画素が位置する領域の外側の辺縁の画素と、第二指示により指定される輪郭の各画素との距離のうちの最も短い部分を検出し、拡大した図形における、この短い部分に対応する辺縁の画素と中心との距離が、この短い部分における上記で決定した代表点と第二指示により指定される輪郭の画素との距離よりも小さくなるようなサイズの図形の輪郭を設定するようにしてもよい。かかることは、第二層決定部106が決定した第二層の画像が位置する領域の外側の辺縁の形状を有する図形の輪郭を決定する場合においても同様である。 In addition, when the figure having a closed region is a figure having a shape obtained by enlarging the shape of the outer edge of the region in which the pixels of the first layer determined by the first layer determination unit 105 are located, centered on the representative point determined above, the third layer determination unit 107 may, for example, detect the shortest part of the distance between the pixels of the outer edge of the region in which the pixels of the first layer determined by the first layer determination unit 105 are located and each pixel of the edge specified by the second instruction in the direction connecting the representative point determined above and each pixel of the edge specified by the second instruction, and set the edge of the figure of a size such that the distance between the pixel of the edge corresponding to this short part and the center of the enlarged figure is smaller than the distance between the representative point determined above and the pixel of the edge specified by the second instruction in this short part. The same applies when determining the edge of a figure having the shape of the outer edge of the region in which the image of the second layer determined by the second layer determination unit 106 is located.

なお、第三層決定部107は、第二指示により指定される輪郭よりも小さく、かつ第二層の外周縁よりも大きいサイズの、閉領域を有する図形の輪郭を決定することが好ましい。例えば、閉領域を有する図形が、第二指示により指定された輪郭を上記で決定した代表点を中心として縮小した形状を有する図形である場合、第三層決定部107は、例えば、上記で決定した代表点と第二指示により指定される輪郭の各画素とを結ぶ方向における、第二層決定部105が決定した第二層の画素が位置する領域の外側の辺縁の画素と、第二指示により指定される輪郭の各画素との距離のうちの最も短い部分を検出し、縮小した図形における、この短い部分に対応する辺縁の画素と中心との距離が、この短い部分における上記で決定した代表点と第二指示により指定される輪郭の画素との距離よりも小さく、かつこの短い部分における上記で決定した代表点と第二層決定部が決定した第二層の画素が位置する領域の外側の辺縁の画素との距離よりも大きくなるようなサイズの図形の輪郭を設定するようにしてもよい。例えば、上記で検出された最も短い部分における代表点と第二指示により指定される輪郭の画素との距離をA、上記で検出された最も短い部分における代表点と第二層決定部105が決定した第二層の画素が位置する領域の外側の辺縁の画素との距離をAとした場合、第三層決定部107は、第二指示により指定された輪郭を、上記で決定した代表点を中心として元のサイズのx%(ただし、100>x>A/A×100とする)に縮小した輪郭を設定してもよい。 It is preferable that the third layer determination unit 107 determines the contour of a figure having a closed region, the size of which is smaller than the contour specified by the second instruction and larger than the outer periphery of the second layer. For example, when the figure having a closed region is a figure having a shape obtained by reducing the contour specified by the second instruction with the representative point determined above as the center, the third layer determination unit 107 may, for example, detect the shortest part of the distance between the pixels of the outer edge of the region in which the pixels of the second layer determined by the second layer determination unit 105 are located and each pixel of the contour specified by the second instruction in the direction connecting the representative point determined above and each pixel of the contour specified by the second instruction, and set the contour of the figure of a size such that the distance between the pixel of the edge corresponding to this short part and the center of the reduced figure is smaller than the distance between the representative point determined above in this short part and the pixel of the contour specified by the second instruction, and is larger than the distance between the representative point determined above in this short part and the pixel of the outer edge of the region in which the pixels of the second layer determined by the second layer determination unit are located. For example, if the distance between the representative point in the shortest part detected above and the pixel of the contour specified by the second instruction is A1 , and the distance between the representative point in the shortest part detected above and the pixel on the outer edge of the area in which the second layer pixels determined by the second layer determination unit 105 are located is A2 , the third layer determination unit 107 may set a contour that is reduced from the contour specified by the second instruction to x1 % of the original size (where 100>x> A2 / A1 ×100) and centered on the representative point determined above.

また、閉領域を有する図形が、第二層決定部106が決定した第二層の画素が位置する領域の外側の辺縁の形状を、上記で決定した代表点を中心として100%より高い倍率で拡大した形状を有する図形である場合、第三層決定部107は、例えば、上記で決定した代表点と第二指示により指定される輪郭の各画素とを結ぶ方向における、第二層決定部106が決定した第二層の画素が位置する領域の外側の辺縁の画素と、第二指示により指定される輪郭の各画素との距離のうちの最も短い部分を検出し、拡大した図形における、この短い部分に対応する辺縁の画素と中心との距離が、この短い部分における上記で決定した代表点と第二指示により指定される輪郭の画素との距離よりも小さくなるようなサイズの図形の輪郭を設定するようにしてもよい。例えば、上記で検出された最も短い部分における代表点と第二指示により指定される輪郭の画素との距離をA、上記で検出された最も短い部分における代表点と第二層決定部105が決定した第二層の画素が位置する領域の外側の辺縁の画素との距離をAとした場合、第三層決定部107は、第二層決定部106が決定した第二層の画素が位置する領域の外側の辺縁の形状を、上記で決定した代表点を中心として元のサイズのx%(ただし、100<x<A/A×100とする)に縮小した輪郭を設定してもよい。 Furthermore, in the case where the figure having a closed region is a figure having a shape obtained by enlarging the shape of the outer edge of the region in which the pixels of the second layer determined by the second layer determination unit 106 are located by a magnification greater than 100%, centered on the representative point determined above, the third layer determination unit 107 may, for example, detect the shortest part of the distance between the pixels of the outer edge of the region in which the pixels of the second layer determined by the second layer determination unit 106 are located and each pixel of the contour specified by the second instruction, in the direction connecting the representative point determined above and each pixel of the contour specified by the second instruction, and set the contour of the figure of a size such that the distance between the pixel of the edge corresponding to this short part in the enlarged figure and the center is smaller than the distance between the representative point determined above and the pixel of the contour specified by the second instruction in this short part. For example, if the distance between the representative point in the shortest part detected above and the pixel of the contour specified by the second instruction is A1 , and the distance between the representative point in the shortest part detected above and the pixel of the outer edge of the area in which the pixels of the second layer determined by the second layer determination unit 105 are located is A2 , the third layer determination unit 107 may set a contour that is reduced to x2 % (where 100< x2 < A1 / A2 ×100) of the original size, with the representative point determined above as the center, as the shape of the outer edge of the area in which the pixels of the second layer determined by the second layer determination unit 106 are located.

また、例えば、閉領域を有する図形が、正円である場合、第三層決定部107は、第二層決定部106が決定した第二層の画素の外側の辺縁の各画素と、上記で決定した代表点との距離を取得し、取得した距離のうちの最も短いものよりも長い半径を有する正円であって、上記で決定した代表点と第二指示により指定される輪郭の各画素との距離のうちの最も短い距離よりも短い半径を有する正円の図形の輪郭を決定するようにしてもよい。第三層決定部107が、このような半径をどのように決定するかは問わない。例えば、第三層決定部107は、第二層の画素の外側の辺縁の各画素と代表点との距離のうちの最も短い距離より長く、代表点と第二指示により指定される輪郭の各画素との距離のうちの最も短い距離よりも短い距離の範囲内の任意の距離や、この2つの距離の平均の距離等を、正円の半径に決定してもよい。 For example, if the figure having a closed region is a perfect circle, the third layer determination unit 107 may obtain the distance between each pixel on the outer edge of the pixels of the second layer determined by the second layer determination unit 106 and the representative point determined above, and determine the contour of the perfect circle having a radius longer than the shortest of the obtained distances and shorter than the shortest distance between the representative point determined above and each pixel of the contour specified by the second instruction. There is no restriction on how the third layer determination unit 107 determines such a radius. For example, the third layer determination unit 107 may determine the radius of the perfect circle to be any distance within a range longer than the shortest distance between each pixel on the outer edge of the pixels of the second layer and the representative point and shorter than the shortest distance between the representative point and each pixel of the contour specified by the second instruction, or the average distance of these two distances.

なお、どのようにして、第三層決定部107が、第二指示により指定される輪郭よりも小さく、かつ第二層の外周縁よりも大きいサイズの、閉領域を有する図形の輪郭を決定するかは、上記の処理に限定されるものではなく、例えば、第二指示により指定された輪郭を、順次縮小させて、第二層決定部106が決定した第二層の画素が位置する領域と重ならないサイズの輪郭を決定してもよく、第二層決定部106が決定した第二層の画素が位置する領域の外側の辺縁の形状を、順次拡大させて、第二層決定部106が決定した第二層の画素が位置する領域と同じ形状を有する、第二指示により指定される輪郭よりも小さいサイズの輪郭を決定してもよい。 How the third layer determination unit 107 determines the contour of a figure having a closed area that is smaller than the contour specified by the second instruction and larger than the outer periphery of the second layer is not limited to the above process. For example, the contour specified by the second instruction may be successively reduced to determine a contour of a size that does not overlap with the area in which the pixels of the second layer determined by the second layer determination unit 106 are located, or the shape of the outer edge of the area in which the pixels of the second layer determined by the second layer determination unit 106 are located may be successively enlarged to determine a contour of a size smaller than the contour specified by the second instruction that has the same shape as the area in which the pixels of the second layer determined by the second layer determination unit 106 are located.

ここで、層状臓器が子宮であり、第一層が子宮内膜であり、第三層が子宮筋層である場合、上記の第二指示により指定された輪郭を、上記で決定した代表点を中心として、30%以上80%以下のサイズ、好ましくは、65%以上75%以下のサイズ、より好ましくは、68%から72%のサイズに縮小した輪郭を決定することで、第二指示により指定される輪郭よりも小さく、かつ第二層の外周縁よりも大きいサイズの、第二指示により指定された輪郭に相似した形状の輪郭が設定される可能性が非常に高いという知見が、本願発明者の鋭意研究の結果と得られている。このため、閉領域を有する図形として、第二指示により指定された輪郭と同じ形状を有する輪郭(言い換えれば、相似する形状を有する輪郭)を決定する場合には、第二指示により指定された輪郭を上記で決定した代表点を中心として、30%以上80%以下のサイズ、好ましくは、65%以上75%以下のサイズ、より好ましくは、68%から72%のサイズに縮小するようにしてもよい。 Here, when the layered organ is the uterus, the first layer is the endometrium, and the third layer is the myometrium, the inventors of the present application have found, as a result of their intensive research, that by determining a contour that is reduced from the contour specified by the second instruction to 30% to 80%, preferably 65% to 75%, and more preferably 68% to 72%, centered on the representative point determined above, it is highly likely that a contour that is smaller than the contour specified by the second instruction and larger than the outer periphery of the second layer and has a shape similar to the contour specified by the second instruction will be set. For this reason, when determining a contour that has the same shape as the contour specified by the second instruction (in other words, a contour that has a similar shape) as a figure having a closed area, the contour specified by the second instruction may be reduced from the representative point determined above to 30% to 80%, preferably 65% to 75%, and more preferably 68% to 72%.

第三層決定部107は、例えば、上記のように決定した図形の輪郭上の1または2以上の画素について、画素値の代表値を取得する。第三層決定部107が取得する代表値は、例えば、複数の画素の画素値を統計処理して得られる、複数の画素を代表する値である。代表値は、例えば、複数の画素の画素値の平均値や、中央値である。以下においては、代表値として、取得して平均値を取得する場合を例に挙げて説明する。 The third layer determination unit 107, for example, obtains a representative value of pixel values for one or more pixels on the contour of the figure determined as described above. The representative value obtained by the third layer determination unit 107 is, for example, a value that represents multiple pixels, obtained by statistically processing the pixel values of multiple pixels. The representative value is, for example, the average value or median value of the pixel values of multiple pixels. In the following, an example will be described in which the representative value is obtained and the average value is obtained.

例えば、第三層決定部107は、上記で決定した図形の輪郭上の複数の画素のうちの、画素値の高い1または2以上の画素と、画素値の低い1または2以上の画素を除いた画素について、画素値の代表値を取得することが好ましい。ここでの輪郭上の複数の画素は、通常、輪郭上の全ての画素であるが、一部を除外した複数の画素であってもよい。第三層決定部107は、好ましくは、輪郭上の複数の画素のうちの、画素値の昇順に設定した順位が、画素全体の30%に相当する順位から70%に相当する順位までの間の順位となる複数の画素について、代表値を取得することが好ましい。上記のように画素値が高い画素や、低い画素は、第三層に含まれるartfact(人工物)や、血管構造等に由来する画素である可能性があるため、上記のように、画素値の高い1または2以上の画素と、画素値の低い1または2以上の画素を除外して代表値を取得することにより、第三層に含まれるartfact(人工物)や、血管構造等が、第三層の検出に与える影響を除外する。なお、ここでは、画素値の昇順に設定した順位が、画素全体の30%に相当する順位から70%に相当する順位までの間の順位となる複数の画素について代表値を取得するようにしたが、代表値を取得する対象となる画素の順位は、画素全体の30%に相当する順位から70%に相当する順位までの間の順位に限定されるものではなく、例えば、画素全体の25%に相当する順位から80%に相当する順位までの間の順位となる複数の画素について代表値を取得するようにしてもよい。なお、本願発明者らが鋭意研究した結果得られた知見によれば、層状臓器が子宮であり、第三層が子宮筋層である場合、上記のように30%から70%の間の順位の画素について代表値を取得することが、第三層の画素以外の画素を検出しないうえで好ましい。 For example, the third layer determination unit 107 preferably obtains a representative value of pixel values for pixels on the contour of the figure determined above, excluding one or more pixels with high pixel values and one or more pixels with low pixel values. The plurality of pixels on the contour here is usually all pixels on the contour, but may be a plurality of pixels excluding a portion. The third layer determination unit 107 preferably obtains a representative value for a plurality of pixels on the contour whose ranks, set in ascending order of pixel values, are between 30% and 70% of the total pixels. As described above, pixels with high and low pixel values may be pixels derived from artifacts (artificial objects) or vascular structures included in the third layer, so that the influence of artifacts (artificial objects) or vascular structures included in the third layer on the detection of the third layer is excluded by obtaining a representative value excluding one or more pixels with high pixel values and one or more pixels with low pixel values as described above. Here, the representative values are obtained for a plurality of pixels whose ranks in ascending order of pixel values are between 30% and 70% of the total pixels, but the ranks of the pixels from which the representative values are obtained are not limited to between 30% and 70% of the total pixels, and for example, the representative values may be obtained for a plurality of pixels whose ranks are between 25% and 80% of the total pixels. According to findings obtained as a result of intensive research by the inventors of the present application, when the layered organ is the uterus and the third layer is the uterine muscle layer, it is preferable to obtain the representative values for the pixels whose ranks are between 30% and 70% as described above in order not to detect pixels other than those in the third layer.

なお、第三層決定部107は、例えば、上記のように決定した図形の輪郭上の1または2以上の画素だけでなく、これらに隣接する輪郭上以外の1または2以上の画素も含めた画素について、画素値の代表値を取得するようにしてもよい。また、図形の輪郭上の複数の画素について、上記のように、画素値の高い1または2以上の画素と、画素値の低い1または2以上の画素を除外することなく、画素値の代表値を取得するようにしてもよい。 The third layer determination unit 107 may obtain a representative value of pixel values for not only one or more pixels on the contour of the figure determined as described above, but also one or more pixels adjacent to these pixels that are not on the contour. Also, for multiple pixels on the contour of the figure, a representative value of pixel values may be obtained without excluding one or more pixels with high pixel values and one or more pixels with low pixel values as described above.

なお、第三層決定部107が、第二層の画素の外側であって、第二指示により指定される輪郭内に位置している2以上の画素を検出する処理や、これについて代表値を取得する処理等は、上記の処理に限定されない。 Note that the process in which the third layer determination unit 107 detects two or more pixels that are located outside the pixels of the second layer and within the contour specified by the second instruction, and the process in which the third layer determination unit 107 obtains a representative value for these pixels, etc., are not limited to the above process.

第三層決定部107は、上記のように取得される代表値に対して第二近似条件を満たす画素値を有しており、第一層決定部105が決定した第一層の画素および第二層決定部106が決定した第二層の画素以外の、第二指示により指定される輪郭の内側に位置している画素の集合を、第三層の画素に決定する。第一層決定部105が決定した第一層の画素および第二層決定部106が決定した第二層の画素以外の画素は、第二層決定部106が決定した第二層の画素よりも外側に位置する画素と考えてもよい。 The third layer determination unit 107 determines, as pixels of the third layer, a set of pixels that have pixel values that satisfy the second approximation condition for the representative values obtained as described above, and that are located inside the contour specified by the second instruction, other than the pixels of the first layer determined by the first layer determination unit 105 and the pixels of the second layer determined by the second layer determination unit 106. Pixels other than the pixels of the first layer determined by the first layer determination unit 105 and the pixels of the second layer determined by the second layer determination unit 106 may be considered to be pixels that are located outside the pixels of the second layer determined by the second layer determination unit 106.

第二近似条件は、例えば、上記のように取得される代表値に近似する画素値を有する画素を、第三層の画素として検出するための条件である。第二近似条件は、例えば、第三層の画素として検出する画素の画素値の範囲を示す条件である。第二近似条件は、例えば、上記のように取得される代表値を含む所望の範囲内の画素値を有する画素を、第三層の画素値として検出するための条件である。第二近似条件は、例えば、上記のように取得される代表値を含む画素値の範囲を示す条件であり、この範囲内の画素値を有する画素が、条件を満たす画素と判断される。画素値の範囲は、例えば、画素値の上限値と下限値とで表される。第二近似条件は、例えば、上記のように取得される代表値を基準として設定される。 The second approximation condition is, for example, a condition for detecting a pixel having a pixel value that is close to the representative value obtained as described above as a pixel of the third layer. The second approximation condition is, for example, a condition indicating the range of pixel values of pixels to be detected as pixels of the third layer. The second approximation condition is, for example, a condition for detecting a pixel having a pixel value within a desired range including the representative value obtained as described above as a pixel value of the third layer. The second approximation condition is, for example, a condition indicating the range of pixel values including the representative value obtained as described above, and a pixel having a pixel value within this range is determined to be a pixel that satisfies the condition. The range of pixel values is, for example, represented by an upper limit value and a lower limit value of the pixel value. The second approximation condition is, for example, set based on the representative value obtained as described above.

第二近似条件は、例えば、上記のように取得される代表値をYとした場合において、画素の画素値が、Y-γからY+γまでの範囲内であるという条件である。ここでのγは、第三層の画素である可能性が高い画素値の範囲を示すための、輪郭上の2以上の画素の画素値を用いて取得された正の値である。この第二近似条件においては、代表値Yを、第三層決定部107が決定した図形の輪郭情報の1または2以上の画素の画素値の平均値とし、γを、この代表値を取得するために用いる第三層決定部107が決定した図形の輪郭情報の1または2以上の画素の画素値を用いて取得される標準偏差(σ)の2倍の値(2σ)であることが好ましい。例えば、第三層決定部107は、輪郭上の複数の画素のうちの、画素値の昇順に設定した順位が、画素全体の30%に相当する順位から70%に相当する順位までの間の順位となる複数の画素について、代表値Yとして用いられる平均値を取得した場合、この平均値を取得するために用いた複数の画素の画素値を用いて、γとして用いられる標準偏差を取得し、取得した平均値と標準偏差の2倍の値(2σ)とを用いた第二近似条件を取得する。このような平均値と標準偏差の2倍の値(2σ)を用いた第二近似条件を用いることで、精度良く、第三層の画素を検出することが可能となる。 The second approximation condition is, for example, a condition that when the representative value obtained as described above is Y, the pixel value of the pixel is within the range of Y-γ to Y+γ. Here, γ is a positive value obtained using the pixel values of two or more pixels on the contour to indicate the range of pixel values that are likely to be pixels of the third layer. In this second approximation condition, it is preferable that the representative value Y is the average value of the pixel values of one or more pixels of the contour information of the figure determined by the third layer determination unit 107, and γ is twice the standard deviation (σ) (2σ) obtained using the pixel values of one or more pixels of the contour information of the figure determined by the third layer determination unit 107 used to obtain this representative value. For example, when the third layer determination unit 107 obtains an average value to be used as the representative value Y for a plurality of pixels on the contour whose ranks, set in ascending order of pixel values, fall between 30% and 70% of all pixels, the third layer determination unit 107 obtains a standard deviation to be used as γ using the pixel values of the plurality of pixels used to obtain this average value, and obtains a second approximation condition using the obtained average value and twice the value of the standard deviation (2σ). By using such a second approximation condition using the average value and twice the value of the standard deviation (2σ), it becomes possible to detect pixels in the third layer with high accuracy.

なお、γの値は、標準偏差に限定されるものではない。例えば、γの値として、標準偏差の2倍の値(2σ)から予め決められた値を減算した値や加算した値を用いてもよく、標準偏差(σ)を用いてもよい。 The value of γ is not limited to the standard deviation. For example, the value of γ may be a value obtained by subtracting or adding a predetermined value from twice the standard deviation (2σ), or the standard deviation (σ) may be used.

また、Yの値として用いられる代表値は、平均値に限定されるものではなく、平均値に、予め決められた値を加減算した値であってもよい。 In addition, the representative value used as the Y value is not limited to the average value, but may be a value obtained by adding or subtracting a predetermined value to or from the average value.

第三層決定部107は、例えば、上記のように取得した代表値に対して第二近似条件を満たす画素値を有しており、第一層決定部105が決定した第一層の画素および第二層決定部106が決定した第二層の画素以外の、第二指示により指定される輪郭の内側に位置している画素であって、第三層決定部107が上記で決定した図形の輪郭上の画素のうちの、第二近似条件を満たす画素値を有する1または2以上の画素にそれぞれ連続する画素の集合を、第三層の画素に決定する。例えば、第三層決定部107は、上記の図形の輪郭上の画素のうちの、第二近似条件を満たす画素値を有する複数の画素を起点として、これらの画素に連続する画素であって、第二近似条件を満たす画素値を有する画素の集合を検出し、検出した画素の集合から、第二層決定部106が決定した第二層の画素、および第二指示により指定される輪郭よりも外側に位置している画素を除外して残った画素の集合を、第三層の画素として決定する。また、第三層決定部107は、例えば、第二層決定部106の画素よりも外側であって、第二指示により指定される輪郭の内側となる領域において、第三層決定部107が上記で決定した図形の輪郭上の画素のうちの、第二近似条件を満たす画素値を有する複数の画素をそれぞれ起点として、これらの画素に連続する画素であって、第二近似条件を満たす画素値を有する画素の集合を検出し、画素の集合を検出し、検出した画素の集合を、第三層の画素に決定してもよい。なお、第二指示により指定される輪郭上の画素は、第二指示により指定される輪郭内の画素と考えてもよく、第二指示により指定される輪郭よりも外側の画素と考えてもよい。 The third layer determination unit 107, for example, determines a set of pixels that have pixel values that satisfy the second approximation condition for the representative value acquired as described above, that are located inside the contour specified by the second instruction, other than the pixels of the first layer determined by the first layer determination unit 105 and the pixels of the second layer determined by the second layer determination unit 106, and that are continuous with one or more pixels having pixel values that satisfy the second approximation condition among the pixels on the contour of the figure determined by the third layer determination unit 107 as described above, as the pixels of the third layer. For example, the third layer determination unit 107 detects a set of pixels that are continuous with a plurality of pixels having pixel values that satisfy the second approximation condition among the pixels on the contour of the figure and have pixel values that satisfy the second approximation condition, and determines the set of pixels remaining after excluding the pixels of the second layer determined by the second layer determination unit 106 and the pixels located outside the contour specified by the second instruction from the detected set of pixels as the pixels of the third layer. Furthermore, the third layer determination unit 107 may, for example, in an area outside the pixels of the second layer determination unit 106 and inside the contour specified by the second instruction, detect a set of pixels that are contiguous to a plurality of pixels having pixel values that satisfy the second approximation condition among the pixels on the contour of the figure determined by the third layer determination unit 107 as starting points and have pixel values that satisfy the second approximation condition, detect the pixel set, and determine the detected pixel set as the pixel of the third layer. Note that the pixels on the contour specified by the second instruction may be considered to be pixels inside the contour specified by the second instruction, or may be considered to be pixels outside the contour specified by the second instruction.

出力部108は、第三層決定部107が決定した第三層の画素を示す情報を出力する。例えば、出力部108は、第三層の画素の識別子や座標の集合を出力する。また、出力部108は、例えば、第三層の画素が位置する輪郭を示す情報(例えば、輪郭の画素を示す情報や、輪郭の座標の集合や、輪郭を描くベクトルデータ等で構成される閉じた図形等)を出力する。ここでの座標は、例えば、第三の画素を決定した医療画像内の座標である。 The output unit 108 outputs information indicating the pixels of the third layer determined by the third layer determination unit 107. For example, the output unit 108 outputs an identifier or a set of coordinates of the pixels of the third layer. The output unit 108 also outputs, for example, information indicating the contour on which the pixels of the third layer are located (for example, information indicating the pixels of the contour, a set of coordinates of the contour, a closed figure constituted by vector data that draws the contour, etc.). The coordinates here are, for example, the coordinates in the medical image in which the third pixel was determined.

出力部108は、例えば、第三層決定部107が決定した第三層の画素を示す情報を、第三の画素を検出した医用画像と対応づけて出力する。例えば、出力部108は、医用画像であって、この医用画像について取得された第三の画素を示す情報を有する医用画像(例えば、第三の画素を示す情報を有するチャンネルやレイヤー等の情報を有する医用情報)を出力する。また、出力部108は、第三の画素を示す情報と、第三の画素を検出した医用画像またはその識別子とを対応づけて有する情報を出力してもよい。 The output unit 108 outputs, for example, information indicating the pixel of the third layer determined by the third layer determination unit 107 in association with the medical image in which the third pixel was detected. For example, the output unit 108 outputs a medical image having information indicating the third pixel acquired for the medical image (for example, medical information having information such as a channel or layer having information indicating the third pixel). The output unit 108 may also output information having information indicating the third pixel in association with the medical image in which the third pixel was detected or an identifier thereof.

出力部108は、第三層の画素を示す情報の出力として、例えば、第三層決定部107が決定した第三層の画素を、視覚的に判別可能な態様で出力するようにしてもよい。視覚的に判別可能な態様で出力する、ということは、例えば、第三層の画素を含む画像を表示した場合に、第三層の画素が、第三層以外の画素に対して視覚的に判別可能な態様となるような情報を出力することである。視覚的に区別可能な態様で表示するということは、例えば、第三層の画素に、特定の色や、特定の図柄や模様等を重ねて表示することや、第三層の画素を特定の色で表示することであってもよく、第三層の画素が配置された領域を、特定の色の線や、点線等で囲って表示することであってもよい。 The output unit 108 may output, for example, the pixels of the third layer determined by the third layer determination unit 107 in a visually distinguishable manner as the output of information indicating the pixels of the third layer. Outputting in a visually distinguishable manner means, for example, outputting information such that, when an image including pixels of the third layer is displayed, the pixels of the third layer are visually distinguishable from pixels other than the third layer. Displaying in a visually distinguishable manner may, for example, be superimposing a specific color, a specific design, a pattern, or the like on the pixels of the third layer, displaying the pixels of the third layer in a specific color, or displaying the area in which the pixels of the third layer are arranged by surrounding it with a line of a specific color, a dotted line, or the like.

出力部108は、例えば、第三層決定部107により決定された第三層の画素が視覚的に判別可能な態様となるようにした医用画像を出力する。また、第三層決定部107により決定された医療画像に、このような第三層の画素を視覚的に区別するために利用される情報を、医療画像と対応づけて出力することであってもよい。 The output unit 108 outputs, for example, a medical image in which the pixels of the third layer determined by the third layer determination unit 107 are visually distinguishable. In addition, information used to visually distinguish such pixels of the third layer may be output in association with the medical image determined by the third layer determination unit 107.

なお、例えば、上記のように出力部108が、医用画像と対応づけて第三の画素の識別子等の情報や輪郭等の情報を、層状臓器領域特定装置1以外の装置に出力するようにし、この情報を受け付けた装置等が、これらの情報を用いて、第三の画素を識別可能な態様とした医用画像を出力(例えば、表示)してもよい。 For example, as described above, the output unit 108 may output information such as the identifier of the third pixel and information such as the contour in association with the medical image to a device other than the layered organ region identification device 1, and the device receiving this information may use this information to output (e.g., display) a medical image in which the third pixel is identifiable.

なお、画像と、画像内の画素を示す情報や、輪郭を示す情報とを用いて、特定の画素や特定の画素が配置された領域を視覚的に判別可能な態様で出力する処理は公知技術であるため、ここでは詳細な説明を省略する。 Note that the process of outputting specific pixels or the area in which specific pixels are located in a visually identifiable manner using an image, information indicating the pixels in the image, and information indicating the contours is a well-known technique, so a detailed explanation will be omitted here.

出力部108は、第三層決定部107が決定した第三層の画素を示す情報と同様に、第一層決定部105が決定した第一層の画素を示す情報、および第二層決定部106が決定した第二層の画素を示す情報の少なくとも一方を出力してもよい。第一層の画素を示す情報の出力は、画素が、第一層の画素に代わる点を除けば、第三層の画素を示す情報の出力と同様であるため、詳細な説明は省略する。例えば、出力部108は、第一層の画素を示す情報の出力として、第三層の画素と同様に、第一層決定部105が決定した第一層の画素を、視覚的に判別可能な態様で出力するようにしてもよい。また、第二層の画素を示す情報の出力は、画素が、第二層の画素に代わる点を除けば、第三層の画素を示す情報の出力と同様であるため、詳細な説明は省略する。例えば、出力部108は、第二層の画素を示す情報の出力として、第三層の画素と同様に、第二層決定部106が決定した第二層の画素を、視覚的に判別可能な態様で出力するようにしてもよい。 The output unit 108 may output at least one of information indicating the pixels of the first layer determined by the first layer determination unit 105 and information indicating the pixels of the second layer determined by the second layer determination unit 106, similar to the information indicating the pixels of the third layer determined by the third layer determination unit 107. The output of the information indicating the pixels of the first layer is similar to the output of the information indicating the pixels of the third layer, except that the pixels are replaced by the pixels of the first layer, and therefore a detailed description is omitted. For example, the output unit 108 may output the pixels of the first layer determined by the first layer determination unit 105 in a visually distinguishable manner, similar to the pixels of the third layer, as the output of the information indicating the pixels of the first layer. Furthermore, the output of the information indicating the pixels of the second layer is similar to the output of the information indicating the pixels of the third layer, except that the pixels are replaced by the pixels of the second layer, and therefore a detailed description is omitted. For example, the output unit 108 may output the pixels of the second layer determined by the second layer determination unit 106 in a visually distinguishable manner, similar to the pixels of the third layer, as the output of the information indicating the pixels of the second layer.

なお、ここでの出力は、例えば、モニタ等への画像や情報の表示、プロジェクターを用いた画像や情報の投影、プリンタによる印刷、記録媒体(図示せず)への蓄積、画像や情報の表示や蓄積等が可能な外部の装置への送信、他の処理装置や他のプログラムなどへの処理結果の引渡しなどを含む概念である Note that output here includes, for example, the display of images or information on a monitor, the projection of images or information using a projector, printing with a printer, storing on a recording medium (not shown), sending to an external device capable of displaying or storing images or information, and passing on the processing results to another processing device or another program.

出力部108は、モニタ等の出力デバイスを含むと考えても含まないと考えてもよい。出力部108は、出力デバイスのドライバーソフトまたは、出力デバイスのドライバーソフトと出力デバイス等で実現され得る。 The output unit 108 may or may not include an output device such as a monitor. The output unit 108 may be realized by driver software for an output device, or by a combination of driver software for an output device and an output device, etc.

次に、層状臓器領域特定装置1の動作の一例について図2のフローチャートを用いて説明する。 Next, an example of the operation of the layered organ region identification device 1 will be described using the flowchart in Figure 2.

(ステップS101)医用画像表示部101は、医用画像格納部102に格納されている一の医用画像を表示するか判断する。例えば、表示指示受付部(図示せず)が、医用画像格納部102に格納されている医用画像の一つを表示する指示を受け付けた場合に、医用画像表示部101は、この指示により指定された一の医用画像を表示することを決定する。医用画像を表示する場合、ステップS102に進み、表示しない場合、ステップS101に戻る。なお、例えば、医用画像格納部102に一の医用画像が蓄積された場合に、医用画像表示部101は、この一の医用画像を表示することを決定してもよい。 (Step S101) The medical image display unit 101 determines whether to display a medical image stored in the medical image storage unit 102. For example, when a display instruction receiving unit (not shown) receives an instruction to display one of the medical images stored in the medical image storage unit 102, the medical image display unit 101 decides to display the medical image specified by this instruction. If the medical image is to be displayed, proceed to step S102; if not, return to step S101. Note that, for example, when a medical image is accumulated in the medical image storage unit 102, the medical image display unit 101 may decide to display this medical image.

(ステップS102)医用画像表示部101は、医用画像格納部102に格納されている医用画像をモニタ(図示せず)等に表示する。例えば、ステップS101において表示すると判断された医用画像を表示する。 (Step S102) The medical image display unit 101 displays the medical images stored in the medical image storage unit 102 on a monitor (not shown) or the like. For example, it displays the medical images determined to be displayed in step S101.

(ステップS103)第一受付部103は、ステップS102で表示する医用画像に対して第一指示を受け付けたか判断する。受け付けた場合、ステップS104に進み、受け付けていない場合、ステップS103に戻る。指定された画素を示す情報は、例えば、格納部(図示せず)等に蓄積する。なお、医用画像表示部101は、第一指示が示す画素を示す点等を、医用画像と重ねて表示するようにしてもよい。 (Step S103) The first reception unit 103 determines whether a first instruction has been received for the medical image displayed in step S102. If so, proceed to step S104; if not, return to step S103. Information indicating the specified pixel is stored, for example, in a storage unit (not shown). Note that the medical image display unit 101 may display a dot indicating the pixel indicated by the first instruction superimposed on the medical image.

(ステップS104)第二受付部104は、ステップS102で表示する医用画像に対して第二指示を受け付けたか判断する。受け付けた場合、ステップS105に進み、受け付けていない場合、ステップS104に戻る。指定された輪郭を示す情報(例えば、輪郭上の画素の情報等)は、格納部(図示せず)等に蓄積する。なお、医用画像表示部101は、第二指示が指定する輪郭を示す線等を、医用画像と重ねて表示するようにしてもよい。 (Step S104) The second reception unit 104 determines whether a second instruction has been received for the medical image displayed in step S102. If so, proceed to step S105; if not, return to step S104. Information indicating the specified contour (e.g., information about pixels on the contour, etc.) is accumulated in a storage unit (not shown) or the like. Note that the medical image display unit 101 may display a line or the like indicating the contour specified by the second instruction superimposed on the medical image.

(ステップS105)第一層決定部105は、第一近似条件を取得するための、X-αからX+αまでの画素値の範囲を示す条件を読み出し、αの値として、初期値αを代入する。 (Step S105) The first layer determination unit 105 reads out a condition indicating the range of pixel values from X-α to X+α for acquiring a first approximation condition, and substitutes the initial value α 0 as the value of α.

(ステップS106)第一層決定部105は、ステップS103で受け付けた第一指示が示す画素に連続する画素であって、X-αからX+αまでの範囲内の画素値を有する画素を検出する。 (Step S106) The first layer determination unit 105 detects pixels adjacent to the pixel indicated by the first instruction received in step S103 and having pixel values within the range from X-α to X+α.

(ステップS107)第一層決定部105は、ステップS106で検出した画素の一部が、ステップS104で受け付けた第二指示が指定する輪郭と重なるか判断し、重なる場合、ステップS108に進み、重ならない場合、ステップS109に進む。 (Step S107) The first layer determination unit 105 determines whether a portion of the pixels detected in step S106 overlaps with the contour specified by the second instruction received in step S104. If they overlap, the process proceeds to step S108. If they do not overlap, the process proceeds to step S109.

(ステップS108)第一層決定部105は、画素値の範囲を示す条件のαの値を、予め決められた値(例えば、「1」等)だけ減少させた値に変更する。そして、ステップS10106に戻る。 (Step S108) The first layer determination unit 105 changes the value of α, which is a condition indicating the range of pixel values, to a value that is reduced by a predetermined value (e.g., "1"). Then, the process returns to step S10106.

(ステップS109)第一層決定部105は、直前のステップS106で検出された画素の集合を、第一層の画素に決定する。第一層決定部105は、例えば、決定した第一層の画素に対し、第一層の画素であることを示す情報を対応づけて、医用画像格納部102や格納部(図示せず)等に蓄積する。なお、この画素を検出する際に利用されたαの値を有するX-αからX+αまで画素値の範囲が、第一近似条件となり、このときのαの値が、上述したαに相当する。 (Step S109) The first layer determination unit 105 determines the set of pixels detected in the previous step S106 as the pixels of the first layer. For example, the first layer determination unit 105 associates information indicating that the determined pixels of the first layer are pixels of the first layer with each other, and stores the information in the medical image storage unit 102 or a storage unit (not shown). Note that the range of pixel values from X-α to X+α, which has the value of α used when detecting this pixel, becomes the first approximation condition, and the value of α at this time corresponds to the above-mentioned α1 .

(ステップS110)第二層決定部106は、ステップS109で決定した第一層の画素の外側に隣接する連続した画素の集合を第二層の画素に決定する。例えば、第二層決定部106は、ステップS109で決定した第一層の画素の外側に隣接する画素から、外側に向かって予め決められた画素数までの範囲内の画素の集合を、第二層の画素に決定する。第二層決定部106は、例えば、決定した第二層の画素に対し、第二層の画素であることを示す情報を対応づけて、医用画像格納部102や格納部(図示せず)等に蓄積する。 (Step S110) The second layer determination unit 106 determines a set of contiguous pixels adjacent to the outside of the first layer pixels determined in step S109 as pixels of the second layer. For example, the second layer determination unit 106 determines a set of pixels within a range from the pixel adjacent to the outside of the first layer pixels determined in step S109 to a predetermined number of pixels outward as pixels of the second layer. For example, the second layer determination unit 106 associates information indicating that the determined second layer pixels are pixels of the second layer with each other, and accumulates the information in the medical image storage unit 102 or a storage unit (not shown), etc.

(ステップS111)第三層決定部107は、ステップS109で決定した第一層の画素の代表点を決定する。例えば、第三層決定部107は、ステップS109で決定した第一層の画素で構成される領域の重心となる位置の画素を、第一層の画素の代表点として決定する。 (Step S111) The third layer determination unit 107 determines a representative point of the pixels of the first layer determined in step S109. For example, the third layer determination unit 107 determines a pixel located at the center of gravity of the area composed of the pixels of the first layer determined in step S109 as the representative point of the pixels of the first layer.

(ステップS112)第三層決定部107は、ステップS111で検出した代表点を中心として、予め決められたサイズの閉空間を有する図形の輪郭を決定する。この図形は、例えば、ステップS104で受け付けた第二指示により指定される輪郭を縮小した図形の輪郭である。例えば、この図形は、ステップS104で受け付けた第二指示により指定される輪郭を、ステップS111で決定した代表点を、拡大縮小の中心点として、70%に縮小した図形の輪郭である。ただし、ここでの70%は一例であり、この値の範囲に限定されるものではない。また、第三層決定部107は、ステップS111で決定した代表点と、第二指示により指定される輪郭の画素との距離、およびステップS110で決定した第二層の画素の外側の輪郭の画素との距離を用いて、第二指示により指定された輪郭を、上記の代表点を中心として縮小した輪郭であって、ステップS110で決定した第二層の画素の外側の輪郭と重ならない輪郭を決定してもよい。 (Step S112) The third layer determination unit 107 determines the contour of a figure having a closed space of a predetermined size with the representative point detected in step S111 as the center. This figure is, for example, the contour of a figure obtained by reducing the contour specified by the second instruction received in step S104. For example, this figure is the contour of a figure obtained by reducing the contour specified by the second instruction received in step S104 to 70% with the representative point determined in step S111 as the center point of the enlargement/reduction. However, 70% here is an example, and is not limited to this range of values. In addition, the third layer determination unit 107 may determine a contour obtained by reducing the contour specified by the second instruction with the representative point as the center, using the distance between the representative point determined in step S111 and the pixel of the contour specified by the second instruction, and the distance between the pixel of the contour outside the pixels of the second layer determined in step S110, and the contour that does not overlap with the outer contour of the pixels of the second layer determined in step S110.

(ステップS113)第三層決定部107は、ステップS112で決定した輪郭上の画素の画素値を取得し、更に、画素値の高いものからソートした順位が、全体の30%から70%までの順位となる複数の画素を取得する。そして取得した複数の画素の画素値の平均値Yを、輪郭上の2以上の画素の代表値として取得する。 (Step S113) The third layer determination unit 107 acquires the pixel values of the pixels on the contour determined in step S112, and further acquires multiple pixels whose ranking, when sorted from highest pixel value, falls between 30% and 70% of the total. Then, the average value Y of the pixel values of the acquired multiple pixels is acquired as a representative value of two or more pixels on the contour.

(ステップS114)第三層決定部107は、ステップ113で代表値を取得するために用いた複数の画素について、標準偏差σをさらに取得し、画素の画素値が、Y-γからY+γまでの範囲内である(ただし、γは、2σである)という第二近似条件を取得する。 (Step S114) The third layer determination unit 107 further obtains the standard deviation σ for the multiple pixels used to obtain the representative value in step 113, and obtains a second approximation condition that the pixel value of the pixel is within the range from Y-γ to Y+γ (where γ is 2σ).

(ステップS115)第三層決定部107は、ステップS112で決定した輪郭上の画素のうちの、画素値が、ステップS113で取得した第二近似条件を満たす範囲内の画素をそれぞれ起点として、ステップS114で取得した第二近似条件を満たす画素値を有する連続した画素を順次検出し、検出した画素をマージ(結合)する。 (Step S115) The third layer determination unit 107 sequentially detects consecutive pixels having pixel values that satisfy the second approximation condition obtained in step S114, starting from the pixels on the contour determined in step S112 that are within the range whose pixel values satisfy the second approximation condition obtained in step S113, and merges (combines) the detected pixels.

(ステップS116)第三層決定部107は、ステップS115で検出した画素において、ステップS109で決定した第一層の画素と重なる画素と、ステップS110で決定した第二層の画素と重なる画素とを除外する。 (Step S116) The third layer determination unit 107 excludes, from the pixels detected in step S115, pixels that overlap with the pixels of the first layer determined in step S109 and pixels that overlap with the pixels of the second layer determined in step S110.

(ステップS117)第三層決定部107は、ステップS116により除外されずに残った画素において、ステップS104で受け付けた第二指示が指定する輪郭の外側の画素を除外する。 (Step S117) The third layer determination unit 107 excludes pixels that are outside the contour specified by the second instruction received in step S104 from the pixels that remain and were not excluded in step S116.

(ステップS118)第三層決定部107は、ステップS117により除外されずに残った画素を、第三層の画素に決定する。第三層決定部107は、例えば、決定した第三層の画素に対し、第三層の画素であることを示す情報を対応づけて、医用画像格納部102や格納部(図示せず)等に蓄積する。 (Step S118) The third layer determination unit 107 determines the remaining pixels that were not excluded in step S117 as pixels of the third layer. For example, the third layer determination unit 107 associates the determined pixels of the third layer with information indicating that they are pixels of the third layer, and stores them in the medical image storage unit 102 or a storage unit (not shown), etc.

(ステップS119)出力部108は、ステップ118で決定した第三層の画素を示す情報を出力する。例えば、出力部108は、第三層の画素を視覚的に判別可能な態様で出力する。なお、出力部108は、ステップS109で決定した第一層の画素や、ステップS110で決定した第二層の画素を示す情報を更に出力してもよい。そして、ステップS101に戻る。 (Step S119) The output unit 108 outputs information indicating the pixels of the third layer determined in step S118. For example, the output unit 108 outputs the pixels of the third layer in a visually distinguishable manner. Note that the output unit 108 may further output information indicating the pixels of the first layer determined in step S109 and the pixels of the second layer determined in step S110. Then, the process returns to step S101.

なお、図2のフローチャートにおいて、ステップS103の処理をステップ104の処理の後に行うようにしてもよい。 In the flowchart of FIG. 2, the process of step S103 may be performed after the process of step 104.

なお、図2のフローチャートにおいて、電源オフや処理終了の割り込みにより処理は終了する。 In the flowchart in Figure 2, processing ends when the power is turned off or an interrupt occurs to end processing.

以下、本実施の形態における層状臓器領域特定装置1の具体的な動作について説明する。ここでは、医用画像格納部102には、人体の子宮部分を撮影した複数の医用画像が格納されているものとする。これらの医用画像は、人体の子宮部分の、人体の伸長方向に対して垂直な断層を撮影したMRI画像であるとする。このような子宮の医用画像においては、子宮内膜と、junction zoneと、子宮筋層が、内側から外側に向かって層状に重なった構造を有している。ここでは、第一層を子宮内膜、第二層をjunction zone、第三層を子宮筋層と考えて説明を行う。 The specific operation of the layered organ region identifying device 1 in this embodiment will be described below. Here, it is assumed that the medical image storage unit 102 stores a plurality of medical images of the uterine portion of the human body. These medical images are assumed to be MRI images of cross sections of the uterine portion of the human body perpendicular to the elongation direction of the human body. In such medical images of the uterus, the endometrium, junction zone, and myometrium have a layered structure stacked from the inside to the outside. Here, the description will be made assuming that the first layer is the endometrium, the second layer is the junction zone, and the third layer is the myometrium.

まず、ユーザが、キーボード等の入力デバイス(図示せず)等を介して、層状臓器領域特定装置1に、医用画像格納部102に格納されているファイル名が「img001」という子宮の医用画像を表示する操作を行ったとすると、表示指示受付部(図示せず)が、この医用画像「img001」を表示する指示を受け付け、これに応じて医用画像表示部101が、ファイル名が「img001」である医用画像をモニタ(図示せず)に表示する。 First, if a user operates the layered organ region identification device 1 via an input device such as a keyboard (not shown) to display a medical image of a uterus with the file name "img001" stored in the medical image storage unit 102, the display instruction receiving unit (not shown) receives an instruction to display this medical image "img001", and in response, the medical image display unit 101 displays the medical image with the file name "img001" on the monitor (not shown).

図3は、医用画像表示部101によるファイル名が「img001」である医用画像30の表示例を示す図であり、 Figure 3 shows an example of a medical image 30 with a file name "img001" displayed by the medical image display unit 101.

次に、ユーザが、医用画像30の横に表示されたメニューボタンから、第一指示の入力を行うためのボタン31を押し、マウス(図示せず)等により、図3に表示された医用画像30を目視により確認して、この医用画像内の、第一層である子宮内膜内の一の画素を指定する操作(例えば、子宮内膜内にカーソルを移動させてクリックする操作等)を行ったとする。第一受付部103は、この操作に応じて、指定された画素を指定する第一指示を受け付け、指定された画素を示す情報(例えば、指定された画素の識別子等)を、格納部(図示せず)等に一時記憶する。ここでは、医用画像表示部101は、第一指示が示す画素を表す点を、図3に示した医用画像30上に表示したとする。 Next, the user presses button 31 for inputting a first instruction from the menu button displayed next to medical image 30, visually checks medical image 30 displayed in FIG. 3 with a mouse (not shown) or the like, and performs an operation to specify a pixel in the endometrium, which is the first layer, in this medical image (e.g., an operation of moving the cursor into the endometrium and clicking, etc.). In response to this operation, first reception unit 103 receives a first instruction specifying the specified pixel, and temporarily stores information indicating the specified pixel (e.g., an identifier of the specified pixel, etc.) in a storage unit (not shown) or the like. Here, it is assumed that medical image display unit 101 displays a point representing the pixel specified by the first instruction on medical image 30 shown in FIG. 3.

また、第一指示を受け付けた後、ユーザが、医用画像30の横に表示されたメニューボタンから、第二指示の入力を行うためのボタン32を押し、マウス(図示せず)等により、医用画像30内の、第三層である子宮筋層を含む領域の外側の輪郭を指定する操作を(例えば、子宮筋層の外側の輪郭にそって、マウスボタンを押しながらカーソルを移動させる操作等)を行ったとする。第二受付部104は、この操作に応じて、子宮筋層を含む領域の外側の輪郭を指定する第二指示を受け付け、指定された輪郭上の画素を示す情報等を、格納部(図示せず)等に一時記憶する。ここでは、医用画像表示部101は、第二指示が示す輪郭を表す線を、図3に示した医用画像30上に表示したとする。 After receiving the first instruction, the user presses button 32 for inputting a second instruction from the menu button displayed next to medical image 30, and performs an operation with a mouse (not shown) or the like to specify the outer contour of the area including the third layer, the myometrium, in medical image 30 (for example, an operation of moving the cursor along the outer contour of the myometrium while pressing the mouse button). In response to this operation, second reception unit 104 receives a second instruction specifying the outer contour of the area including the myometrium, and temporarily stores information indicating the pixels on the specified contour in a storage unit (not shown) or the like. Here, it is assumed that medical image display unit 101 displays a line representing the contour indicated by the second instruction on medical image 30 shown in FIG. 3.

図4は、医用画像表示部101により第一指示が示す画素を示す点41と、第二指示が示す輪郭を示す線42とを配置した医用画像30の表示例を示す図である。 Figure 4 shows an example of a medical image 30 displayed by the medical image display unit 101, in which a dot 41 indicating the pixel indicated by the first instruction and a line 42 indicating the contour indicated by the second instruction are arranged.

第一層決定部105は、第一近似条件を取得するための、X-αからX+αまでの画素値の範囲を示す条件を読み出し、Xの値として、上記の第一指示が示す画素の画素値を代入し、αの値として、初期値αを代入する。ここでのαの値は、第一指示が示す画素の画素値に対する割合(%)で表された値であるとする。例えば、αの値が、ここでは「30%」であるとする。そして、第一層決定部105は、点41が表す第一指示が示す画素に連続する画素であって、X-αからX+αまでの範囲内(ただし、αはα=30%であるとする)の画素値を有する画素の集合を検出する。具体的には、(1-0.3)Xから(1+0.3)Xまでの範囲内の画素値を有する画素の集合を検出する。そして、検出した画素の一部が、線42で表される第二指示が指定する輪郭と重なるか判断する。 The first layer determination unit 105 reads out the conditions indicating the pixel value range from X-α to X+α for obtaining the first approximation condition, substitutes the pixel value of the pixel indicated by the above-mentioned first instruction as the value of X, and substitutes the initial value α0 as the value of α. The value of α here is assumed to be a value expressed as a percentage (%) of the pixel value of the pixel indicated by the first instruction. For example, the value of α0 is assumed to be "30%" here. The first layer determination unit 105 then detects a set of pixels that are continuous with the pixel indicated by the first instruction represented by the point 41 and have pixel values within the range from X-α to X+α (where α is assumed to be α0 =30%). Specifically, the first layer determination unit 105 detects a set of pixels that have pixel values within the range from (1-0.3)X to (1+0.3)X. Then, it is determined whether a part of the detected pixels overlaps with the contour specified by the second instruction represented by the line 42.

ここでは、輪郭と重なっていたとすると、第一層決定部105は、画素値の範囲を示す条件のαの値を、上記の初期値である「30%」から予め決められた値である「1」だけ減少させた値「29%」に変更する。そして、第一層決定部105は、点41が表す第一指示が示す画素に連続する画素であって、上記で変更したαの値「29%」を、最初に代入したαの値の代わりに代入したX-αからX+αまでの範囲内の画素値を有する画素の集合を検出する。具体的には、(1-0.29)Xから(1+0.29)Xまでの範囲内の画素値を有する画素の集合を検出する。そして、検出した画素の一部が、線42で表される第二指示が指定する輪郭と重なるか判断する。 If it does overlap with the contour, the first layer determination unit 105 changes the value of α, a condition indicating the range of pixel values, to a value of "29%" which is a decrease of the above initial value of "30%" by a predetermined value of "1". The first layer determination unit 105 then detects a set of pixels that are adjacent to the pixel indicated by the first instruction represented by point 41 and have pixel values within the range of X-α to X+α, where the above changed α value of "29%" is substituted in place of the initially substituted α value. Specifically, it detects a set of pixels that have pixel values within the range of (1-0.29)X to (1+0.29)X. It then determines whether any part of the detected pixels overlaps with the contour specified by the second instruction represented by line 42.

ここでは、この値でも、検出した画素の一部が重なっていたとすると、上記と同様に、αの値「29%」を、更に「1」減少させ、点41が表す第一指示が示す画素に連続する画素であって、値を減少させたαの値「28%」を代入したX-αからX+αまでの範囲内の画素値を有する画素の集合を検出し、検出した画素の一部が、線42で表される第二指示が指定する輪郭と重なるか判断する。第一層決定部105は、このようなαの値を減少させて、検出した画素が、第二指示が指定する輪郭と重なるか判断する処理を、検出した画素の一部が、線42で表される第二指示が指定する輪郭と重ならないと判断されるまで繰り返す。ここで、例えば、αの値が「28%」のときに、第一層決定部105が検出した画素が、線42が示す第二指示が示す輪郭と重ならなかったとすると、第一層決定部105は、このときに検出した第一指示が示す画素に連続する画素の集合を、第一層の画素に決定する。また、このときのαの値「28%」を代入した条件、すなわち、X-28%からX+28%までの範囲内の画素値を有する画素を検出するという条件が第一近似条件となる。 Here, if even with this value, some of the detected pixels overlap, similarly to the above, the α value of "29%" is further decreased by "1", a set of pixels that are adjacent to the pixel indicated by the first instruction represented by point 41 and have pixel values within the range of X-α to X+α with the decreased α value of "28%" substituted is detected, and a determination is made as to whether some of the detected pixels overlap with the contour specified by the second instruction represented by line 42. The first-layer determination unit 105 decreases the value of α in this way, and repeats the process of determining whether the detected pixels overlap with the contour specified by the second instruction until it is determined that some of the detected pixels do not overlap with the contour specified by the second instruction represented by line 42. Here, for example, if the pixel detected by the first layer determination unit 105 does not overlap with the contour indicated by the second indication shown by line 42 when the value of α is "28%", the first layer determination unit 105 determines the set of pixels adjacent to the pixel indicated by the first indication detected at this time as the pixels of the first layer. Furthermore, the condition in which the value of α at this time is "28%", that is, the condition of detecting pixels having pixel values within the range from X-28% to X+28%, becomes the first approximation condition.

なお、初期値αをαに代入した場合に、第一層決定部105が検出した画素が、線42が示す第二指示が示す輪郭と重ならなかったとすると、第一層決定部105は、このときに検出した第一指示が示す画素に連続する画素の集合を、第一層の画素に決定する。また、このときのαの値であるαを代入した条件、すなわち、X-αからX+αまでの範囲内の画素値を有する画素を検出するという条件が第一近似条件となる。 Note that when the initial value α 0 is substituted for α, if the pixel detected by the first layer determination unit 105 does not overlap with the contour indicated by the second indication shown by the line 42, the first layer determination unit 105 determines the set of pixels adjacent to the pixel indicated by the first indication detected at this time as the pixels of the first layer. Also, the condition under which α 0 , which is the value of α at this time, is substituted, that is, the condition of detecting pixels having pixel values within the range from X-α 0 to X+α 0 , becomes the first approximation condition.

第一層決定部105は、上記で検出された画素の集合を、第一層の画素に決定し、決定した第一層の画素に対し、第一層の画素であることを示す情報を対応づけて、医用画像格納部102に蓄積する。ここでは、第一層の画素の座標を、第一層の画素であることを示す値と対応付けて、蓄積する。 The first layer determination unit 105 determines the set of pixels detected above as the pixels of the first layer, associates the determined first layer pixels with information indicating that they are first layer pixels, and stores them in the medical image storage unit 102. Here, the coordinates of the pixels of the first layer are stored in association with a value indicating that they are first layer pixels.

図5(a)は、層状臓器領域特定装置1が特定した層の画素を管理する特定層管理表である。特定層管理表は、「画像ID」と、「座標」と、「層」という属性を有している。「画像ID」は、医用画像の識別子であり、ここでは医用画像のファイル名である。「座標」は、医用画像内の画素の座標である。ここでの(x,y)等は、医用画像内の特定の座標を表しているものとする。「層」は、対応する座標が示す画素が属する層を示しており、値「1」は画素が第一層の画素であることを示し、値「2」は画素が第二層であることを示し、値「3」は画素が第三層であることを示す。 5(a) is a specific layer management table for managing pixels of layers identified by the layered organ region identifying device 1. The specific layer management table has attributes of "image ID", "coordinates", and "layer". "Image ID" is an identifier of a medical image, and in this case, it is the file name of the medical image. "Coordinates" are the coordinates of a pixel in a medical image. Here, ( x1 , y1 ) etc. represent specific coordinates in a medical image. "Layer" indicates the layer to which the pixel indicated by the corresponding coordinates belongs, and a value of "1" indicates that the pixel is a pixel of the first layer, a value of "2" indicates that the pixel is a pixel of the second layer, and a value of "3" indicates that the pixel is a pixel of the third layer.

上記で第一層決定部105が決定し蓄積した画素のレコード(行)は、「画像ID」が「img001」であり、「層」が「1」であるレコードである。 The record (row) of the pixel determined and stored by the first layer determination unit 105 above is a record with an "image ID" of "img001" and a "layer" of "1".

次に、第二層決定部106は、医用画像30について第二層の画素に決定する。ここでは、第二層決定部106は、上記で決定した第一層の画素の外側に隣接する画素から、外側に向かって予め決められた数ピクセルの範囲内の画素の集合を、第二層の画素に決定する。ここでは、予め決められた数ピクセルの範囲内は、3ピクセルの範囲内であるとする。そして、第二層決定部106は、決定した第二層の画素に対し、第二層の画素であることを示す情報を対応づけて、医用画像格納部102に蓄積する。 Next, the second layer determination unit 106 determines the pixels of the medical image 30 as the pixels of the second layer. Here, the second layer determination unit 106 determines the set of pixels within a predetermined range of several pixels outward from the pixels adjacent to the outside of the first layer pixels determined above as the pixels of the second layer. Here, the predetermined range of several pixels is assumed to be within a range of three pixels. The second layer determination unit 106 then associates the determined pixels of the second layer with information indicating that they are pixels of the second layer, and stores them in the medical image storage unit 102.

第二層決定部106が決定した第二層の画素の集合を管理する情報は、図5(a)に示した特定層管理表に追記される。第二層決定部106が決定した第二層の画素を管理する情報が追記された特定層管理表は、図5(b)のようになる。図5(b)において、第二層決定部106が決定し蓄積した画素のレコード(行)は、「画像ID」が「img001」であり、「層」が「2」であるレコードである。 The information managing the set of pixels in the second layer determined by the second layer determination unit 106 is added to the specific layer management table shown in FIG. 5(a). The specific layer management table to which the information managing the pixels in the second layer determined by the second layer determination unit 106 has been added becomes as shown in FIG. 5(b). In FIG. 5(b), the record (row) of the pixel determined and stored by the second layer determination unit 106 is a record in which the "Image ID" is "img001" and the "Layer" is "2".

次に、第三層決定部107は、上記で決定した第一層の画素で構成される領域の重心となる位置の画素を、第一層の画素の代表点として決定する。領域において重心を決定する処理については、詳細な説明を省略する。ここで決定した重心は、座標が(x500,y500)である画素であるとする。 Next, the third layer determination unit 107 determines the pixel at the center of gravity of the region composed of the pixels of the first layer determined above as the representative point of the pixels of the first layer. A detailed explanation of the process of determining the center of gravity in the region will be omitted. The center of gravity determined here is assumed to be the pixel with coordinates ( x500 , y500 ).

図6は、第三層決定部107が、医用画像30において決定した代表点60等を示す図である。なお、ここで示した代表点60は説明のための模式的な点であり、必ずしも、第一層決定部105が決定した第一層の画像の重心を正確に表すものではない。 Figure 6 is a diagram showing the representative point 60 and the like determined by the third layer determination unit 107 in the medical image 30. Note that the representative point 60 shown here is a schematic point for the purpose of explanation, and does not necessarily accurately represent the center of gravity of the first layer image determined by the first layer determination unit 105.

次に、第三層決定部107は、上記で検出した代表点を中心として、第二指示により指定された輪郭と同じ形状の輪郭を有する(すなわち、第二指示により指定された輪郭と相似する形状の)、第二指示により指定された輪郭よりも小さいサイズの、閉領域を有する図形の輪郭を決定する。ここでは、第二指示により指定された輪郭を、上記で決定された代表点60を中心として、70%のサイズに縮小して、閉領域61を有する図形の輪郭を決定する。 Next, the third layer determination unit 107 determines the contour of a figure having a closed area, which has a contour of the same shape as the contour specified by the second instruction (i.e., a shape similar to the contour specified by the second instruction) and is smaller in size than the contour specified by the second instruction, with the representative point 60 determined above as the center. Here, the contour specified by the second instruction is reduced to 70% of its size, with the representative point 60 determined above as the center, to determine the contour of a figure having a closed area 61.

次に、第三層決定部107は、上記で決定した閉領域61の輪郭上の各画素の画素値を取得し、取得した画素値を、画素値の高いものからソートする。そして、ソートした画素値において、画素値の高い方から見た順位が全体の30%より高い順位となる画素値と、画素値の低い方から見た順位が全体の30%よりも低い順位となる画素値とを除外して、画素値の高い方から見た順位が、全体の30%から70%までの順位となる複数の画素を取得する。例えば、閉領域61の輪郭上の画素から取得した画素値の数が、500画素であったとすると、第三層決定部107は、画素値の高い方から見た順位が、150位から350位までの間の順位となる画素値を取得する。 Next, the third layer determination unit 107 acquires the pixel values of each pixel on the contour of the closed region 61 determined above, and sorts the acquired pixel values from the highest pixel value. Then, from the sorted pixel values, pixel values ranked higher than 30% of the total when viewed from the highest pixel value and pixel values ranked lower than 30% of the total when viewed from the lowest pixel value are excluded, and a plurality of pixels ranked from the highest pixel value between 30% and 70% of the total are acquired. For example, if the number of pixel values acquired from the pixels on the contour of the closed region 61 is 500 pixels, the third layer determination unit 107 acquires pixel values ranked from the highest pixel value between 150th and 350th.

第三層決定部107は、取得した高い方から見た順位が全体の30%から70%までの順位となる複数の画素値の平均値Yを、閉領域61の輪郭上の2以上の画素の代表値として取得する。また、第三層決定部107は、上記で閉領域61の輪郭上の2以上の画素の代表値を取得するために用いた、画素値の高い方から見た順位が、全体の30%から70%までの順位となる複数の画素値について、標準偏差σをさらに取得する。そして、画素の画素値が、Y-γからY+γまでの範囲内である(ただし、γは、2σである)という第二近似条件を取得する。 The third layer determination unit 107 obtains the average value Y of the multiple pixel values whose highest ranking falls within 30% to 70% of the total as a representative value of two or more pixels on the contour of the closed region 61. The third layer determination unit 107 also obtains a standard deviation σ for the multiple pixel values whose highest ranking falls within 30% to 70% of the total and which were used to obtain the representative value of two or more pixels on the contour of the closed region 61 above. Then, it obtains a second approximation condition that the pixel value of the pixel is within the range of Y-γ to Y+γ (where γ is 2σ).

次に、第三層決定部107は、閉領域61の輪郭上の画素のうちの、上記で取得した第二近似条件を満たす範囲内の画素値、すなわち、Y-γからY+γまでの範囲内の画素値を有する複数の画素をそれぞれ起点として、上記で取得した第二近似条件を満たす画素値を有する連続した画素を順次検出して、検出した画素をマージする。 Next, the third layer determination unit 107 starts from each of the pixels on the contour of the closed region 61 that have pixel values within the range satisfying the second approximation condition obtained above, that is, a plurality of pixels that have pixel values within the range from Y-γ to Y+γ, and sequentially detects consecutive pixels having pixel values that satisfy the second approximation condition obtained above, and merges the detected pixels.

次に、第三層決定部107は、マージして得られた複数の画素において、上記で第一層決定部105が決定した第一層の画素と重なる画素と、上記で第二層決定部106が決定した第二層の画素と重なる画素とを除外する。具体的には、マージして得られた複数の画素において、図5(b)に示した特定層管理表の、「画像ID」が「img001」であり、「層」が「1」または「2」のいずれかであるレコードのいずれか一つのレコードの「座標」と、座標が一致する画素を順次除外する。 Next, the third layer determination unit 107 excludes, from the multiple pixels obtained by merging, pixels that overlap with the pixels of the first layer determined by the first layer determination unit 105 above and pixels that overlap with the pixels of the second layer determined by the second layer determination unit 106 above. Specifically, from the multiple pixels obtained by merging, it sequentially excludes pixels whose coordinates match the "coordinates" of any one of the records in the specific layer management table shown in FIG. 5(b) where the "image ID" is "img001" and the "layer" is either "1" or "2".

さらに、第三層決定部107は、上記で除外されずに残った画素において、座標が、第二指示が指定する輪郭の外側の外側の座標である画素を、順次除外する。 Furthermore, the third layer determination unit 107 sequentially excludes, from the pixels remaining that have not been excluded as described above, pixels whose coordinates are on the outermost side of the contour specified by the second instruction.

そして、除外されずに残った画素を、第三層決定部107は、第三層の画素に決定する。第三層決定部107は、例えば、決定した第三層の画素に対し、第三層の画素であることを示す情報を対応づけて、医用画像格納部102に蓄積する。 Then, the third layer determination unit 107 determines the remaining pixels that were not excluded as pixels of the third layer. For example, the third layer determination unit 107 associates the determined pixels of the third layer with information indicating that they are pixels of the third layer, and stores them in the medical image storage unit 102.

第三層決定部107が決定した第三層の画素の集合を管理する情報は、図5(b)に示した特定層管理表に追記される。第三層決定部107が決定した第三層の画素を管理する情報が追記された特定層管理表は、図5(c)のようになる。図5(c)において、第三層決定部107が決定し蓄積した画素のレコード(行)は、「画像ID」が「img001」であり、「層」が「3」であるレコードである。 The information managing the set of pixels in the third layer determined by the third layer determination unit 107 is added to the specific layer management table shown in FIG. 5(b). The specific layer management table to which the information managing the pixels in the third layer determined by the third layer determination unit 107 has been added becomes as shown in FIG. 5(c). In FIG. 5(c), the record (row) of the pixel determined and stored by the third layer determination unit 107 is a record in which the "image ID" is "img001" and the "layer" is "3".

出力部108は、第三層決定部107が決定した第三層の画素を示す情報を出力する。また、ここでは、上記の第三層の画像に加えて、更に、第一層決定部105が決定した第一層の画素を示す情報、および第二層決定部106が決定した第二層の画素を、それぞれ示す情報も出力する。 The output unit 108 outputs information indicating the pixels of the third layer determined by the third layer determination unit 107. Here, in addition to the image of the third layer, the output unit 108 also outputs information indicating the pixels of the first layer determined by the first layer determination unit 105 and information indicating the pixels of the second layer determined by the second layer determination unit 106.

ここでは、まず、出力部108は、医療画像「img001」の、第三層決定部107が決定した第三層の画素上に、予め決められた第一の色である赤色を重ねた画像を生成する。具体的には、図5(b)に示した特定層管理表の「画像ID」が「img001」であり、「層」が「3」であるレコード(行)の「座標」の値を全て取得し、取得した各座標の画素に第一の色を重ねて合成する。このとき、重ねる前の画素が透過して見えるように、第一の色を合成する。 Here, the output unit 108 first generates an image in which a predetermined first color, red, is superimposed on the pixels of the third layer of the medical image "img001" determined by the third layer determination unit 107. Specifically, it obtains all "coordinate" values of the record (row) in the specific layer management table shown in FIG. 5(b) in which the "image ID" is "img001" and the "layer" is "3", and superimposes the first color onto the pixels at each of the obtained coordinates to composite them. At this time, the first color is composited so that the pixels before the superimposition are visible through the light.

また、出力部108は、上記の第一の色を重ねた医療画像「img001」の、第一層決定部105が決定した第一層の画素上に、予め決められた第二の色である青色を重ねた画像を生成する。具体的には、図5(b)に示した特定層管理表の「画像ID」が「img001」であり、「層」が「1」であるレコード(行)の「座標」の値を全て取得し、取得した各座標の画素に第二の色を重ねて重ねる前の画素が各透過して見えるよう合成する。 The output unit 108 also generates an image in which a predetermined second color, blue, is superimposed on the pixels of the first layer determined by the first layer determination unit 105 of the medical image "img001" on which the above-mentioned first color has been superimposed. Specifically, it acquires all the "coordinate" values of the record (row) in which the "image ID" in the specific layer management table shown in FIG. 5(b) is "img001" and the "layer" is "1", and superimposes the second color onto the pixels at each of the acquired coordinates, synthesizing them so that the pixels before superimposition are each visible through the color.

また、出力部108は、上記の第一の色および第二の色を重ねた医療画像「img001」の、第二層決定部106が決定した第二層の画素上に、予め決められた第三の色である黄色を重ねた画像を生成する。具体的には、図5(b)に示した特定層管理表の「画像ID」が「img001」であり、「層」が「2」であるレコード(行)の「座標」の値を全て取得し、取得した各座標の画素に第三の色を重ねて重ねる前の画素が各透過して見えるよう合成する。 The output unit 108 also generates an image in which a predetermined third color, yellow, is superimposed on the pixels of the second layer determined by the second layer determination unit 106 of the medical image "img001" in which the above-mentioned first and second colors are superimposed. Specifically, it obtains all the "coordinate" values of the record (row) in which the "image ID" in the specific layer management table shown in FIG. 5(b) is "img001" and the "layer" is "2", and superimposes the third color onto the pixels of each of the obtained coordinates, synthesizing them so that the pixels before superimposition are visible through each color.

そして、出力部108は、このようにして生成した画像をモニタ(図示せず)に表示することにより、第一層から第三層までの画素をそれぞれ視覚的に判別可能な態様で出力する。 The output unit 108 then displays the image thus generated on a monitor (not shown), thereby outputting the pixels from the first layer to the third layer in a visually distinguishable manner.

図7は、出力部108が表示する、第一層から第三層までの画素をそれぞれ視覚的に判別可能な態様で示した医療画像の表示例を示す図である。図7において、領域71は、第一層の画素の集合を示しており、領域72は、第二層の画素の集合を示しており、領域73は、第三の画素の集合を示している。なお、ここでは、説明の便宜上、第一の色から第三の色を、それぞれ異なる斜線で表している。 Figure 7 is a diagram showing an example of a medical image displayed by the output unit 108, in which the pixels from the first layer to the third layer are displayed in a visually distinguishable manner. In Figure 7, area 71 shows a set of pixels in the first layer, area 72 shows a set of pixels in the second layer, and area 73 shows a set of pixels in the third layer. Note that, for ease of explanation, the first to third colors are represented by different diagonal lines.

なお、出力部108は、ここで表示したような医療画像を、医療画像「img001」と対応付けて医用画像格納部102に蓄積してもよい。 The output unit 108 may store the medical image displayed here in the medical image storage unit 102 in association with the medical image "img001."

また、出力部108は、第三の画素を示す情報だけを出力するようにしてもよい。例えば、出力部108は、第三層の画素に第一の色を重ねた医療画像だけを表示するようにしてもよい。 The output unit 108 may also be configured to output only information indicating the third pixel. For example, the output unit 108 may be configured to display only a medical image in which the first color is superimposed on the pixels of the third layer.

また、この具体例においては、医療画像に撮影されている層状臓器が子宮である例を挙げて説明したが、層状臓器は、心臓等の、子宮以外の層状臓器であってもよい。 In addition, in this specific example, the layered organ captured in the medical image is the uterus, but the layered organ may be a layered organ other than the uterus, such as the heart.

以上、本実施の形態によれば、医用画像において、3層以上の層状構造を有する臓器の、1以上の層の領域を適切に特定することができる。 As described above, according to this embodiment, it is possible to appropriately identify the regions of one or more layers of an organ having a layered structure of three or more layers in a medical image.

なお、上記各実施の形態において、各処理(各機能)は、単一の装置(システム)によって集中処理されることによって実現されてもよく、あるいは、複数の装置によって分散処理されることによって実現されてもよい。 In each of the above embodiments, each process (each function) may be realized by centralized processing in a single device (system), or may be realized by distributed processing in multiple devices.

また、上記各実施の形態において、出力部108が行う出力が、表示を含む場合、出力部108の表示を行うための構成と、医用画像表示部101とを、一の表示部により実現するようにしてもよい。 In addition, in each of the above embodiments, if the output performed by the output unit 108 includes display, the configuration for displaying the output unit 108 and the medical image display unit 101 may be realized by a single display unit.

また、上記各実施の形態では、層状臓器領域特定装置がスタンドアロンである場合について説明したが、層状臓器領域特定装置は、スタンドアロンの装置であってもよく、サーバ・クライアントシステムにおけるサーバ装置であってもよい。後者の場合には、出力部や受付部は、通信回線を介して入力を受け付けたり、画面を出力したりすることになる。 In addition, in each of the above embodiments, the layered organ region identifying device has been described as being standalone, but the layered organ region identifying device may be a standalone device or a server device in a server-client system. In the latter case, the output unit and the reception unit will receive input and output a screen via a communication line.

また、上記各実施の形態において、各構成要素は専用のハードウェアにより構成されてもよく、あるいは、ソフトウェアにより実現可能な構成要素については、プログラムを実行することによって実現されてもよい。例えば、ハードディスクや半導体メモリ等の記録媒体に記録されたソフトウェア・プログラムをCPU等のプログラム実行部が読み出して実行することによって、各構成要素が実現され得る。その実行時に、プログラム実行部は、格納部(例えば、ハードディスクやメモリ等の記録媒体)にアクセスしながらプログラムを実行してもよい。 In addition, in each of the above embodiments, each component may be configured with dedicated hardware, or components that can be realized by software may be realized by executing a program. For example, each component may be realized by a program execution unit such as a CPU reading and executing a software program recorded on a recording medium such as a hard disk or semiconductor memory. During execution, the program execution unit may execute the program while accessing a storage unit (for example, a recording medium such as a hard disk or memory).

なお、上記各実施の形態における層状臓器領域特定装置を実現するソフトウェアは、以下のようなプログラムである。つまり、このプログラムは、コンピュータを、第一層と、第一層の外側に接する第二層と、第二層の外側に接する第三層とを有する層状臓器の医用画像を表示する医用画像表示部と、医用画像の第一層内の画素を指定する第一指示を受け付ける第一受付部と、医用画像の第三層を含む領域の外側の輪郭を指定する第二指示を受け付ける第二受付部と、第一指示により指定される画素の画素値を取得し、画素値に対して第一近似条件を満たす画素であって、第一指示により指定される画素に連続する画素の集合を第一層の画素に決定する第一層決定部と、第一層の画素の外側に隣接する連続した画素の集合を第二層の画素に決定する第二層決定部と、第二層の画素の外側であって、第二指示により指定される輪郭内に位置している2以上の画素の画素値の代表値を取得し、代表値に対して第二近似条件を満たす画素値を有しており、第一層および第二層の画素以外の、第二指示により指定される輪郭の内側に位置している画素の集合を、第三層の画素に決定する第三層決定部と、第三層の画素を示す情報を出力する出力部として機能させるためのプログラムである。 The software that realizes the layered organ region identification device in each of the above embodiments is a program such as the following: In other words, this program causes a computer to function as a medical image display unit that displays a medical image of a layered organ having a first layer, a second layer that contacts the outside of the first layer, and a third layer that contacts the outside of the second layer; a first reception unit that receives a first instruction that specifies pixels in the first layer of the medical image; a second reception unit that receives a second instruction that specifies the outer contour of an area including the third layer of the medical image; a first layer determination unit that acquires pixel values of pixels specified by the first instruction and determines a set of pixels that satisfy a first approximation condition for the pixel values and are continuous with the pixels specified by the first instruction as pixels of the first layer; a second layer determination unit that determines a set of continuous pixels adjacent to the outside of the pixels of the first layer as pixels of the second layer; a third layer determination unit that acquires a representative value of pixel values of two or more pixels located outside the pixels of the second layer and within the contour specified by the second instruction, and determines a set of pixels that have a pixel value that satisfies a second approximation condition for the representative value and are located inside the contour specified by the second instruction other than the pixels of the first and second layers as pixels of the third layer; and an output unit that outputs information indicating the pixels of the third layer.

なお、上記プログラムにおいて、上記プログラムが実現する機能には、ハードウェアでしか実現できない機能は含まれない。例えば、情報を取得する取得部や、情報を出力する出力部などにおけるモデムやインターフェースカードなどのハードウェアでしか実現できない機能は、上記プログラムが実現する機能には含まれない。 In addition, in the above program, the functions realized by the above program do not include functions that can only be realized by hardware. For example, functions that can only be realized by hardware such as a modem or interface card in an acquisition unit that acquires information or an output unit that outputs information are not included in the functions realized by the above program.

また、このプログラムを実行するコンピュータは、単数であってもよく、複数であってもよい。すなわち、集中処理を行ってもよく、あるいは分散処理を行ってもよい。 The program may be executed by a single computer or multiple computers. In other words, it may perform centralized processing or distributed processing.

図8は、上記プログラムを実行して、上記実施の形態による層状臓器領域特定装置を実現するコンピュータの外観の一例を示す模式図である。上記実施の形態は、コンピュータハードウェア及びその上で実行されるコンピュータプログラムによって実現されうる。 Figure 8 is a schematic diagram showing an example of the appearance of a computer that executes the above program to realize the layered organ region identification device according to the above embodiment. The above embodiment can be realized by computer hardware and a computer program executed thereon.

図8において、コンピュータシステム900は、CD-ROM(Compact Disk Read Only Memory)ドライブ905を含むコンピュータ901と、キーボード902と、マウス903と、モニタ904とを備える。 In FIG. 8, the computer system 900 includes a computer 901 including a CD-ROM (Compact Disk Read Only Memory) drive 905, a keyboard 902, a mouse 903, and a monitor 904.

図9は、コンピュータシステム900の内部構成を示す図である。図9において、コンピュータ901は、CD-ROMドライブ905に加えて、MPU(Micro Processing Unit)911と、ブートアッププログラム等のプログラムを記憶するためのROM912と、MPU911に接続され、アプリケーションプログラムの命令を一時的に記憶すると共に、一時記憶空間を提供するRAM(Random Access Memory)913と、アプリケーションプログラム、システムプログラム、及びデータを記憶するハードディスク914と、MPU911、ROM912等を相互に接続するバス915と、を備える。なお、コンピュータ901は、LANへの接続を提供する図示しないネットワークカードを含んでいてもよい。 Figure 9 is a diagram showing the internal configuration of a computer system 900. In Figure 9, the computer 901 includes, in addition to a CD-ROM drive 905, an MPU (Micro Processing Unit) 911, a ROM 912 for storing programs such as a boot-up program, a RAM (Random Access Memory) 913 connected to the MPU 911 to temporarily store application program instructions and provide temporary storage space, a hard disk 914 for storing application programs, system programs, and data, and a bus 915 for interconnecting the MPU 911, the ROM 912, etc. Note that the computer 901 may also include a network card (not shown) for providing a connection to a LAN.

コンピュータシステム900に、上記実施の形態による層状臓器領域特定装置等の機能を実行させるプログラムは、CD-ROM921に記憶されて、CD-ROMドライブ905に挿入され、ハードディスク914に転送されてもよい。これに代えて、そのプログラムは、図示しないネットワークを介してコンピュータ901に送信され、ハードディスク914に記憶されてもよい。プログラムは実行の際にRAM913にロードされる。なお、プログラムは、CD-ROM921、またはネットワークから直接、ロードされてもよい。 A program that causes the computer system 900 to execute the functions of the layered organ region identifying device according to the above embodiment may be stored in a CD-ROM 921, inserted into the CD-ROM drive 905, and transferred to the hard disk 914. Alternatively, the program may be sent to the computer 901 via a network (not shown) and stored on the hard disk 914. The program is loaded into the RAM 913 when executed. The program may be loaded directly from the CD-ROM 921 or the network.

プログラムは、コンピュータ901に、上記実施の形態による層状臓器領域特定装置の機能を実行させるオペレーティングシステム(OS)、またはサードパーティプログラム等を必ずしも含んでいなくてもよい。プログラムは、制御された態様で適切な機能(モジュール)を呼び出し、所望の結果が得られるようにする命令の部分のみを含んでいてもよい。コンピュータシステム900がどのように動作するのかについては周知であり、詳細な説明は省略する。 The program does not necessarily have to include an operating system (OS) or a third-party program that causes the computer 901 to execute the functions of the layered organ region identifying device according to the above embodiment. The program may include only an instruction portion that calls appropriate functions (modules) in a controlled manner to obtain the desired results. How the computer system 900 operates is well known, and a detailed description will be omitted.

本発明は、以上の実施の形態に限定されることなく、種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。 The present invention is not limited to the above-described embodiment, and various modifications are possible, and it goes without saying that these are also included within the scope of the present invention.

以上のように、本発明にかかる層状臓器領域特定装置等は、医用画像において所望の部位を特定する装置等として適しており、特に、層状臓器の所望の層を特定する装置等として有用である。 As described above, the layered organ region identifying device of the present invention is suitable as a device for identifying a desired part in a medical image, and is particularly useful as a device for identifying a desired layer of a layered organ.

1 層状臓器領域特定装置
101 医用画像表示部
102 医用画像格納部
103 第一受付部
104 第二受付部
105 第一層決定部
106 第二層決定部
107 第三層決定部
108 出力部
REFERENCE SIGNS LIST 1 Layered organ region identifying device 101 Medical image display unit 102 Medical image storage unit 103 First reception unit 104 Second reception unit 105 First layer determination unit 106 Second layer determination unit 107 Third layer determination unit 108 Output unit

Claims (10)

第一層と、当該第一層の外側に接する第二層と、当該第二層の外側に接する第三層とを有する層状臓器の医用画像を表示する医用画像表示部と、
前記医用画像の前記第一層内の画素を指定する第一指示を受け付ける第一受付部と、
前記医用画像の前記第三層を含む領域の外側の輪郭を指定する第二指示を受け付ける第二受付部と、
前記第一指示により指定される画素の画素値を取得し、当該画素値に対して第一近似条件を満たす画素であって、前記第一指示により指定される画素に連続する画素の集合を第一層の画素に決定する第一層決定部と、
前記第一層の画素の外側に隣接する連続した画素の集合を第二層の画素に決定する第二層決定部と、
前記第二層の画素の外側であって、前記第二指示により指定される輪郭内に位置している2以上の画素の画素値の代表値を取得し、当該代表値に対して第二近似条件を満たす画素値を有しており、前記第一層および第二層の画素以外の、前記第二指示により指定される輪郭の内側に位置している画素の集合を、第三層の画素に決定する第三層決定部と、
前記第三層の画素を示す情報を出力する出力部と、を具備する層状臓器領域特定装置。
a medical image display unit that displays a medical image of a layered organ having a first layer, a second layer that is in contact with the outside of the first layer, and a third layer that is in contact with the outside of the second layer;
a first receiving unit that receives a first instruction specifying a pixel in the first layer of the medical image;
a second receiving unit that receives a second instruction that specifies an outer contour of a region including the third layer of the medical image;
a first layer determination unit that acquires a pixel value of a pixel designated by the first instruction, and determines a set of pixels that satisfy a first approximation condition for the pixel value and are adjacent to the pixel designated by the first instruction as pixels of a first layer;
a second layer determination unit that determines a set of adjacent pixels adjacent to an outer side of the first layer pixel as a second layer pixel;
a third layer determination unit that obtains a representative value of pixel values of two or more pixels located outside the pixels of the second layer and within the contour specified by the second instruction, and determines a set of pixels that have a pixel value that satisfies a second approximation condition for the representative value and are located inside the contour specified by the second instruction, other than the pixels of the first and second layers, as pixels of a third layer;
An output unit that outputs information indicating the pixels of the third layer.
前記第一近似条件は、画素値が、X-αからX+αまでの範囲内である(ただし、Xは、前記第一指示により指定される画素の画素値であり、αは、前記第一指示により指定される画素に連続する当該条件を満たす画素の集合が、前記第二指示により指定される輪郭の画素と重ならない値である)、という条件である請求項1記載の層状臓器領域特定装置。 2. The device for identifying a layered organ region according to claim 1, wherein the first approximation condition is that the pixel value is within the range of X- α1 to X+ α1 (where X is the pixel value of the pixel specified by the first instruction, and α1 is a value such that a set of pixels that are adjacent to the pixel specified by the first instruction and that satisfy the condition do not overlap with a pixel of the contour specified by the second instruction). 前記第一層決定部は、
画素値が、X-αからX+αまでの範囲内である(ただし、Xは、前記第一指示により指定される画素の画素値である)という条件を満たす画素であって、前記第一指示により指定される画素に連続する当該条件を満たす画素の集合を、当該集合の少なくとも一部が、前記第二指示により指定される輪郭の画素と重なる状態から、重ならなくなる状態となるまで、αの値を、予め決められた初期値から減少させて順次検出し、重ならなくなる状態となったαの値であるαをαの値として有する前記条件である前記第一近似条件により検出される前記画素の集合を、前記第一層の画素に決定する、請求項2記載の層状臓器領域特定装置。
The first layer determination unit is
3. The device for identifying a layered organ region according to claim 2, further comprising: a detecting unit for detecting a set of pixels that are adjacent to the pixel designated by the first instruction and that satisfy the condition that the pixel value is within the range of X-α to X+α (where X is the pixel value of the pixel designated by the first instruction), the value of α is decreased from a predetermined initial value until at least a part of the set of pixels that satisfies the condition goes from overlapping with the pixel of the contour designated by the second instruction to no longer overlapping, and the device determines the set of pixels detected under the first approximation condition, which is the condition having an α value of α1 that is the α value at which the set of pixels no longer overlaps, as the pixels of the first layer.
前記第二層決定部は、
前記医用画像の、前記第一層の画素の外側に隣接する画素から、外側に向かって予め決められた画素数までの範囲内の画素の集合を、前記第二層の画素に決定する請求項1から請求項3いずれか一項記載の層状臓器領域特定装置。
The second layer decision unit,
A layered organ region identification device as described in any one of claims 1 to 3, wherein a set of pixels within a range from a pixel adjacent to the outside of the first layer pixel of the medical image to a predetermined number of pixels outward is determined to be the pixels of the second layer.
前記第三層決定部は、
前記第一層の画素の代表点を決定し、当該代表点を中心として、前記第二指示により指定される輪郭よりも小さいサイズの、閉領域を有する図形の輪郭を決定し、当該輪郭上の2以上の画素について、前記画素値の代表値を取得する請求項1から請求項4いずれか一項記載の層状臓器領域特定装置。
The third layer decision unit,
A layered organ region identification device as described in any one of claims 1 to 4, which determines a representative point of the pixels of the first layer, determines a contour of a figure having a closed area centered on the representative point and smaller in size than the contour specified by the second instruction, and obtains a representative value of the pixel values for two or more pixels on the contour.
前記第二近似条件は、
画素値が、Y-γからY+γまでの範囲内である(ただし、Yは前記画素の代表値であり、γは、第三層の画素である可能性が高い画素値の範囲を示すための、前記輪郭上の2以上の画素の画素値を用いて取得された値である)、という条件である請求項5記載の層状臓器領域特定装置。
The second approximation condition is:
The layered organ region identification device of claim 5, wherein the condition is that the pixel value is within the range of Y-γ to Y+γ (where Y is a representative value of the pixel, and γ is a value obtained using the pixel values of two or more pixels on the contour to indicate a range of pixel values that are likely to be pixels of the third layer).
前記出力部は、前記第一層および第二層の画素を示す情報をさらに出力する請求項1から請求項6いずれか一項記載の層状臓器領域特定装置。 The layered organ region identification device according to any one of claims 1 to 6, wherein the output unit further outputs information indicating the pixels of the first and second layers. 前記層状臓器は、子宮であり
前記第一層は、子宮内膜であり、
前記第二層は、junction zone(内膜直下筋層)であり、
前記第三層は、子宮筋層である、請求項1から請求項7いずれか一項記載の層状臓器領域特定装置。
said layered organ being the uterus and said first layer being the endometrium;
The second layer is a junction zone (muscular layer just below the intima),
The layered organ region identifying device according to claim 1 , wherein the third layer is a uterine muscle layer.
医用画像表示部と、第一受付部と、第二受付部と、第一層決定部と、第二層決定部と、第三層決定部と、出力部とを用いて行われる層状臓器領域決定方法であって、
前記医用画像表示部が、第一層と、当該第一層の外側に接する第二層と、当該第二層の外側に接する第三層とを有する層状臓器の医用画像を表示する医用画像表示ステップと、
前記第一受付部が、前記医用画像の前記第一層内の画素を指定する第一指示を受け付ける第一受付ステップと、
前記第二受付部が、前記医用画像の前記第三層を含む領域の外側の輪郭を指定する第二指示を受け付ける第二受付ステップと、
前記第一層決定部が、前記第一指示により指定される画素の画素値を取得し、当該画素値に対して第一近似条件を満たす画素であって、前記第一指示により指定される画素に連続する画素の集合を第一層の画素に決定する第一層決定ステップと、
前記第二層決定部が、前記第一層の画素の外側に隣接する連続した画素の集合を第二層の画素に決定する第二層決定ステップと、
前記第三層決定部が、前記第二層の画素の外側であって、前記第二指示により指定される輪郭内に位置している2以上の画素の画素値の代表値を取得し、当該代表値に対して第二近似条件を満たす画素値を有しており、前記第一層および第二層の画素以外の、前記第二指示により指定される輪郭の内側に位置している画素の集合を、第三層の画素に決定する第三層決定ステップと、
前記出力部が、前記第三層の画素を示す情報を出力する出力ステップと、を具備する層状臓器領域特定方法。
A layered organ region determining method performed using a medical image display unit, a first receiving unit, a second receiving unit, a first layer determining unit, a second layer determining unit, a third layer determining unit, and an output unit, comprising:
a medical image display step in which the medical image display unit displays a medical image of a layered organ having a first layer, a second layer in contact with the outside of the first layer, and a third layer in contact with the outside of the second layer;
a first reception step in which the first reception unit receives a first instruction specifying a pixel in the first layer of the medical image;
a second receiving step in which the second receiving unit receives a second instruction specifying an outer contour of a region including the third layer of the medical image;
a first layer determination step in which the first layer determination unit acquires a pixel value of a pixel designated by the first instruction, and determines a set of pixels that satisfy a first approximation condition for the pixel value and are adjacent to the pixel designated by the first instruction as pixels of a first layer;
a second layer determination step in which the second layer determination unit determines a set of consecutive pixels adjacent to the outside of the first layer pixel as a second layer pixel;
a third layer determination step in which the third layer determination unit obtains a representative value of pixel values of two or more pixels located outside the pixels of the second layer and within the contour specified by the second instruction, and determines a set of pixels that have a pixel value that satisfies a second approximation condition for the representative value and are located inside the contour specified by the second instruction, other than the pixels of the first and second layers, as pixels of a third layer;
An output step in which the output unit outputs information indicating the pixels of the third layer.
コンピュータを、
第一層と、当該第一層の外側に接する第二層と、当該第二層の外側に接する第三層とを有する層状臓器の医用画像を表示する医用画像表示部と、
前記医用画像の前記第一層内の画素を指定する第一指示を受け付ける第一受付部と、
前記医用画像の前記第三層を含む領域の外側の輪郭を指定する第二指示を受け付ける第二受付部と、
前記第一指示により指定される画素の画素値を取得し、当該画素値に対して第一近似条件を満たす画素であって、前記第一指示により指定される画素に連続する画素の集合を第一層の画素に決定する第一層決定部と、
前記第一層の画素の外側に隣接する連続した画素の集合を第二層の画素に決定する第二層決定部と、
前記第二層の画素の外側であって、前記第二指示により指定される輪郭内に位置している2以上の画素の画素値の代表値を取得し、当該代表値に対して第二近似条件を満たす画素値を有しており、前記第一層および第二層の画素以外の、前記第二指示により指定される輪郭の内側に位置している画素の集合を、第三層の画素に決定する第三層決定部と、
前記第三層の画素を示す情報を出力する出力部として機能させるためのプログラム。
Computer,
a medical image display unit that displays a medical image of a layered organ having a first layer, a second layer that is in contact with the outside of the first layer, and a third layer that is in contact with the outside of the second layer;
a first receiving unit that receives a first instruction specifying a pixel in the first layer of the medical image;
a second receiving unit that receives a second instruction that specifies an outer contour of a region including the third layer of the medical image;
a first layer determination unit that acquires a pixel value of a pixel designated by the first instruction, and determines a set of pixels that satisfy a first approximation condition for the pixel value and are adjacent to the pixel designated by the first instruction as pixels of a first layer;
a second layer determination unit that determines a set of adjacent pixels adjacent to an outer side of the first layer pixel as a second layer pixel;
a third layer determination unit that obtains a representative value of pixel values of two or more pixels located outside the pixels of the second layer and within the contour specified by the second instruction, and determines a set of pixels that have a pixel value that satisfies a second approximation condition for the representative value and are located inside the contour specified by the second instruction, other than the pixels of the first and second layers, as pixels of a third layer;
A program for causing the output unit to function as an output unit that outputs information indicating the pixels of the third layer.
JP2020203154A 2020-12-08 2020-12-08 Layered organ region specifying device, layered organ region specifying method, and program Active JP7539148B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020203154A JP7539148B2 (en) 2020-12-08 2020-12-08 Layered organ region specifying device, layered organ region specifying method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020203154A JP7539148B2 (en) 2020-12-08 2020-12-08 Layered organ region specifying device, layered organ region specifying method, and program

Publications (2)

Publication Number Publication Date
JP2022090703A JP2022090703A (en) 2022-06-20
JP7539148B2 true JP7539148B2 (en) 2024-08-23

Family

ID=82060727

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020203154A Active JP7539148B2 (en) 2020-12-08 2020-12-08 Layered organ region specifying device, layered organ region specifying method, and program

Country Status (1)

Country Link
JP (1) JP7539148B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003524489A (en) 2000-01-18 2003-08-19 ザ・ユニバーシティー・オブ・シカゴ Methods, systems, and computer-readable media for two-dimensional and three-dimensional detection of lung nodules in computed tomography scans
JP2003339694A (en) 2002-05-22 2003-12-02 Aloka Co Ltd Tomographic image processor
JP2008544826A (en) 2005-07-01 2008-12-11 ユニバーシティ・カレッジ・カーディフ・コンサルタンツ・リミテッド Image processing
US20180365808A1 (en) 2017-06-14 2018-12-20 Shenzhen United Imaging Healthcare Co., Ltd. System and method for image processing
JP2020131019A (en) 2019-02-18 2020-08-31 国立大学法人旭川医科大学 Image processing equipment, image processing methods, and programs

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003524489A (en) 2000-01-18 2003-08-19 ザ・ユニバーシティー・オブ・シカゴ Methods, systems, and computer-readable media for two-dimensional and three-dimensional detection of lung nodules in computed tomography scans
JP2003339694A (en) 2002-05-22 2003-12-02 Aloka Co Ltd Tomographic image processor
JP2008544826A (en) 2005-07-01 2008-12-11 ユニバーシティ・カレッジ・カーディフ・コンサルタンツ・リミテッド Image processing
US20180365808A1 (en) 2017-06-14 2018-12-20 Shenzhen United Imaging Healthcare Co., Ltd. System and method for image processing
JP2020131019A (en) 2019-02-18 2020-08-31 国立大学法人旭川医科大学 Image processing equipment, image processing methods, and programs

Also Published As

Publication number Publication date
JP2022090703A (en) 2022-06-20

Similar Documents

Publication Publication Date Title
US11185228B2 (en) Control method of information terminal and computer-readable recording medium
US7783089B2 (en) Method and apparatus for providing mammographic image metrics to a clinician
US11776692B2 (en) Training data collection apparatus, training data collection method, program, training system, trained model, and endoscopic image processing apparatus
JP7192372B2 (en) Information processing device, medical image display device and program
US20100183211A1 (en) Detecting haemorrhagic stroke in ct image data
JPH0512352A (en) Medical diagnosis support system
US20100293505A1 (en) Anatomy-related image-context-dependent applications for efficient diagnosis
CN111816285A (en) Medical information processing device and medical information processing method
JP5442542B2 (en) Pathological diagnosis support device, pathological diagnosis support method, control program for pathological diagnosis support, and recording medium recording the control program
EP2620885A2 (en) Medical image processing apparatus
JP2001008928A (en) Method and apparatus for displaying images
JP2004216008A (en) Image diagnosis support device
CN115393246A (en) Image segmentation system and image segmentation method
JP7539148B2 (en) Layered organ region specifying device, layered organ region specifying method, and program
JP5863330B2 (en) Image processing apparatus, image processing method, and program
US20090196481A1 (en) Image processing method and apparatus
CN114565582A (en) A kind of medical image classification and lesion area localization method, system and storage medium
JPWO2020129979A1 (en) Image processing equipment, methods and programs
JP7810559B2 (en) Case search device, case search method, and program
JP2020131019A (en) Image processing equipment, image processing methods, and programs
KR20250015794A (en) Integrated prediction method, device and computer program for cerebral hemorrhage prognosis using imaging and non-imaging data
JP2000311212A (en) Medical diagnosis support system
US20090136097A1 (en) Marking apparatus, marking method and computer program for marking a location in a medical image
US20230306604A1 (en) Image processing apparatus and image processing method
US8090208B2 (en) Robust segmentation of a mass candidate in digital mammography images

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231109

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240711

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240716

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240805

R150 Certificate of patent or registration of utility model

Ref document number: 7539148

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150