JPH0581110B2 - - Google Patents
Info
- Publication number
- JPH0581110B2 JPH0581110B2 JP61254796A JP25479686A JPH0581110B2 JP H0581110 B2 JPH0581110 B2 JP H0581110B2 JP 61254796 A JP61254796 A JP 61254796A JP 25479686 A JP25479686 A JP 25479686A JP H0581110 B2 JPH0581110 B2 JP H0581110B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- image data
- data
- film
- frequency distribution
- 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.)
- Expired - Fee Related
Links
Landscapes
- Facsimile Image Signal Circuits (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Description
〔産業上の利用分野〕
本発明は、X線写真をデジタル処理する医用画
像処理装置、印刷用レイアウトシステム等の画像
処理装置における階調設定方法に関し、特に写真
のような連続調画像を読み取つてデジタル信号に
し処理した後に、写真画像として出力する際の階
調設定方法に関する。
〔発明の背景〕
コンピユータや半導体技術の急速な発展のおか
げで、写真等の連続調画像を扱う画像処理装置に
おいては、デジタル処理することが当然となつて
いる。
第1図に医用に使用されている画像処理システ
ムのブロツクを示す。一方の画像処理装置Aは、
主として画像の入力や出力、保管等を司る装置で
あり、他方の画像処理装置Bは、主として、像処
理装置Aで保管している画像データを利用して処
理し、診断上有効な画像データに加工する装置で
ある。
画像処理装置Aは、病院内で発生するX線フイ
ルム10を画像入力手段としてのフイルムデジタ
イザ2でデジタルデータに変換した後、画像処理
手段としての画像処理部3に送り、画像記憶部7
に記憶させる。画像処理部3は、画像処理装置B
からの画像データ要求に応えて画像記憶部7より
必要な画像データを検索し、画像通信部8,8′
を経由して画像処理装置Bに送信したり、或いは
他の画像処理装置から送られてくる画像データを
再度画像記憶部7に記憶させたり、更には画像出
力手段としてのフイルムプリンタ4で生のフイル
ムを走査露光させる処理を行なう。走査露光され
たフイルムは、現像機5で現像処理されてハード
コピー化され、ハードコピーフイルム11とな
る。
ここで、画像処理装置Aの基本特性として、入
力された画像データを何等処理しないままハード
コピー化した場合、出力されたハードコピーフイ
ルム11は、元のX線フイルム10と全く同一で
あることが望ましい。
しかし、ハードコピー用フイルムの階調特性が
非線形であるため、実際には画像データの階調変
換を行なう必要があり、この階調変換特性を設定
は、通常次のように行われる。
既知の数レベルのデータ値を用いて、パター
ン状にフイルムを露光して現像し、テストチヤ
ートを作成する。
各濃度レベルのデータパターンの濃度を濃度
計で測定して、データ値と測定濃度とをグラフ
にプロツトする(第8図のプロツトa1,a
2,a3,…,a14)。
連続的な階調変換特性曲線を得るために、
で得たデータを補間し、平滑化する(第8図の
曲線a)。
階調データxに対して理想的な階調特性(第
8図の曲線b)を得るためのデータyをグラフ
より求め、(x、y)の対応をとる。
全ての階調データxに対してyを求め、これ
を階調変換データとする。
しかしながら、フイルムの階調特性は、ロツト
や種類、現像条件等によつて変化するため、それ
らが変化したときは、その都度、階調変換特性曲
線を変更する必要があり、上記した〜の手順
を手作業で行なうことは、オペレータにとつて負
担が大きかつた。
そこで、第1図に示すように、フイルムデジタ
イザ2とフイルムプリンタ4がオンラインで接続
されたようなシステムでは、特開昭58−190950等
に示されているように、上記手順〜をほぼ自
動化、省力化することが提案されている。ここで
は、濃度計の代わりにフイルムデジタイザ2を使
用し、補間や平滑化処理を画像処理装置A内部の
画像処理部3で自動的に行なうようにしている。
ところが、上記方法では、テストチヤートをフ
イルムデジタイザ2により自動的にデジタル値に
変換してゆくため、作成されたテストチヤート上
の各レベルの濃度パターンと読み取られた画像デ
ータのパターンとの位置関係が正確に合つていな
いと対応がとれない。
そこで、まず第一に、これらの位置関係を明確
にするために、テストチヤート用画像データの濃
度パターンの配置や大きさを厳密に規定する必要
がある。そして第二に、テストチヤートフイルム
をフイルムデジタイザ2で読み取るとき、フイル
ムデジタイザ2にテストチヤーフイルムをセツト
する位置や向きを間違えないようにする必要があ
る。
しかし、このような配慮を施しても、フイルム
デジタイザ2による読取位置誤差、フイルムプリ
ンタ4によるテストチヤートの記録位置誤差、及
びフイルムデジタイザ2にテストチヤートフイル
ムをセツトする際のセツト位置のズレ等により、
正確な位置合わせが不可能である。このため、テ
ストチヤートの各濃度パターンのサイズを大きく
して、位置の変動の影響を少なくする必要があつ
た。
従つて、濃度パターンの数が制限され、滑らか
な階調変換テーブルを作成するには、各データの
補間とその平滑化が不可欠であつた。
また、フイルムプリンタ4としてCRTイメー
ジヤやレーザプリンタ等の平面走査型のプリンタ
を使用すると、フイルム面上で位置的な露光量の
変動が生じ、テストチヤートに微妙な濃度歪みが
生じてしまう問題があつた。
これは、フイルムプリンタ4内で使用している
反射ミラーの位置的な反射率の変動と、結像レン
ズのシエーデイング効果の影響によるものが大で
あり、よつて、テストチヤートにそのような濃度
歪みがあることを予め測定しておき、フイルムデ
ジタイザ2で読み取つたデータを補正しなけれ
ば、正確な階調変換テーブルを得ることはできな
かつた。
従来の方法では、濃度パターン内で加算平均を
とることにより、このような濃度歪みを緩和して
いるが、このやり方では、濃度パターン内の歪み
には効果があるものの、パターン間に亘る緩やか
な歪みに対しては、全く効果がない。そして、フ
イルムプリンタ4や現像機5に依存する濃度歪み
には、このような緩やかな歪みが多く、その意味
でも従来の方法では問題があつた。
そこで、作成されたテストチヤート上の各濃度
レベルの頻度分布と、読み取られた画像データの
各濃度レベルの頻度分布とを得て、この両者の頻
度分布を対応させるように階調変換テーブルを作
成することが、例えば特開昭58−68040号等に提
案されている。
しかしながら、ここで得られる両方の頻度分布
はその各々が曲線特性となるので、両者間の対応
関係を取るのが難しく、階調変換テーブルの作成
が困難である。
〔発明の目的〕
本発明はこのような点に鑑みてなされたもので
あつて、その目的は、上記した2個の頻度分布の
対応を簡単にとることができるようにして、階調
変換テーブルの作成が容易にできるようにした階
調設定方法を提供することである。
〔発明の構成〕
このために本発明は、画像を光電変換してデジ
タルデータとして入力する画像入力手段、該画像
入力手段からのデジタル化された画像データを処
理する画像処理手段、及び該画像処理手段からの
デジタル画像データをハードコピーする画像出力
手段を具備する画像処理装置において、
各濃度レベル毎に頻度分布が既知の第一の画像
データを用いて上記画像出力手段によりテストチ
ヤートを作成し、該テストチヤートを上記画像入
力手段により第二の画像データに変換し、該第二
の画像データの各濃度レベル毎の頻度分布を上記
画像処理手段により求めた後、上記第一の画像デ
ータの頻度分布と上記第二の画像データの頻度分
布とを対応せしめるように画像データの階調変換
テーブルを作成する階調設定方法であつて、
上記テストチヤートの作成を、一様乱数を用い
て上記第一の画像データを発生させて行い、上記
第一の画像データの各濃度レベル毎の頻度分布が
均一となるようにした。
〔実施例〕
以下、本発明の実施例について説明する。第2
図はその一実施例のフイルムデジタイザ20を示
す図である。レーザ光源21より発せられたレー
ザ光は、ミラーで光路を変更されてビーム整形レ
ンズ22により適当なビーム形状、ビーム径に整
形され、回転多面鏡23により一方向に偏向され
て、fθレンズ24とよばれる結像レンズによりX
線フイルム10面上で細いビーム径に収束され、
走査される。X線フイルム10に到達したレーザ
光は、X線フイルム10により吸収、散乱されて
減衰するが、そこを透過したレーザ光は、フアイ
バ束で構成される収束器25でフオトマルチプラ
イヤ26まで導かれる。このフオトマルチプライ
ヤ26は、導かれたレーザ光を相当する電気信号
に変換する。この電気信号のレベルはX線フイル
ム10の透過率に対応するので、濃度に変換する
ため、対数変換器27に入力され、この対数変換
器27の時系列の出力信号が走査線上の濃度値に
対応する信号となる。対数変換器27の出力信号
は、fθレンズ24のシエーデイング効果により歪
んでいるので、シエーデイング補正回路28を通
つて、シエーデングのない信号に変換された後
に、A/D変換器29によりデジタル値に変換さ
れる。フイルム10は走査線とほぼ直交する方向
に、1走査する期間に1走査線分だけ移動するよ
うに制御され、よつて順次この操作を行なうこと
により、X線フイルム10の濃度情報が時系列の
デジタルデータ列に変換されて出力される。
本実施例によるフイルムデジタイザ20は、レ
ーザ光のフイルム面上での結像径が120μm、画
素の大きさが175μm×175μm、濃度階調レベル
が1024階調(10ビツト)であり、読取可能フイル
ムサイズは最大幅14インチ、読取可能濃度レンジ
が0〜3.5である。
第3図は本実施例で使用するフイルムプリンタ
40を示す図である。ここでは、フイルムデジタ
イザ20で用いられるものと同一の機能を果たす
ものには同一の符号に「′」(ダツシ)を附した。
後記する画像処理部30より入力するデジタル画
像データは、階調変換テーブル用RAM41によ
り変換され、バツフアメモリ42に記憶される。
このバツフアメモリ42のデータは、回転多面鏡
23′によるレーザ光の偏向に同期して順次読み
出され、D/A変換器43でアナログ信号に変換
された後、アンプ44で電流増幅され、AM変調
器45で変調を受けて、AOM46に入力する。
このAOM46は変調信号によりレーザ光を強度
変調する変調器であり、ここで強度変調されたレ
ーザ光は、回転多面鏡23′により偏向され、fθ
レンズ24により生のプリンタ用フイルム11′
面にて収束・結像する。これにより、フイルム1
1′を走査露光する。このフイルム11′は、フイ
ルムデジタイザ20におけるフイルム10の場合
と同様に走査線とほぼ直交する方向に移動して、
これにより、フイルム全面が露光される。
本実施例のフイルムプリンタ40は、レーザ光
のフイルム11′面上での結像径が70μm、画素
の大きさが87.5μm×87.5μm、濃度階調レベルが
1024階調(10ビツト)であり、記録可能フイルム
サイズは、8インチ×10インチに固定しており、
記録可能画素数は最大2200×2800、記録濃度は0
〜3の範囲を再現することを仕様としている。ま
た階調変換テーブル用RAM41は入力データが
10ビツトであり、レーザ光の輝度変調レベルを
4096段階に設定しているため、1024×12ビツトの
構成になつている。そして、このRAM41のデ
ータは、画像処理部3からの制御により、変更す
ることが可能である。
第4図は本実施例の画像処理部30の一例を示
す図である。この画像処理部30は、画像データ
の種々の処理を行なうが、ここでは本実施例につ
いて必要な部分についてのみの構成を示してい
る。画像入力制御部33は、処理制御部31に制
御されてフイルムデジタイザ20と同期をとり、
フイルムデジタイザ20で読み取られた画像デー
タを順次受信し、画像データバス37に送り出し
ていく。画像メモリ34は、フイルムデジタイザ
20で読み取られた画像データを一次記憶するた
めのものであり、2048×2560画素、10ビツトのデ
ータを記憶することができる。頻度累算器35
は、画像メモリ34中の10ビツトデータの画素頻
度を累算するためのものであり、内部には、1024
×24ビツトの頻度メモリと24ビツト加算器が内蔵
されている。そして、処理制御部31の制御によ
り、2048×2560画素の画像メモリの中から、必要
な部分の画像データを受け取り、その画像データ
の値が示す頻度メモリのアドレスの内容を+1ず
つしていく。画像出力制御部36は、処理制御部
31の制御によりフイルムプリンタ40と同期を
とつて、画像メモリ34のデータをフイルムプリ
ンタ40に送信していく。処理制御部31は、
CPUを中心として構成されており、画像処理部
30の全体の制御の他、テストチヤート画像デー
タ発生機能、頻度累算器35で累算された画像デ
ータ頻度を正規化する機能、及び階調変換テーブ
ル作成機能等をもつ。なお、ここで述べる階調変
換テーブル設定アルゴリズムは、この画像処理装
置の中のユーテイリテイパツケージの1つであ
り、実際のルーチン用処理機能等と、OSの元で
並列に管理されている。データメモリ32は、正
規化された頻度分布テーブルデータや階調変換テ
ーブルデータ等を記憶するためのものである。
次に、テストチヤート画像発生機能について述
べる。本実施例で使用しているテストチヤート
は、1つの濃度パターンがフイルムプリンタ40
で32×32画素、実際には2.8mm×2.8mmの正方形を
しており、このパターンが64×80、計5125個で構
成されている。従つて、テストチヤート用パター
ンそのものは、約179mm×224mmの大きさである。
テストチヤートを記録するフイルム11′は、8
インチ×10インチ(約200mm×251mm)のフイルム
であり、フイルムの下部の200走査線分(約17.5
mmに相当)に、この画像のID情報、記録時刻、
テストチヤート作成者の氏名等の文字データを記
録する必要から、テストチヤートのパターンは、
文字の上部にセンタリングされて記録される。
濃度パターンの画像データは、5120個必要であ
るが、本実施例では、表1に示すように、64個の
データをほぼ等しい頻度で出現するようにして、
ランダムに配置している。表1のデータは、数値
の小さい部分(フイルムプリンタ40の記録濃度
が低い方に相当)が密になるように選択されてい
る。これは、フイルムの濃度の中で、低濃度ほど
人間の弁別能が高く、その再現性が厳しく要求さ
れているからである。また、ランダムに配置して
いるのは、記録位置における濃度歪みの影響を平
均化するためである。
[Industrial Application Field] The present invention relates to a gradation setting method in an image processing device such as a medical image processing device that digitally processes an X-ray photograph or a printing layout system, and is particularly applicable to reading continuous tone images such as photographs. This invention relates to a gradation setting method when outputting a photographic image after processing it into a digital signal. [Background of the Invention] Thanks to the rapid development of computers and semiconductor technology, it has become natural for image processing devices that handle continuous tone images such as photographs to perform digital processing. FIG. 1 shows a block diagram of an image processing system used for medical purposes. One image processing device A is
This device is mainly responsible for image input, output, storage, etc., and the other image processing device B mainly uses and processes image data stored in image processing device A, converting it into diagnostically effective image data. It is a processing device. The image processing apparatus A converts an X-ray film 10 generated in a hospital into digital data using a film digitizer 2 as an image input means, and then sends it to an image processing section 3 as an image processing means, and then sends it to an image processing section 3 as an image processing means.
to be memorized. The image processing unit 3 is an image processing device B.
In response to the image data request from the image storage unit 7, the image communication unit 8, 8' searches for necessary image data.
, or to store image data sent from another image processing device in the image storage section 7 again, or to output the raw image data using the film printer 4 as an image output means. A process of scanning and exposing the film is performed. The film that has been scanned and exposed is processed by a developing machine 5 to be converted into a hard copy, and becomes a hard copy film 11. Here, as a basic characteristic of the image processing apparatus A, if the input image data is converted into a hard copy without any processing, the output hard copy film 11 will be exactly the same as the original X-ray film 10. desirable. However, since the gradation characteristics of hard copy film are non-linear, it is actually necessary to perform gradation conversion of image data, and this gradation conversion characteristic is usually set as follows. Using a known number of levels of data values, a test chart is created by exposing and developing the film in a pattern. Measure the density of the data pattern at each density level with a densitometer, and plot the data values and measured densities on a graph (plots a1 and a in Figure 8).
2, a3,..., a14). In order to obtain a continuous tone conversion characteristic curve,
The data obtained is interpolated and smoothed (curve a in Figure 8). Data y for obtaining an ideal gradation characteristic (curve b in FIG. 8) for gradation data x is obtained from a graph, and a correspondence (x, y) is taken. Find y for all the gradation data x and use this as gradation conversion data. However, the gradation characteristics of the film change depending on the lot, type, development conditions, etc., so when these change, it is necessary to change the gradation conversion characteristic curve each time. It was a heavy burden for the operator to perform this manually. Therefore, in a system in which the film digitizer 2 and the film printer 4 are connected online as shown in FIG. It is proposed to save labor. Here, a film digitizer 2 is used instead of a densitometer, and interpolation and smoothing processing are automatically performed by an image processing section 3 inside the image processing apparatus A. However, in the above method, since the test chart is automatically converted into digital values by the film digitizer 2, the positional relationship between the density pattern of each level on the created test chart and the pattern of the read image data is not correct. If it doesn't match exactly, we can't take action. Therefore, first of all, in order to clarify these positional relationships, it is necessary to strictly define the arrangement and size of the density patterns of the image data for the test chart. Second, when reading the test chart film with the film digitizer 2, it is necessary to avoid setting the test chart film in the film digitizer 2 in the wrong position and orientation. However, even with these considerations, errors in the reading position by the film digitizer 2, errors in the recording position of the test chart by the film printer 4, and deviations in the setting position when setting the test chart film in the film digitizer 2, etc.
Accurate alignment is not possible. Therefore, it was necessary to increase the size of each density pattern in the test chart to reduce the influence of positional fluctuations. Therefore, the number of density patterns is limited, and in order to create a smooth gradation conversion table, interpolation of each data and its smoothing are essential. Furthermore, when a plane scanning printer such as a CRT imager or laser printer is used as the film printer 4, there is a problem in that positional exposure changes occur on the film surface, causing subtle density distortions in the test chart. It was hot. This is largely due to positional reflectance fluctuations of the reflective mirror used in the film printer 4 and the shading effect of the imaging lens, and therefore, such density distortion is not present in the test chart. An accurate gradation conversion table could not be obtained unless it was measured in advance and the data read by the film digitizer 2 was corrected. In the conventional method, such density distortion is alleviated by taking an average within the density pattern, but although this method is effective against distortion within the density pattern, it also reduces the gradual distortion between patterns. It has no effect on distortion at all. The density distortions that depend on the film printer 4 and the developing device 5 often include such gentle distortions, and in this sense too, the conventional methods have had problems. Therefore, we obtained the frequency distribution of each density level on the created test chart and the frequency distribution of each density level of the read image data, and created a gradation conversion table to make these two frequency distributions correspond. This is proposed in, for example, Japanese Patent Laid-Open No. 58-68040. However, since both frequency distributions obtained here each have curved characteristics, it is difficult to establish a correspondence relationship between the two, and it is difficult to create a gradation conversion table. [Object of the Invention] The present invention has been made in view of the above points, and its object is to easily match the two frequency distributions described above, and to create a gradation conversion table. An object of the present invention is to provide a gradation setting method that facilitates the creation of gradations. [Structure of the Invention] For this purpose, the present invention provides an image input means for photoelectrically converting an image and inputting it as digital data, an image processing means for processing digitized image data from the image input means, and an image processing means for processing the image data. In an image processing apparatus equipped with an image output means for hard copying digital image data from the means, a test chart is created by the image output means using first image data whose frequency distribution is known for each density level, The test chart is converted into second image data by the image input means, and the frequency distribution for each density level of the second image data is determined by the image processing means, and then the frequency of the first image data is determined by the image processing means. A gradation setting method for creating a gradation conversion table for image data such that the distribution corresponds to the frequency distribution of the second image data, wherein the test chart is created using uniform random numbers. One image data was generated, and the frequency distribution of each density level of the first image data was made uniform. [Examples] Examples of the present invention will be described below. Second
The figure shows a film digitizer 20 of one embodiment. The laser beam emitted from the laser light source 21 has its optical path changed by a mirror, is shaped into an appropriate beam shape and beam diameter by a beam shaping lens 22, is deflected in one direction by a rotating polygon mirror 23, and is transmitted to an fθ lens 24. X by a so-called imaging lens
The beam is converged to a narrow beam diameter on 10 surfaces of the line film,
scanned. The laser light that has reached the X-ray film 10 is absorbed and scattered by the X-ray film 10 and is attenuated, but the laser light that has passed therethrough is guided to a photomultiplier 26 by a convergent 25 composed of a fiber bundle. . This photomultiplier 26 converts the guided laser light into a corresponding electrical signal. Since the level of this electrical signal corresponds to the transmittance of the X-ray film 10, it is input to a logarithmic converter 27 in order to convert it into density, and the time series output signal of this logarithmic converter 27 is converted into density values on the scanning line. A corresponding signal will be generated. The output signal of the logarithmic converter 27 is distorted due to the shading effect of the fθ lens 24, so it passes through the shading correction circuit 28 and is converted into a signal without shading, and then is converted into a digital value by the A/D converter 29. be done. The film 10 is controlled to move by one scanning line per scanning period in a direction substantially perpendicular to the scanning line, and by sequentially performing this operation, the density information on the X-ray film 10 is changed in time series. It is converted into a digital data string and output. The film digitizer 20 according to this embodiment has an image diameter of 120 μm on the film surface of the laser beam, a pixel size of 175 μm x 175 μm, a density gradation level of 1024 gradations (10 bits), and a readable film. The maximum width is 14 inches, and the readable density range is 0 to 3.5. FIG. 3 is a diagram showing a film printer 40 used in this embodiment. Here, components that perform the same functions as those used in the film digitizer 20 are given the same reference numerals with a dash (') added thereto.
Digital image data inputted from an image processing section 30, which will be described later, is converted by a gradation conversion table RAM 41 and stored in a buffer memory 42.
The data in the buffer memory 42 is sequentially read out in synchronization with the deflection of the laser beam by the rotating polygon mirror 23', converted into an analog signal by the D/A converter 43, and then current amplified by the amplifier 44, and then modulated by AM. The signal is modulated by the modulator 45 and input to the AOM 46.
This AOM 46 is a modulator that modulates the intensity of the laser beam using a modulation signal, and the laser beam intensity-modulated here is deflected by the rotating polygon mirror 23' and fθ
The lens 24 allows the raw printer film 11'
Converges and forms an image on the surface. As a result, film 1
1' is scanned and exposed. The film 11' is moved in a direction substantially perpendicular to the scanning line in the same way as the film 10 in the film digitizer 20.
As a result, the entire surface of the film is exposed. In the film printer 40 of this embodiment, the image diameter of the laser beam on the film 11' surface is 70 μm, the pixel size is 87.5 μm×87.5 μm, and the density gradation level is 70 μm.
It has 1024 gradations (10 bits), and the recordable film size is fixed at 8 inches x 10 inches.
The maximum number of recordable pixels is 2200 x 2800, and the recording density is 0.
The specification is to reproduce the range of ~3. In addition, the RAM 41 for the gradation conversion table has input data.
It is 10 bits and controls the brightness modulation level of the laser beam.
Since it is set to 4096 levels, it has a 1024 x 12 bit configuration. The data in this RAM 41 can be changed under control from the image processing section 3. FIG. 4 is a diagram showing an example of the image processing section 30 of this embodiment. The image processing unit 30 performs various processes on image data, but only the configuration necessary for this embodiment is shown here. The image input control section 33 synchronizes with the film digitizer 20 under the control of the processing control section 31.
The image data read by the film digitizer 20 is sequentially received and sent to the image data bus 37. The image memory 34 is for temporarily storing image data read by the film digitizer 20, and can store 2048×2560 pixels and 10 bit data. Frequency accumulator 35
is for accumulating the pixel frequency of 10-bit data in the image memory 34, and internally contains 1024 pixel frequencies.
A 24-bit frequency memory and a 24-bit adder are built-in. Then, under the control of the processing control unit 31, a necessary portion of image data is received from the 2048×2560 pixel image memory, and the content of the address of the frequency memory indicated by the value of the image data is incremented by 1. The image output control section 36 synchronizes with the film printer 40 under the control of the processing control section 31 and transmits the data in the image memory 34 to the film printer 40. The processing control unit 31
It is mainly configured with a CPU, and in addition to controlling the entire image processing section 30, it also has a test chart image data generation function, a function to normalize the frequency of image data accumulated by the frequency accumulator 35, and gradation conversion. It has table creation functions, etc. The gradation conversion table setting algorithm described here is one of the utility packages in this image processing device, and is managed in parallel with the actual routine processing functions and the like under the OS. The data memory 32 is for storing normalized frequency distribution table data, gradation conversion table data, and the like. Next, the test chart image generation function will be described. In the test chart used in this example, one density pattern is printed on the film printer 40.
It has 32 x 32 pixels, which is actually a 2.8 mm x 2.8 mm square, and this pattern consists of 64 x 80 pixels, a total of 5125 pieces. Therefore, the test chart pattern itself has a size of approximately 179 mm x 224 mm.
The film 11' for recording the test chart is 8
inch x 10 inch (approx. 200 mm
(equivalent to mm), ID information of this image, recording time,
Because it is necessary to record character data such as the name of the test chart creator, the test chart pattern is
Recorded centered at the top of the character. Although 5,120 pieces of density pattern image data are required, in this embodiment, as shown in Table 1, 64 pieces of data are made to appear with approximately equal frequency.
They are placed randomly. The data in Table 1 is selected so that the portions with smaller numbers (corresponding to the lower recording density of the film printer 40) are denser. This is because, among film densities, the lower the density, the higher the human discrimination ability, and the reproducibility of the film is strictly required. Further, the reason why they are arranged randomly is to average out the influence of density distortion at the recording position.
以上から本発明によれば、テストチヤートの作
成を、一様乱数を用いて第一の画像データを発生
させて行い、その第一の画像データの各濃度レベ
ル毎の頻度分布が均一となるようにしたので、第
一の画像データの頻度分布テーブルが直線的特性
となる。このため、第二の画像データから得た頻
度分布テーブルとの比較が容易となつて、両頻度
分布特性から階調変換テーブルを作成することが
容易となる。
As described above, according to the present invention, a test chart is created by generating first image data using uniform random numbers, and the frequency distribution of each density level of the first image data is made uniform. Therefore, the frequency distribution table of the first image data has a linear characteristic. Therefore, comparison with the frequency distribution table obtained from the second image data becomes easy, and it becomes easy to create a gradation conversion table from both frequency distribution characteristics.
第1図は医用の画像処理システムのブロツク
図、第2図は本実施例のフイルムデジタイザの構
成図、第3図は本実施例のフイルムプリンタの構
成図、第4図は本実施例の画像処理部の構成図、
第5図は本実施例の濃度パターンデータ設定のフ
ローチヤート、第6図は別の実施例の同フローチ
ヤート、第7図は更に別の実施例の同フローチヤ
ート、第8図は階調変換特性図、第9図a〜cは
頻度分布変換特性図、第10図a,bは累積頻度
分布テーブルの特性図である。
Fig. 1 is a block diagram of a medical image processing system, Fig. 2 is a block diagram of a film digitizer of this embodiment, Fig. 3 is a block diagram of a film printer of this embodiment, and Fig. 4 is an image of an image of this embodiment. Block diagram of the processing unit,
FIG. 5 is a flowchart for setting density pattern data in this embodiment, FIG. 6 is a flowchart in another embodiment, FIG. 7 is a flowchart in yet another embodiment, and FIG. 8 is a gradation conversion flowchart. The characteristic diagrams in FIGS. 9a to 9c are frequency distribution conversion characteristic diagrams, and FIGS. 10a and 10b are characteristic diagrams of a cumulative frequency distribution table.
Claims (1)
力する画像入力手段、該画像入力手段からのデジ
タル化された画像データを処理する画像処理手
段、及び該画像処理手段からのデジタル画像デー
タをハードコピーする画像出力手段を具備する画
像処理装置において、 各濃度レベル毎の頻度分布が既知の第一の画像
データを用いて上記画像出力手段によりテストチ
ヤートを作成し、該テストチヤートを上記画像入
力手段により第二の画像データに変換し、該第二
の画像データの各濃度レベル毎の頻度分布を上記
画像処理手段により求めた後、上記第一の画像デ
ータの頻度分布と上記第二の画像データの頻度分
布とを対応せしめるように画像データの階調変換
テーブルを作成する階調設定方法であつて、 上記テストチヤートの作成を、一様乱数を用い
て上記第一の画像データを発生させて行い、上記
第一の画像データの各濃度レベル毎の頻度分布が
均一となるようにしたことを特徴とする階調設定
方法。 2 上記テストチヤートの各濃度レベルに対応す
る濃度パターンの大きさが、上記画像入力手段の
開口径の2倍から100倍であることを特徴とする
特許請求の範囲第1項記載の階調設定方法。 3 上記第一の画粗をデータのもつ濃度レベル
が、上記画像入力手段の量子化レベル数のほぼ1/
20以上であることを特徴とする特許請求の範囲第
1項又は第2項記載の階調設定方法。[Scope of Claims] 1. Image input means for photoelectrically converting an image and inputting it as digital data, image processing means for processing digitized image data from the image input means, and digital image from the image processing means. In an image processing apparatus equipped with an image output means for hard copying data, a test chart is created by the image output means using first image data whose frequency distribution for each density level is known, and the test chart is After converting the second image data into second image data by the image input means and determining the frequency distribution for each density level of the second image data by the image processing means, the frequency distribution of the first image data and the second image data are converted into second image data. A gradation setting method for creating a gradation conversion table of image data so as to correspond to a frequency distribution of image data, the method includes creating a gradation conversion table of image data such that the frequency distribution of the first image data corresponds to the frequency distribution of the first image data using uniform random numbers. A gradation setting method characterized in that the frequency distribution for each density level of the first image data is uniform. 2. The gradation setting according to claim 1, wherein the size of the density pattern corresponding to each density level of the test chart is from 2 times to 100 times the aperture diameter of the image input means. Method. 3 The density level of the data having the first image roughness is approximately 1/1/1 of the number of quantization levels of the image input means.
The gradation setting method according to claim 1 or 2, characterized in that the number is 20 or more.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61254796A JPS63109658A (en) | 1986-10-28 | 1986-10-28 | Gradation setting method for picture processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61254796A JPS63109658A (en) | 1986-10-28 | 1986-10-28 | Gradation setting method for picture processor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63109658A JPS63109658A (en) | 1988-05-14 |
| JPH0581110B2 true JPH0581110B2 (en) | 1993-11-11 |
Family
ID=17270009
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61254796A Granted JPS63109658A (en) | 1986-10-28 | 1986-10-28 | Gradation setting method for picture processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS63109658A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0832462B2 (en) * | 1990-02-27 | 1996-03-29 | 三菱電機株式会社 | Gradation recording printer |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5868040A (en) * | 1981-10-19 | 1983-04-22 | Konan Camera Kenkyusho:Kk | Measuring device for correcting rate of gradation |
| JPS58190950A (en) * | 1982-04-30 | 1983-11-08 | Fuji Photo Film Co Ltd | Automatic setting system of gradation table for picture input and output device |
-
1986
- 1986-10-28 JP JP61254796A patent/JPS63109658A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63109658A (en) | 1988-05-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0255949B1 (en) | Method of and apparatus for correcting gradation of image represented by image data | |
| JPH01253366A (en) | Setting method for highlight shadow density value | |
| JPH06303429A (en) | Dot image data correcting method and image processor with correcting function | |
| US5502776A (en) | Method and apparatus selectively setting an image processing condition | |
| JP3596789B2 (en) | Image reading processing device | |
| US5353239A (en) | Method of processing image signal by optical gamma correction curve and apparatus for performing the same | |
| JPH0581110B2 (en) | ||
| JPH0618799A (en) | Method of correcting surface reflectance in polygonal scanner | |
| JPH0294779A (en) | Method and apparatus for producing duplicate picture of original picture | |
| JPH10155053A (en) | Digital photo printer | |
| US4916744A (en) | Image signal processing method | |
| JPH05502570A (en) | Digital scanner scene balance calibration | |
| JP2585754B2 (en) | Image input / output system and signal processing condition setting method | |
| JPH0417500B2 (en) | ||
| JPH0129348B2 (en) | ||
| JPS63153140A (en) | Signal converting method in duplication of medium contrast image | |
| JPH0341876A (en) | Picture signal correction method | |
| JP2575843B2 (en) | Image input / output system and method for automatically setting signal processing conditions | |
| JPH01248873A (en) | Picture reader | |
| US7016079B2 (en) | Method of and apparatus for generating proof image | |
| JP2814769B2 (en) | Image processing device | |
| JPS6294076A (en) | Picture signal processing method | |
| JP4125072B2 (en) | Magnification calibration method for image reading apparatus | |
| JP2673690B2 (en) | Image reading device | |
| JP3368098B2 (en) | Data conversion method and apparatus, and image forming apparatus provided with the apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |