JP7248062B2 - Image clipping device and method - Google Patents
Image clipping device and method Download PDFInfo
- Publication number
- JP7248062B2 JP7248062B2 JP2021129973A JP2021129973A JP7248062B2 JP 7248062 B2 JP7248062 B2 JP 7248062B2 JP 2021129973 A JP2021129973 A JP 2021129973A JP 2021129973 A JP2021129973 A JP 2021129973A JP 7248062 B2 JP7248062 B2 JP 7248062B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- medical
- pixels
- unit
- corner
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 23
- 238000001514 detection method Methods 0.000 claims description 51
- 239000002131 composite material Substances 0.000 claims description 19
- 238000000605 extraction Methods 0.000 claims description 10
- 230000015654 memory Effects 0.000 description 24
- 238000010586 diagram Methods 0.000 description 19
- 230000006870 function Effects 0.000 description 12
- 238000012937 correction Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000003384 imaging method Methods 0.000 description 2
- 238000002595 magnetic resonance imaging Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000002591 computed tomography Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 229940079593 drug Drugs 0.000 description 1
- 239000003814 drug Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Landscapes
- Apparatus For Radiation Diagnosis (AREA)
- Magnetic Resonance Imaging Apparatus (AREA)
- Measuring And Recording Apparatus For Diagnosis (AREA)
- Image Processing (AREA)
Description
本発明は、モニタに表示された画像から特定の画像の領域を切り出す画像切り出し装置及び方法に関する。 The present invention relates to an image clipping device and method for clipping a specific image area from an image displayed on a monitor.
医師は、コンピュータ断層撮影装置(CT)または磁気共鳴診断装置(MRI)等の撮影装置によって人体を撮影した撮影画像を見て、患者を診断することがある。医師が診断のために用いる撮影画像を医用画像と総称する。医用画像はPACS(Picture Archiving and Communication System)サーバに記憶されていて、ワークステーションがPACSサーバより医用画像を読み出してモニタに表示する。 2. Description of the Related Art A doctor sometimes diagnoses a patient by looking at a photographed image of a human body taken by an imaging device such as a computed tomography device (CT) or a magnetic resonance imaging device (MRI). Captured images used by doctors for diagnosis are collectively called medical images. Medical images are stored in a PACS (Picture Archiving and Communication System) server, and the workstation reads out the medical images from the PACS server and displays them on a monitor.
医用画像を患者または他の医療機関に渡す必要があるときがある。通常、医用画像はDICOM(Digital Imaging and Communications in Medicine)規格に準拠しており、DICOMビューワと称されるソフトウェアによってモニタに表示される。従って、医用画像そのものを患者に渡しても患者は医用画像を見ることができない。 There are times when medical images need to be delivered to a patient or other medical facility. Medical images usually conform to the DICOM (Digital Imaging and Communications in Medicine) standard and are displayed on a monitor by software called a DICOM viewer. Therefore, even if the medical image itself is handed over to the patient, the patient cannot view the medical image.
医用画像のファイルには、撮影画像の他に患者の個人情報または診療情報が含まれていることがあり、個人情報保護の観点から、医用画像のファイルそのものを第三者に渡すことができないことがある。個人情報または診療情報が含まれていないとしても、医療機関に設置されているワークステーションは、セキュリティ保護の観点から、医用画像のファイルを、インターネットを介して外部へと送信できないことがある。また、USB(Universal Serial Bus)端子を介して外部メモリ(いわゆるUSBメモリ)に医用画像のファイルを書き込めないことがある。 Medical image files may contain the patient's personal information or medical information in addition to the captured images, and from the viewpoint of personal information protection, the medical image files themselves cannot be passed on to third parties. There is Even if personal information or medical information is not included, workstations installed in medical institutions may not be able to transmit medical image files to the outside via the Internet for security reasons. In addition, it may not be possible to write a medical image file to an external memory (a so-called USB memory) via a USB (Universal Serial Bus) terminal.
そこで、モニタに表示されている画像をキャプチャした画像ファイルを患者または他の医療機関に渡すことが考えられる。しかしながら、モニタには、医用画像の他に、PACSサーバのディレクトリ構造またはDICOMビューワの機能を選択するための機能選択メニューが表示されている。よって、モニタに表示されている画像をそのままキャプチャした画像ファイルを患者または他の医療機関に渡すことは好ましくない。 Therefore, it is conceivable to pass an image file obtained by capturing an image displayed on a monitor to a patient or another medical institution. However, in addition to the medical images, the monitor displays a directory structure of the PACS server or a function selection menu for selecting functions of the DICOM viewer. Therefore, it is not preferable to give an image file obtained by capturing the image displayed on the monitor as it is to a patient or another medical institution.
本発明は、モニタに表示されている画像のうち必要な画像の領域のみを切り出すことができる画像切り出し装置及び方法を提供することを目的とする。 SUMMARY OF THE INVENTION It is an object of the present invention to provide an image cropping device and method capable of cropping only a necessary image area from an image displayed on a monitor.
本発明は、表示パネルに表示される、黒を背景とする領域を有する複数の医用画像を含
む入力画像を黒レベルと白レベルに二値化する二値化部と、前記二値化部によって二値化
された二値化画像から、中心に注目画素を有する複数の画素からなるひし形の画素群を読
み出して、読み出された前記ひし形の画素群が黒レベルの並び方に応じて矩形領域におけ
る角部をそれぞれ検出する4つのパターンと一致するか否かを判定し、角部の画素の位置
を検出する角部検出部と、前記角部検出部によって検出された角部の画素の位置に基づい
て、前記複数の医用画像それぞれの矩形領域を検出する領域検出部と、前記複数の医用画
像のうちの最大の大きさを有する医用画像の矩形領域よりなる1つの医用画像を単位とし
て切り出す第1の切り出し方法と、前記複数の医用画像のうちの2つ以上を含む複合画像
を単位として切り出す第2の切り出し方法とを選択して、選択された切り出し方法で前記
入力画像から医用画像を切り出す切り出し領域設定部と、を備える画像切り出し装置を提
供する。
The present invention provides a binarization unit that binarizes an input image displayed on a display panel and including a plurality of medical images having black background areas into a black level and a white level, and the binarization unit: From the binarized binarized image, a rhombus-shaped pixel group consisting of a plurality of pixels having a target pixel in the center is read out, and the read out rhombus-shaped pixel group is arranged in a rectangular area according to the arrangement of the black levels. a corner detection unit that determines whether or not the corners match the four patterns for detecting the corners respectively, and detects the positions of the pixels of the corners; a region detection unit for detecting a rectangular region of each of the plurality of medical images, and one medical image comprising a rectangular region of the medical image having the largest size among the plurality of medical images. and a second extraction method for extracting a composite image including two or more of the plurality of medical images as a unit, and the input image is extracted by the selected extraction method. and a clipping region setting unit for clipping a medical image from the image clipping device.
本発明は、表示パネルに表示される、黒を背景とする領域を有する複数の医用画像を含
む入力画像を黒レベルと白レベルに二値化し、二値化された二値化画像から、中心に注目
画素を有する複数の画素からなるひし形の画素群を読み出して、読み出された前記ひし形
の画素群が黒レベルの並び方に応じて矩形領域における角部をそれぞれ検出する4つのパ
ターンと一致するか否かを判定し、角部の画素の位置を検出し、検出された角部の画素の
位置に基づいて、前記複数の医用画像それぞれの矩形領域を検出し、入力された操作に応
じて、前記複数の医用画像のうちの最大の大きさを有する医用画像の矩形領域よりなる1
つの医用画像を単位として切り出す第1の切り出し方法と、前記複数の医用画像のうちの
2つ以上を含む複合画像を単位として切り出す第2の切り出し方法とのいずれか一方を選
択し、選択された切り出し方法で前記入力画像から医用画像を切り出す画像切り出し方法
を提供する。
The present invention binarizes an input image, which includes a plurality of medical images having black background regions, to be displayed on a display panel into black and white levels, and converts the binarized binarized image into a center A diamond-shaped pixel group consisting of a plurality of pixels having a target pixel is read out, and the read-out diamond-shaped pixel group matches four patterns for detecting corners in a rectangular area according to the arrangement of black levels. and detecting the position of the pixel at the corner, detecting the rectangular region of each of the plurality of medical images based on the detected position of the pixel at the corner, and performing the operation according to the input operation , a rectangular region of a medical image having the largest size among the plurality of medical images
selecting one of a first extraction method for extracting one medical image as a unit and a second extraction method for extracting a composite image including two or more of the plurality of medical images as a unit; An image clipping method for clipping a medical image from the input image is provided.
本発明の画像切り出し装置及び方法によれば、モニタに表示されている画像のうち必要な医用画像の領域のみを切り出すことができる。 According to the image cropping device and method of the present invention, it is possible to crop only the necessary medical image region from the image displayed on the monitor.
以下、一実施形態の画像切り出し装置及び方法について、添付図面を参照して説明する。図1において、サーバ1には医用画像が記憶されており、ワークステーション2はサーバ1より医用画像を読み出してモニタ3に表示する。サーバ1はPACSサーバであってもよく、医用画像はDICOM規格に準拠した画像であってもよい。医用画像がDICOM規格に準拠した画像であるとき、ワークステーション2はDICOMビューワによって医用画像をモニタ3に表示する。
An image cropping device and method according to one embodiment will be described below with reference to the accompanying drawings. In FIG. 1, a
前述のように、モニタ3に表示される画像(入力画像)は、医用画像の他に、サーバ1のディレクトリ構造または機能選択メニューを含むことがある。
As described above, the images (input images) displayed on the
モニタ3は、オンスクリーンディスプレイ(OSD)重畳部301、パネル駆動部302、表示パネル303、操作部309を備える。これらは、モニタ3が通常備える構成である。
The
また、モニタ3は、画像メモリ304、二値化部305、角部検出部306、領域検出部307、切り出し領域設定部308、画像メモリ310、画像書き込み制御部311、記憶媒体接続ポート312を備える。これらは、モニタ3に表示されている画像のうち必要な医用画像の領域を切り出して外部メモリである記憶媒体4に書き込むために本実施形態において設けた構成である。
The
OSD重畳部301は、操作部309によって所定の操作がなされたときに、モニタ3に表示されている画像に文字、記号等のOSD情報(付加情報)を重畳する。パネル駆動部302は、表示パネル303を駆動して表示パネル303に医用画像を含む画像を表示する。
The OSD
画像メモリ304は、表示パネル303に表示されている医用画像を含む画像を記憶する。二値化部305は、画像メモリ304より読み出された画像の各画素値を二値化する。具体的には、二値化部305は、所定の閾値以下の画素値を0、閾値を超える画素値を1とする。閾値は0であってもよいし、黒レベルのオフセットまたはノイズを考慮して、0よりもわずかに大きい値としてもよい。閾値を調整可能としてもよい。
The
図2は、モニタ3への入力画像であって、表示パネル303に表示され、画像メモリ304に記憶されている医用画像51を含む画像50の一例を示している。図2に示す画像50は、身体の一部を撮影した医用画像51の他に、ディレクトリ構造が表示されているディレクトリ構造表示領域52と、機能選択メニューが表示されている機能選択メニュー表示領域53等の医用画像51以外の画像を含む。
FIG. 2 shows an example of an
医用画像51は、黒の背景に、身体が白またはグレーで表現されている。従って、二値化部305によって図2に示す画像50を二値化すると、背景の部分の画素値が0となり、身体の部分は画素値が1となる。ディレクトリ構造表示領域52と、機能選択メニュー表示領域53等の医用画像51以外の部分は、黒で表示された文字を除き、大方、画素値が1となる。
In the
角部検出部306は、二値化部305から供給された二値化画像に基づいて、黒を背景とする領域を医用画像51と推定して、医用画像51の矩形領域の4つの角部の画素位置を検出する。角部検出部306は、画像50を二値化した二値化画像のうち、一例として図3に示すパターンの41画素を単位として読み出す。図3において、黒丸は注目画素、白丸は注目画素の周辺に位置する周辺画素である。
Based on the binarized image supplied from the
角部検出部306は、読み出した41画素が特定のパターンと一致するか否かを判定することによって、黒を背景とする矩形領域の角部を検出する。
The
図4Aは、矩形領域の左上角部の画素位置を検出するパターンTLである。図4Bは、矩形領域の右上角部の画素位置を検出するパターンTRである。図4Cは、矩形領域の左下角部の画素位置を検出するパターンBLである。図4Dは、矩形領域の右下角部の画素位置を検出するパターンBRである。図4A~図4Dにおいて、*はパターンマッチングをしない画素であることを示す。即ち、*で示す位置の画素は0であっても1であってもよい。 FIG. 4A shows a pattern TL for detecting the pixel position of the upper left corner of the rectangular area. FIG. 4B is a pattern TR for detecting the pixel position of the upper right corner of the rectangular area. FIG. 4C is a pattern BL for detecting the pixel position of the lower left corner of the rectangular area. FIG. 4D is a pattern BR for detecting the pixel position of the lower right corner of the rectangular area. In FIGS. 4A to 4D, * indicates pixels that do not undergo pattern matching. That is, the pixels at the positions indicated by * may be 0 or 1. FIG.
角部検出部306が図4A~図4Dに示すパターンTL、TR、BL、BRを用いてパターンマッチングするときに、画像50の角部近傍の画素を注目画素とするときには、図3に示す41画素の一部が存在しないことがある。このような場合、角部検出部306は、図5に示すように、画像50の外側の画素位置の画素を補間する。一例として、角部検出部306は、画像50の外側の画素位置の画素を、画像50の上下または左右の端部の画素で補間する。
When the
図5に示す画像50の左上角部を例とすると、外側の画素位置の画素が、最上位ラインまたは左端に位置する画素P11~P13及びP21、P31、P41、P51で補間されている。外側の画素位置の画素の補間方法は種々あり、図5に示す補間方法に限定されない。
Taking the upper left corner of the
角部検出部306は、画像50の左から右、上から下へと注目画素を1画素ずつずらしながら、パターンTL、TR、BL、BRのいずれかに所定の割合以上で一致する画素を探索する。角部検出部306は、所定の割合以上で一致する画素があったとき、その画素の位置情報を内蔵するレジスタに格納する。所定の割合を調整可能としてもよい。
The
以上の処理によって、図6に示すように、角部検出部306は、医用画像51における左上角部の画素Pc1の位置と、右上角部の画素Pc2の位置と、左下角部の画素Pc3の位置と、右下角部の画素Pc4の位置とを検出する。
With the above processing, the
領域検出部307は、角部検出部306によって検出された4つの角部の画素位置に基づいて、医用画像51のような黒を背景とする矩形領域を検出する。領域検出部307は、次の条件を満たすとき矩形領域を検出したと決定する。
The
第1に、パターンTLを用いて検出した水平画素位置と、パターンBLを用いて検出した水平画素位置とが所定の誤差の範囲内で一致する。第2に、パターンTRを用いて検出した水平画素位置と、パターンBRを用いて検出した水平画素位置とが所定の誤差の範囲内で一致する。第3に、パターンTLを用いて検出した垂直画素位置と、パターンTRを用いて検出した垂直画素位置とが所定の誤差の範囲内で一致する。第4に、パターンBLを用いて検出した垂直画素位置と、パターンBRを用いて検出した垂直画素位置とが所定の誤差の範囲内で一致する。 First, the horizontal pixel position detected using the pattern TL and the horizontal pixel position detected using the pattern BL match within a predetermined error range. Second, the horizontal pixel position detected using the pattern TR and the horizontal pixel position detected using the pattern BR match within a predetermined error range. Third, the vertical pixel position detected using the pattern TL and the vertical pixel position detected using the pattern TR match within a predetermined error range. Fourth, the vertical pixel position detected using the pattern BL and the vertical pixel position detected using the pattern BR match within a predetermined error range.
角部検出部306のレジスタに格納したパターンTL、TR、BL、BRを用いて検出した水平画素位置(x)と垂直画素位置(y)とが、それぞれ、(x,y)=(100,100)、(300,100)、(100,200)、(300,200)であるとする。このとき、領域検出部307は、(x,y)=(100,100)を左上角部、(x,y)=(300,200)を右下角部とする領域を矩形領域と検出する。
The horizontal pixel position (x) and the vertical pixel position (y) detected using the patterns TL, TR, BL, and BR stored in the register of the
角部検出部306において、図7の(a)に示すように4つの角部のうちの1つ角部が検出できない場合、図7の(b)に示すように対角方向の2つの角部が検出できない場合が発生することがある。図7の(a)及び(b)において、ハッチングを付した丸は検出された角部の画素、二点鎖線にて示す丸は検出できなかった角部の画素を示す。
If one of the four corners cannot be detected by the
領域検出部307は、図7の(a)または(b)の場合に、矩形領域を検出したとみなしてもよい。このとき、領域検出部307は、検出できなかった角部の画素の位置情報を検出された角部の画素の位置情報で代用すればよい。
The
仮に、画像50のうち医用画像51以外の領域において、医用画像でないにもかかわらず黒または黒に近いグレーで表現されている非医用画像の矩形領域が存在したとする。このとき、角部検出部306が非医用画像の矩形領域の角部を検出し、領域検出部307が非医用画像の矩形領域を医用画像の矩形領域と誤検出するおそれがある。
Suppose that there is a non-medical image rectangular area in the
通常、医用画像の矩形領域は所定の範囲のアスペクト比を有し、過度に横長または縦長の矩形領域は医用画像の矩形領域ではない可能性が高い。そこで、領域検出部307は、所定の範囲から外れたアスペクト比を有する矩形領域を医用画像の矩形領域ではないとみなして除外することが好ましい。
A rectangular region of a medical image usually has an aspect ratio within a predetermined range, and a rectangular region that is excessively horizontally or vertically elongated is highly likely not to be a rectangular region of a medical image. Therefore, the
以上のようにして、モニタ3に図2に示す画像50が入力されたとき、領域検出部307は、画像50内の医用画像51を、画像を切り出すべき矩形領域であると検出する。操作部309によって医用画像51を切り出す指示がなされたとき、切り出し領域設定部308は、画像メモリ304に記憶された画像50のうち、医用画像51の領域を切り出し、切り出された画像を画像メモリ310に供給する。画像メモリ310は切り出された画像を記憶する。
As described above, when the
操作部309によって、切り出された画像を記憶媒体4に書き込む指示がなされたとき、画像書き込み制御部311は、画像メモリ310から、切り出された画像を読み出して、記憶媒体接続ポート312を介して記憶媒体4に書き込む。これによって、記憶媒体4には、図2に示す医用画像51の領域のみを切り出した画像が記憶される。
When an instruction to write the clipped image to the
記憶媒体4は例えばUSBメモリであり、この場合、記憶媒体接続ポート312はUSB接続ポートである。記憶媒体4はメモリカードであってもよく、この場合、記憶媒体接続ポート312はメモリカードの接続ポートである。
The
図8は、モニタ3への入力画像の他の例を示している。図8に示す画像50は、4つの医用画像501~504と、機能選択メニュー表示領域53とを含む。モニタ3に図2に示す画像50が入力された場合と同様に、表示パネル303は図8に示す画像50を表示し、画像メモリ304は図8に示す画像50を記憶する。
FIG. 8 shows another example of an input image to the
二値化部305は図8に示す画像50を二値化し、角部検出部306はパターンTL、TR、BL、BRを用いて画像50に含まれる黒を背景とする矩形領域の角部の画素位置を検出する。
A
図8に示す画像50は4つの医用画像501~504を含む。よって、角部検出部306は、医用画像501における4つの角部の画素Pc11~Pc14の位置を検出し、医用画像502における4つの角部の画素Pc21~Pc24の位置を検出する。角部検出部306は、医用画像503における4つの角部の画素Pc31~Pc34の位置を検出し、医用画像504における4つの角部の画素Pc41~Pc44の位置を検出する。
The
このように、角部検出部306において複数の矩形領域の角部の画素位置が検出されたとき、領域検出部307は、それぞれの矩形領域において、上述した条件を満たすか否かを判定して矩形領域を検出する。さらに、領域検出部307は、複数の矩形領域のうちの2またはそれ以上を組み合わせた複合領域(複合画像)を矩形領域と検出する。
In this way, when the
図8に示すように4つの医用画像501~504が存在するとき、領域検出部307は図9の(a)~(f)に示すように矩形領域を検出する。
When there are four
具体的には、図9の(a)に示すように、領域検出部307は、医用画像501~504を個別に矩形領域と検出する。
Specifically, as shown in (a) of FIG. 9, the
図9の(b)に示すように、領域検出部307は、画素Pc11、Pc12、Pc33、Pc34で囲まれた医用画像501及び503を含む複合画像5013を矩形領域と検出する。図9の(c)に示すように、領域検出部307は、画素Pc21、Pc22、Pc43、Pc44で囲まれた医用画像502及び504を含む複合画像5024を矩形領域と検出する。
As shown in FIG. 9B, the
図9の(d)に示すように、領域検出部307は、画素Pc11、Pc22、Pc13、Pc24で囲まれた医用画像501及び502を含む複合画像5012を矩形領域と検出する。図9の(e)に示すように、領域検出部307は、画素Pc31、Pc42、Pc33、Pc44で囲まれた医用画像503及び504を含む複合画像5034を矩形領域と検出する。
As shown in (d) of FIG. 9, the
さらに、図9の(f)に示すように、領域検出部307は、画素Pc11、Pc22、Pc33、Pc44で囲まれた医用画像501~504の全体を含む複合画像500を矩形領域と検出する。
Further, as shown in (f) of FIG. 9, the
モニタ3の操作者は、操作部309を操作することによって、図9の(a)~(f)のうちから、切り出し領域設定部308が画像50より切り出す矩形領域を選択する。図9に矢印で示すように、切り出し領域設定部308は、操作者が操作部309における1つの操作ボタンを押すたびに、図9の(a)~(f)の矩形領域を順に切り替える。
The operator of the
このようにすれば、操作者が、操作部309が通常備える操作ボタンを押すだけで、図9の(a)~(f)のうちのいずれかの矩形領域を簡単に選択することができる。モニタ3を、画像50より医用画像の領域を切り出して記憶媒体4に書き込むモードに設定したときに、操作ボタンに矩形領域を切り替える機能を割り当てればよい。
In this way, the operator can easily select any one of the rectangular areas from (a) to (f) of FIG. When the
切り出し領域設定部308は、図9の(a)が選択されたとき、画像メモリ304に記憶された画像50のうち、医用画像501~504の各領域を個別に切り出した画像を画像メモリ310に供給する。画像メモリ310は4つの画像を記憶する。
When (a) of FIG. 9 is selected, the clipping
操作部309によって、切り出した画像を記憶媒体4に書き込む指示がなされたとき、画像書き込み制御部311は、画像メモリ310から、切り出した4つの画像を読み出して、記憶媒体接続ポート312を介して記憶媒体4に書き込む。これによって、記憶媒体4には、図8に示す医用画像501~504の各領域を個別に切り出した画像が記憶される。
When an instruction to write the clipped images to the
図9の(b)が選択されたときには、記憶媒体4には、医用画像501及び503を含む1つの複合画像5013が記憶され、図9の(c)が選択されたときには、記憶媒体4には、医用画像502及び504を含む1つの複合画像5024が記憶される。
When (b) of FIG. 9 is selected, one
図9の(d)が選択されたときには、記憶媒体4には、医用画像501及び502を含む1つの複合画像5012が記憶され、図9の(e)が選択されたときには、記憶媒体4には、医用画像503及び504を含む1つの複合画像5034が記憶される。
When (d) of FIG. 9 is selected, one
図9の(f)が選択されたときには、記憶媒体4には、医用画像501~504の全体を含む1つの複合画像500が記憶される。
When (f) of FIG. 9 is selected, the
さらに、図10に示すように、切り出し領域設定部308は、操作部309の操作に応じて、医用画像501~504のうちの1つの医用画像のみを選択的に切り出した画像を画像メモリ310に供給するようにしてもよい。このようにすれば、記憶媒体4に医用画像501~504のうちの選択した1つの医用画像のみを記憶させることができる。
Furthermore, as shown in FIG. 10, the clipping
図9または図10のように切り出す医用画像が選択されるときに、OSD重畳部301は、選択された医用画像の周囲に所定の色の枠を重畳することが好ましい。
When a medical image to be cut out is selected as shown in FIG. 9 or 10, the
以上のように、切り出し領域設定部308は、医用画像501~504のうちの少なくとも1つの医用画像の矩形領域を単位として個別に切り出す第1の切り出し方法を選択することができる。切り出し領域設定部308は、医用画像501~504のうちの2つ以上を含む複合画像を単位として切り出す第2の切り出し方法を選択することができる。切り出し領域設定部308は、入力された操作に応じて、いずれか一方の切り出し方法を選択して、選択された切り出し方法で画像50から医用画像を切り出す。
As described above, the clipping
切り出し領域設定部308は、さらに多くの切り出し方法からいずれか1つの切り出し方法を選択して、選択された切り出し方法で画像50から医用画像を切り出すこともできる。
The clipping
操作者は、モニタ3に表示されている画像50のうち必要な医用画像の領域のみを簡単な操作で切り出して記憶媒体4に記憶させることができる。
The operator can cut out only the necessary medical image area from the
画像50のうち切り出す医用画像を順に切り替える代わりに、切り出し方を選択するように構成してもよい。図11に示すように、OSD重畳部301は、操作部309によって所定の操作がなされたときに、表示パネル303に切り出し方を選択するメニューを表示させる。OSD重畳部301は、画像50の代わりにメニューを表示パネル303に表示してもよいし、画像50にメニューを重畳してもよい。OSD重畳部301は、メニュー表示部として機能する。
Instead of sequentially switching medical images to be clipped out of the
図11に示す例では、表示パネル303に、「各医用画像を個々に切り出して保存する」なる第1の選択肢、「医用画像の全体を切り出して保存する」なる第2の選択肢、「手動で医用画像を選択して保存する」なる第3の選択肢の3つの選択肢がメニューとして表示されている。第3の選択肢を省略して第1及び第2の選択肢のみとしてもよい。
In the example shown in FIG. 11 , the
第1の選択肢は、図9の(a)に示すように、医用画像501~504の各領域を個別に切り出した4つの画像を記憶媒体4に記憶させる選択肢である。第2の選択肢は、図9の(f)に示すように、医用画像501~504の全体を含む1つの複合画像500を切り出して記憶媒体4に記憶させる選択肢である。第3の選択肢は、図9または図10のように記憶媒体4に記憶させる医用画像を直接選択する選択肢である。
The first option, as shown in FIG. 9(a), is to store in the
第3の選択肢を選択したとき、第1の選択肢または2で選択される医用画像を除いた医用画像を順に切り替えるようにしてもよい。 When the third option is selected, the medical images other than the medical images selected in the first option or 2 may be switched in order.
図12は、画像50内に医用画像511~513が存在し、医用画像513の大きさが最も大きい場合を概念的に示している。この場合、図13に示すように、図11に示す第1~第3の選択肢に加えて、「最大サイズの医用画像を切り出して保存する」なる第4の選択肢を追加することができる。
FIG. 12 conceptually shows a case where
第1の選択肢は、図14の(a)に示すように、医用画像511~513の各領域を個別に切り出した3つの画像を記憶媒体4に記憶させる選択肢である。第4の選択肢は、図14の(b)に示すように、最大サイズの医用画像513を切り出して記憶媒体4に記憶させる選択肢である。第2の選択肢は、医用画像511~513の全体を含む1つの複合画像510を切り出して記憶媒体4に記憶させる選択肢である。
The first option, as shown in FIG. 14(a), is to store in the
ところで、モニタ3に表示される医用画像は、モノクロ画像である場合と、カラー画像である場合とがある。図8のようにモニタ3に複数の医用画像を表示しているとき、一部の医用画像がモノクロ画像であって他の一部の医用画像がカラー画像である場合がある。モニタ3は、モノクロ画像及びカラー画像それぞれに適切な画像処理を施して表示パネル303に表示することが必要である。
By the way, the medical image displayed on the
図15は、モノクロ画像とカラー画像とが混在した画像を表示する場合に好適なモニタ3の構成を示している。図15においては、図1との共通部分の図示を省略して、異なる部分を中心とした部分的な構成を示している。
FIG. 15 shows the configuration of the
図15において、カラー/モノクロ判定部321は、入力された画像50における領域検出部307で検出された医用画像の矩形領域ごとに、カラー画像であるかモノクロ画像であるかを判定する。ガンマテーブル生成部322は、カラー画像の矩形領域においては、DICOM GSDFと称されているガンマテーブルを生成し、モノクロ画像の矩形領域においては、ガンマ2.2のガンマテーブルを生成する。
In FIG. 15, a color/
画像データを8ビットとすると、DICOM GSDF及びガンマ2.2のガンマテーブルは図16に示すような入出力特性を有する。ガンマテーブル生成部322は、計算式を用いた計算によってDICOM GSDF及びガンマ2.2のガンマテーブルを生成することができる。
Assuming that the image data is 8 bits, the gamma table of DICOM GSDF and gamma 2.2 has input/output characteristics as shown in FIG. The
ガンマテーブルを計算によって生成する代わりに、ガンマテーブルを示すルックアップテーブルを記憶部に記憶させておき、ルックアップテーブルを参照して画像データの出力値を決定してもよい。この場合、ガンマテーブル生成部322は、ガンマテーブル保持部である。
Instead of generating the gamma table by calculation, a lookup table indicating the gamma table may be stored in the storage unit and the output value of the image data may be determined by referring to the lookup table. In this case, the
ガンマ補正部323は、ガンマテーブル生成部322で生成されたガンマテーブルに従って入力された画像50をガンマ補正して、OSD重畳部301に供給する。医用画像の矩形領域ごとにガンマテーブルが選択されるから、ガンマ補正部323はカラー画像の矩形領域とモノクロ画像の矩形領域とをそれぞれ適切にガンマ補正することができる。
The
カラー/モノクロ判定部321は、画像データを構成するRGB信号のR信号とG信号との差、R信号とB信号との差、G信号とB信号との差が所定の閾値以下で差が小さいときには、モノクロ画像であると判定する。カラー/モノクロ判定部321は、R信号とG信号との差、R信号とB信号との差、G信号とB信号との差のうちのいずれかが、閾値を超えて差が大きいときには、カラー画像であると判定する。差の閾値を調整可能としてもよい。
The color/
医用画像は、完全なグレーの画像ではなく、薄い青色または薄い緑色の画像である場合もある。そこで、カラー/モノクロ判定部321は、領域検出部307で検出された医用画像の矩形領域内の全ての画素においてR信号とG信号とB信号の比率が等しい、または、比率が所定の閾値以下で差が小さい所定の単一色の画像であるとき、モノクロ画像であると判定してもよい。比率の閾値を調整可能としてもよい。
A medical image may be a pale blue or pale green image rather than a pure gray image. Therefore, the color/
カラー/モノクロ判定部321は、ディレクトリ構造表示領域52及び機能選択メニュー表示領域53においても同様に、カラー画像であるかモノクロ画像であるかを判定する。ガンマ補正部323は、ディレクトリ構造表示領域52及び機能選択メニュー表示領域53においても同様に、ガンマテーブル生成部322で生成されたガンマテーブルに従って画像をガンマ補正する。
The color/
以上説明した本実施形態の画像切り出し装置及び方法によれば、モニタに表示されている画像のうち必要な医用画像の領域のみを切り出すことができる。しかも、本実施形態の画像切り出し装置及び方法によれば、操作者が複雑な操作をする必要なく、簡単な操作で必要な医用画像の領域のみを切り出すことができる。 According to the image clipping device and method of the present embodiment described above, it is possible to clip only the necessary medical image region from the image displayed on the monitor. Moreover, according to the image clipping device and method of the present embodiment, only the necessary medical image region can be clipped with a simple operation without the operator having to perform complicated operations.
本実施形態の画像切り出し装置をモニタ3に設けることにより、ワークステーション2から医用画像のファイルを介して外部へと送信できない場合、または外部メモリに医用画像のファイルを書き込めない場合であっても、医用画像を外部メモリに書き込んで持ち出すことができる。
By providing the image cropping device of the present embodiment on the
本実施形態の画像切り出し装置及び方法によれば、モニタ3に表示されている画像をそのままキャプチャした画像ではなく、必要な医用画像の領域のみを切り出すことができる。よって、本実施形態の画像切り出し装置及び方法によれば、PACSサーバのディレクトリ構造または機能選択メニューのような不必要な領域を除外して切り出すことができる。
According to the image clipping device and method of the present embodiment, it is possible to clip only the necessary medical image region instead of capturing the image displayed on the
本発明は以上説明した本実施形態に限定されることはなく、本発明の要旨を逸脱しない範囲において種々変更可能である。図1におけるモニタ3の内部構成を、ハードウェアで構成してもよいし、ソフトウェアで構成してもよい。ハードウェアとソフトウェアとの使い分けは任意であって、両者が混在していてもよい。
The present invention is not limited to the embodiments described above, and various modifications can be made without departing from the gist of the present invention. The internal configuration of the
モニタ3の内部構成の一部をマイクロコンピュータまたはマイクロコンピュータのマイクロプロセッサで構成してもよい。二値化部305~切り出し領域設定部308及び画像書き込み制御部311をマイクロプロセッサによって構成してもよい。画像メモリ304及び310を、マイクロコンピュータが備えるメモリで構成してもよい。
A part of the internal configuration of the
3 モニタ
4 記憶媒体
301 OSD重畳部
302 パネル駆動部
303 表示パネル
304,310 画像メモリ
305 二値化部
306 角部検出部
307 領域検出部
308 切り出し領域設定部
309 操作部
311 画像書き込み制御部
312 記憶媒体接続ポート
3 monitor 4
Claims (4)
を黒レベルと白レベルに二値化する二値化部と、
前記二値化部によって二値化された二値化画像から、中心に注目画素を有する複数の画
素からなるひし形の画素群を読み出して、読み出された前記ひし形の画素群が黒レベルの
並び方に応じて矩形領域における角部をそれぞれ検出する4つのパターンと一致するか否
かを判定し、角部の画素の位置を検出する角部検出部と、
前記角部検出部によって検出された角部の画素の位置に基づいて、前記複数の医用画像
それぞれの矩形領域を検出する領域検出部と、
前記複数の医用画像のうちの最大の大きさを有する医用画像の矩形領域よりなる1つの
医用画像を単位として切り出す第1の切り出し方法と、前記複数の医用画像のうちの2つ
以上を含む複合画像を単位として切り出す第2の切り出し方法とを選択して、選択された
切り出し方法で前記入力画像から医用画像を切り出す切り出し領域設定部と、
を備える画像切り出し装置。 a binarization unit that binarizes an input image displayed on a display panel and including a plurality of medical images having a black background area into a black level and a white level;
A diamond-shaped pixel group consisting of a plurality of pixels having a target pixel in the center is read from the binarized image binarized by the binarization unit, and the read diamond-shaped pixel group is arranged in a black level arrangement. a corner detection unit for determining whether or not each pattern matches four patterns for detecting corners in a rectangular area in response to and detecting the positions of pixels in the corners;
an area detection unit that detects a rectangular area of each of the plurality of medical images based on the positions of the corner pixels detected by the corner detection unit;
One medical image consisting of a rectangular area having the largest size among the plurality of medical images
selecting a first extraction method for extracting a medical image as a unit and a second extraction method for extracting a composite image including two or more of the plurality of medical images as a unit; a clipping region setting unit for clipping a medical image from an input image;
An image cropping device comprising:
記4つのパターンのいずれかに所定の割合以上で一致するか否かを判定し、角部の画素を
探索する、
請求項1に記載の画像切り出し装置。 The corner detection unit shifts the pixel of interest in the binarized image by one pixel and determines whether or not it matches any of the four patterns at a predetermined rate or more, thereby searching for corner pixels. do,
2. The image cropping device according to claim 1.
記画素の一部が存在しない領域を前記二値化画像における上下または左右の端部の画素で
補間し角部を検出する、
請求項2に記載の画像切り出し装置。 The corner detection unit interpolates an area where some of the pixels do not exist with pixels at the top and bottom or left and right ends of the binarized image when some of the pixels of the pixel group read out do not exist. to detect corners,
3. The image cropping device according to claim 2.
を黒レベルと白レベルに二値化し、
二値化された二値化画像から、中心に注目画素を有する複数の画素からなるひし形の画
素群を読み出して、読み出された前記ひし形の画素群が黒レベルの並び方に応じて矩形領
域における角部をそれぞれ検出する4つのパターンと一致するか否かを判定し、角部の画
素の位置を検出し、
検出された角部の画素の位置に基づいて、前記複数の医用画像それぞれの矩形領域を検
出し、
入力された操作に応じて、前記複数の医用画像のうちの最大の大きさを有する医用画像
の矩形領域よりなる1つの医用画像を単位として切り出す第1の切り出し方法と、前記複
数の医用画像のうちの2つ以上を含む複合画像を単位として切り出す第2の切り出し方法
とのいずれか一方を選択し、
選択された切り出し方法で前記入力画像から医用画像を切り出す
画像切り出し方法。
binarizing an input image displayed on a display panel and including a plurality of medical images having black background regions into black and white levels;
From the binarized binarized image, a rhombus-shaped pixel group consisting of a plurality of pixels having a target pixel in the center is read out, and the read out rhombus-shaped pixel group is arranged in a rectangular area according to the arrangement of the black levels. Determining whether or not it matches the four patterns for detecting each corner, detecting the position of the pixel at the corner,
Detecting a rectangular region in each of the plurality of medical images based on the detected corner pixel positions;
A first cropping method for cropping one medical image as a unit, which consists of a rectangular area of a medical image having the largest size among the plurality of medical images, according to an input operation; Selecting either one of a second extraction method for extracting a composite image containing two or more of them as a unit,
An image cropping method for cropping a medical image from the input image by a selected cropping method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021129973A JP7248062B2 (en) | 2017-12-26 | 2021-08-06 | Image clipping device and method |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017249139A JP6930418B2 (en) | 2017-12-26 | 2017-12-26 | Image cropping device and method |
JP2021129973A JP7248062B2 (en) | 2017-12-26 | 2021-08-06 | Image clipping device and method |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017249139A Division JP6930418B2 (en) | 2017-12-26 | 2017-12-26 | Image cropping device and method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2021169051A JP2021169051A (en) | 2021-10-28 |
JP7248062B2 true JP7248062B2 (en) | 2023-03-29 |
Family
ID=67223396
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017249139A Active JP6930418B2 (en) | 2017-12-26 | 2017-12-26 | Image cropping device and method |
JP2021129973A Active JP7248062B2 (en) | 2017-12-26 | 2021-08-06 | Image clipping device and method |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017249139A Active JP6930418B2 (en) | 2017-12-26 | 2017-12-26 | Image cropping device and method |
Country Status (1)
Country | Link |
---|---|
JP (2) | JP6930418B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6930418B2 (en) * | 2017-12-26 | 2021-09-01 | 株式会社Jvcケンウッド | Image cropping device and method |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000285248A (en) | 1999-03-29 | 2000-10-13 | Dainippon Printing Co Ltd | Layout device for graphic object |
JP2000342539A (en) | 1999-06-04 | 2000-12-12 | Arei Kk | Image processor and method therefor |
JP2007507987A (en) | 2003-09-30 | 2007-03-29 | インテル コーポレイション | Rectangular motion search |
WO2008035401A1 (en) | 2006-09-19 | 2008-03-27 | Fujitsu Limited | Electronic watermark embedding device and detection device |
JP2009183342A (en) | 2008-02-04 | 2009-08-20 | Hitachi Computer Peripherals Co Ltd | Image processor |
JP2013009293A (en) | 2011-05-20 | 2013-01-10 | Sony Corp | Image processing apparatus, image processing method, program, recording medium, and learning apparatus |
US20160070978A1 (en) | 2014-09-05 | 2016-03-10 | Samsung Electronics Co., Ltd. | Digital image processing method, non-transitory computer-readable recording medium having recorded thereon a program for executing the digital image processing method, and digital image processing apparatus |
JP2019111275A (en) | 2017-12-26 | 2019-07-11 | 株式会社Jvcケンウッド | Image segmentation device and method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5978443A (en) * | 1997-11-10 | 1999-11-02 | General Electric Company | Automated removal of background regions from radiographic images |
JP4182465B2 (en) * | 2001-10-18 | 2008-11-19 | 株式会社東芝 | X-ray CT system |
JP2007282771A (en) * | 2006-04-14 | 2007-11-01 | Konica Minolta Medical & Graphic Inc | Medical information processor, and program |
-
2017
- 2017-12-26 JP JP2017249139A patent/JP6930418B2/en active Active
-
2021
- 2021-08-06 JP JP2021129973A patent/JP7248062B2/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000285248A (en) | 1999-03-29 | 2000-10-13 | Dainippon Printing Co Ltd | Layout device for graphic object |
JP2000342539A (en) | 1999-06-04 | 2000-12-12 | Arei Kk | Image processor and method therefor |
JP2007507987A (en) | 2003-09-30 | 2007-03-29 | インテル コーポレイション | Rectangular motion search |
WO2008035401A1 (en) | 2006-09-19 | 2008-03-27 | Fujitsu Limited | Electronic watermark embedding device and detection device |
JP2009183342A (en) | 2008-02-04 | 2009-08-20 | Hitachi Computer Peripherals Co Ltd | Image processor |
JP2013009293A (en) | 2011-05-20 | 2013-01-10 | Sony Corp | Image processing apparatus, image processing method, program, recording medium, and learning apparatus |
US20160070978A1 (en) | 2014-09-05 | 2016-03-10 | Samsung Electronics Co., Ltd. | Digital image processing method, non-transitory computer-readable recording medium having recorded thereon a program for executing the digital image processing method, and digital image processing apparatus |
JP2019111275A (en) | 2017-12-26 | 2019-07-11 | 株式会社Jvcケンウッド | Image segmentation device and method |
Also Published As
Publication number | Publication date |
---|---|
JP2021169051A (en) | 2021-10-28 |
JP6930418B2 (en) | 2021-09-01 |
JP2019111275A (en) | 2019-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI467495B (en) | Edge mapping using panchromatic pixels | |
US7652717B2 (en) | White balance correction in digital camera images | |
US8705824B2 (en) | Apparatus and method for ordering stored images | |
US10972705B2 (en) | Medical display apparatus, endoscopic surgery system, and method of displaying medical image | |
JP7248062B2 (en) | Image clipping device and method | |
US20120050309A1 (en) | Display control apparatus and display control method | |
JP2006079220A (en) | Image retrieval device and method | |
JP5509173B2 (en) | Display device and display method | |
JP4721865B2 (en) | Medical image display device | |
US20140139402A1 (en) | Method for producing logical area-based hanging protocols for multiple monitor workstations | |
JP2007282771A (en) | Medical information processor, and program | |
JP2006271800A (en) | Image processing apparatus, method and program | |
US10499859B2 (en) | Image display apparatus, image display method, and storage medium | |
US20050248664A1 (en) | Identifying red eye in digital camera images | |
CN108735283B (en) | Information processing apparatus, system, method, and storage medium | |
JP2013114189A (en) | Image display device and control method thereof | |
US6418237B1 (en) | Abnormal pattern detection processing method and system and image display terminal | |
CN106814987B (en) | Display method and device | |
KR100846798B1 (en) | Method and system for displaying pixilated input image | |
US20090195548A1 (en) | Method and Apparatus for Improved Display of Digital Mammographic Images | |
US7472994B2 (en) | Ophthalmologic image pickup system | |
JP4717287B2 (en) | Display device | |
US20060115136A1 (en) | Image processing method and apparatus | |
US20230200766A1 (en) | Medical image display device | |
US10964021B2 (en) | Information processing apparatus, information processing method, and information processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210806 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220715 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220823 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20221019 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20230214 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230227 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7248062 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |