JP2000157520A - Feature amount extraction device and method, and computer readable storage medium - Google Patents

Feature amount extraction device and method, and computer readable storage medium

Info

Publication number
JP2000157520A
JP2000157520A JP10339872A JP33987298A JP2000157520A JP 2000157520 A JP2000157520 A JP 2000157520A JP 10339872 A JP10339872 A JP 10339872A JP 33987298 A JP33987298 A JP 33987298A JP 2000157520 A JP2000157520 A JP 2000157520A
Authority
JP
Japan
Prior art keywords
image
value
pixel value
ratio
feature amount
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.)
Pending
Application number
JP10339872A
Other languages
Japanese (ja)
Inventor
Hiroyuki Arahata
弘之 新畠
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP10339872A priority Critical patent/JP2000157520A/en
Publication of JP2000157520A publication Critical patent/JP2000157520A/en
Pending legal-status Critical Current

Links

Landscapes

  • Apparatus For Radiation Diagnosis (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To stably and accurately extract a feature amount in the case of gradation-converting the lung area of an X-ray image by using a density feature amount. SOLUTION: In the case of gradation-converting the lung area, based on the fact that stable gradation characteristics are obtained at the time of using a maximum value inside the lung area as the density feature amount, the-feature amount is extracted. An image conversion circuit 113a binary-converts a pixel value equal to or more than a threshold in an irradiation area image including the lung area to 0 and the pixel value smaller than the threshold to 1 and a connection verification circuit 113b verifies the connection component of the converted binary images and extracts a hole area. A pixel value change circuit 113c calculates the size of the extracted hole area, and when a ratio to the entire image exceeds a fixed ratio, decides the threshold as the feature amount.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、画像の階調変換を
行うために用いる画像の濃度特徴量を抽出する特徴量抽
出装置、方法及びそれらに用いられるコンピュータ読み
取り可能な記憶媒体に関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to a feature extracting apparatus and method for extracting a density feature of an image used for performing gradation conversion of an image, and a computer-readable storage medium used for the method and apparatus. .

【0002】[0002]

【従来の技術】センサ、カメラ等何らかの撮影装置で撮
影された画像データを、モニタ画面、X線診断用フィル
ム等に表示する場合、撮影して取得した画像データに何
らかの階調変換をして、観察しやすい濃度値に変換する
のが一般的である。
2. Description of the Related Art When displaying image data photographed by a photographing device such as a sensor or a camera on a monitor screen, an X-ray diagnostic film, or the like, some gradation conversion is performed on the image data photographed and acquired. It is common to convert to a density value that is easy to observe.

【0003】例えば、医療用のX線撮影における肺領域
の撮影では、撮影データをX線診断用フィルムに表示す
る場合、従来方法では、画像の画素全体のヒストグラム
を作成し、このヒストグラムの上位5%点等の一定部分
点の画素値等を、フィルム上で例えば1.9程度の濃度
に変換していた。
For example, in the case of imaging of a lung region in medical X-ray imaging, when imaging data is displayed on an X-ray diagnostic film, a conventional method creates a histogram of all the pixels of an image, and ranks the top five histograms. Pixel values and the like at certain partial points such as% points are converted to a density of, for example, about 1.9 on the film.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述し
たような方法では、あくまで高濃度部の値をフィルムの
一定濃度に変換しているのにすぎず、撮影画像毎にフィ
ルム濃度がばらつくという問題があった。
However, in the above-described method, the value of the high density portion is merely converted into a constant density of the film, and the film density varies for each photographed image. there were.

【0005】本発明は、上記の問題を解決するために成
されたもので、肺領域等の画像の特徴量を安定して抽出
して、安定、適切な階調変換処理を行えるようにするこ
とを目的としている。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and it is intended to stably extract a feature amount of an image such as a lung region and perform a stable and appropriate gradation conversion process. It is intended to be.

【0006】[0006]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明による特徴量抽出装置においては、画像に
おける略最高画素値を抽出して上記画像の階調変換のた
めの特徴量とする抽出手段を設けている。
In order to achieve the above object, a feature amount extracting apparatus according to the present invention extracts a substantially maximum pixel value in an image to obtain a feature amount for gradation conversion of the image. Extraction means is provided.

【0007】本発明による他の特徴量抽出装置において
は、画像における閾値以上の画素値を第1の所定画素値
に変換すると共に、上記閾値より小さい画素値を第2の
所定画素値に変換する変換手段と、上記変換手段で変換
された画像の連結成分を検証し穴領域を抽出する連結検
証手段と、上記連結検証手段で抽出された穴領域と上記
画像の全領域との比率を計算し、上記比率が一定比率を
超えたときに上記画像の特徴量を決定する決定手段とを
設けている。
In another feature extracting apparatus according to the present invention, a pixel value equal to or larger than a threshold value in an image is converted into a first predetermined pixel value, and a pixel value smaller than the threshold value is converted into a second predetermined pixel value. A conversion unit, a connection verification unit that verifies a connected component of the image converted by the conversion unit and extracts a hole region, and calculates a ratio between the hole region extracted by the connection verification unit and the entire region of the image. Determining means for determining the characteristic amount of the image when the ratio exceeds a certain ratio.

【0008】本発明による特徴量抽出方法においては、
画像における略最高画素値を抽出して上記画像の階調変
換のための特徴量とするようにしている。
In the feature quantity extracting method according to the present invention,
A substantially maximum pixel value in an image is extracted and used as a feature amount for gradation conversion of the image.

【0009】本発明による他の特徴量抽出方法において
は、画像における閾値以上の画素値を第1の所定画素値
に変換すると共に、上記閾値より小さい画素値を第2の
所定画素値に変換する手順と、上記変換された画像の連
結成分を検証し穴領域を抽出する手順と、上記抽出され
た穴領域と上記画像の全領域との比率を計算し、上記比
率が一定比率を超えたときに上記画像の特徴量を決定す
る手順とを設けている。
In another feature amount extracting method according to the present invention, a pixel value equal to or larger than a threshold value in an image is converted into a first predetermined pixel value, and a pixel value smaller than the threshold value is converted into a second predetermined pixel value. Procedure, a procedure for verifying the connected components of the transformed image and extracting a hole area, and calculating a ratio between the extracted hole area and the entire area of the image, and when the ratio exceeds a certain ratio. And a procedure for determining the feature amount of the image.

【0010】本発明による記憶媒体においては、画像に
おける略最高画素値を抽出して上記画像の階調変換のた
めの特徴量とする処理を実行するためのプログラムを記
憶している。
[0010] The storage medium according to the present invention stores a program for executing a process of extracting a substantially maximum pixel value in an image and using the extracted value as a feature amount for gradation conversion of the image.

【0011】本発明による他の記憶媒体においては、画
像における閾値以上の画素値を第1の所定画素値に変換
すると共に、上記閾値より小さい画素値を第2の所定画
素値に変換する処理と、上記変換された画像の連結成分
を検証し穴領域を抽出する処理と、上記抽出された穴領
域と上記画像の全領域との比率を計算し、上記比率が一
定比率を超えたときに上記閾値を上記画像の特徴量とし
て決定する処理とを実行するためのプログラムを記憶し
ている。
In another storage medium according to the present invention, a process of converting a pixel value equal to or larger than a threshold value in an image into a first predetermined pixel value and converting a pixel value smaller than the threshold value into a second predetermined pixel value. Verifying the connected components of the transformed image and extracting a hole region, calculating the ratio of the extracted hole region to the entire region of the image, and calculating the ratio when the ratio exceeds a certain ratio. And processing for determining the threshold value as the feature amount of the image.

【0012】[0012]

【発明の実施の形態】以下、本発明の実施の形態を図面
と共に説明する。図1は、本発明の実施の形態による特
徴量抽出装置を適用したX線撮影装置100を示す。本
発明者等は、肺正面部を撮影した画像データをX線診断
用フィルムに表示する場合、肺領域の最大画素値を濃度
特徴量とし、これを用いて階調変換を行うと、安定した
階調特性が得られることを実験的に発見した。本実施の
形態は、上記の発見に基づくものである。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows an X-ray imaging apparatus 100 to which a feature extraction device according to an embodiment of the present invention is applied. The present inventors, when displaying image data obtained by imaging the front of the lung on an X-ray diagnostic film, use the maximum pixel value of the lung region as a density feature amount, and perform gradation conversion using the same. It has been found experimentally that a gradation characteristic can be obtained. The present embodiment is based on the above findings.

【0013】図1において、X線撮影装置100は、濃
度値変換機能を有するX線画像の画像処理装置を含む。
この画像処理装置は、前処理回路106、照射領域抽出
回路112、特徴量抽出回路113、階調変換回路11
4、CPU108、メインメモリ109、操作パネル1
10、画像表示器111を備えており、CPUバス10
7を介して互いにデータ授受されるようになされてい
る。
In FIG. 1, an X-ray imaging apparatus 100 includes an X-ray image processing apparatus having a density value conversion function.
This image processing apparatus includes a pre-processing circuit 106, an irradiation area extraction circuit 112, a feature amount extraction circuit 113, a gradation conversion circuit 11
4, CPU 108, main memory 109, operation panel 1
10, an image display 111, and a CPU bus 10
7, data is exchanged with each other.

【0014】また、X線撮影装置100は、前処理回路
106に接続されたデータ収集回路105と、データ収
集回路105に接続された2次元X線センサ104及び
X線発生回路101とを備えており、これらの各回路は
CPUバス107にも接続されている。
The X-ray imaging apparatus 100 includes a data collection circuit 105 connected to a pre-processing circuit 106, and a two-dimensional X-ray sensor 104 and an X-ray generation circuit 101 connected to the data collection circuit 105. These circuits are also connected to the CPU bus 107.

【0015】図2、図3は特徴抽出装置の処理を示すフ
ローチャートである。図4はX線撮影装置で取得した肺
正面部のデータを2値化した図であり、黒部が0値、白
部が1値、点線が肺領域を示す。肺領域はX線の透過率
が良いので、取得データとしては、体部よりピクセル値
が高くなる(尚、ここではX線透過率が低い部分を低濃
度、X線透過率の高い部分を高濃度としている。逆の場
合に対しても、当業者には定式の変更は容易である)。
FIG. 2 and FIG. 3 are flowcharts showing the processing of the feature extraction device. FIG. 4 is a diagram in which the data of the lung front part acquired by the X-ray imaging apparatus is binarized, where a black part indicates a zero value, a white part indicates a one value, and a dotted line indicates a lung region. Since the lung region has a good X-ray transmittance, the acquired data has a higher pixel value than the body part (in this case, a portion having a low X-ray transmittance has a low density, and a portion having a high X-ray transmittance has a high density. The formula can easily be changed by those skilled in the art in the opposite case.)

【0016】上記構成によるX線撮影装置100におい
て、メインメモリ109は、CPU108の処理に必要
な各種のデータ等が記憶される共に、CPU108の作
業用としてのワークメモリを含む。CPU108は、メ
インメモリ109を用いて、操作パネル110からの操
作に従って装置全体の動作制御等を行う。これによりX
線撮影装置100は、以下のように動作する。
In the X-ray imaging apparatus 100 having the above configuration, the main memory 109 stores various data necessary for processing of the CPU 108 and includes a work memory for the CPU 108 to work. The CPU 108 controls the operation of the entire apparatus in accordance with an operation from the operation panel 110 using the main memory 109. This gives X
The radiographic apparatus 100 operates as follows.

【0017】まず、X線発生回路101は、被検査体1
02に対してX線ビーム102を放射する。放射された
X線ビーム102は、被検査体103を減衰しながら透
過して2次元X線センサ104に到達し、2次元X線セ
ンサ104よりX線画像として出力される。ここでは、
2次元X線センサ104から出力されるX線画像を、例
えば肺正面画像とする。
First, the X-ray generation circuit 101
02 emits an X-ray beam 102. The emitted X-ray beam 102 passes through the subject 103 while attenuating, reaches the two-dimensional X-ray sensor 104, and is output from the two-dimensional X-ray sensor 104 as an X-ray image. here,
An X-ray image output from the two-dimensional X-ray sensor 104 is, for example, a lung front image.

【0018】データ収集回路105は、2次元X線セン
サ104から出力されたX線画像を電気信号に変換し
て、前処理回路106に供給する。前処理回路106
は、データ収集回路105からの信号(X線画像信号)
に対して、オフセット補正処理やゲイン補正処理等の前
処理を行う。前処理が行われたX線画像信号は入力画像
として、CPU108の制御により、CPUバス107
を介してメインメモリ109、照射領域抽出回路112
に転送される。照射領域抽出回路112は、X線が2次
元X線センサ104に直接照射されている領域を抽出し
て特徴量抽出回路113に供給する。
The data collection circuit 105 converts an X-ray image output from the two-dimensional X-ray sensor 104 into an electric signal and supplies the electric signal to the preprocessing circuit 106. Preprocessing circuit 106
Is a signal from the data collection circuit 105 (X-ray image signal)
For this, pre-processing such as offset correction processing and gain correction processing is performed. The preprocessed X-ray image signal is used as an input image under the control of
Through the main memory 109 and the irradiation area extraction circuit 112
Is forwarded to The irradiation region extraction circuit 112 extracts a region where the X-ray is directly irradiated on the two-dimensional X-ray sensor 104 and supplies the extracted region to the feature amount extraction circuit 113.

【0019】特徴量抽出回路113において、113a
は、照射領域抽出回路112で抽出した照射領域外の領
域を、所定の閾値以上の画素値を0値(第1の所定値)
とし、それ以外の領域を1値(第2の所定値)とする2
値化処理を行う画像変換回路である。尚、0、1値であ
る必要はなく任意の一定数でもよい。113bは画像変
換回路113aで変換された画像の穴部を抽出する連結
検証回路である。
In the feature quantity extraction circuit 113, 113a
Is a pixel value equal to or greater than a predetermined threshold value is set to 0 value (first predetermined value) for an area outside the irradiation area extracted by the irradiation area extraction circuit 112.
And the other area is set to one value (second predetermined value) 2
This is an image conversion circuit that performs a value conversion process. It should be noted that the values need not be 0 and 1 values, but may be arbitrary constant values. Reference numeral 113b denotes a connection verification circuit for extracting a hole of the image converted by the image conversion circuit 113a.

【0020】113cは、上記抽出された穴部の全画素
に対する比率を計算し、一定比率以上のときは、画像変
換回路113aで2値化に用いた閾値を特徴量とし、一
定比率より小さいときは、2値化に用いた閾値を変更す
る画素値変更回路である。
Reference numeral 113c calculates a ratio of the extracted hole portion to all pixels. If the ratio is equal to or more than a certain ratio, the threshold value used for binarization by the image conversion circuit 113a is used as a feature amount. Is a pixel value changing circuit that changes the threshold value used for binarization.

【0021】114は、特徴量抽出回路113で計算さ
れた濃度特徴量に基づいて、画像を階調変換する階調変
換回路である。
Reference numeral 114 denotes a gradation conversion circuit for performing gradation conversion of an image based on the density feature value calculated by the feature value extraction circuit 113.

【0022】次に、特徴量抽出回路113の動作につい
て、図2、図3の処理の流れに従い説明する。CPUバ
ス107を介して前処理回路106で前処理された入力
画像を、CPU108の制御により受信した照射領域抽
出回路112は、入力画像中の照射領域を抽出する。こ
の照射領域抽出方法としては、本発明者が先に提案した
方式等を用いることができる。
Next, the operation of the feature quantity extraction circuit 113 will be described in accordance with the flow of the processing shown in FIGS. The irradiation area extraction circuit 112, which receives the input image preprocessed by the preprocessing circuit 106 via the CPU bus 107 under the control of the CPU 108, extracts an irradiation area in the input image. As the irradiation area extraction method, a method or the like previously proposed by the present inventors can be used.

【0023】また、同時に入力画像を受信した画像変換
回路113aは、照射領域抽出回路112で抽出した照
射領域外及び所定の閾値Th1以上の領域を、例えば0
画素で置き換え、上記閾値より小さい領域を例えば1画
素で置き換える(ステップS201)。尚、Th1の初
期値としては、ここでは取得可能な最大ピクセル値とす
る。
At the same time, the image conversion circuit 113a, which has received the input image, sets the area outside the irradiation area extracted by the irradiation area extraction circuit 112 and the area not less than a predetermined threshold value Th1 to 0, for example.
The area smaller than the threshold is replaced with, for example, one pixel (step S201). Note that the initial value of Th1 is the maximum pixel value that can be obtained here.

【0024】そして連結検証回路113bは、画像変換
回路113aで0に置き換えられたピクセル値を後述す
る図3の流れに従い、穴領域(ここでの穴領域とは、0
画素の全周辺を画素1値で囲まれる領域)を判定する
(ステップS202)。これは、肺正面部の高ピクセル
部は、肺内で得られる特性を利用したものであり、画像
変換回路113aの2値化の閾値を高ピクセル側から順
次下げる場合、穴領域は肺内の高ピクセル値部から生じ
る。
In accordance with the flow of FIG. 3 described later, the connection verification circuit 113b converts the pixel value replaced by 0 by the image conversion circuit 113a into a hole area (here, the hole area is 0).
An area around the entire periphery of the pixel with a pixel 1 value is determined (step S202). This is because the high pixel portion at the front of the lung utilizes the characteristics obtained in the lung, and when the threshold value for binarization of the image conversion circuit 113a is sequentially reduced from the high pixel side, the hole region is within the lung. Arising from high pixel values.

【0025】より具体的に、図3の処理の流れに従い説
明する。連結検証回路113bでは、変換画像の画素値
を順次検索し、0画素を抽出する(ステップS30
1)。0画素が抽出されたなら、抽出した0画素の座標
よりy軸方向の上方向に、画素値1が現れるかを画像端
部まで検索し、画素値1が現れなかったら、穴領域では
ないと判定し、画素値1が現われたら、ステップS30
3に進む(ステップS302、S306)。
A more specific description will be given in accordance with the flow of the process shown in FIG. In the connection verification circuit 113b, pixel values of the converted image are sequentially searched to extract 0 pixel (step S30).
1). If 0 pixel is extracted, it is searched from the coordinates of the extracted 0 pixel upward in the y-axis direction to determine whether a pixel value of 1 appears or not, and if the pixel value of 1 does not appear, it is not a hole area. If it is determined that the pixel value 1 appears, step S30
Go to step 3 (steps S302, S306).

【0026】そして、抽出した0画素の座標よりy軸方
向の下方向に画素値1が現われた場合には、抽出した0
画素の座標よりy軸方向の下方向に画素値1が現われる
かを画像端部まで検索し、画素値1が現われなかった
ら、穴領域ではないと判定し、画素値1が現われたらス
テップS304に進む(ステップS303、S30
6)。同様にして、抽出された0画素の領域のx軸方向
に、両画像端部までに1画素が現れるかを検索し、検索
されなかったら、穴領域ではなく、全4方向に1値が検
索されたら、穴領域であると判定する(ステップS30
4、S305、S306、S307)。
When the pixel value 1 appears below the coordinates of the extracted 0 pixel in the y-axis direction, the extracted 0 pixel
The end of the image is searched for whether a pixel value 1 appears below the pixel coordinates in the y-axis direction. If the pixel value 1 does not appear, it is determined that the pixel is not a hole area. If the pixel value 1 appears, the process proceeds to step S304. Proceed (Steps S303, S30
6). Similarly, in the x-axis direction of the extracted 0-pixel area, a search is made to see if one pixel appears up to both image ends, and if not found, one value is searched in all four directions instead of the hole area. Then, it is determined that the area is a hole area (step S30).
4, S305, S306, S307).

【0027】ここで、肺正面画像では、一般に体部に近
接する0画素では、直交する4方向のうち1方向以上
に、必ず1画素が検索されない方向が存在するという性
質を利用した。尚、さらに精度を上げるには検索方向を
増やせばよく、360度全方向に検索した場合には、1
00%の精度となる。
Here, in the lung frontal image, the property is used that, in general, for 0 pixels close to the body part, there is a direction in which one pixel is not always found in one or more of the four orthogonal directions. In order to further improve the accuracy, it is sufficient to increase the search direction.
00% accuracy.

【0028】次に、抽出した0画素が穴領域ならば、そ
の座標をメインメモリ109に記憶する(ステップS3
08)。そして、全画素領域の検索が終了したら、メイ
ンメモリ109に記憶した穴領域の座標を画素値決定回
路113cに引き渡し、検索が終了してない場合は、ス
テップS301からの処理を繰り返す(ステップS30
9)。
Next, if the extracted 0 pixel is a hole area, its coordinates are stored in the main memory 109 (step S3).
08). Then, when the search for all the pixel areas is completed, the coordinates of the hole area stored in the main memory 109 are transferred to the pixel value determination circuit 113c. If the search is not completed, the processing from step S301 is repeated (step S30).
9).

【0029】次に、画素値変更回路113cでは、連結
検証回路113bで抽出した穴領域の画素数と全画素数
との比率を計算し、一定比率Th2以上かを判定する
(ステップS203、S204)。そして、一定比率T
h2より小さければ、画像変換回路113aで用いた閾
値Thlの値を一定値だけ減少させた後、ステップS2
01からの処理を繰り返す(ステップS205)。また
一定比率Th2以上なら、画像変換回路113aで用い
た閾値Th1を、濃度変換に用いる特徴抽出量として決
定する(ステップS206)。
Next, the pixel value change circuit 113c calculates the ratio between the number of pixels in the hole area extracted by the connection verification circuit 113b and the total number of pixels, and determines whether or not the ratio is equal to or greater than a certain ratio Th2 (steps S203 and S204). . Then, the constant ratio T
If it is smaller than h2, the value of the threshold value Thl used in the image conversion circuit 113a is reduced by a certain value, and then the step S2
The process from 01 is repeated (step S205). If the ratio is equal to or greater than the constant ratio Th2, the threshold Th1 used in the image conversion circuit 113a is determined as a feature extraction amount used for density conversion (step S206).

【0030】尚、画素値決定回路113cで決定する特
徴抽出量を、抽出した穴領域の原画像の画素値平均、中
間値等にしてもよい。また、穴領域の抽出には、例えば
「画像処理のためのデジタル画像処理(2)」、鳥脇純
一朗、昭晃堂、pp45−47に記載されるラベリング
方法を用いて、画像端部に接しない0領域を穴領域とし
てもよい。
The feature extraction amount determined by the pixel value determination circuit 113c may be an average pixel value, an intermediate value, or the like of the extracted original image of the hole area. For the extraction of the hole area, for example, using a labeling method described in “Digital Image Processing for Image Processing (2)”, Junichiro Toriwaki, Shokodo, pp. 45-47, and not touching the edge of the image The 0 region may be a hole region.

【0031】以上のように、本実施の形態によれば、肺
内の略最大値を抽出して階調変換に用いることにより、
診断に適した画像を安定して得ることができる。また、
閾値に基ずく穴領域を抽出することで、安定して肺内の
略最大値を抽出することができる。また、穴領域の平均
値、中間値を抽出することにより、ノイズ等の影響を受
けず、安定して肺内の略最大値を抽出することができ
る。さらに、穴領域の抽出に、注目画素の所定方向の連
結性を検証することにより、計算時間を短縮することが
できる。
As described above, according to the present embodiment, a substantially maximum value in the lung is extracted and used for gradation conversion.
An image suitable for diagnosis can be stably obtained. Also,
By extracting the hole area based on the threshold value, a substantially maximum value in the lung can be stably extracted. Further, by extracting the average value and the intermediate value of the hole area, it is possible to stably extract the substantially maximum value in the lung without being affected by noise or the like. Furthermore, the calculation time can be reduced by verifying the connectivity of the pixel of interest in a predetermined direction when extracting the hole region.

【0032】次に、本発明による他の実施の形態として
の記憶媒体について説明する。本発明はハードウェア構
成により実現することもできるが、CPUやメモリから
なるコンピュータシステムに構成することもできる。上
記実施の形態による図1の各機能ブロックによるシステ
ムを、CPU108やメインメモリ109等からなるコ
ンピュータシステムに構成する場合、上記メモリは本発
明による記憶媒体を構成する。この記憶媒体には、図
2、図3のフローチャートを含む前述した動作を制御す
るための処理手順を実行するためのプログラムが記憶さ
れる。
Next, a storage medium according to another embodiment of the present invention will be described. The present invention can be realized by a hardware configuration, but can also be configured by a computer system including a CPU and a memory. When the system based on the functional blocks of FIG. 1 according to the above-described embodiment is configured as a computer system including the CPU 108, the main memory 109, and the like, the memory configures a storage medium according to the present invention. In this storage medium, a program for executing the processing procedure for controlling the above-described operation including the flowcharts of FIGS. 2 and 3 is stored.

【0033】また、この記憶媒体としては、半導体メモ
リ、光ディスク、光磁気ディスク、磁気媒体等を用いて
よく、これらをROM、RAM、CD−ROM、フロッ
ピィディスク、磁気テープ、磁気カード、不揮発性メモ
リカード等に構成して用いてよい。
As the storage medium, a semiconductor memory, an optical disk, a magneto-optical disk, a magnetic medium, or the like may be used. These may be a ROM, a RAM, a CD-ROM, a floppy disk, a magnetic tape, a magnetic card, a nonvolatile memory, or the like. It may be used as a card or the like.

【0034】従って、この記憶媒体を図1に示したシス
テム以外の他のシステムあるいは装置で用い、そのシス
テムあるいはコンピュータがこの記憶媒体に格納された
プログラムコードを読み出し、実行することによって
も、上記実施の形態と同等の機能を実現できると共に、
同等の効果を得ることができ、本発明の目的を達成する
ことができる。
Accordingly, the above-described embodiment can also be performed by using this storage medium in a system or apparatus other than the system shown in FIG. 1 and reading and executing the program code stored in the storage medium by the system or computer. Function equivalent to the form of
The same effect can be obtained, and the object of the present invention can be achieved.

【0035】また、コンピュータ上で稼働しているOS
等が処理の一部又は全部を行う場合、あるいは記憶媒体
から読み出されたプログラムコードが、コンピュータに
挿入された拡張機能ボードやコンピュータに接続された
拡張機能ユニットに備わるメモリに書き込まれた後、そ
のプログラムコードの指示に基づいて、上記拡張機能ボ
ードや拡張機能ユニットに備わるCPU等が処理の一部
又は全部を行う場合にも、上記実施の形態と同等の機能
を実現できると共に、同等の効果を得ることができ、本
発明の目的を達成することができる。
An OS running on a computer
When performing part or all of the processing, or after the program code read from the storage medium is written to a memory provided in an extended function board or an extended function unit connected to the computer, Even when the CPU or the like provided in the extended function board or the extended function unit performs a part or all of the processing based on the instruction of the program code, the same functions as those of the above embodiment can be realized and the same effects can be obtained. Can be obtained, and the object of the present invention can be achieved.

【0036】[0036]

【発明の効果】以上説明したように、本発明の請求項
1、8、15記載の発明によれば、画像を階調変換する
場合に、安定した階調特性が得られる効果がある。特
に、肺正面部の撮影データをX線診断用フィルムに表示
する場合に、肺内の略最大値のピクセル値を濃度特徴量
として用いることにより、安定した階調特性が得られる
効果がある。
As described above, according to the first, eighth, and fifteenth aspects of the present invention, when an image is subjected to gradation conversion, there is an effect that a stable gradation characteristic can be obtained. In particular, when the imaging data of the lung front is displayed on the X-ray diagnostic film, the use of the pixel value of the substantially maximum value in the lung as the density feature amount has an effect of obtaining a stable gradation characteristic.

【0037】また、請求項2、9、16記載の発明によ
れば、一定閾値に基ずく穴領域を抽出することにより、
安定して肺内の略最大値を抽出できる効果がある。
According to the second, ninth and sixteenth aspects of the present invention, by extracting a hole area based on a certain threshold value,
There is an effect that a substantially maximum value in the lung can be stably extracted.

【0038】また、請求項3、10記載の発明によれ
ば、一定比率の穴領域が出現する閾値を略最大値とする
ことにより、ノイズや金属片などの影響を受けずに、略
最大値を抽出できる効果がある。
According to the third and tenth aspects of the present invention, by setting the threshold value at which the hole region of a fixed ratio appears to be approximately the maximum value, the threshold value can be substantially reduced without being affected by noise or metal fragments. There is an effect that can be extracted.

【0039】また、請求項4、11記載の発明によれ
ば、穴領域の平均値、中間値を抽出することにより、ノ
イズ等の影響を受けずに、安定して肺内の略最大値を抽
出できる効果がある。
According to the fourth and eleventh aspects of the present invention, by extracting the average value and the intermediate value of the hole area, the substantially maximum value in the lung can be stably obtained without being affected by noise or the like. There is an effect that can be extracted.

【0040】また、請求項5、12記載の発明によれ
ば、穴領域の抽出に、注目画素の所定方向の連結性を検
証するため、計算時間を短縮できる効果がある。
According to the fifth and twelfth aspects of the present invention, since the connectivity of the target pixel in the predetermined direction is verified in the extraction of the hole area, the calculation time can be shortened.

【0041】また、請求項6、13記載の発明によれ
ば、穴領域の抽出に用いる閾値を変更することにより、
適切な抽出を行うことができる効果がある。
According to the sixth and thirteenth aspects of the present invention, by changing the threshold value used for extracting the hole area,
There is an effect that appropriate extraction can be performed.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の形態による特徴量抽出装置を含
むX線撮影装置を示す構成図である。
FIG. 1 is a configuration diagram showing an X-ray imaging apparatus including a feature amount extraction device according to an embodiment of the present invention.

【図2】特徴量抽出の処理の流れを示すフローチャート
である。
FIG. 2 is a flowchart illustrating a flow of a feature amount extraction process.

【図3】特徴量抽出の処理の流れを示すフローチャート
である。
FIG. 3 is a flowchart illustrating a flow of a feature amount extraction process.

【図4】肺正面部の2値化した画像データを示す構成図
である。
FIG. 4 is a configuration diagram showing binarized image data of a lung front part.

【符号の説明】[Explanation of symbols]

112 照射領域抽出回路 113 特徴量抽出回路 113a 画像変換回路 113b 連結検証回路 113c 画素値変更回路 112 Illumination area extraction circuit 113 Feature extraction circuit 113a Image conversion circuit 113b Connection verification circuit 113c Pixel value change circuit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 1/407 H04N 1/40 101E Fターム(参考) 4C093 AA01 AA26 CA10 CA50 DA03 EB17 EE01 FC18 FC19 FD09 FF08 FF15 FF19 5B057 AA08 BA03 BA30 CA02 CA08 CA13 CB02 CB08 CB13 CC03 CE10 CE12 CH01 CH11 DA08 DB03 DB05 DB09 DC04 DC22 5C077 LL04 MM30 MP01 NN02 NP01 PP15 PP27 PP28 PP43 PP46 PP54 PP58 PP68 PQ12 PQ18 PQ20 PQ22 RR02 RR06 RR11 TT09 TT10 5L096 AA03 AA06 AA09 BA06 BA13 CA27 EA43 FA14 FA32 FA45 GA43 GA51 JA11 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) H04N 1/407 H04N 1/40 101E F-term (Reference) 4C093 AA01 AA26 CA10 CA50 DA03 EB17 EE01 FC18 FC19 FD09 FF08 FF15 FF19 5B057 AA08 BA03 BA30 CA02 CA08 CA13 CB02 CB08 CB13 CC03 CE10 CE12 CH01 CH11 DA08 DB03 DB05 DB09 DC04 DC22 5C077 LL04 MM30 MP01 NN02 NP01 PP15 PP27 PP28 PP43 PP46 PP54 PP58 PP68 PQ12 PQ18 RR10 A09 RR RR BA13 CA27 EA43 FA14 FA32 FA45 GA43 GA51 JA11

Claims (16)

【特許請求の範囲】[Claims] 【請求項1】 画像における略最高画素値を抽出して上
記画像の階調変換のための特徴量とする抽出手段を設け
たことを特徴とする特徴量抽出装置。
1. An apparatus for extracting a feature value, comprising: an extraction means for extracting a substantially highest pixel value in an image and using the value as a feature value for gradation conversion of the image.
【請求項2】 画像における閾値以上の画素値を第1の
所定画素値に変換すると共に、上記閾値より小さい画素
値を第2の所定画素値に変換する変換手段と、 上記変換手段で変換された画像の連結成分を検証し穴領
域を抽出する連結検証手段と、 上記連結検証手段で抽出された穴領域と上記画像の全領
域との比率を計算し、上記比率が一定比率を超えたとき
に上記画像の特徴量を決定する決定手段とを設けたこと
を特徴とする特徴量抽出装置。
2. A conversion means for converting a pixel value equal to or more than a threshold value in an image into a first predetermined pixel value, and converting a pixel value smaller than the threshold value into a second predetermined pixel value; Connection verification means for verifying the connected components of the image and extracting a hole area, calculating the ratio of the hole area extracted by the connection verification means and the entire area of the image, and when the ratio exceeds a certain ratio And a determining means for determining a feature amount of the image.
【請求項3】 上記決定手段は、上記一定比率を超えた
ときの上記閾値を上記特徴量と決定することを特徴とす
る請求項2記載の特徴量抽出装置。
3. The feature value extracting device according to claim 2, wherein the determination means determines the threshold value when the ratio exceeds the certain ratio as the feature value.
【請求項4】 上記決定手段は、上記一定比率を超えた
ときの上記穴領域における平均画素値を上記特徴量とす
ることを特徴とする請求項2記載の特徴量抽出装置。
4. The feature value extracting device according to claim 2, wherein the determination means sets an average pixel value in the hole area when the ratio exceeds the predetermined ratio as the feature value.
【請求項5】 上記連結検証手段は、注目画素の周辺2
方向以上の画素の値から上記穴領域を検証することを特
徴とする請求項2記載の特徴量抽出装置。
5. The method according to claim 1, wherein the connection verification unit determines whether or not the target pixel is in the vicinity of
3. The feature amount extracting apparatus according to claim 2, wherein the hole area is verified from a value of a pixel which is equal to or larger than a direction.
【請求項6】 上記決定手段は、上記一定比率を超えな
いときは上記閾値を減少させることを特徴とする請求項
2記載の特徴量抽出装置。
6. The apparatus according to claim 2, wherein said determining means decreases said threshold value when said predetermined ratio is not exceeded.
【請求項7】 上記画像は肺領域のX線画像であること
を特徴とする請求項1又は2記載の特徴量抽出装置。
7. The feature quantity extracting device according to claim 1, wherein the image is an X-ray image of a lung region.
【請求項8】 画像における略最高画素値を抽出して上
記画像の階調変換のための特徴量とすることを特徴とす
る特徴量抽出方法。
8. A feature amount extracting method, wherein a substantially maximum pixel value in an image is extracted and used as a feature amount for gradation conversion of the image.
【請求項9】 画像における閾値以上の画素値を第1の
所定画素値に変換すると共に、上記閾値より小さい画素
値を第2の所定画素値に変換する手順と、 上記変換された画像の連結成分を検証し穴領域を抽出す
る手順と、 上記抽出された穴領域と上記画像の全領域との比率を計
算し、上記比率が一定比率を超えたときに上記画像の特
徴量を決定する手順とを設けたことを特徴とする特徴量
抽出方法。
9. A procedure for converting a pixel value equal to or more than a threshold value in an image into a first predetermined pixel value and converting a pixel value smaller than the threshold value into a second predetermined pixel value, and concatenating the converted images. A procedure for verifying components and extracting a hole area, a procedure for calculating a ratio between the extracted hole area and the entire area of the image, and determining a feature amount of the image when the ratio exceeds a certain ratio. And a feature amount extracting method.
【請求項10】 上記決定する手順は、上記一定比率を
超えたときの上記閾値を上記特徴量と決定することを特
徴とする請求項9記載の特徴量抽出方法。
10. The method according to claim 9, wherein the determining step determines the threshold value when the ratio exceeds the certain ratio as the characteristic amount.
【請求項11】 上記決定する手順は、上記一定比率を
超えたときの上記穴領域における平均画素値を上記特徴
量とすることを特徴とする請求項9記載の特徴量抽出方
法。
11. The method according to claim 9, wherein the determining step uses an average pixel value in the hole area when the ratio exceeds the predetermined ratio as the characteristic amount.
【請求項12】 上記検証する手順は、注目画素の周辺
2方向以上の画素の値から上記穴領域を検証することを
特徴とする請求項9記載の特徴量抽出方法。
12. The method according to claim 9, wherein the verifying step verifies the hole area from values of pixels in two or more directions around the target pixel.
【請求項13】 上記決定する手順は、上記一定比率を
超えないときは上記閾値を減少させることを特徴とする
請求項9記載の特徴量抽出方法。
13. The method according to claim 9, wherein said determining step reduces said threshold value when said predetermined ratio is not exceeded.
【請求項14】 上記画像は肺領域のX線画像であるこ
とを特徴とする請求項8又は9記載の特徴量抽出方法。
14. The method according to claim 8, wherein the image is an X-ray image of a lung region.
【請求項15】 画像における略最高画素値を抽出して
上記画像の階調変換のための特徴量とする処理を実行す
るためのプログラムを記憶したコンピュータ読み取り可
能な記憶媒体。
15. A computer-readable storage medium storing a program for executing a process of extracting a substantially maximum pixel value in an image and using the extracted pixel value as a feature amount for gradation conversion of the image.
【請求項16】 画像における閾値以上の画素値を第1
の所定画素値に変換すると共に、上記閾値より小さい画
素値を第2の所定画素値に変換する処理と、 上記変換された画像の連結成分を検証し穴領域を抽出す
る処理と、 上記抽出された穴領域と上記画像の全領域との比率を計
算し、上記比率が一定比率を超えたときに上記閾値を上
記画像の特徴量として決定する処理とを実行するための
プログラムを記憶したコンピュータ読み取り可能な記憶
媒体。
16. A pixel value equal to or larger than a threshold value in an image is defined as a first pixel value.
A process of converting a pixel value smaller than the threshold value to a second predetermined pixel value, a process of verifying a connected component of the converted image and extracting a hole region, Calculating a ratio between the hole region and the entire region of the image, and determining the threshold value as a feature amount of the image when the ratio exceeds a certain ratio. Possible storage medium.
JP10339872A 1998-11-30 1998-11-30 Feature amount extraction device and method, and computer readable storage medium Pending JP2000157520A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10339872A JP2000157520A (en) 1998-11-30 1998-11-30 Feature amount extraction device and method, and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10339872A JP2000157520A (en) 1998-11-30 1998-11-30 Feature amount extraction device and method, and computer readable storage medium

Publications (1)

Publication Number Publication Date
JP2000157520A true JP2000157520A (en) 2000-06-13

Family

ID=18331627

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10339872A Pending JP2000157520A (en) 1998-11-30 1998-11-30 Feature amount extraction device and method, and computer readable storage medium

Country Status (1)

Country Link
JP (1) JP2000157520A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002344806A (en) * 2001-05-11 2002-11-29 Canon Inc Device, system and method for processing image, storage medium and program
JP2012228407A (en) * 2011-04-27 2012-11-22 Hitachi Medical Corp X-ray radiographing apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002344806A (en) * 2001-05-11 2002-11-29 Canon Inc Device, system and method for processing image, storage medium and program
JP2012228407A (en) * 2011-04-27 2012-11-22 Hitachi Medical Corp X-ray radiographing apparatus

Similar Documents

Publication Publication Date Title
CN108108739A (en) Detection method, device, x-ray system and the storage medium of image target area
CN112634309B (en) Image processing method, device, electronic equipment and storage medium
US8073232B2 (en) Method and system for diaphragm segmentation in chest X-ray radiographs
JP2002245453A (en) Image processor, image processing system, image processing method and storage medium
JP2009160313A (en) Image processing apparatus, image processing method, and computer program
JP4532675B2 (en) Image processing apparatus, image processing system, image processing method, and storage medium
JP2000157520A (en) Feature amount extraction device and method, and computer readable storage medium
JP2002010997A (en) Photographing device, image processor, image processing system, operation control method and storage medium
CN111178297A (en) Image processing method and device, electronic equipment and medium
JP2000316836A (en) Image processing device, image processing system, image processing method and storage medium
JP2000324341A (en) Picture processor, system therefor, its method and storage medium
JP2006263224A (en) Radiation image processing apparatus, the radiation image processing method, program, and computer readable media
JP2002024822A (en) Image processing device, image processing system, image processing method, and recording medium
JP4560202B2 (en) Image processing apparatus, image processing system, image processing method, and storage medium
JP2002263087A (en) Image processor, image processing method and program
JP4756756B2 (en) Image processing method and program
JP4669163B2 (en) Image processing apparatus, image processing system, image processing method, storage medium, and program
JP2001325594A (en) Featura quantity extracting device, image processor, image processing system, image processing method, and storage medium
JPH1189823A (en) Method and device for discriminating image and storage medium
JP2006254934A (en) Irradiation field judgement device, irradiation field judgement method and its program
JP4164245B2 (en) Image processing apparatus, image processing system, image processing method, program, and storage medium
JP2006181149A (en) Radiograph processing apparatus and method, program and computer readable medium
JP2000271107A (en) Device, system and method for processing image, and storage medium
JP2002336223A (en) Image processor, image processing system, image processing method, program, and record medium
CN114463259A (en) Calculation method, device and equipment of dual-energy subtraction parameters and storage medium