JPH06178115A - Image processor - Google Patents

Image processor

Info

Publication number
JPH06178115A
JPH06178115A JP34552992A JP34552992A JPH06178115A JP H06178115 A JPH06178115 A JP H06178115A JP 34552992 A JP34552992 A JP 34552992A JP 34552992 A JP34552992 A JP 34552992A JP H06178115 A JPH06178115 A JP H06178115A
Authority
JP
Japan
Prior art keywords
image data
image
circuit
value
gradation conversion
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
JP34552992A
Other languages
Japanese (ja)
Inventor
Kazuhiro Mori
一博 森
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.)
Shimadzu Corp
Original Assignee
Shimadzu Corp
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 Shimadzu Corp filed Critical Shimadzu Corp
Priority to JP34552992A priority Critical patent/JPH06178115A/en
Publication of JPH06178115A publication Critical patent/JPH06178115A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simplify the work of an operator and to reduce his burden by automatically obtaining an optinum gradation conversion curve and performing gammacorrection in accordance with this conversion curve only by designating an area on a displayed image. CONSTITUTION:An original image in a state that a gamma correction circuit 5 is not interposed is displayed by an image display device 3 and arbitrary areas A, B are designated by the operation of a mouse 4. The densities of the average value and the peak value within each area of these points A, B are read by a CPU 2 and inputted in an approximate expression calculation circuit 6. Then, the circuit 6 determines a polynomial showing the input/output characterisitic curve from these two point data by an approximate calculation. A data calculation circuit 1 calculates each value of the output image data corresponding to each value of input image data from this polynomial. A writing circuit 8 designates the address corresponding to each value of input image data and writes each output image data in the gamma correction circuit 5. Therefore, a gradation conversion is performed for image data via the circuit 5.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、画像処理装置に関
し、とくにX線透視像、X線CT像、MR像などの医用
デジタル画像のγ補正(階調補正)を行なうのに好適な
画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, and more particularly to image processing suitable for .gamma. Correction (gradation correction) of medical digital images such as X-ray fluoroscopic images, X-ray CT images and MR images. Regarding the device.

【0002】[0002]

【従来の技術】X線透視像、X線CT像、MR像などの
医用デジタル画像は、画素値をそのまま濃度(輝度)に
対応させて表示したのでは人間の目には見づらいものと
なるので、適当な階調変換を行なったうえで表示する必
要がある。この階調変換特性は、従来では、特定の変換
カーブのなかから操作者が目で確認することにより最も
見やすいと判断したものを選択するか、あるいは操作者
が濃度分布等の画像特性を読み取って手動により最適変
換カーブを設定するようにしている。
2. Description of the Related Art Medical digital images such as X-ray fluoroscopic images, X-ray CT images, and MR images are hard to see by the human eye if the pixel values are directly displayed in correspondence with the density (luminance). , It is necessary to display after performing appropriate gradation conversion. Conventionally, this gradation conversion characteristic is selected from the specific conversion curves which the operator judges by visual inspection to be the easiest to see, or the operator reads the image characteristics such as the density distribution. The optimum conversion curve is set manually.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来で
は結局操作者の感覚に頼って階調変換特性を決定するこ
とになるので、操作者の負担が大きいとともに、習熟し
た操作者でないと最適な設定ができないという問題があ
る。
However, in the prior art, since the gradation conversion characteristic is ultimately determined by relying on the operator's sense, the operator's burden is heavy and optimum setting is required unless the operator is a proficient operator. There is a problem that you can not.

【0004】この発明は上記に鑑み、階調変換特性を半
自動で設定できるようにすることによって、複雑な作業
を簡単にし、操作者の負担を軽減することができるよう
に改善した、画像処理装置を提供することを目的とす
る。
In view of the above, the present invention has been improved in such a way that the gradation conversion characteristics can be set semi-automatically to simplify complicated work and reduce the burden on the operator. The purpose is to provide.

【0005】[0005]

【課題を解決するための手段】上記の目的を達成するた
め、この発明による画像処理装置では、画像表示手段に
入力する画像データの階調を変換する階調補正手段と、
これを制御する手段と、表示された原画像上で任意の領
域を指定する手段と、指定された領域の画素値から最適
の階調変換カーブを求める手段とを備え、求めた最適階
調変換カーブに応じて上記階調補正手段を制御すること
が特徴となっている。
In order to achieve the above object, in an image processing apparatus according to the present invention, gradation correction means for converting the gradation of image data input to the image display means,
A means for controlling this, a means for designating an arbitrary area on the displayed original image, and a means for obtaining an optimum gradation conversion curve from the pixel value of the designated area are provided. The feature is that the gradation correction means is controlled according to the curve.

【0006】[0006]

【作用】表示された原画像上で任意の領域を指定する
と、指定された領域の画素値が読み取られ、それから最
適の階調変換カーブが自動的に求められる。そして、そ
の最適階調変換カーブに応じて階調補正手段が制御さ
れ、その変換カーブに従った階調変換が行なわれること
になる。そのため、操作者は、領域の指定のみを手動で
行なえば、後は自動的に最適の階調変換カーブが求めら
れて、その変換カーブに従った階調変換が行なわれるの
で、作業が非常に簡単になり、しかも操作者の習熟度や
感覚に頼ることもないので操作者の負担も軽減できる。
When an arbitrary area is designated on the displayed original image, the pixel value of the designated area is read, and the optimum gradation conversion curve is automatically obtained from it. Then, the gradation correction means is controlled according to the optimum gradation conversion curve, and the gradation conversion is performed according to the conversion curve. Therefore, if the operator manually specifies only the area, the optimum gradation conversion curve is automatically obtained after that, and gradation conversion is performed according to the conversion curve. It is easy, and the burden on the operator can be reduced because it does not depend on the skill and sense of the operator.

【0007】[0007]

【実施例】以下、この発明の好ましい一実施例について
図面を参照しながら詳細に説明する。図1はこの発明の
一実施例にかかる画像処理装置を示すものである。この
図1において、画像メモリ1にはたとえばX線透視像の
デジタル画像データが格納されており、これがCPU2
を経て画像表示装置3に送られて表示されるようになっ
ている。画像表示装置3の表示画面にはたとえば図2に
示すような表示がなされる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will now be described in detail with reference to the drawings. FIG. 1 shows an image processing apparatus according to an embodiment of the present invention. In FIG. 1, the image memory 1 stores, for example, digital image data of an X-ray fluoroscopic image, which is stored in the CPU 2
After that, the image is sent to the image display device 3 and displayed. For example, a display as shown in FIG. 2 is displayed on the display screen of the image display device 3.

【0008】CPU2には、マウス4やトラックボール
(図示しない)等の座標入力装置が接続されており、こ
れを操作することにより任意の領域の指定ができるよう
になっている。このマウス4を操作者が手動操作するこ
とにより、図2の表示画像上でたとえば2つの小さな領
域A、Bを指定する。
A coordinate input device such as a mouse 4 and a trackball (not shown) is connected to the CPU 2, and an arbitrary area can be designated by operating the coordinate input device. The operator manually operates the mouse 4 to specify, for example, two small areas A and B on the display image of FIG.

【0009】また、CPU2にはγ補正回路5が接続さ
れていて、画像表示装置3の送るべき画像データの階調
を補正することができるようにされている。このγ補正
回路5はたとえばRAMにより構成されており、そのア
ドレスを入力画像データの各画素値で指定すると、その
アドレスに格納されていた出力画像データの画素値が読
み出されるという構成によって入出力変換を行ない、階
調変換を行なう。
A gamma correction circuit 5 is connected to the CPU 2 so that the gradation of image data to be sent from the image display device 3 can be corrected. The γ correction circuit 5 is composed of, for example, a RAM, and when the address is designated by each pixel value of the input image data, the pixel value of the output image data stored at the address is read out, so that the input / output conversion is performed. And the gradation conversion is performed.

【0010】このγ補正回路5の各アドレスに格納すべ
き出力データは書き込み回路8により書き込まれるよう
になっている。そのため、この書き込み回路8により書
き込む出力データを任意に変えることにより、どのよう
な階調変換カーブにも対応させることができる。この書
き込むべき出力データは、近似式算出回路6によって求
められた近似式に従ってデータ算出回路7が算出する。
The output data to be stored at each address of the γ correction circuit 5 is written by the writing circuit 8. Therefore, by arbitrarily changing the output data written by the writing circuit 8, it is possible to correspond to any gradation conversion curve. The output data to be written is calculated by the data calculation circuit 7 according to the approximate expression obtained by the approximate expression calculation circuit 6.

【0011】まず最初に、画像表示装置3によりγ補正
回路5を介さない状態での原画像を表示し、上記のよう
にマウス4の操作によって任意の領域A、Bを指定す
る。この領域A、Bは画像中で最も関心のある領域のな
かでコントラストがついて欲しい部分などとする。する
と、この2点の領域A、Bの、各領域内での平均値やピ
ーク値の濃度(画素値)がCPU2により読み取られ、
これが近似式算出回路6に入力される。
First, the image display device 3 displays the original image without the γ correction circuit 5, and the arbitrary regions A and B are designated by operating the mouse 4 as described above. The areas A and B are areas of the image that are most interesting and are desired to have contrast. Then, the CPU 2 reads the density (pixel value) of the average value and the peak value in each of the two areas A and B,
This is input to the approximate expression calculation circuit 6.

【0012】すると、近似式算出回路6は、この2点の
データから図3の入出力特性カーブを表わす多項式を近
似計算により求める。その際、出力画像データの全体の
コントラスト幅を100%としたとき関心領域のコント
ラスト幅x%と、入力データの中央点に対応するオフセ
ット量y%が最適なものとなるようなカーブが求められ
る。
Then, the approximate expression calculation circuit 6 obtains a polynomial representing the input / output characteristic curve of FIG. 3 from the data of these two points by approximate calculation. At that time, a curve is required so that the contrast width x% of the region of interest and the offset amount y% corresponding to the center point of the input data are optimal when the overall contrast width of the output image data is 100%. .

【0013】こうして図3のカーブを表わす多項式(の
各係数)が求められるので、データ算出回路7はこの多
項式から入力画像データの各値に対応する出力画像デー
タの各値を算出する。そして、書き込み回路8は、γ補
正回路5において、入力画像データの各値に対応するア
ドレスを指定して各出力画像データを書き込む。
Since the polynomial (each coefficient of the polynomial) representing the curve of FIG. 3 is obtained in this way, the data calculation circuit 7 calculates each value of the output image data corresponding to each value of the input image data from this polynomial. Then, the writing circuit 8 writes each output image data by designating the address corresponding to each value of the input image data in the γ correction circuit 5.

【0014】すると、画像メモリ1から読み出されて画
像表示装置3に送られる画像データはγ補正回路5を経
ることにより、図3のようなカーブにしたがって階調変
換(入出力変換)されることになる。このようにしてγ
補正のなされた画像が画像表示装置3に表示される。
Then, the image data read out from the image memory 1 and sent to the image display device 3 is subjected to gradation conversion (input / output conversion) according to a curve as shown in FIG. It will be. Thus γ
The corrected image is displayed on the image display device 3.

【0015】なお、上記では、画像表示装置3に表示さ
れた画像上で2つの領域A、Bを指定したが、関心領域
全体を覆うもう少し大きな1つの領域、たとえば図2の
矩形領域Cを指定するようにしてもよい。この場合、領
域C内の画素値の最大値、最小値を読み取り、これから
上記と同様にして最適階調変換カーブを求める。
Although two areas A and B are designated on the image displayed on the image display device 3 in the above description, one larger area covering the entire area of interest, for example, the rectangular area C in FIG. 2 is designated. You may do it. In this case, the maximum value and the minimum value of the pixel values in the area C are read, and the optimum gradation conversion curve is obtained from this in the same manner as above.

【0016】指定した領域の画素値の平均値やピーク値
を読み取る手段は種々の構成が考えられ、どの構成によ
ってもよい。また、指定する領域の大きさや数も上記に
限らず種々のものとすることができる。
Various means are conceivable for the means for reading the average value and the peak value of the pixel values in the designated area, and any means may be used. Further, the size and the number of designated areas are not limited to the above, and may be various.

【0017】さらに、上記では多項式近似により最適階
調変換カーブを求めるようにしたが、これに限られるわ
けではなく、最適階調変換カーブが求められる手法であ
ればよい。また、上記ではコントラスト幅やオフセット
量を自動的に求めることとしたが、これらを手動で任意
に設定する構成とすることもできる。
Furthermore, in the above, the optimum gradation conversion curve is obtained by polynomial approximation, but the present invention is not limited to this, and any method that can obtain the optimum gradation conversion curve may be used. Further, in the above description, the contrast width and the offset amount are automatically obtained, but it is also possible to manually set them arbitrarily.

【0018】上記の実施例ではハードウェア的な構成を
とっているが、最適階調変換カーブを求めたり、それか
ら各データを算出したり、その各データを書き込むこと
はCPU2によりソフトウェア的に行なわせる構成する
こともできることはもちろんである。
Although the above-mentioned embodiment has a hardware-like configuration, the CPU 2 performs software to obtain the optimum gradation conversion curve, calculate each data from it, and write each data. Of course, it can be configured.

【0019】[0019]

【発明の効果】以上説明したように、この発明の画像処
理装置によれば、表示された画像上で領域を指定するだ
けで自動的に最適階調変換カーブが求められ、この最適
階調変換カーブに従ったγ補正がなされるので、操作者
の作業が簡単になってその負担を軽減させることができ
る。
As described above, according to the image processing apparatus of the present invention, the optimum gradation conversion curve is automatically obtained only by designating the area on the displayed image. Since the γ correction is performed according to the curve, the work of the operator can be simplified and the burden on the operator can be reduced.

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

【図1】この発明の一実施例のブロック図。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】同実施例における表示画像の例を示す図。FIG. 2 is a diagram showing an example of a display image in the embodiment.

【図3】階調変換カーブの例を示す図。FIG. 3 is a diagram showing an example of a gradation conversion curve.

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

1 画像メモリ 2 CPU 3 画像表示装置 4 マウス 5 γ補正回路 6 近似式算出回路 7 データ算出回路 8 書き込み回路 1 Image Memory 2 CPU 3 Image Display Device 4 Mouse 5 γ Correction Circuit 6 Approximation Formula Calculation Circuit 7 Data Calculation Circuit 8 Writing Circuit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 G06F 15/68 310 9191−5L ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Office reference number FI technical display location G06F 15/68 310 9191-5L

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力された画像データに応じて画像を表
示する画像表示手段と、該表示手段に入力する画像デー
タの階調を変換する階調補正手段と、上記表示手段によ
り表示された原画像上で任意の領域を指定する手段と、
指定された領域の画素値から最適の階調変換カーブを求
める手段と、この最適階調変換カーブに応じて上記階調
補正手段を制御する手段とを有することを特徴とする画
像処理装置。
1. An image display unit for displaying an image in accordance with input image data, a gradation correction unit for converting the gradation of image data input to the display unit, and an original displayed by the display unit. Means to specify any area on the image,
An image processing apparatus comprising: means for obtaining an optimum gradation conversion curve from pixel values in a designated area; and means for controlling the gradation correction means according to the optimum gradation conversion curve.
JP34552992A 1992-11-30 1992-11-30 Image processor Pending JPH06178115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34552992A JPH06178115A (en) 1992-11-30 1992-11-30 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34552992A JPH06178115A (en) 1992-11-30 1992-11-30 Image processor

Publications (1)

Publication Number Publication Date
JPH06178115A true JPH06178115A (en) 1994-06-24

Family

ID=18377206

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34552992A Pending JPH06178115A (en) 1992-11-30 1992-11-30 Image processor

Country Status (1)

Country Link
JP (1) JPH06178115A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007037864A (en) * 2005-08-04 2007-02-15 Hitachi Medical Corp Medical image processing apparatus
US7369285B2 (en) 2000-01-26 2008-05-06 Fujifilm Corporation Method of processing image
JP2016514535A (en) * 2013-03-29 2016-05-23 コーニンクレッカ フィリップス エヌ ヴェKoninklijke Philips N.V. Image registration
CN106935183A (en) * 2015-12-30 2017-07-07 昆山工研院新型平板显示技术中心有限公司 The Drive And Its Driving Method of flat-panel display device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7369285B2 (en) 2000-01-26 2008-05-06 Fujifilm Corporation Method of processing image
JP2007037864A (en) * 2005-08-04 2007-02-15 Hitachi Medical Corp Medical image processing apparatus
JP2016514535A (en) * 2013-03-29 2016-05-23 コーニンクレッカ フィリップス エヌ ヴェKoninklijke Philips N.V. Image registration
CN106935183A (en) * 2015-12-30 2017-07-07 昆山工研院新型平板显示技术中心有限公司 The Drive And Its Driving Method of flat-panel display device
CN106935183B (en) * 2015-12-30 2019-05-03 昆山工研院新型平板显示技术中心有限公司 The Drive And Its Driving Method of flat-panel display device

Similar Documents

Publication Publication Date Title
US6735330B1 (en) Automatic digital radiographic bright light
JPH0334932B2 (en)
JPH06178115A (en) Image processor
JPH043969B2 (en)
JP2003290170A (en) Image processing apparatus, method for image processing, program, and recording medium
JPH08111816A (en) Medical image display device
JP3047681B2 (en) Image distortion correction method and apparatus
JP3455027B2 (en) X-ray image display device
JPH0622497B2 (en) Medical image display device
JP3208063B2 (en) Image information processing method and processing device
JP2003339685A (en) Display device, image processor, image processing system, display method, and storage medium
JPH0679334B2 (en) Data compression method
JPS63106872A (en) Image processor
JPH0689336A (en) Image data enlarging and displaying method
JPS61172541A (en) Double window display apparatus
JPH02210393A (en) Image display device
JP2002330948A (en) Method and device for controlling image processing
JPH01130287A (en) Gray level histogram arithmetic unit
JPH0744693A (en) Picture display device
JPH0719130B2 (en) Image display device
JP2601059B2 (en) Image processing device
JPH01137375A (en) Picture processor
JPH05165592A (en) Color adjustment processing system for color image
JPS63262686A (en) Graphic display device
JPH06231219A (en) Method and apparatus for formation of electronic image