JP4065463B2 - Image processing apparatus, image processing method, and computer-readable recording medium - Google Patents

Image processing apparatus, image processing method, and computer-readable recording medium Download PDF

Info

Publication number
JP4065463B2
JP4065463B2 JP05486598A JP5486598A JP4065463B2 JP 4065463 B2 JP4065463 B2 JP 4065463B2 JP 05486598 A JP05486598 A JP 05486598A JP 5486598 A JP5486598 A JP 5486598A JP 4065463 B2 JP4065463 B2 JP 4065463B2
Authority
JP
Japan
Prior art keywords
moving average
output
density
filtering
pixel
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
Application number
JP05486598A
Other languages
Japanese (ja)
Other versions
JPH11252373A (en
Inventor
昭夫 三枝
仁司 井上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP05486598A priority Critical patent/JP4065463B2/en
Publication of JPH11252373A publication Critical patent/JPH11252373A/en
Application granted granted Critical
Publication of JP4065463B2 publication Critical patent/JP4065463B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明は、医療用X線フィルム画像を光学的に読み取って得られるデジタル化された画像信号の処理に用いて好適な画像処理装置、画像処理方法、及びコンピュータ読み取り可能な記録媒体に関するものである。
【0002】
【従来の技術】
従来のX線フィルム画像を読み取る装置として、ハロゲンランプ、半導体レーザ等の光源からX線フィルムに光を照射し、フィルムからの透過光をCCDラインセンサ、フォトマルチプライヤ等の撮像素子により受光し、電気信号に変換した後デジタル値に変換するX線フィルム画像読み取り装置が知られている。これらX線フィルム画像読み取り装置は診断等に用いられることもあるため、高い性能が求められている。
【0003】
このような画像読み取り装置においては、フィルムに忠実な階調性の高い情報を得る必要があり、装置における階調の識別は視覚特性に合致したものが求められる。視覚の階調に対する識別は、フィルムからの透過光量に線形ではなく、
濃度D=−LOG10(T)、T:透過率 ………(1)
にほぼ比例することが知られており、光量が少ないとき、すなわち黒に近い時ほどかすかな違いでも識別できることを示している。そのため、X線フィルム画像読み取り装置は通常、濃度値で出力される。撮像素子であるCCDラインセンサは光に比例した大きさの電気信号を出力するが、リセット雑音、ショット雑音といった雑音成分を出力に含む。また、アンプやA/Dコンバータ等による雑音成分もADの出力に含まれる。これらの雑音はショット雑音を除けば光量に依存せず、ほぼ一定の大きさである。
【0004】
濃度Dは前述のように式(1)で表される。この式(1)を全微分すると、
dD=−(10D LOGe)dT ………(2)
ここで、ノイズを分散値σ2 に従う正規分布とすると、濃度Dの分散値は(10D LOGe)2 σ2 となる。
すなわち、ノイズを標準偏差σとすると、濃度値に換算したノイズは指数関数(10D LOGe)に比例する。
【0005】
このノイズは独立した乱数とみなせるため、従来は、移動平均等による空間フィルタリングを行うことによりノイズを抑えていた。すなわち、画素の集合を{Hi |i=1〜N}、移動平均点数をPとすると、移動平均フィルタは、
【0006】
【数1】

Figure 0004065463
【0007】
で表され、分散値は1/Pとなる。すなわち、移動平均フィルタリングにより、ノイズは1/√Pとなる。
【0008】
図6には移動平均点数をパラメータとする濃度値とノイズとの関係が示されている。
同図において、41は後述の文献によるX線フィルム画像読取り装置に必要とされるSN比をノイズに換算したものを示し、42は移動平均点数を2点としたときのノイズを示し、43は移動平均点数を4点としたときのノイズを示し、44は移動平均点数を8点としたときのノイズを示している。
【0009】
【発明が解決しようとする課題】
本来、X線フィルム画像読取り装置に必要とされるSN比は、文献High−resolution,high−performance radiographic film scanner(SPIE Vo1.1231Medical Imaging IV)によると、フィルムのSN比に依存し、フィルムのノイズの3分の1以下であることが必要であるとされている。
このSN比を読取り濃度範囲内において達成するために、多点の移動平均フィルタリングを行うと、ノイズは抑えられるもののMTFが低下し、画像がボケてしまうという問題点があった。また、MTFの低下を抑えるために移動平均フィルタの点数を減らすと、本来X線フィルム画像読取り装置に必要とされるSN比を読取り濃度範囲内において達成できないという問題があった。
【0010】
従って、本発明の目的は、MTF低下による画質劣化を抑えつつ、X線フィルム画像読取り装置に本来必要とされるSN比を広濃度範囲に渡り実現することである。
【0011】
【課題を解決するための手段】
本発明の画像処理装置は、移動平均フィルタリングする際に用いる画素の数である移動平均点数を変更することで、空間フィルタ特性を変えるフィルタ手段と、画像信号における着目画素の濃度値に要求されるSN比のノイズ換算値以下となる移動平均点数の中の最小数を選択する選択手段とを備え、上記選択手段で選択された移動平均点数で、上記フィルタ手段により上記着目画素に対してフィルタリング処理することを特徴とする。
【0012】
本発明のコンピュータ読み取り可能な記録媒体は、画像処理するためにコンピュータを、移動平均フィルタリングする際に用いる画素の数である移動平均点数を変更することで、空間フィルタ特性を変えるフィルタ手段と、画像信号における着目画素の濃度値に要求されるSN比のノイズ換算値以下となる移動平均点数の中の最小数を選択する選択手段として機能させ、かつ上記選択手段で選択された移動平均点数で、上記フィルタ手段により上記着目画素に対してフィルタリング処理させるためのプログラムを記録したことを特徴とする。
【0013】
本発明の画像処理方法は、移動平均フィルタリングする際に用いる画素の数である移動平均点数の中から、画像信号における着目画素の濃度値に要求されるSN比のノイズ換算値以下となる移動平均点数の最小数を選択する工程と、選択された移動平均点数で、上記着目画素に対してフィルタリング処理する工程とを備えることを特徴とする。
【0015】
【発明の実施の形態】
以下、本発明の実施の形態について図面と共に説明する。
図1はノイズ低減を行うようにしたX線フィルム画像読取り装置の第1の実施の形態を示す。
図1において、蛍光ランプ、ハロゲンランプ等の光源1からの光は、X線フィルム2を透過し光学系レンズ3により集光され、CCDラインセンサ4上へ結像される。
【0016】
X線フィルム2は図示しない搬送手段により順次矢印の方向に搬送されるため、CCDラインセンサ4は搬送方向と直交する方向の一次元像を受光することにより、X線フィルム2はCCDラインセンサ4により走査されて全画像が読み込まれる。CCDラインセンサ4で受光された光は光電変換され、1画素ずつ電圧値として出力される。この電圧値は、アンプ5により増幅される共に、図示しないノイズ低減回路(CDS)によりノイズ低減された後、A/D変換器6に入力されてnビットのデジタルデータDi (1≦i≦p p:1ラインの画素数)に変換される。
【0017】
次に、黒補正回路7では、減算器7aにより、対応する画素データからオフセット成分として予め収集した暗分布Bi を減ずる。暗分布Bi は暗分布メモリ7bにストアされている。黒補正回路7の出力をDi ′とすると、
i ′=Di −Bi (1≦i≦p) ………(4)
となる。
【0018】
黒補正回路7の出力は割り算を行うための対数変換ルックアップテーブル(LUT)8に入力される。この対数変換ルックアップテーブル8はnビット入力nビット出力であり、具体的には、
Yi=Round(A・Log10(Di′+1)+0.5)(1≦i≦p)………(5)
A:(2n −1)/Log10(2n
となる。ここで、Round(*)は少数点以下を切り捨てることを意味する。対数変換ルックアップテーブル8は上式(5)の変換を行う。
【0019】
次に、白補正回路9では、減算器9aにより、予め収集した明分布メモリ9bに収集した対数変換した明分布Li′に対応する画素から、対数変換ルックアップテーブル8の出力Yi を減ずる。Li をフィルムを通さずに収集したA/D変換器6による出力データとすると、対数変換した明分布Li ′は、
i ′=Round(A・Log10(Li −Bi +1)+0.5)(1≦i≦p) ………(6)
A:(2n −1)/Log10(2n
で表される。
【0020】
従って、減算器9aで行われる減算によって、フィルムの透過率を計算する除算が実行される。この出力は対数値であるため濃度出力となる。濃度出力Zi は、
i =Li ′−Yi (1≦i≦p) ………(7)
となる。このようにして得られた濃度値は、濃度適応型フィルタ10に入力される。
【0021】
図2は濃度適応型フィルタ10の第1の構成例を示している。
この濃度適応型フィルタ10は、8個のシフトレジスタSR7、SR6、SR5、…、SR0、3個の加算器10a、10b、10c、LUT10d、ビットシフタ10e、10f、マルチプレクサ10gにより構成される。
【0022】
シフトレジスタSR4、SR3の出力は加算器10aに入力され、加算器10aの出力は加算器10b及びビットシフタ10eに入力される。また、ビットシフタ10eの出力はマルチプレクサ10gに入力される。シフトレジスタSR5、SR2及び加算器10aの出力は加算器10bに入力され、加算器10bの出力は加算器10c及びビットシフタ10fに入力される。また、ビットシフタ10fの出力はマルチプレクサ10gに入力される。
【0023】
シフトレジスタSR7、SR6、SR1、SR0及び、加算器10bの出力は加算器10cに入力され、加算器10cの出力はマルチプレクサ10g及びLUT10dに入力される。また,LUT10dの出力はマルチプレクサ10gに入力される。そして、マルチプレクサ10gの出力は図1の濃度補正テーブル11に入力される。
【0024】
次に濃度適応型フィルタ10の動作について説明する。
上述の様にして得られた画像データは順次シフトレジスタSR7〜SR0に入力され、すべてのシフトレジスタに画像データが入力された時点で、シフトレジスタSR4、SR3の出力は加算器10aに入力される。
シフトレジスタSR7、SR6、…、SR1、SR0内の値をそれぞれZi-7 、ZI-6 、…、Zi-1 、Zi (8≦i≦p)とすると、加算器10aでは、シフトレジスタSR4、SR3のデータZi-4 、Zi-3 が加算され、ビットシフタ10e及び加算器10bに入力される。
【0025】
ビットシフタ10eでは、入力されたデータが4倍され、マルチプレクサ10cに(n+3)ビットデータとして入力される。加算器10bでは、シフトレジスタSR5、SR2のデータZi-5 、Zi-2 及び加算器10aからのデータZi-4 +Zi-3 が加算され、ビットシフタ10f及び加算器10cに入力される。
【0026】
ビットシフタ10fでは、入力されたデータが2倍され、マルチプレクサ10cに(n+3)ビットデータとして入力される。加算器10cでは、シフトレジスタSR7、SR6、SR1、SR0のデータZi-7 、Zi-6 、Zi-1 、Zi 及び、加算器10bからのデータZi-5 +Zi-4 +Zi-3 +Zi-2 が加算され、マルチプレクサ10g及びLUT10dに入力される。すなわち、マルチプレクサ10gには、
【0027】
【数2】
Figure 0004065463
【0028】
が入力される。
LUT10dは加算器10cからの入力に対し、後述する図5に示す濃度Q0及びQ1に相当する値を境に0、1及び2が出力されるように設定されている。すなわち、LUT10dは(2(n+3) −1)・Q0/Log10(2(n+3) )及び、(2(n+3) −1)・Q1/Log10(2(n+3) )を境に0、1及び2が出力されるように設定される。
【0029】
【数3】
Figure 0004065463
【0030】
に対して
LUTout =0(0≦A1 ≦P0)
LUTout =1(P0<Ai ≦P1)
LUTout =2(P1<Ai ≦2(n+3) −1)
P0:(2(n+3) −1)・Q0/Log10(2(n+3)
P1:(2(n+3) −1)・Q1/Log10(2(n+3) ) ………(12)
となる。
【0031】
LUT10dの出力はマルチプレクサ10gに入力され、マルチプレクサ10gはLUT10dの出力が0のときはビットシフタ10cからの入力、即ち上記式(8)を出力し、LUT10dの出力が1のときは加算器10bからの入力、即ち上記式(9)を出力し、LUT10dの出力が2のときは加算器10cからの入力、即ち上記式(10)を濃度補正テーブル11に出力する。
【0032】
尚、ここでは、加算器10cの出力をLUT10dの入力としたが、別に設けた平均値もしくは加算値を算出する回路からの出力をLUT10dの入力としてもよい。
【0033】
以上の動作によって、濃度がQ0以下のときは2点を積和した出力を、Q0より大きくQ1以下のときは4点を積和した出力を、また、濃度がQ1より大きいときは8点を積和した出力を得ることができる。
【0034】
上述の第1の構成例では、ビット数を合せる演算回路を簡略化するために積和点数を2、4、8点としているので、急激にフィルタの特性が変化し、フィルタの切り換わり点が画像上に不自然に現れてしまう恐れがある。そこで、第1の構成例にさらに特性の異なる空間フィルタを追加した場合について説明する。
図3は特性の異なる空間フィルタを追加した濃度適応型フィルタ10の第2の構成例を示している。
図3に示す濃度適応型フィルタ10は、図2の構成に新たに演算回路10h及び演算回路10iを追加したものである。
【0035】
加算器10a、加算器10bの出力が演算回路10hに入力され、加算器10b、加算器10cの出力が演算回路10iに入力されている。また、演算回路10h及び演算回路10iの出力はマルチプレクサ10gに入力されている。
演算回路10hでは、加算器10aからの式(13)による出力を2倍し、加算器10bからの式(14)による出力を加算した値をマルチプレクサ10gに入力する。演算回路10iでは、加算器10cからの式(15)による出力を1/2倍し、加算器10bからの式(15)による出力を加算した値をマルチプレクサ10gに入力する。
【0036】
【数4】
Figure 0004065463
【0037】
上述の2点、4点及び8点の積和出力以外に、2点の積和の2倍と4点の積和とを加えた出力及び4点の積和と8点の積和の1/2を加えた出力を追加し、順次切換えて出力することにより、フィルタが切り換わった際の画像の特性の変化を小さくできる。
【0038】
以上は、2点、4点及び8点の積和出力を得るものであり、シフトレジスタの数を16、32、…と増やし、加算回路、ビットシフタを追加することにより、さらに積和点数を増やしてSNを上げることも可能である。
【0039】
次に、図1の濃度補正テーブル11は、受光素子もしくは発光素子の光学的な光指向性の影響による濃度値の誤差、集光光学系もしくは受光素子表面の光散乱による濃度値誤差、及び受光素子もしくは後段の電気回路の非線型性による濃度値の誤差を補正する目的で用いられる。
この濃度補正テーブル11は、基準となる濃度値を持つフィルムを予め読み込み、結果をその濃度値に合せるようなテーブルを作成して使用する。濃度補正テーブル11によって補正された値をZi ″(1≦i≦p−7)とする。
【0040】
次に、補間回路12は、画素ピッチを所望のものに変換する目的で用いられる。補間は主走査、副走査方向で行われるべきであるが、副走査方向に関してはフィルムの搬送速度をV[mm/sec]、CCDの蓄積時間をT[scc]とすれば、副走査方向のピッチXs は、
s =V・T[mm] ………(16)
と容易に設定でき、VもしくはTの調整で行えるので、補間は主走査方向のみで行う。ちなみに副走査方向のピッチXs を変えるためにCCDの光蓄積時間Tを変更するとき、光源の光量はCCDの出力が適切になるように調整される。
【0041】
上記主走査方向の補間の計算は、
【0042】
【数5】
Figure 0004065463
【0043】
となる。ここでnは補間に利用する前後の画素の総数であり、Xfは所望の主走査方向のサンプリングピッチであり、Xoは光学系の倍率とCCDの実際の画素間隔で定まる実際に取得したサンプリングピッチである。εはXfとXoのサンプリングによる偏差であり、
ε=i・Xf/Xo−Round(i・Xf/Xo);(1≦i≦p−7)
(|ε|<1) ………(18)
で表せる。
【0044】
Wは補間する場合の核となる関数であり、例えば、2点の直線補間を行う場合、
Figure 0004065463
と定まる。このときは、n=2を選択する。
【0045】
補間回路12の出力は後段の画像圧縮回路14もしくはハードディスク15への書込みのバッファとしての画像メモリ13に一旦書込まれる。画像圧縮回路14では、画像データの圧縮を行うが、例えば標準的な圧縮方法であるJPEG圧縮を行う。この場合、画像メモリ13から8X8ブロック単位でデータを読み出し、圧縮されたデータを後段へ出力する。この圧縮動作は操作者の設定によりパスすることもできる。
【0046】
この圧縮出力は大容量のバッファであるハードディスク15へ書込まれる。これは後段のインターフェイス16による外部装置への出力時間の遅れによって本装置の次のフィルムを読取る時間に影響を出さないためのものであり、フィルムの読取りと外部へのデータ出力とが、ほぼ独立して行えるようにするためのバッファである。ハードディスク15に書込まれたこれらのデータは、インターフェイス16を介して予め設定された転送先に出力される。
【0047】
尚、本実施の形態では、異なる特性を出力可能な空間フィルタについて説明したが、異なる特性を持つ複数の空間フィルタの出力を選択するように構成することも可能である。
また、本実施の形態では、1次元の空間フィルタについて説明したが、ラインバッファ等を用いて上述のフィルタを2次元の空間フィルタとすることも可能である。
【0048】
本実施の形態によれば、着目画素の前後の複数画素を積和した値に応じて、用いる積和フィルタの特性を変えることができる。具体的には、濃度の高いところでは、積和点数の多い出力を用い、濃度の低いところでは、積和点数の少ない出力を用いる様に出力選択回路を設定することにより、低濃度部でMTFを低下させることなく、高濃度部においてノイズを抑制した画像を得ることができる。
【0049】
図5は、本発明により得られるX線フィルム画像読取り装置のノイズの特性を示す。
図中、51は前記文献によるX線フィルム画像読取り装置に要求されるSN比のノイズ換算値を示し、52は移動平均点数を2点としたときのノイズを示し、53は移動平均点数を4点としたときのノイズを示し、54は移動平均点数を8点としたときのノイズを示し、55は濃度Q0、Q1の点において移動平均点数を2点から4点、4点から8点に切換えることにより得られるX線フィルム画像読取り装置のノイズの特性を示している。
【0050】
濃度Q0は移動平均点数が2点の際のX線フィルム画像読取り装置のノイズと、装置に要求されるSN比のノイズ換算値が等しくなる濃度であり、また濃度Q1は移動平均点数が4点の際のX線フィルム画像読取り装置のノイズと、装置に要求されるSN比のノイズ換算値が等しくなる濃度である。
【0051】
従って、低濃度部におけるMTF低下による画質劣化を抑えつつ、X線フィルム画像読取り装置に本来必要とされるSN比を広濃度範囲に渡り実現することができる。
【0052】
図4はノイズ低減を行うようにしたX線フィルム画像読取り装置の第2の実施の形態を示す。
蛍光ランプ、ハロゲンランプ等の光源1からの光は、X線フィルム2を透過し光学系レンズ3により集光され、CCDラインセンサ4上へ結像される。CCDラインセンサ4の出力はアンプ5により増幅されると共に、ノイズ低減回路(CDS)によりノイズ低減された後、A/D変換器6によりnビットのデジタルデータDi (1≦i≦p p:1ラインの画素数)に変換される。
【0053】
黒補正回路7では、減算器7aにより、対応する画素データからオフセット成分として予め収集した暗分布Bi を減ずる。暗分布Bi は暗分布メモリ7bにストアされている。黒補正回路の出力をDi ′とすると、
i ′=Di −Bi (1≦i≦p) ………(20)
となる。このようにして得られた黒補正回路の出力Di ′は、濃度適応型フィルタ10に入力される。濃度適応型フィルタの構成は図2、図3と同じである。
【0054】
次に図2の濃度適応型フィルタの動作について説明する。
上述のようにして得られた画像データは順次シフトレジスタに入力され、すべてのシフトレジスタに画像データが入力された時点で、シフトレジスタSR4、SR3の出力は加算器10aに入力される。
シフトレジスタSR7、SR6、…、SR1、SR0内の値をそれぞれDi-7 ′DI-6 ′、…、Di-1 ′、Di ′(8≦i≦p)とすると、加算器10aでは、シフトレジスタSR4、SR3のデータDi-4 ′、Di-3 ′が加算され、ビットシフタ10e及び、加算器10bに入力される。
【0055】
ビットシフタ10eでは入力されたデータが4倍され、マルチプレクサ10cに(n+3)ビットデータとして入力される。加算器10bでは、シフトレジスタSR5、SR2のデータDi-5 ′、Di-2 ′及び加算器10aからのデータDi-4 ′+Di-3 ′が加算され、ビットシフタ10f及び加算器10cに入力される。ビットシフタ10fでは入力されたデータが2倍され、マルチプレクサ10cに(n+3)ビットデータとして入力される。加算器10cでは、シフトレジスタSR7、SR6、SR1、SR0のデータDi-7 ′、Di-6 ′、Di-1 ′、Di ′及び、加算器10bからのデータDi-5 ′+Di-4 ′+Di-3 ′+Di-2 ′が加算され、マルチプレクサ10g及び、LUT10dに入力される。すなわち、マルチプレクサ10gには、
【0056】
【数6】
Figure 0004065463
【0057】
が入力される。LUT10dは加算器10cからの入力に対し、図5に示した濃度Q0及びQ1に相当する値を境に0、1及び2が出力されるように設定されている。
ここで、第1の実施の形態では、シフトレジスタに入力される値が濃度値であったが、第2の実施の形態では、シフトレジスタに入力される値が黒補正後の透過光データである。本来はシェーディングにより黒補正後の透過光データから濃度値を推測できないが、通常は光量ムラの少ない光源を用いるため、黒補正後の透過光データからでも濃度値は推測できる。すなわち、LUT10dはL・10-Q0 及びL・10-Q1 (L:暗分布を除去した明分布の平均値)を境に0、1及び2が出力されるように設定される。LUT10dの出力は、
【0058】
【数7】
Figure 0004065463
【0059】
に対して
LUTout =2(0≦A1 ≦P0)
LUTout =1(P0<Ai ≦P1)
LUTout =0(P1<Ai ≦2(n+3) −1) ………(22)
P0:L・10-Q1
P1:L・10-Q0
となる。
【0060】
LUT10dの出力はマルチプレクサ10gに入力され、マルチプレクサ10gはLUT10dの出力が0のときはビットシフタ10eからの入力、即ち
【0061】
【数8】
Figure 0004065463
【0062】
を出力し、LUT10dの出力が1のときは加算器10bからの入力、即ち
【0063】
【数9】
Figure 0004065463
【0064】
を出力し、LUT10dの出力が2のときは加算器10cからの入力、即ち
【0065】
【数10】
Figure 0004065463
【0066】
を濃度補正テーブル11に出力する。
【0067】
上記の動作によって、濃度がQ0以下のときは2点を積和した出力を、Q0より大きくQ1以下のときは4点を積和した出力を、また、濃度がQ1より大きいときは8点を積和した出力を得ることができる。
以上は、2点、4点及び8点の積和出力を得るものであるが、シフトレジスタの数を16、32、…と増やし、加算回路、ビットシフタを追加することにより、さらに積和点数を増やしてSNを上げることも可能である。
【0068】
濃度適応型フィルタ10の出力は割り算を行うための対数変換ルックアップテーブル8に入力される。濃度適応型フィルタの出力をDi ″(1≦i≦p−7)とすると、対数変換ルックアップテーブル8は、(n+3)ビット入力(n+3)ビット出力であり具体的には、
Yi=Round(A・Iog10(Di ″+1)+0.5)(1≦i≦p−7)
A:(2(n+3) −I)/Iog10(2(n+3) ) ………(26)
となる。ここで、Round(*)は少数点以下を切り捨てることを意味する。対数変換ルックアップテーブル8は上式(26)の変換を行う。
【0069】
白補正回路9では、減算器9aにより、予め収集した対数変換した明分布Li ′に対応する画素から、対数変換ルックアップテーブル8の出力Yi を減ずる。Li をフィルムを通さずに収集した濃度適応型フィルタの出力データとすると、対数変換した明分布Li ′は、
i ′=Round(A・Log10(Li +1)+0.5)(1≦i≦p)
A:(2(n+3) −I)/Log10(2(n+3) ) ………(27)
で表される。
【0070】
従って、減算器9aで行われる減算によって、フィルムの透過率を計算する除算が実行される。この出力は対数値であるため濃度出力となる。濃度出力Zi は、
i =Li ′−Yi (1≦i≦p) ………(28)
となる。この出力は濃度補正テーブル11に入力される。
濃度補正テーブル11以降の動作は、第1の実施の形態と同様である。
【0071】
本実施の形態によれば、黒補正後の画素データに対し、着目画素の前後の複数画素を積和した値に応じて、用いる積和フィルタの特性を変えることができる。具体的には、高濃度に相当するところでは、積和点数の多い出力を用い、低濃度に相当するところでは、積和点数の少ない出力を用いる様に出力選択回路を設定することにより、高濃度部において対数変換を行う前にSN比(ビット数)を上げることができるため、より対数変換ルックアップテーブルの量子化ノイズの影響を少なくすることができる。その結果、低濃度部においてMTFを低下させることなく、X線フィルム画像読取り装置に必要とされるSN比を広濃度範囲に渡り実現することができる。
【0072】
また、暗分布の平均値を予め算出しておけば、黒補正前であっても画素データの濃度値が推測できるため、濃度適応型フィルタを黒補正回路の前に置くことにより、黒補正演算前にSN比(ビット数)を上げることができ、黒補正における量子化ノイズの影響をより少なくすると共に、対数変換ルックアップテーブルの量子化ノイズの影響を少なくすることができる。
【0073】
尚、図1、図4の各機能ブロックによるシステムは、ハード的に構成してもよく、また、CPUやメモリ等から成るマイクロコンピュータシステムに構成してもよい。マイクロコンピュータシステムに構成する場合、上記メモリは本発明による記憶媒体を構成する。この記憶媒体には、前述した処理を実行するためのプログラムが記憶されている。またこの記憶媒体としはROM、RAM等の半導体メモリ、光ディスク、光磁気ディスク、磁気媒体等を用いてもよく、これらをCD−ROM、フロィピディスク、磁気テープ、不揮発性のメモリカード等として用いてもよい。
【0074】
【発明の効果】
以上説明したように、本発明によれば、出力される画像信号のS/N比を適切なものにすることができる。
【0076】
従って、X線フィルムを読み取った画像信号を処理する場合は、低濃度部での解像度を低下させることなく、X線フィルム画像読取り装置に必要とされるSN比を広濃度範囲にわたって実現することができる。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態を示すブロック図である。
【図2】濃度適応型フィルタの第1の構成例を示すブロック図である。
【図3】濃度適応型フィルタの第2の構成例を示すブロック図である。
【図4】本発明の第2の実施の形態を示すブロック図である。
【図5】本発明により得られる濃度値とノイズとの関係を示す特性図である。
【図6】移動平均点数をパラメータとする濃度値とノイズとの関係を示す特性図である。
【符号の説明】
2 X線フィルム
4 CCDラインセンサ
10 濃度適応型フィルタ
11 濃度補正テーブル
12 補間回路[0001]
BACKGROUND OF THE INVENTION
  The present invention relates to an image processing apparatus, an image processing method, and a computer-readable recording medium suitable for processing a digitized image signal obtained by optically reading a medical X-ray film image. .
[0002]
[Prior art]
As an apparatus for reading conventional X-ray film images, light is irradiated to the X-ray film from a light source such as a halogen lamp or a semiconductor laser, and the transmitted light from the film is received by an image sensor such as a CCD line sensor or a photomultiplier. An X-ray film image reading apparatus that converts an electric signal into a digital value is known. Since these X-ray film image reading apparatuses are sometimes used for diagnosis or the like, high performance is required.
[0003]
In such an image reading apparatus, it is necessary to obtain information with high gradation characteristics that is faithful to the film, and identification of gradation in the apparatus is required to match visual characteristics. The discrimination for visual gradation is not linear with the amount of light transmitted from the film,
Concentration D = −LOG10 (T), T: Transmittance (1)
It is known that it can be distinguished even by a faint difference when the amount of light is small, that is, when it is close to black. Therefore, the X-ray film image reading apparatus normally outputs a density value. A CCD line sensor, which is an image sensor, outputs an electrical signal having a magnitude proportional to light, but includes noise components such as reset noise and shot noise in the output. Also, noise components due to amplifiers, A / D converters, and the like are included in the output of AD. These noises do not depend on the amount of light except for shot noise, and are almost constant.
[0004]
The density D is expressed by the formula (1) as described above. When this equation (1) is fully differentiated,
dD = − (10DLOGe) dT (2)
Where the noise is the variance value σ2If the distribution is a normal distribution according to, the dispersion value of the density D is (10DLOGe)2σ2It becomes.
That is, when the noise is a standard deviation σ, the noise converted to the density value is an exponential function (10D(LOGe).
[0005]
Since this noise can be regarded as an independent random number, conventionally, the noise is suppressed by performing spatial filtering by moving average or the like. That is, a set of pixels is represented by {Hi| I = 1 to N}, where P is the moving average score, the moving average filter is
[0006]
[Expression 1]
Figure 0004065463
[0007]
The dispersion value is 1 / P. That is, noise becomes 1 / √P by moving average filtering.
[0008]
FIG. 6 shows the relationship between the density value using the moving average score as a parameter and noise.
In the same figure, 41 shows what converted into S / N ratio required for the X-ray film image reader by literature mentioned later, 42 shows noise when a moving average score is 2 points, 43 shows The noise when the moving average score is 4 points is shown, and 44 is the noise when the moving average score is 8 points.
[0009]
[Problems to be solved by the invention]
According to the document High-resolution, high-performance radiographic film scanner (SPIE Vo1.1231 Medical Imaging IV), the signal-to-noise ratio required for the X-ray film image reader originally depends on the film noise ratio. It is said that it is necessary to be 1/3 or less.
In order to achieve this S / N ratio within the read density range, when multi-point moving average filtering is performed, noise is suppressed, but MTF is lowered and the image is blurred. Further, when the number of moving average filters is reduced in order to suppress the decrease in MTF, there is a problem that the SN ratio originally required for the X-ray film image reading apparatus cannot be achieved within the reading density range.
[0010]
Accordingly, an object of the present invention is to realize an SN ratio originally required for an X-ray film image reading apparatus over a wide density range while suppressing image quality deterioration due to a decrease in MTF.
[0011]
[Means for Solving the Problems]
  The image processing apparatus of the present invention is required for the filter means for changing the spatial filter characteristics by changing the moving average score, which is the number of pixels used for moving average filtering, and the density value of the pixel of interest in the image signal. Selecting means for selecting the minimum number of moving average points that are equal to or less than the noise conversion value of the S / N ratio, and filtering processing for the pixel of interest by the filtering means with the moving average points selected by the selecting means It is characterized by doing.
[0012]
  The computer-readable recording medium of the present invention includes a filter unit that changes a spatial filter characteristic by changing a moving average score, which is the number of pixels used when moving average filtering a computer for image processing, and an image It functions as a selection means for selecting the minimum number of moving average points that are equal to or less than the noise conversion value of the SN ratio required for the density value of the pixel of interest in the signal, and the moving average points selected by the selection means are as follows: A program for filtering the target pixel by the filter unit is recorded.
[0013]
  According to the image processing method of the present invention, the moving average that is equal to or less than the noise conversion value of the SN ratio required for the density value of the pixel of interest in the image signal is selected from the moving average score that is the number of pixels used for moving average filtering. The method includes a step of selecting a minimum number of points, and a step of filtering the target pixel with the selected moving average number of points.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 shows a first embodiment of an X-ray film image reading apparatus which performs noise reduction.
In FIG. 1, light from a light source 1 such as a fluorescent lamp or a halogen lamp passes through an X-ray film 2, is collected by an optical system lens 3, and forms an image on a CCD line sensor 4.
[0016]
Since the X-ray film 2 is sequentially conveyed in the direction of the arrow by a conveyance means (not shown), the CCD line sensor 4 receives a one-dimensional image in a direction orthogonal to the conveyance direction, so that the X-ray film 2 is detected by the CCD line sensor 4. The whole image is read by scanning. The light received by the CCD line sensor 4 is photoelectrically converted and output as a voltage value for each pixel. This voltage value is amplified by the amplifier 5 and reduced in noise by a noise reduction circuit (CDS) (not shown), and then input to the A / D converter 6 to input n-bit digital data D.i(1 ≦ i ≦ pp: number of pixels in one line)
[0017]
Next, in the black correction circuit 7, the dark distribution B collected in advance as an offset component from the corresponding pixel data by the subtractor 7a.iReduce. Dark distribution BiIs stored in the dark distribution memory 7b. The output of the black correction circuit 7 is DiLet's say
Di'= Di-Bi(1 ≦ i ≦ p) ……… (4)
It becomes.
[0018]
The output of the black correction circuit 7 is input to a logarithmic conversion lookup table (LUT) 8 for performing division. This logarithmic conversion look-up table 8 is an n-bit input and an n-bit output. Specifically,
Yi = Round (A · Log10 (Di ′ + 1) +0.5) (1 ≦ i ≦ p) (5)
A: (2n-1) / Log10 (2n)
It becomes. Here, Round (*) means to round off the decimal point. The logarithmic conversion lookup table 8 performs the conversion of the above equation (5).
[0019]
Next, the white correction circuit 9 outputs the output Y of the logarithmic conversion lookup table 8 from the pixels corresponding to the logarithmically converted light distribution Li ′ collected in the light distribution memory 9b collected in advance by the subtractor 9a.iReduce. LiIs the output data from the A / D converter 6 collected without passing through the film, the logarithmically converted light distribution Li′ Is
Li′ = Round (A · Log10 (Li-Bi+1) +0.5) (1 ≦ i ≦ p) (6)
A: (2n-1) / Log10 (2n)
It is represented by
[0020]
Accordingly, a division for calculating the transmittance of the film is executed by the subtraction performed by the subtracter 9a. Since this output is a logarithmic value, it becomes a density output. Concentration output ZiIs
Zi= Li'-Yi(1 ≦ i ≦ p) (7)
It becomes. The density value obtained in this way is input to the density adaptive filter 10.
[0021]
FIG. 2 shows a first configuration example of the density adaptive filter 10.
This density adaptive filter 10 includes eight shift registers SR7, SR6, SR5,..., SR0, three adders 10a, 10b, 10c, LUT 10d, bit shifters 10e, 10f, and a multiplexer 10g.
[0022]
The outputs of the shift registers SR4 and SR3 are input to the adder 10a, and the output of the adder 10a is input to the adder 10b and the bit shifter 10e. The output of the bit shifter 10e is input to the multiplexer 10g. The outputs of the shift registers SR5 and SR2 and the adder 10a are input to the adder 10b, and the output of the adder 10b is input to the adder 10c and the bit shifter 10f. The output of the bit shifter 10f is input to the multiplexer 10g.
[0023]
The outputs of the shift registers SR7, SR6, SR1, SR0 and the adder 10b are input to the adder 10c, and the output of the adder 10c is input to the multiplexer 10g and the LUT 10d. The output of the LUT 10d is input to the multiplexer 10g. The output of the multiplexer 10g is input to the density correction table 11 in FIG.
[0024]
Next, the operation of the density adaptive filter 10 will be described.
The image data obtained as described above is sequentially input to the shift registers SR7 to SR0, and when the image data is input to all the shift registers, the outputs of the shift registers SR4 and SR3 are input to the adder 10a. .
The values in the shift registers SR7, SR6,.i-7, ZI-6... Zi-1, ZiAssuming that (8 ≦ i ≦ p), the adder 10a uses the data Z of the shift registers SR4 and SR3.i-4, Zi-3Are added to the bit shifter 10e and the adder 10b.
[0025]
In the bit shifter 10e, the input data is quadrupled and input to the multiplexer 10c as (n + 3) bit data. In the adder 10b, the data Z of the shift registers SR5 and SR2i-5, Zi-2And data Z from the adder 10ai-4+ Zi-3Are added to the bit shifter 10f and the adder 10c.
[0026]
In the bit shifter 10f, the input data is doubled and input to the multiplexer 10c as (n + 3) bit data. In the adder 10c, the data Z of the shift registers SR7, SR6, SR1, SR0i-7, Zi-6, Zi-1, ZiAnd data Z from the adder 10bi-5+ Zi-4+ Zi-3+ Zi-2Are added and input to the multiplexer 10g and the LUT 10d. That is, the multiplexer 10g has
[0027]
[Expression 2]
Figure 0004065463
[0028]
Is entered.
The LUT 10d is set such that 0, 1, and 2 are output with respect to the input from the adder 10c, with values corresponding to densities Q0 and Q1 shown in FIG. That is, the LUT 10d is (2(n + 3)-1) Q0 / Log10 (2(n + 3)) And (2(n + 3)-1) Q1 / Log10 (2(n + 3)), 0, 1, and 2 are output.
[0029]
[Equation 3]
Figure 0004065463
[0030]
Against
LUTout= 0 (0 ≦ A1≦ P0)
LUTout= 1 (P0 <Ai≦ P1)
LUTout= 2 (P1 <Ai≦ 2(n + 3)-1)
P0: (2(n + 3)-1) Q0 / Log10 (2(n + 3))
P1: (2(n + 3)-1) Q1 / Log10 (2(n + 3)) ……… (12)
It becomes.
[0031]
The output of the LUT 10d is input to the multiplexer 10g. When the output of the LUT 10d is 0, the multiplexer 10g outputs the input from the bit shifter 10c, that is, the above equation (8), and when the output of the LUT 10d is 1, the output from the adder 10b. The input, that is, the above equation (9) is output. When the output of the LUT 10d is 2, the input from the adder 10c, that is, the above equation (10) is output to the density correction table 11.
[0032]
Here, the output of the adder 10c is used as the input of the LUT 10d. However, an output from a circuit for calculating an average value or an added value provided separately may be used as the input of the LUT 10d.
[0033]
By the above operation, an output obtained by multiplying and summing two points when the density is Q0 or less, an output obtained by summing and summing four points when the density is greater than Q0 and less than Q1, and 8 points when the density is greater than Q1. A product-summed output can be obtained.
[0034]
In the first configuration example described above, the product-sum points are 2, 4, and 8 in order to simplify the arithmetic circuit for combining the number of bits. Therefore, the characteristics of the filter suddenly change, and the switching point of the filter is It may appear unnatural on the image. Therefore, a case where a spatial filter having different characteristics is further added to the first configuration example will be described.
FIG. 3 shows a second configuration example of the density adaptive filter 10 to which spatial filters having different characteristics are added.
The density adaptive filter 10 shown in FIG. 3 is obtained by newly adding an arithmetic circuit 10h and an arithmetic circuit 10i to the configuration of FIG.
[0035]
The outputs of the adder 10a and the adder 10b are input to the arithmetic circuit 10h, and the outputs of the adder 10b and the adder 10c are input to the arithmetic circuit 10i. The outputs of the arithmetic circuit 10h and the arithmetic circuit 10i are input to the multiplexer 10g.
In the arithmetic circuit 10h, the output of the expression (13) from the adder 10a is doubled, and the value obtained by adding the output of the expression (14) from the adder 10b is input to the multiplexer 10g. In the arithmetic circuit 10i, the output of the expression (15) from the adder 10c is halved, and the value obtained by adding the output of the expression (15) from the adder 10b is input to the multiplexer 10g.
[0036]
[Expression 4]
Figure 0004065463
[0037]
In addition to the 2-point, 4-point, and 8-point product-sum outputs described above, an output that is twice the 2-point product-sum and 4-point product-sum, and 4-point product-sum and 8-point product-sum 1 By adding the output with the addition of / 2, and sequentially switching the output, the change in the characteristics of the image when the filter is switched can be reduced.
[0038]
The above is to obtain the product sum output of 2 points, 4 points and 8 points. Increase the number of shift registers to 16, 32, etc., and add the adder circuit and bit shifter to further increase the number of product sum points. It is also possible to raise SN.
[0039]
Next, the density correction table 11 shown in FIG. 1 includes density error due to the influence of optical light directivity of the light receiving element or light emitting element, density value error due to light scattering on the surface of the condensing optical system or light receiving element, and light reception. It is used for the purpose of correcting an error in density value due to the non-linearity of the element or the subsequent electric circuit.
This density correction table 11 is used by creating a table that reads in advance a film having a reference density value and matches the result with the density value. The value corrected by the density correction table 11 is Zi″ (1 ≦ i ≦ p−7).
[0040]
Next, the interpolation circuit 12 is used for the purpose of converting the pixel pitch into a desired one. Interpolation should be performed in the main scanning and sub-scanning directions. In the sub-scanning direction, assuming that the film conveyance speed is V [mm / sec] and the CCD accumulation time is T [scc], Pitch XsIs
Xs= V · T [mm] ......... (16)
And can be set by adjusting V or T, so that interpolation is performed only in the main scanning direction. By the way, pitch X in the sub-scanning directionsWhen changing the light accumulation time T of the CCD to change the light amount, the light amount of the light source is adjusted so that the output of the CCD becomes appropriate.
[0041]
The calculation of interpolation in the main scanning direction is
[0042]
[Equation 5]
Figure 0004065463
[0043]
It becomes. Here, n is the total number of pixels before and after being used for interpolation, Xf is a desired sampling pitch in the main scanning direction, and Xo is an actually acquired sampling pitch determined by the magnification of the optical system and the actual pixel interval of the CCD. It is. ε is a deviation due to sampling of Xf and Xo,
ε = i · Xf / Xo-Round (i · Xf / Xo); (1 ≦ i ≦ p−7)
(| Ε | <1) ……… (18)
It can be expressed as
[0044]
W is a core function for interpolation. For example, when performing two-point linear interpolation,
Figure 0004065463
Is determined. At this time, n = 2 is selected.
[0045]
The output of the interpolation circuit 12 is temporarily written in the image compression circuit 14 in the subsequent stage or the image memory 13 as a buffer for writing to the hard disk 15. The image compression circuit 14 compresses image data. For example, JPEG compression, which is a standard compression method, is performed. In this case, data is read from the image memory 13 in units of 8 × 8 blocks, and the compressed data is output to the subsequent stage. This compression operation can be passed by the operator's setting.
[0046]
This compressed output is written to the hard disk 15 which is a large-capacity buffer. This is because the delay of the output time to the external device by the interface 16 at the subsequent stage does not affect the time for reading the next film of this device, and the reading of the film and the data output to the outside are almost independent. It is a buffer to be able to do it. These data written in the hard disk 15 are output to a preset transfer destination via the interface 16.
[0047]
In the present embodiment, the spatial filter that can output different characteristics has been described. However, it is also possible to select a plurality of spatial filters having different characteristics.
In this embodiment, a one-dimensional spatial filter has been described. However, the above-described filter may be a two-dimensional spatial filter using a line buffer or the like.
[0048]
According to the present embodiment, it is possible to change the characteristics of the product-sum filter to be used according to the value obtained by summing the plurality of pixels before and after the target pixel. Specifically, by setting the output selection circuit so that an output with a high sum of product points is used at a high density and an output with a low sum of products is used at a low density, the MTF in the low density part is set. An image in which noise is suppressed in the high density portion can be obtained without reducing the image quality.
[0049]
FIG. 5 shows noise characteristics of the X-ray film image reading apparatus obtained by the present invention.
In the figure, 51 represents the noise conversion value of the S / N ratio required for the X-ray film image reading apparatus according to the above document, 52 represents the noise when the moving average score is 2, and 53 represents the moving average score of 4 54 indicates noise when the moving average score is 8 points, and 55 indicates the moving average score from 2 points to 4 points and 4 points to 8 points at the density Q0 and Q1 points. The characteristic of the noise of the X-ray film image reader obtained by switching is shown.
[0050]
The density Q0 is a density at which the noise of the X-ray film image reading apparatus when the moving average score is 2 is equal to the noise conversion value of the SN ratio required for the apparatus, and the density Q1 is 4 moving average scores. This is the density at which the noise of the X-ray film image reading apparatus at this time is equal to the noise conversion value of the SN ratio required for the apparatus.
[0051]
Accordingly, it is possible to realize the SN ratio originally required for the X-ray film image reading apparatus over a wide density range while suppressing deterioration in image quality due to MTF reduction in the low density portion.
[0052]
FIG. 4 shows a second embodiment of an X-ray film image reading apparatus which performs noise reduction.
Light from the light source 1 such as a fluorescent lamp or a halogen lamp passes through the X-ray film 2, is condensed by the optical system lens 3, and forms an image on the CCD line sensor 4. The output of the CCD line sensor 4 is amplified by an amplifier 5, and after noise reduction by a noise reduction circuit (CDS), n-bit digital data D is output by an A / D converter 6.i(1 ≦ i ≦ pp: number of pixels in one line)
[0053]
In the black correction circuit 7, the dark distribution B collected in advance as an offset component from the corresponding pixel data by the subtractor 7a.iReduce. Dark distribution BiIs stored in the dark distribution memory 7b. The output of the black correction circuit is DiLet's say
Di'= Di-Bi(1 ≦ i ≦ p) ……… (20)
It becomes. The output D of the black correction circuit obtained in this wayi'Is input to the density adaptive filter 10. The configuration of the density adaptive filter is the same as in FIGS.
[0054]
Next, the operation of the density adaptive filter of FIG. 2 will be described.
The image data obtained as described above is sequentially input to the shift register, and when the image data is input to all the shift registers, the outputs of the shift registers SR4 and SR3 are input to the adder 10a.
The values in the shift registers SR7, SR6,.i-7'DI-6', ..., Di-1', Di′ (8 ≦ i ≦ p), in the adder 10a, the data D of the shift registers SR4 and SR3i-4', Di-3'Is added and input to the bit shifter 10e and the adder 10b.
[0055]
In the bit shifter 10e, the input data is quadrupled and input to the multiplexer 10c as (n + 3) bit data. In the adder 10b, the data D of the shift registers SR5 and SR2i-5', Di-2'And data D from the adder 10ai-4'+ Di-3'Is added and input to the bit shifter 10f and the adder 10c. In the bit shifter 10f, the input data is doubled and input to the multiplexer 10c as (n + 3) bit data. In the adder 10c, the data D of the shift registers SR7, SR6, SR1, SR0i-7', Di-6', Di-1', Di'And data D from the adder 10bi-5'+ Di-4'+ Di-3'+ Di-2'Is added and input to the multiplexer 10g and the LUT 10d. That is, the multiplexer 10g has
[0056]
[Formula 6]
Figure 0004065463
[0057]
Is entered. The LUT 10d is set so that 0, 1, and 2 are output with respect to the input from the adder 10c, with values corresponding to the densities Q0 and Q1 shown in FIG.
Here, in the first embodiment, the value input to the shift register is a density value, but in the second embodiment, the value input to the shift register is transmitted light data after black correction. is there. Originally, the density value cannot be estimated from the transmitted light data after black correction by shading. However, since the light source with little light amount unevenness is normally used, the density value can be estimated from the transmitted light data after black correction. That is, the LUT 10d is L · 10.-Q0And L · 10-Q1It is set so that 0, 1, and 2 are output with (L: average value of light distribution from which dark distribution is removed) as a boundary. The output of the LUT 10d is
[0058]
[Expression 7]
Figure 0004065463
[0059]
Against
LUTout= 2 (0 ≦ A1≦ P0)
LUTout= 1 (P0 <Ai≦ P1)
LUTout= 0 (P1 <Ai≦ 2(n + 3)-1) ......... (22)
P0: L · 10-Q1
P1: L · 10-Q0
It becomes.
[0060]
The output of the LUT 10d is input to the multiplexer 10g. When the output of the multiplexer 10g is 0, the input from the bit shifter 10e, that is,
[0061]
[Equation 8]
Figure 0004065463
[0062]
When the output of the LUT 10d is 1, the input from the adder 10b, that is,
[0063]
[Equation 9]
Figure 0004065463
[0064]
When the output of the LUT 10d is 2, the input from the adder 10c, that is,
[0065]
[Expression 10]
Figure 0004065463
[0066]
Is output to the density correction table 11.
[0067]
By the above operation, when the density is Q0 or less, an output obtained by multiplying and summing two points is obtained. When the density is greater than Q0 and less than Q1, an output obtained by multiplying and summing four points is obtained. When the density is greater than Q1, eight points are obtained. A product-summed output can be obtained.
The above is to obtain the product sum output of 2 points, 4 points and 8 points, but the number of product sum points is further increased by increasing the number of shift registers to 16, 32,... And adding an adder circuit and a bit shifter. It is also possible to increase SN by increasing it.
[0068]
The output of the density adaptive filter 10 is input to a logarithmic conversion lookup table 8 for performing division. The output of the density adaptive filter is Di″ (1 ≦ i ≦ p−7), the logarithmic conversion lookup table 8 is an (n + 3) -bit input (n + 3) -bit output, specifically,
Yi = Round (A · Iog10 (Di″ +1) +0.5) (1 ≦ i ≦ p−7)
A: (2(n + 3)-I) / Iog10 (2(n + 3)) ……… (26)
It becomes. Here, Round (*) means to round off the decimal point. The logarithmic conversion lookup table 8 performs the conversion of the above equation (26).
[0069]
In the white correction circuit 9, a light distribution L logarithmically collected in advance by a subtractor 9a.iFrom the pixel corresponding to ′, the output Y of the logarithmic conversion lookup table 8iReduce. LiIs the logarithmically converted light distribution L, when the output data of the density adaptive filter collected without passing through the filmi′ Is
Li′ = Round (A · Log10 (Li+1) +0.5) (1 ≦ i ≦ p)
A: (2(n + 3)-I) / Log10 (2(n + 3)) ……… (27)
It is represented by
[0070]
Accordingly, a division for calculating the transmittance of the film is executed by the subtraction performed by the subtracter 9a. Since this output is a logarithmic value, it becomes a density output. Concentration output ZiIs
Zi= Li'-Yi(1 ≦ i ≦ p) ……… (28)
It becomes. This output is input to the density correction table 11.
The operations after the density correction table 11 are the same as those in the first embodiment.
[0071]
According to the present embodiment, the characteristics of the product-sum filter to be used can be changed in accordance with the value obtained by multiplying and summing a plurality of pixels before and after the target pixel with respect to the pixel data after black correction. Specifically, an output selection circuit is set so that an output with a large sum of products and sums is used where it corresponds to a high concentration, and an output with a small sum of products and sums is used in a place corresponding to a low concentration. Since the SN ratio (number of bits) can be increased before logarithmic conversion is performed in the density portion, the influence of quantization noise in the logarithmic conversion lookup table can be further reduced. As a result, the SN ratio required for the X-ray film image reading apparatus can be realized over a wide density range without reducing the MTF in the low density portion.
[0072]
In addition, if the average value of the dark distribution is calculated in advance, the density value of the pixel data can be estimated even before black correction. Therefore, a black correction calculation can be performed by placing a density adaptive filter in front of the black correction circuit. The SN ratio (number of bits) can be increased in advance, and the influence of quantization noise in black correction can be reduced, and the influence of quantization noise in the logarithmic conversion lookup table can be reduced.
[0073]
1 and FIG. 4 may be configured as hardware, or may be configured as a microcomputer system including a CPU, a memory, and the like. When configured in a microcomputer system, the memory constitutes a storage medium according to the present invention. This storage medium stores a program for executing the processing described above. The storage medium may be a semiconductor memory such as ROM or RAM, an optical disk, a magneto-optical disk, a magnetic medium, etc., and these may be used as a CD-ROM, floppy disk, magnetic tape, nonvolatile memory card, or the like. Good.
[0074]
【The invention's effect】
As described above, according to the present invention, the S / N ratio of the output image signal can be made appropriate.
[0076]
Therefore, when processing the image signal read from the X-ray film, the SN ratio required for the X-ray film image reading apparatus can be realized over a wide density range without reducing the resolution at the low density portion. it can.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a first embodiment of the present invention.
FIG. 2 is a block diagram illustrating a first configuration example of a density adaptive filter.
FIG. 3 is a block diagram illustrating a second configuration example of a density adaptive filter.
FIG. 4 is a block diagram showing a second embodiment of the present invention.
FIG. 5 is a characteristic diagram showing a relationship between a density value obtained by the present invention and noise.
FIG. 6 is a characteristic diagram showing a relationship between a density value using a moving average score as a parameter and noise.
[Explanation of symbols]
2 X-ray film
4 CCD line sensor
10 Concentration adaptive filter
11 Density correction table
12 Interpolation circuit

Claims (6)

移動平均フィルタリングする際に用いる画素の数である移動平均点数を変更することで、空間フィルタ特性を変えるフィルタ手段と、
画像信号における着目画素の濃度値に要求されるSN比のノイズ換算値以下となる移動平均点数の中の最小数を選択する選択手段とを備え、
上記選択手段で選択された移動平均点数で、上記フィルタ手段により上記着目画素に対してフィルタリング処理することを特徴とする画像処理装置。
Filter means for changing the spatial filter characteristics by changing the moving average number, which is the number of pixels used when moving average filtering,
Selecting means for selecting the minimum number of moving average points that are equal to or less than the noise conversion value of the SN ratio required for the density value of the pixel of interest in the image signal;
An image processing apparatus, wherein the filtering means performs filtering processing on the pixel of interest with the moving average score selected by the selection means.
上記フィルタ手段は、2次元画像の一方向のみについてフィルタリングを行うことを特徴とする請求項1に記載の画像処理装置。  The image processing apparatus according to claim 1, wherein the filtering unit performs filtering only in one direction of the two-dimensional image. 上記フィルタ手段は、上記画像信号における着目画素をサンプリング画素の中間点に設定し、2n個のサンプリング画素を加算するように成されていることを特徴とする請求項2に記載の画像処理装置。3. The image processing apparatus according to claim 2, wherein the filter means sets a pixel of interest in the image signal to an intermediate point of the sampling pixels and adds 2 n sampling pixels. . 上記画像信号は、X線フィルムを画像読み取り手段で読み取ったものであることを特徴とする請求項1に記載の画像処理装置。  The image processing apparatus according to claim 1, wherein the image signal is an X-ray film read by an image reading unit. 画像処理するためにコンピュータを、
移動平均フィルタリングする際に用いる画素の数である移動平均点数を変更することで、空間フィルタ特性を変えるフィルタ手段と、
画像信号における着目画素の濃度値に要求されるSN比のノイズ換算値以下となる移動平均点数の中の最小数を選択する選択手段として機能させ、
かつ上記選択手段で選択された移動平均点数で、上記フィルタ手段により上記着目画素に対してフィルタリング処理させるためのプログラムを記録したことを特徴とするコンピュータ読み取り可能な記録媒体。
Computer for image processing,
Filter means for changing the spatial filter characteristics by changing the moving average number, which is the number of pixels used when moving average filtering,
Function as a selection means for selecting the minimum number of moving average points that are equal to or lower than the noise conversion value of the SN ratio required for the density value of the pixel of interest in the image signal;
A computer-readable recording medium in which a program for filtering the pixel of interest by the filter unit is recorded with the moving average score selected by the selection unit.
移動平均フィルタリングする際に用いる画素の数である移動平均点数の中から、画像信号における着目画素の濃度値に要求されるSN比のノイズ換算値以下となる移動平均点数の最小数を選択する工程と、
選択された移動平均点数で、上記着目画素に対してフィルタリング処理する工程とを備えることを特徴とする画像処理方法。
A step of selecting the minimum number of moving average points that is equal to or less than the noise conversion value of the SN ratio required for the density value of the pixel of interest in the image signal from the moving average points that are the number of pixels used for moving average filtering When,
And a step of filtering the pixel of interest with the selected moving average score.
JP05486598A 1998-03-06 1998-03-06 Image processing apparatus, image processing method, and computer-readable recording medium Expired - Fee Related JP4065463B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05486598A JP4065463B2 (en) 1998-03-06 1998-03-06 Image processing apparatus, image processing method, and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05486598A JP4065463B2 (en) 1998-03-06 1998-03-06 Image processing apparatus, image processing method, and computer-readable recording medium

Publications (2)

Publication Number Publication Date
JPH11252373A JPH11252373A (en) 1999-09-17
JP4065463B2 true JP4065463B2 (en) 2008-03-26

Family

ID=12982490

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05486598A Expired - Fee Related JP4065463B2 (en) 1998-03-06 1998-03-06 Image processing apparatus, image processing method, and computer-readable recording medium

Country Status (1)

Country Link
JP (1) JP4065463B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004053584A (en) * 2002-05-30 2004-02-19 Canon Inc Image correction apparatus and method
JP4854546B2 (en) 2007-03-06 2012-01-18 キヤノン株式会社 Image processing apparatus and image processing method
JP4431607B2 (en) 2007-11-08 2010-03-17 シャープ株式会社 Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP4903254B2 (en) * 2009-12-21 2012-03-28 シャープ株式会社 Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP5723249B2 (en) * 2011-09-13 2015-05-27 日本電子株式会社 Signal processing method and signal processing apparatus

Also Published As

Publication number Publication date
JPH11252373A (en) 1999-09-17

Similar Documents

Publication Publication Date Title
US7196725B1 (en) Image reading apparatus and computer readable storage medium
JP3070860B2 (en) Image data enhancement method and color image data enhancement method
US20060050980A1 (en) Image processing apparatus, electronic camera, scanner, and image processing method
US7916187B2 (en) Image processing apparatus, image processing method, and program
JPH11215515A (en) Device and method for eliminating noise on each line of image sensor
JP5041886B2 (en) Image processing apparatus, image processing program, and image processing method
US7239758B2 (en) Signal processing device for reducing noise of image signal, signal processing program, and signal processing method
JP3298357B2 (en) Film image playback device
CN1023918C (en) Image processing apparatus
JP4065463B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium
JP3031994B2 (en) Image processing device
JPH08307775A (en) Image pickup device
JP2006041687A (en) Image processing apparatus, image processing method, image processing program, electronic camera, and scanner
JP2004363742A (en) Solid-state imaging device
EP1517538B1 (en) Document reading apparatus
JP2637414B2 (en) Image processing method
JP2000350032A (en) Image reading method and device and storage medium
JP2006061597A (en) Image processing apparatus
JPH07302190A (en) Divider and image signal reader using the same
JP3006460B2 (en) Binary image processing device
JP2001326822A (en) Image processing unit
JPS6356064A (en) Picture processing method
JPS62252261A (en) Document reader
JP3346111B2 (en) Image processing device
JP3049262B2 (en) Image correction device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041108

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070213

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070409

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070501

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070628

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: 20071225

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080105

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110111

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120111

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130111

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140111

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees