JP4507338B2 - Image correction apparatus and recording medium on which image correction program is recorded - Google Patents

Image correction apparatus and recording medium on which image correction program is recorded Download PDF

Info

Publication number
JP4507338B2
JP4507338B2 JP2000046709A JP2000046709A JP4507338B2 JP 4507338 B2 JP4507338 B2 JP 4507338B2 JP 2000046709 A JP2000046709 A JP 2000046709A JP 2000046709 A JP2000046709 A JP 2000046709A JP 4507338 B2 JP4507338 B2 JP 4507338B2
Authority
JP
Japan
Prior art keywords
gradation
histogram
image
pixel number
threshold value
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 - Lifetime
Application number
JP2000046709A
Other languages
Japanese (ja)
Other versions
JP2000306088A (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.)
Nikon Corp
Original Assignee
Nikon 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 Nikon Corp filed Critical Nikon Corp
Priority to JP2000046709A priority Critical patent/JP4507338B2/en
Publication of JP2000306088A publication Critical patent/JP2000306088A/en
Application granted granted Critical
Publication of JP4507338B2 publication Critical patent/JP4507338B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Picture Signal Circuits (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、画像の階調特性を補正する画像補正装置、特に固体撮像素子を用いた電子カメラ、または銀塩フィルムを用いたカメラ等での撮像時の照明条件、露出条件等に起因して悪化した画像の画像補正装置、及び画像補正プログラムを記録した機械読み取り可能な記録媒体に関する。
【0002】
【従来の技術】
一般に、カメラにより撮像された画像は、白黒画像、カラー画像共に、画素毎の階調(明度)により評価される。ここで、階調は、白黒画像に対しては白黒の階調が、カラー画像に対してはR(赤)、G(緑)、B(青)の、またはC(シアン)、M(マゼンタ)、Y(イエロー)等の各成分の階調が適用される。これらの画像は、撮影条件、退色、等の理由で悪化することがあり、様々な方法で画像補正が行われている。
【0003】
その画像補正の有力な方法が階調補正であり、従来、階調度数分布を示すヒストグラムを利用する方法が取られている。このヒストグラムは次のように算出される。画像を構成する個々の画素の階調をそれぞれ検出し、たとえば256階調のそれぞれの階調を示す画素の個数(頻度)を算出する。この各階調に対する画素数(度数)をプロットしたものがヒストグラムである。
【0004】
画像の補正に当たっては、従来、ヒストグラムの上端(最大階調)と下端(最小階調)の各々から、ユーザが閾値として指定した画素数に相当する階調までを削除し、式1の変換式によりヒストグラムを変換することによって画像の階調分布を補正していた。
C(x)=n(x−a)/(b−a) 式1
ここで、xは補正前の階調、aは補正前の階調の最小値、bは補正前の階調の最大値、C(x)は補正後の階調、nは補正後の画像の最大階調と最小階調との差であり、通常は8ビットデータの最大値、255とされる。
【0005】
式1の変換式による補正によって行われていることは、容易に理解できるように、悪化した画像の階調の幅を8ビット(256階調)まで引き伸ばす作業である。
【0006】
【発明が解決すべき課題】
このような従来の技術では、図4のようなヒストグラムを呈する、コントラストが低下した画像については、ヒストグラムを補正すると図5で示すヒストグラムになるので、画像は充分に画像補正されることになる。換言すると、従来の技術では、ヒストグラムに大きなくびれがない場合には有効であった。
【0007】
しかしながら、撮影される照明条件や露出条件によっては従来の画像補正方法では画像が補正しきれないことがあった。例えば、逆光で人物写真を撮る場合、人物像が黒く潰れ、背景が白く色とびする現象は良く起こる。このような画像のヒストグラムはたとえば図6に示される。図6から、低階調、高階調と較べて、中間階調の画素数が極度に低下していることが分かる。この画像を従来の式1で十分に補正できないことは、この画像の階調幅が既に殆ど256階調近くであることからも理解できるだろう。人物像が黒く潰れ、背景が白く色とびする問題は殆ど改善されない。
【0008】
更に、図7に示すように、ヒストグラムの下端(一般には上下端)に画素数が少ない階調領域が広く拡がっている場合にも、十分な補正が難しかった。すなわち、ヒストグラムの上端(最大階調)と下端(最小階調)の各々から、ユーザが閾値として指定した画素数に相当する階調までを削除する方法では、画素数の比率の設定が低いとき、たとえば図7の(L1)に相当する階調までの比率を設定した場合には、充分な画像補正効果が得られない。また、画素数比率の設定が高いとき、たとえば図7の(L2)に相当する階調までの比率を設定した場合には、元画像の階調情報の多くの部分が失われる問題がある。このように、従来の方法では適正な閾値を指定することができないことがあった。
【0009】
本発明の目的は、以上のような、従来の画像補正方法では補正できなかった画像を補正する画像補正装置、及び画像補正プログラムを記録した機械読み取り可能な記録媒体を提供することにある。
【0010】
【課題を解決する為の手段】
上記課題を解決するため、従来の画像補正法では、ヒストグラムをカットオフする閾値を、総画素数に対する、ヒストグラムの上端または下端からの各階調の画素数を累積した数の比率によって指定していた。これに対して、本発明は、1階調当たりの画素数の総画素数に対する比率で閾値を指定し、この閾値とヒストグラムの階調との比較に基づいて画像を補正した。
【0011】
そこで、本発明による画像補正装置は、外部から画像データを取得する画像取得部と、画像データから階調毎に総画素数に対する画素数比率を算出しヒストグラムを作成するヒストグラム作成部と、ユーザの指定に基づいて決定される1階調当たりの画素数比率の閾値とヒストグラムの各階調毎の画素数比率との比較に基づいて前記ヒストグラムに於ける画素数比率が前記閾値未満である階調の幅を前記画素数比率に逆比例した圧縮率で圧縮するようヒストグラムの階調幅を補正する階調補正部とを具えることにより、上記目的を達成する。
【0012】
階調補正部は、ヒストグラムに於ける、画素数比率が閾値未満である階調の幅を圧縮することにより、ヒストグラムの階調幅を補正することができる。ここで、画素数比率が閾値未満である階調を削除して階調幅を圧縮できる。画素数比率に逆比例した圧縮率で階調の幅を圧縮することができる。画素数比率が閾値未満である階調の幅を最小の階調幅である1まで圧縮してもよい。すなわち、画素数比率が閾値未満である階調が連続して複数ある場合には、これらの画素数の積分値をまとめて1階調の度数としてもよい。
【0013】
上記閾値を階調(i)の関数(S(i))としてもよい。この場合、ヒストグラムの各階調の画像数比率が閾値S(i)と行われる。これは、閾値(S)を階調(i)に応じて変更することを意味する。たとえば、中間階調を重視する画像であれば、中央部分については閾値(S)を小さくし、低階調と高階調については閾値(S)を大きくすればよい。
【0014】
更に、ヒストグラム全体の階調の幅を拡大する全階調拡大部を有するようにしてもよい。
本発明による画像補正プログラムを記録した機械読み取り可能な記録媒体には、外部から画像データを取得する画像取得手順と、画像データから階調毎に総画素数に対する画素数比率を算出しヒストグラムを作成するヒストグラム作成手順と、ユーザの指定に基づいて決定される1階調当たりの画素数比率の閾値とヒストグラムの各階調毎の画素数比率との比較に基づいて前記ヒストグラムに於ける画素数比率が前記閾値未満である階調の幅を前記画素数比率に逆比例した圧縮率で圧縮するようヒストグラムの階調幅を補正する階調補正手順のプログラムが格納されている。これにより、記録媒体をコンピュータにセットしてプログラムをロードすれば、上記画像補正装置として機能させることができる。
【0015】
【発明の実施の形態】
コンピュータを使用した本発明の一実施形態の画像補正装置は、図3にその全体構成が示される。図3に於いて、コンピュータ1は、CPU(マイクロプロセッサ)2を具える。CPU2には、キーボードやマウスなどから成る入力装置3、ハードディスク6、メモリ7、画像処理ボード8、及びインターフェースボード10が接続される。この画像処理ボード8の画像出力端子には表示装置9が接続される。インターフェースボード10には、外部記録媒体などの外部機器11が接続される。CPU2にはCD−ROMドライブ装置12が接続され、このCD−ROMドライブ装置12には、画像補正のプログラム、及びそのインストールプログラムを記録したCD−ROM13が挿入される。
【0016】
このCD−ROM13内のインストールプログラムによって、CPU2はCD−ROM13内の画像補正プログラムを展開し、ハードディスク6に実行可能な状態で格納する。
[実施形態1]
図1は本発明による画像補正装置の実施形態1の動作を説明するフローチャートである。以下、図1のステップ番号を参照して画像補正の動作を説明する。
【0017】
先ず、ユーザが画像補正プログラムを起動すると、CPU2はステップS1において補正対象の画像ファイルをオープンし画像データを取得し、ステップS2に進む。ステップS2では、画像データからその階調(i)毎に画素数を算出する。本実施形態では階調は8ビットデータであり、最低値を0、そして最大値を255としている。
【0018】
ステップS3では、各階調(i)毎にその階調の画素数の総画素数に対する比率(Fi)を算出する。この算出結果のヒストグラムの一例を図8に示す。図8において、横軸は256段階の階調(i)、縦軸は画素数比率(Fi)である。ここで、画素数比率(Fi)は式2で表される。
画素数比率(Fi)=階調(i)の画素数/画像の総画素数 式2
ステップS4において、一時メモリの変数TEMPをリセットして零にしてステップS5に進む。ステップS5において、階調i、jを、i=0、且つj=0に設定する。階調iは元画像のヒストグラムの階調を示し、階調jは補正時の中間段階のヒストグラムの階調を示す。ステップS6では、フラグFLAGを初期値であるFALSEに設定する。
【0019】
その後、ステップS7において、上記画素数比率Fiを演算された閾値Sと比較する。あらかじめユーザにより行われる閾値の指定入力(ステップS23)に基づいて、閾値Sは演算されている(ステップS24)。後述するように、たとえば、階調に無関係に閾値を定数とするか、階調に応じた閾値とするかを指定することができる。定数ならば入力された値を閾値として設定する。一方、階調に応じた閾値とする場合、閾値Sを階調の関数S(i)と指定し、階調に応じて閾値S(i)が演算される。
【0020】
ステップS7において、画素数比率Fiが閾値S未満なら、ステップS8において、フラグFLAGをTRUEに設定し、さらに、ステップS9において、一時メモリの変数TEMPに現在の階調iの画素数比率Fiを加える。その後、ステップS10において、変数TEMPと閾値Sとを比較する。ステップS10をはじめて実行するとき、その判定結果は必ずNOとなる。
【0021】
ステップS10が否定判定されるとステップS10Aで変数Gjに変数TEMPを格納してステップS11へ進む。ステップS11において、階調iに1を加え、ステップS12において、階調iが255以上であるか否か判定する。ステップS12が否定されると、ステップS7に戻る。このとき、ステップS7が否定判定されると、ステップS8、S9、S10、S11、S12を繰り返す。
【0022】
ステップS10が肯定されると、ステップS13において、変数TEMPの値を変数Gjに格納する。つまり、連続する複数の階調の画素数比率Fiがともに閾値S未満であるときは、ステップS9でそれらの画素数比率Fiが積分されている。この積分値が閾値S以上になると、この積分値を、補正時の中間段階のヒストグラム作成時の階調jの画素数比率とする。
【0023】
ステップS13からステップS14に進むと、変数TEMPをリセットして零にし、ステップS15で、階調jに1を加える。次に、ステップS22において、フラグFLAGをFALSEに設定する。その後、ステップS11、S12を経由して、ステップS7へ戻る。ステップS7が否定された場合の動作は前に説明したとおりである。ステップS7が肯定されると、即ち現在の階調iに対する画素数比率Fiが閾値S以上ならば、ステップS16において、フラグFLAGがTRUEであるか否か判定する。
【0024】
ステップS16では、フラグFLAGがFALSEか否かを判定する。このステップは、前回の階調の画素数比率Fiが閾値S未満であったか、閾値S以上であったかにより、その後の処理手順を変更するために設けられている。すなわち、前回の階調の画素数比率Fiが閾値S以上であれば、ステップS16が否定判定され、ステップS17において、現在の階調iの画素数比率Fiを変数Gjに格納し、ステップS15において、階調jに1を加える。その後、ステップS22、S11、S12、S7を経由してステップS16が否定判定された場合の動作は前に説明したとおりである。
【0025】
前回の階調の画素数比率Fiが閾値S未満であれば、ステップS16が肯定判定され、ステップS18において、変数TEMPの値を変数Gjに格納する。次に、ステップS19に進み、画素数比率Fiの値を変数Gj+1に格納する。さらに、ステップS20で、変数TEMPをリセットして零にし、ステップS21で階調jに2を加える。そして、ステップS22においてフラグFLAGをFALSEに設定する。ステップS11を経由してステップS12が否定判定された場合の動作はすでに説明した。
【0026】
取得した最後の階調の画素数比率に対してはステップS12が肯定判定されて処理が終了する。
なお、ステップS10が肯定される前にステップS10A,S11,S12、S7,S16,S18,S19に進んだ場合、それ以前に画素比率Fiの積分値が閾値Sを越えていないグループが1つの階調に圧縮される。
【0027】
以上、図1のフローチャートの動作により補正された画像のヒストグラムを図9に示す。図9において、横軸は256段階の階調(j)、縦軸は画素数比率(Fi)である。すなわち、図9は、図1のフローチャートにより取得された変数Giに基づいて作成される。
このヒストグラムからわかるように、上述した処理により、画素数の比率Fiが閾値Sに満たない階調のデータは圧縮されている。従って、最大階調と最小階調の幅が256に満たないので、次に、このヒストグラムを最大幅256まで拡大する。その拡大の変換式は、式1と同様な公知の式3である。
【0028】
C(x)=n(x−a)/(b−a) 式3
ここで、xは図1の動作により補正された変換前の階調、C(x)は変換後の階調、aは図1の動作により補正された階調の最小値、bは図1の動作により補正された階調の最大値のヒストグラムを、nは変換後の画像の最大階調と最小階調との差であり、ここでは8ビットデータの最大値、255である。
【0029】
以上のように、前記フローチャートで示される方法により、階調iとjとの関係から階調に対する圧縮方法が確立される。更に上記公知の式3により、階調を最大幅まで拡張する方法が確立される。
この圧縮と拡張の二つの方法を組み合わせた補正処理を図8のヒストグラムに対して行った場合は補正結果として図10のヒストグラムが得られ、階調を有効に使う補正が行われることが確かめられる。図10において、横軸は256段階の階調(i)、縦軸は画素数比率(Fi)である。この圧縮と拡張の二つの方法を組み合わせた補正処理を原画像に対して行うことによって、階調を有効に使う補正された画像データが得られ、この画像データを新規ファイルとして格納する。
【0030】
画像表示に当たって、CPU2は補正された画像データファイルを開き、画像処理ボード8を経て表示装置9に表示する。なお、時々、補正前の画像と補正後の画像とが表示装置9に相並べて表示される。
以上、本発明の実施形態1を説明したが、以上の方法の他に、画素数比率が閾値よりも低い階調の幅を、その幅の間での画素数比率の積分値に逆比例した圧縮率で圧縮するのも好ましい処理である。すなわち、画素比率が閾値よりも低い階調の幅を単純に求めて、その幅をまとめてその間での画素数比率の積分値に逆比例する1つの圧縮率で圧縮する方法である。
【0031】
従来の補正処理では、補正前の画像のヒストグラムの上端と下端の階調データが画像補正によって完全に失われてしまうが、本実施形態で補正された画像は、補正前の画像の閾値以下の階調データを画素数比率の大きさに比例して保有していて完全には失われず、より一層原画像の特性を受け継ぎながら、階調補正が出来るという特徴がある。
[実施形態2]
図2は本発明による画像補正装置の実施形態2の動作を説明するフローチャートである。以下、図2のステップ番号を参照して画像補正の動作を説明する。図2において図1と同様なステップには同一の符号を付す。図1と説明が重複する部分も含めて実施形態2の動作をすべて説明する。
【0032】
先ず、ユーザが画像補正プログラムを起動すると、CPU2はステップS1において補正対象の画像ファイルをオープンし画像データを取得し、ステップS2に進む。ステップS2では、画像データからその階調(i)毎に画素数を算出する。本実施形態では階調は8ビットデータであり、最低値を0、そして最大値を255としている。
【0033】
ステップS3では、各階調(i)毎にその階調の画素数の比率(Fi)を算出する。この算出結果のヒストグラムの例を図8に示す。次にステップS4において、一時メモリの変数TEMPをリセットして零にしてステップS5に進む。ステップS5において、階調i、jを、i=0、且つj=0に設定し、ステップS6に進んで、フラグFLAGをFALSEに設定する。その後、ステップS7において、上記画素数比率Fiを演算された閾値Sと比較する。あらかじめユーザにより行われる閾値の指定入力(ステップS23)に基づいて、閾値Sは演算されている(ステップS24)。
【0034】
ステップS7において、画素数比率Fiが閾値S未満なら、ステップS8において、フラグFLAGをTRUEに設定し、さらに、ステップS9において、一時メモリの変数TEMPに画素数比率Fiを加える。次いで、ステップS9Aに進み、変数Gjに変数TEMPを代入してステップS11へ進む。ステップS11において、階調iに1を加え、ステップS12において、階調iが255以上であるか否か判定する。ステップS12が否定されると、ステップS7に戻る。
【0035】
ステップS7が肯定されると、即ち画素数比率Fiが閾値S以上ならば、ステップS16において、フラグFLAGがTRUEであるか否か判定する。ステップS16が否定判定されると、すなわちフラグFLAGがFALSEと判定されると、ステップS17において、画素数比率Fiの値を変数Gjに格納し、ステップS15において、階調jに1を加える。その後、ステップS11、S12、S7を経由してステップS16が否定判定された場合の動作は前に説明したとおりである。
【0036】
ステップS16が肯定判定されると、すなわちフラグFLAGがTRUEのとき、ステップS18において、変数TEMPの値を変数Gjに格納する。次に、ステップS19に進み、画素数比率Fiの値を変数Gj+1に格納する。さらに、ステップS20で、変数TEMPをリセットして零にし、ステップS21で階調jに2を加える。そして、ステップS22AにおいてフラグFLAGをFALSEに設定する。ステップS11を経由してステップS12が否定判定された場合の動作はすでに説明した。
【0037】
取得した最後のデータに対してはステップS12が肯定判定されて処理が終了する。
以上、図2のフローチャートの動作により補正された画像のヒストグラムを 図11に示す。図11において、横軸は256段階の階調(j)、縦軸は画素数比率(Fi)である。実施形態1の場合のように、このヒストグラムは、画素数の比率が閾値Sに満たない階調のデータが圧縮されているため、最大階調と最小階調の幅が256に満たない。そこで、このヒストグラムを最大幅256まで拡大する。その拡大の変換式は、式3である。
【0038】
この圧縮と拡張の二つの方法を組み合わせた補正処理を図8のヒストグラムに対して行った場合は補正結果として図12のヒストグラムが得られ、階調を有効に使う補正が行われることが確かめられる。この圧縮と拡張の二つの方法を組み合わせた補正処理を原画像に対して行うことによって、階調を有効に使う補正された画像データが得られ、この画像データを新規ファイルとして格納する。
【0039】
画像表示に当たって、CPU2は補正された画像データファイルを開き、画像処理ボード8を経て表示装置9に表示する。補正前の画像と補正後の画像とは表示装置9に相並べて時々表示される。
実施形態1と較べると実施形態2の補正画像は、閾値を越える前までの階調の幅すべてを最小の階調幅である1まで圧縮されるが、閾値よりも高い画素数比率の画素がより有効に階調を利用できるという特徴がある。
【0040】
実施形態1と実施形態2に於いて、画素数比率の閾値は、上述したように、定数値を指定する場合と、階調(i)に依存する関数として指定する場合とがある。定数値として指定する場合、定数の大きさを変えるだけで、ユーザは容易に、画像補正の程度を変えることが出来る。閾値を大きくするほど、画像補正の程度を強められる。関数として指定する場合、明度が低い部分を小さく、明度が高い部分を大きくするような関数形を選ぶことは好ましい実施形態である。その理由は、明度が低い(階調が低い)画像は、明度が高い(階調が高い)画像よりも、僅かな階調変化が目立ち易いからである。
【0041】
また、実施形態1と実施形態2に於いて、閾値の指定は(ステップS23)ユーザが処理の都度手入力で行なってもよいし、予め設定され自動的に呼び出されることによって行なってもよい。
以上、実施形態1と実施形態2により本発明を説明した。本説明では、ヒストグラムを圧縮してから256階調まで拡大したが、本発明はこの順序には限られない。一緒に圧縮と拡大を行っても良いし、逆に先に拡大してから、後で圧縮してもよい。
【0042】
【発明の効果】
以上の通り、本発明によれば、1階調当たりの画素数の総画素数に対する比率で閾値を指定し、この閾値とヒストグラムの階調との比較に基づいて画像を補正したので、悪条件下、特殊条件下で撮影した画像のみならず、劣化した画像も好ましく補正できる。
【図面の簡単な説明】
【図1】本発明による画像補正装置の実施形態1の主要部分のフローチャートである。
【図2】本発明による画像補正装置の実施形態2の主要部分のフローチャートである。
【図3】本発明のハードウエア構成の概要図である。
【図4】画像のヒストグラムの例である。
【図5】従来方法により補正された図4のヒストグラムである。
【図6】従来方法では補正できないヒストグラムの一例である。
【図7】従来方法では補正できないヒストグラムの他の例である。
【図8】本発明の説明のために用いた補正対象画像(原画像)の補正前のヒストグラムである。
【図9】本発明の実施形態1の画像補正装置により補正された中間段階のヒストグラムである。
【図10】本発明の実施形態1の画像補正装置により補正されたヒストグラムである。
【図11】本発明の実施形態2の画像補正装置により補正された中間段階のヒストグラムである。
【図12】本発明の実施形態2の画像補正装置により補正されたヒストグラムである。
【符号の説明】
1 コンピュータ
2 CPU
3 入力装置
7 メモリ
8 画像処理ボード
9 表示装置
10 インターフェースボード
11 外部機器
12 CD−ROMドライブ装置
13 CD−ROM
14 補正前の画像
15 補正後の画像
[0001]
BACKGROUND OF THE INVENTION
The present invention is based on an image correction apparatus that corrects gradation characteristics of an image, in particular, an illumination condition, an exposure condition, and the like at the time of imaging with an electronic camera using a solid-state imaging device or a camera using a silver salt film. The present invention relates to an image correction apparatus for a deteriorated image and a machine-readable recording medium on which an image correction program is recorded.
[0002]
[Prior art]
In general, an image captured by a camera is evaluated by gradation (brightness) for each pixel for both a monochrome image and a color image. Here, the gradation is a monochrome gradation for a monochrome image, and R (red), G (green), B (blue), or C (cyan), M (magenta) for a color image. ), Y (yellow), etc., the gradation of each component is applied. These images may be deteriorated due to shooting conditions, fading, and the like, and image correction is performed by various methods.
[0003]
An effective method for image correction is gradation correction. Conventionally, a method using a histogram showing a gradation frequency distribution has been adopted. This histogram is calculated as follows. The gradation of each pixel constituting the image is detected, and for example, the number (frequency) of pixels indicating each gradation of 256 gradations is calculated. A histogram is a plot of the number of pixels (frequency) for each gradation.
[0004]
In correcting an image, conventionally, the gradation from the upper end (maximum gradation) and the lower end (minimum gradation) of the histogram to the gradation corresponding to the number of pixels designated by the user as a threshold value is deleted, and the conversion formula of Expression 1 is used. Thus, the gradation distribution of the image is corrected by converting the histogram.
C (x) = n (x−a) / (b−a) Formula 1
Here, x is the gradation before correction, a is the minimum value of the gradation before correction, b is the maximum value of the gradation before correction, C (x) is the gradation after correction, and n is the image after correction. Is the difference between the maximum gray level and the minimum gray level, and is normally the maximum value of 255 of 8-bit data.
[0005]
What is performed by the correction by the conversion equation of Equation 1 is an operation of extending the gradation width of the deteriorated image to 8 bits (256 gradations) so that it can be easily understood.
[0006]
[Problems to be Solved by the Invention]
In such a conventional technique, an image having a histogram as shown in FIG. 4 and having a reduced contrast is corrected to the histogram as shown in FIG. 5, so that the image is sufficiently corrected. In other words, the conventional technique is effective when there is no large constriction in the histogram.
[0007]
However, in some cases, the image cannot be corrected by the conventional image correction method depending on the illumination condition and the exposure condition. For example, when taking a human photograph with backlight, a phenomenon in which the human image is crushed black and the background is white is often observed. A histogram of such an image is shown in FIG. 6, for example. From FIG. 6, it can be seen that the number of pixels in the intermediate gradation is extremely reduced as compared with the low gradation and the high gradation. The fact that this image cannot be sufficiently corrected by the conventional equation 1 can be understood from the fact that the gradation width of this image is already almost 256 gradations. The problem that the human figure is crushed black and the background is white is hardly improved.
[0008]
Furthermore, as shown in FIG. 7, it is difficult to perform sufficient correction even when a gradation region with a small number of pixels is widened at the lower end (generally upper and lower ends) of the histogram. That is, in the method of deleting from the upper end (maximum gradation) and the lower end (minimum gradation) of the histogram to the gradation corresponding to the number of pixels specified by the user as a threshold, the ratio of the number of pixels is low. For example, when the ratio up to the gradation corresponding to (L1) in FIG. 7 is set, a sufficient image correction effect cannot be obtained. Further, when the ratio of the number of pixels is high, for example, when the ratio up to the gradation corresponding to (L2) in FIG. 7 is set, there is a problem that a large part of the gradation information of the original image is lost. Thus, the conventional method may not be able to specify an appropriate threshold value.
[0009]
An object of the present invention is to provide an image correction apparatus that corrects an image that cannot be corrected by the conventional image correction method as described above, and a machine-readable recording medium that records an image correction program.
[0010]
[Means for solving the problems]
In order to solve the above problem, in the conventional image correction method, the threshold for cutting off the histogram is specified by the ratio of the cumulative number of pixels of each gradation from the top or bottom of the histogram to the total number of pixels. . In contrast, in the present invention, a threshold is designated by the ratio of the number of pixels per gradation to the total number of pixels, and the image is corrected based on a comparison between the threshold and the gradation of the histogram.
[0011]
Therefore, an image correction apparatus according to the present invention includes an image acquisition unit that acquires image data from the outside, a histogram generation unit that calculates a pixel number ratio with respect to the total number of pixels for each gradation from the image data, and a user's Based on the comparison between the threshold value of the pixel number ratio per gradation determined based on the designation and the pixel number ratio of each gradation of the histogram, the gradation ratio of the pixel number in the histogram is less than the threshold value. The above object is achieved by providing a gradation correction unit that corrects the gradation width of the histogram so as to compress the width at a compression ratio inversely proportional to the pixel number ratio .
[0012]
The gradation correction unit can correct the gradation width of the histogram by compressing the gradation width in which the pixel number ratio is less than the threshold in the histogram. Here, the gradation width can be compressed by deleting gradations whose pixel number ratio is less than the threshold. The gradation width can be compressed at a compression rate inversely proportional to the pixel number ratio. You may compress the width | variety of the gradation whose pixel number ratio is less than a threshold value to 1 which is the minimum gradation width. That is, when there are a plurality of gradations having a pixel number ratio less than the threshold value continuously, the integration value of these pixel numbers may be integrated into a frequency of one gradation.
[0013]
The threshold value may be a function (S (i)) of gradation (i). In this case, the ratio of the number of images of each gradation in the histogram is set as the threshold value S (i). This means that the threshold value (S) is changed according to the gradation (i). For example, in the case of an image that emphasizes intermediate gradation, the threshold value (S) may be reduced for the central portion, and the threshold value (S) may be increased for low gradation and high gradation.
[0014]
Further, an all gradation enlarging unit for enlarging the gradation width of the entire histogram may be provided.
On a machine-readable recording medium on which an image correction program according to the present invention is recorded, an image acquisition procedure for acquiring image data from outside, and a pixel number ratio with respect to the total number of pixels for each gradation are calculated from the image data and a histogram is created. The pixel number ratio in the histogram is determined based on the comparison of the histogram generation procedure to be performed and the threshold value of the pixel number ratio per gradation determined based on the user's designation and the pixel number ratio for each gradation of the histogram. A program of a gradation correction procedure for correcting the gradation width of the histogram is stored so that the gradation width less than the threshold value is compressed at a compression rate inversely proportional to the pixel number ratio . Thus, if the recording medium is set in a computer and a program is loaded, the image correction apparatus can be functioned.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
The overall configuration of an image correction apparatus according to an embodiment of the present invention using a computer is shown in FIG. In FIG. 3, the computer 1 includes a CPU (microprocessor) 2. Connected to the CPU 2 are an input device 3 including a keyboard and a mouse, a hard disk 6, a memory 7, an image processing board 8, and an interface board 10. A display device 9 is connected to the image output terminal of the image processing board 8. An external device 11 such as an external recording medium is connected to the interface board 10. A CD-ROM drive device 12 is connected to the CPU 2, and a CD-ROM 13 in which an image correction program and its installation program are recorded is inserted into the CD-ROM drive device 12.
[0016]
With the installation program in the CD-ROM 13, the CPU 2 develops the image correction program in the CD-ROM 13 and stores it in an executable state on the hard disk 6.
[Embodiment 1]
FIG. 1 is a flowchart for explaining the operation of the image correction apparatus according to the first embodiment of the present invention. The image correction operation will be described below with reference to the step numbers in FIG.
[0017]
First, when the user starts an image correction program, the CPU 2 opens an image file to be corrected in step S1, acquires image data, and proceeds to step S2. In step S2, the number of pixels is calculated for each gradation (i) from the image data. In this embodiment, the gradation is 8-bit data, the minimum value is 0, and the maximum value is 255.
[0018]
In step S3, the ratio (Fi) of the number of pixels of the gradation to the total number of pixels is calculated for each gradation (i). An example of the histogram of this calculation result is shown in FIG. In FIG. 8, the horizontal axis represents 256 levels of gradation (i), and the vertical axis represents the pixel number ratio (Fi). Here, the pixel number ratio (Fi) is expressed by Equation 2.
Pixel number ratio (Fi) = number of pixels of gradation (i) / total number of pixels of image Formula 2
In step S4, the variable TEMP in the temporary memory is reset to zero and the process proceeds to step S5. In step S5, the gradations i and j are set to i = 0 and j = 0. The gradation i indicates the gradation of the histogram of the original image, and the gradation j indicates the gradation of the histogram at the intermediate stage at the time of correction. In step S6, the flag FLAG is set to the initial value FALSE.
[0019]
Thereafter, in step S7, the pixel number ratio Fi is compared with the calculated threshold value S. The threshold value S is calculated based on a threshold value designation input (step S23) performed in advance by the user (step S24). As will be described later, for example, it can be specified whether the threshold is a constant or a threshold corresponding to the gradation regardless of the gradation. If it is a constant, the input value is set as the threshold value. On the other hand, when the threshold is set according to the gradation, the threshold S is designated as the gradation function S (i), and the threshold S (i) is calculated according to the gradation.
[0020]
If the pixel number ratio Fi is less than the threshold value S in step S7, the flag FLAG is set to TRUE in step S8, and the pixel number ratio Fi of the current gradation i is added to the temporary memory variable TEMP in step S9. . Thereafter, in step S10, the variable TEMP is compared with the threshold value S. When step S10 is executed for the first time, the determination result is always NO.
[0021]
If a negative determination is made in step S10, the variable TEMP is stored in the variable Gj in step S10A, and the process proceeds to step S11. In step S11, 1 is added to the gradation i, and in step S12, it is determined whether or not the gradation i is 255 or higher. If step S12 is negative, the process returns to step S7. At this time, if a negative determination is made in step S7, steps S8, S9, S10, S11, and S12 are repeated.
[0022]
If step S10 is positive, in step S13, the value of the variable TEMP is stored in the variable Gj. That is, when the pixel number ratios Fi of a plurality of continuous gradations are both less than the threshold value S, those pixel number ratios Fi are integrated in step S9. When the integral value is equal to or greater than the threshold value S, the integral value is set as the pixel number ratio of the gradation j when the intermediate histogram is created at the time of correction.
[0023]
When the process proceeds from step S13 to step S14, the variable TEMP is reset to zero, and 1 is added to the gradation j in step S15. Next, in step S22, the flag FLAG is set to FALSE. Thereafter, the process returns to step S7 via steps S11 and S12. The operation when step S7 is negative is as described above. If step S7 is affirmed, that is, if the pixel number ratio Fi for the current gradation i is greater than or equal to the threshold value S, it is determined in step S16 whether or not the flag FLAG is TRUE.
[0024]
In step S16, it is determined whether or not the flag FLAG is FALSE. This step is provided to change the subsequent processing procedure depending on whether the pixel number ratio Fi of the previous gradation is less than the threshold value S or more than the threshold value S. That is, if the pixel number ratio Fi of the previous gradation is equal to or greater than the threshold value S, a negative determination is made in step S16. In step S17, the pixel number ratio Fi of the current gradation i is stored in the variable Gj, and in step S15. , 1 is added to the gradation j. Thereafter, the operation when step S16 is negatively determined through steps S22, S11, S12, and S7 is as described above.
[0025]
If the pixel number ratio Fi of the previous gradation is less than the threshold value S, an affirmative determination is made in step S16, and the value of the variable TEMP is stored in the variable Gj in step S18. In step S19, the value of the pixel number ratio Fi is stored in the variable Gj + 1. Further, in step S20, the variable TEMP is reset to zero, and 2 is added to the gradation j in step S21. In step S22, the flag FLAG is set to FALSE. The operation when step S12 is negatively determined via step S11 has already been described.
[0026]
Affirmative determination is made in step S12 with respect to the acquired pixel number ratio of the last gradation, and the process ends.
If the process proceeds to steps S10A, S11, S12, S7, S16, S18, and S19 before step S10 is affirmed, there is one group in which the integrated value of the pixel ratio Fi does not exceed the threshold value S before that. Compressed.
[0027]
FIG. 9 shows a histogram of the image corrected by the operation of the flowchart of FIG. In FIG. 9, the horizontal axis represents 256 levels of gradation (j), and the vertical axis represents the pixel number ratio (Fi). That is, FIG. 9 is created based on the variable Gi acquired by the flowchart of FIG.
As can be seen from this histogram, data having a gradation in which the ratio Fi of the number of pixels does not satisfy the threshold value S is compressed by the above-described processing. Therefore, since the width of the maximum gradation and the minimum gradation is less than 256, the histogram is expanded to the maximum width 256 next. The enlargement conversion formula is a well-known formula 3 similar to the formula 1.
[0028]
C (x) = n (x−a) / (b−a) Equation 3
Here, x is the gradation before conversion corrected by the operation of FIG. 1, C (x) is the gradation after conversion, a is the minimum value of the gradation corrected by the operation of FIG. 1, and b is FIG. In the histogram of the maximum value of the gradation corrected by the above operation, n is the difference between the maximum gradation and the minimum gradation of the image after conversion, and here is the maximum value of 255 of 8-bit data.
[0029]
As described above, a compression method for gradation is established from the relationship between gradations i and j by the method shown in the flowchart. Furthermore, a method for expanding the gradation to the maximum width is established by the above-described known equation 3.
When correction processing combining the two methods of compression and expansion is performed on the histogram of FIG. 8, the histogram of FIG. 10 is obtained as a correction result, and it is confirmed that correction using gradation effectively is performed. . In FIG. 10, the horizontal axis represents 256 levels of gradation (i), and the vertical axis represents the pixel number ratio (Fi). By performing correction processing combining the two methods of compression and expansion on the original image, corrected image data that effectively uses gradation is obtained, and this image data is stored as a new file.
[0030]
In displaying the image, the CPU 2 opens the corrected image data file and displays it on the display device 9 via the image processing board 8. Sometimes, the image before correction and the image after correction are displayed side by side on the display device 9.
As described above, Embodiment 1 of the present invention has been described. In addition to the above method, the width of the gradation whose pixel number ratio is lower than the threshold value is inversely proportional to the integral value of the pixel number ratio between the widths. Compressing at a compression rate is also a preferable process. In other words, this is a method in which the width of the gradation whose pixel ratio is lower than the threshold value is simply obtained, and the widths are combined and compressed with one compression ratio that is inversely proportional to the integral value of the pixel number ratio therebetween.
[0031]
In the conventional correction process, the gradation data at the upper and lower ends of the histogram of the image before correction is completely lost by the image correction, but the image corrected in this embodiment is equal to or lower than the threshold value of the image before correction. Gradation data is held in proportion to the size of the pixel number ratio and is not lost completely, and the gradation correction can be performed while inheriting the characteristics of the original image.
[Embodiment 2]
FIG. 2 is a flowchart for explaining the operation of the image correction apparatus according to the second embodiment of the present invention. The image correction operation will be described below with reference to the step numbers in FIG. In FIG. 2, the same steps as those in FIG. All the operations of the second embodiment will be described including the parts that are the same as those in FIG.
[0032]
First, when the user starts an image correction program, the CPU 2 opens an image file to be corrected in step S1, acquires image data, and proceeds to step S2. In step S2, the number of pixels is calculated for each gradation (i) from the image data. In this embodiment, the gradation is 8-bit data, the minimum value is 0, and the maximum value is 255.
[0033]
In step S3, the ratio (Fi) of the number of pixels of each gradation is calculated for each gradation (i). An example of the histogram of the calculation result is shown in FIG. In step S4, the temporary memory variable TEMP is reset to zero, and the flow advances to step S5. In step S5, the gradations i and j are set to i = 0 and j = 0, and the process proceeds to step S6 where the flag FLAG is set to FALSE. Thereafter, in step S7, the pixel number ratio Fi is compared with the calculated threshold value S. The threshold value S is calculated based on a threshold value designation input (step S23) performed in advance by the user (step S24).
[0034]
If the pixel number ratio Fi is less than the threshold value S in step S7, the flag FLAG is set to TRUE in step S8, and the pixel number ratio Fi is added to the temporary memory variable TEMP in step S9. Next, the process proceeds to step S9A, and the variable TEMP is substituted for the variable Gj, and the process proceeds to step S11. In step S11, 1 is added to the gradation i, and in step S12, it is determined whether or not the gradation i is 255 or higher. If step S12 is negative, the process returns to step S7.
[0035]
If step S7 is affirmed, that is, if the pixel number ratio Fi is equal to or greater than the threshold value S, it is determined in step S16 whether or not the flag FLAG is TRUE. If the determination in step S16 is negative, that is, if the flag FLAG is determined to be FALSE, the value of the pixel number ratio Fi is stored in the variable Gj in step S17, and 1 is added to the gradation j in step S15. Thereafter, the operation when step S16 is negatively determined through steps S11, S12, and S7 is as described above.
[0036]
If the determination in step S16 is affirmative, that is, if the flag FLAG is TRUE, the value of the variable TEMP is stored in the variable Gj in step S18. In step S19, the value of the pixel number ratio Fi is stored in the variable Gj + 1. Further, in step S20, the variable TEMP is reset to zero, and 2 is added to the gradation j in step S21. In step S22A, the flag FLAG is set to FALSE. The operation when step S12 is negatively determined via step S11 has already been described.
[0037]
Affirmative determination is made in step S12 for the acquired last data, and the process ends.
FIG. 11 shows a histogram of the image corrected by the operation of the flowchart of FIG. In FIG. 11, the horizontal axis represents 256 levels of gradation (j), and the vertical axis represents the pixel number ratio (Fi). As in the case of the first embodiment, since the data of the gradation whose pixel ratio is less than the threshold value S is compressed in this histogram, the width of the maximum gradation and the minimum gradation is less than 256. Therefore, this histogram is expanded to the maximum width 256. The expansion conversion formula is Formula 3.
[0038]
When correction processing combining the two methods of compression and expansion is performed on the histogram of FIG. 8, the histogram of FIG. 12 is obtained as a correction result, and it is confirmed that correction using gradation effectively is performed. . By performing correction processing combining the two methods of compression and expansion on the original image, corrected image data that effectively uses gradation is obtained, and this image data is stored as a new file.
[0039]
In displaying the image, the CPU 2 opens the corrected image data file and displays it on the display device 9 via the image processing board 8. The image before correction and the image after correction are sometimes displayed side by side on the display device 9.
Compared with the first embodiment, the corrected image of the second embodiment is compressed to the minimum gradation width 1, which is the entire gradation width before the threshold value is exceeded, but more pixels with a pixel number ratio higher than the threshold value. There is a feature that gradation can be used effectively.
[0040]
In the first and second embodiments, as described above, the threshold value of the pixel number ratio may be designated as a constant value or as a function depending on the gradation (i). When specifying as a constant value, the user can easily change the degree of image correction simply by changing the size of the constant. As the threshold value is increased, the degree of image correction can be increased. In the case of designating as a function, it is a preferred embodiment to select a function form in which the low lightness portion is small and the high lightness portion is large. This is because an image with low lightness (low gradation) has a slight gradation change more conspicuous than an image with high lightness (high gradation).
[0041]
Further, in the first and second embodiments, the threshold value may be designated (step S23) by manual input by the user each time processing is performed, or may be performed by being preset and automatically called.
The present invention has been described with reference to the first and second embodiments. In this description, the histogram is compressed and expanded to 256 gradations, but the present invention is not limited to this order. The compression and enlargement may be performed together, or conversely, the enlargement may be performed first and then the compression may be performed later.
[0042]
【The invention's effect】
As described above, according to the present invention, the threshold value is designated by the ratio of the number of pixels per gradation to the total number of pixels, and the image is corrected based on the comparison between the threshold value and the gradation of the histogram. Below, not only an image taken under special conditions but also a deteriorated image can be corrected preferably.
[Brief description of the drawings]
FIG. 1 is a flowchart of main parts of an image correction apparatus according to a first embodiment of the present invention.
FIG. 2 is a flowchart of a main part of an image correction apparatus according to a second embodiment of the present invention.
FIG. 3 is a schematic diagram of a hardware configuration of the present invention.
FIG. 4 is an example of an image histogram.
5 is the histogram of FIG. 4 corrected by a conventional method.
FIG. 6 is an example of a histogram that cannot be corrected by a conventional method.
FIG. 7 is another example of a histogram that cannot be corrected by a conventional method.
FIG. 8 is a histogram before correction of a correction target image (original image) used for explaining the present invention.
FIG. 9 is a histogram of an intermediate stage corrected by the image correction apparatus according to the first embodiment of the present invention.
FIG. 10 is a histogram corrected by the image correction apparatus according to the first embodiment of the present invention.
FIG. 11 is a histogram at an intermediate stage corrected by the image correction apparatus according to the second embodiment of the present invention.
FIG. 12 is a histogram corrected by the image correction apparatus according to the second embodiment of the present invention.
[Explanation of symbols]
1 Computer 2 CPU
3 Input device 7 Memory 8 Image processing board 9 Display device 10 Interface board 11 External device 12 CD-ROM drive device 13 CD-ROM
14 Image before correction 15 Image after correction

Claims (6)

外部から画像データを取得する画像取得部と、
前記画像データから階調毎に総画素数に対する画素数比率を算出しヒストグラムを作成するヒストグラム作成部と、
ユーザの指定に基づいて決定される1階調当たりの画素数比率の閾値と前記ヒストグラムの各階調毎の画素数比率との比較に基づいて前記ヒストグラムに於ける画素数比率が前記閾値未満である階調の幅を前記画素数比率に逆比例した圧縮率で圧縮するよう前記ヒストグラムの階調幅を補正する階調補正部とを具えることを特徴とする画像補正装置。
An image acquisition unit for acquiring image data from the outside;
A histogram creation unit that creates a histogram by calculating a pixel number ratio with respect to the total number of pixels for each gradation from the image data;
The pixel number ratio in the histogram is less than the threshold value based on a comparison between the threshold value of the pixel number ratio per gradation determined based on the user's designation and the pixel number ratio for each gradation of the histogram. An image correction apparatus comprising: a gradation correction unit that corrects the gradation width of the histogram so as to compress the gradation width at a compression ratio inversely proportional to the pixel number ratio .
外部から画像データを取得する画像取得部と、
前記画像データから階調毎に総画素数に対する画素数比率を算出しヒストグラムを作成するヒストグラム作成部と、
ユーザの指定に基づいて決定される1階調当たりの画素数比率の閾値と前記ヒストグラムの各階調毎の画素数比率との比較に基づいて前記ヒストグラムの階調幅を補正する階調補正部とを具え、
前記閾値を階調(i)の関数(S(i))とし、前記ヒストグラムの各階調に於いて閾値S(i)と画素数比率を比較することを特徴とする画像補正装置。
An image acquisition unit for acquiring image data from the outside;
A histogram creation unit that creates a histogram by calculating a pixel number ratio with respect to the total number of pixels for each gradation from the image data;
A gradation correction unit that corrects the gradation width of the histogram based on a comparison between a threshold value of the number of pixels per gradation determined based on a user designation and a pixel number ratio for each gradation of the histogram; Prepared,
An image correction apparatus characterized in that the threshold value is a function (S (i)) of gradation (i), and the threshold value S (i) is compared with the pixel number ratio in each gradation of the histogram.
更に、ヒストグラム全体の階調の幅を拡大する全階調拡大部を有することを特徴とする請求項1〜何れか1項記載の画像補正装置。 3. The image correction apparatus according to claim 1, further comprising an all gradation enlarging unit that enlarges the gradation width of the entire histogram. 4. 外部から画像データを取得する画像取得手順と、
画像データから階調毎に総画素数に対する画素数比率を算出しヒストグラムを作成するヒストグラム作成手順と、
ユーザの指定に基づいて決定される1階調当たりの画素数比率の閾値とヒストグラムの各階調毎の画素数比率との比較に基づいて前記ヒストグラムに於ける画素数比率が前記閾値未満である階調の幅を前記画素数比率に逆比例した圧縮率で圧縮するようヒストグラムの階調幅を補正する階調補正手順とからなる画像補正プログラムを記録した記録媒体。
Image acquisition procedure for acquiring image data from outside,
A histogram creation procedure for creating a histogram by calculating a pixel number ratio with respect to the total number of pixels for each gradation from image data,
A level in which the pixel number ratio in the histogram is less than the threshold value based on a comparison between a threshold value for the pixel number ratio per gradation determined based on the user's designation and a pixel number ratio for each gradation in the histogram. A recording medium on which an image correction program comprising a gradation correction procedure for correcting a gradation width of a histogram so as to compress a tone width at a compression ratio inversely proportional to the pixel number ratio is recorded.
外部から画像データを取得する画像取得手順と、
画像データから階調毎に総画素数に対する画素数比率を算出しヒストグラムを作成するヒストグラム作成手順と、
ユーザの指定に基づいて決定される各階調当たりの画素数比率の閾値を階調(i)の関数(S(i))とし、前記ヒストグラムの各階調に於いて閾値S(i)と画素数比率を比較に基づいてヒストグラムの階調幅を補正する階調補正手順とからなる画像補正プログラムを記録した記録媒体。
Image acquisition procedure for acquiring image data from outside,
A histogram creation procedure for creating a histogram by calculating a pixel number ratio with respect to the total number of pixels for each gradation from image data,
The threshold value of the ratio of the number of pixels per gradation determined based on the user's designation is a function (S (i)) of the gradation (i), and the threshold value S (i) and the number of pixels in each gradation of the histogram. A recording medium on which an image correction program including a gradation correction procedure for correcting a gradation width of a histogram based on a comparison of ratios is recorded.
更に、ヒストグラム全体の階調の幅を拡大する全階調拡大手順を有することを特徴とする請求項4〜5何れか1項記載の画像補正プログラムを記録した記録媒体。Furthermore, a recording medium recording an image correction program according to any one of claims 4-5, characterized in that it comprises all the gray levels expansion procedure to expand the width of the gradation of the whole histogram.
JP2000046709A 1999-02-19 2000-02-18 Image correction apparatus and recording medium on which image correction program is recorded Expired - Lifetime JP4507338B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000046709A JP4507338B2 (en) 1999-02-19 2000-02-18 Image correction apparatus and recording medium on which image correction program is recorded

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP11-40813 1999-02-19
JP4081399 1999-02-19
JP2000046709A JP4507338B2 (en) 1999-02-19 2000-02-18 Image correction apparatus and recording medium on which image correction program is recorded

Publications (2)

Publication Number Publication Date
JP2000306088A JP2000306088A (en) 2000-11-02
JP4507338B2 true JP4507338B2 (en) 2010-07-21

Family

ID=26380326

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000046709A Expired - Lifetime JP4507338B2 (en) 1999-02-19 2000-02-18 Image correction apparatus and recording medium on which image correction program is recorded

Country Status (1)

Country Link
JP (1) JP4507338B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4571923B2 (en) * 2006-03-23 2010-10-27 富士通株式会社 Histogram projection processing frequency threshold setting apparatus, method, and recording medium recording the program.
KR101349239B1 (en) 2007-11-26 2014-01-10 삼성전기주식회사 Apparatus and method for compressing image
US8004576B2 (en) * 2008-10-31 2011-08-23 Digimarc Corporation Histogram methods and systems for object recognition
CN111723763B (en) * 2020-06-29 2024-02-13 深圳市艾为智能有限公司 Scene recognition method based on image information statistics
CN117830169A (en) * 2023-12-19 2024-04-05 重庆日联科技有限公司 Method for automatically compensating image brightness according to X-ray image

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10294911A (en) * 1997-04-21 1998-11-04 Kawasaki Heavy Ind Ltd Method and device for compressing dynamic range of picture

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07306938A (en) * 1994-05-12 1995-11-21 Ge Yokogawa Medical Syst Ltd Image processing method and device therefor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10294911A (en) * 1997-04-21 1998-11-04 Kawasaki Heavy Ind Ltd Method and device for compressing dynamic range of picture

Also Published As

Publication number Publication date
JP2000306088A (en) 2000-11-02

Similar Documents

Publication Publication Date Title
US7409083B2 (en) Image processing method and apparatus
US7580566B2 (en) Image processing device, image processing method, storage medium, and program
US7755670B2 (en) Tone-conversion device for image, program, electronic camera, and tone-conversion method
US8284271B2 (en) Chroma noise reduction for cameras
JP2002262303A (en) Video processing unit, video display device and video processing method used for the same, and its program
JP2007534060A (en) Method and system for converting an image from a low dynamic range to a high dynamic range
JP4600424B2 (en) Development processing apparatus for undeveloped image data, development processing method, and computer program for development processing
JP2007124236A (en) Image processor, image processing method, and image processing program
JP2010130399A (en) Image processing apparatus, image processing method and image processing program
JP3543774B2 (en) Image processing apparatus, image processing method, and recording medium
JP2003283878A (en) Method for improving picture quality
US6771815B2 (en) Image correction apparatus and recording medium for storing image correction program
JP2004007202A (en) Image processor
JP4507338B2 (en) Image correction apparatus and recording medium on which image correction program is recorded
JP2006237657A (en) Image processing apparatus, image correction program, and recording medium
JP2008219289A (en) Video correction device, video display device, imaging apparatus and video correction program
JP5070921B2 (en) Development processing apparatus for undeveloped image data, development processing method, and computer program for development processing
JP3476641B2 (en) Image processing method and image processing apparatus
JP2010213356A (en) Method and system for processing image data
JP2002247410A (en) Image processing unit, image processing method and recording medium
JP4807315B2 (en) Development processing apparatus for undeveloped image data, development processing method, and computer program for executing development processing
JP2000209437A (en) Image correction method and storage medium storing image correction program
JP4114319B2 (en) Image correction apparatus, image correction method, and computer-readable recording medium storing image correction program
JP4355416B2 (en) Image processing apparatus and method
JPH09163164A (en) Image processing method and image processing unit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070205

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091222

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100222

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100426

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

Free format text: PAYMENT UNTIL: 20130514

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4507338

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130514

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130514

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130514

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140514

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term