JP4735499B2 - 画像処理プログラムおよび画像処理装置 - Google Patents
画像処理プログラムおよび画像処理装置 Download PDFInfo
- Publication number
- JP4735499B2 JP4735499B2 JP2006264470A JP2006264470A JP4735499B2 JP 4735499 B2 JP4735499 B2 JP 4735499B2 JP 2006264470 A JP2006264470 A JP 2006264470A JP 2006264470 A JP2006264470 A JP 2006264470A JP 4735499 B2 JP4735499 B2 JP 4735499B2
- Authority
- JP
- Japan
- Prior art keywords
- value
- logarithmic
- true
- range
- image processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000012545 processing Methods 0.000 title claims description 76
- 238000012886 linear function Methods 0.000 claims abstract description 35
- 230000002093 peripheral effect Effects 0.000 claims abstract description 23
- 238000004364 calculation method Methods 0.000 claims description 65
- 238000000034 method Methods 0.000 description 52
- 230000008569 process Effects 0.000 description 38
- 230000015654 memory Effects 0.000 description 30
- 230000000694 effects Effects 0.000 description 8
- 230000008859 change Effects 0.000 description 7
- 239000003086 colorant Substances 0.000 description 3
- 238000012937 correction Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 239000000470 constituent Substances 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 238000002310 reflectometry Methods 0.000 description 1
Images
Classifications
-
- G06T5/94—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/40—Image enhancement or restoration by the use of histogram techniques
Description
Y=15×X−3.803
真数値が、0.1以上の場合は(S22:No)、真数値が、2.0より大きいか否かを判断する(S24)。真数値が、2.0より大きい場合は(S24:Yes)、次式により対数値Yを求める(S25)。
Y=0.3×X+0.092
S24の判断処理において、真数値が、2.0より大きくない場合(S24:No)は、真数値が、0.1以上、2.0以下であり、真数値に基づいてテーブルから読み出す対数値が記憶されているアドレスを算出する(S26)。このアドレスは、テーブルの先頭アドレスからのオフセットアドレスにより指定される。オフセットアドレスは、真数値を10倍し、小数点以上の整数値である。
Y=(Bm−Bn)×(10×X−A)+Bn
S23、または、S25、または、S28の処理を終了した場合は、この対数演算処理を終了する。
Y=20000×X−11.21
真数値が、0.0001以上の場合は(S32:No)、真数値が、90より大きいか否かを判断する(S34)。真数値が、90より大きい場合は(S34:Yes)、次式により対数値Yを求める(S35)。
Y=0.005×X+4.05
S24の判断処理において、真数値が、90より大きくない場合(S34:No)は、真数値が、0.0001以上、90以下であり、真数値が入る領域を計算する(S36)。ここでいう、領域とは、0.0001から0.0009まで、0.001から0.009まで、0.01から0.09まで、0.1から0.9まで、1.0から9.0まで、10から90までのいずれかの領域である。この領域が決定されると、第1の実施例と同様に、オフセットが決まり、整数化指数が決定される(S37)。整数化指数は、各領域の先頭の値であり、この値で真数値を除算し、その整数部をとることにより領域内のオフセットが求められる。
Y=(Bm−Bn)×(3.8−3)+Bn
以上、第2の実施形態について説明したが、第1の実施形態に比べ、真数値がいずれの領域に入るかを計算する必要があり、計算が多少煩雑である。しかしながら、精度は、第1の実施形態より良い。
2 パーソナルコンピュータ
11 CPU
12 ROM
12a 画像処理プログラムメモリ
12c テーブルメモリ
13 RAM
13a 元画像メモリ
13b レティネックス画像メモリ
Claims (12)
- レティネックス処理を行う画像処理装置により実行される画像処理プログラムにおいて、
元画像の画素の値をその画素の周辺平均輝度で除した値である真数値を求める真数値演算ステップであって、前記周辺平均輝度は、注目画素およびその注目画素の周辺の画素の値と、その周辺画素の注目画素からの距離に応じて設定されるフィルタ係数との畳み込み演算により求められ、前記フィルタ係数の総合計は1.0である前記真数値演算ステップと、
その真数値演算ステップにより求められた真数値が第1の値以上第2の値以下の範囲内であるか否かを判定する判定ステップであって、前記第1の値は0より大きく1.0未満の値であり、前記第2の値は1.0より大きい値である前記判定ステップと、
その判定ステップにより前記真数値演算ステップにより求められた真数値が前記第1の値以上第2の値以下の範囲内であると判定された場合は、真数値に対応する対数値を記憶するテーブルを参照することにより真数値に対応する対数値を取得するテーブル参照ステップと、
前記判定ステップにより前記真数値演算ステップにより求められた真数値が前記第1の値以上第2の値以下の範囲内でないと判定された場合は、1次関数により真数値に対応する対数値を取得する対数値演算ステップとを備えることを特徴とする画像処理プログラム。 - 前記第1の値以上第2の値以下の範囲は、真数値が1.0を中心とした範囲であることを特徴とする請求項1記載の画像処理プログラム。
- 前記第1の値以上第2の値以下の範囲は、真数値が0.1から2.0の範囲であることを特徴とする請求項1又は2記載の画像処理プログラム。
- 前記テーブル参照ステップは、前記真数値演算ステップにより演算された真数値を、前記テーブルに記憶された真数値に基づいて直線補間により対数値を求める補間手段を備えていることを特徴とする請求項1から3のいずれかに記載の画像処理プログラム。
- 前記テーブルは、等間隔の真数値に対応して対数値を記憶することを特徴とする請求項1から4のいずれかに記載の画像処理プログラム。
- 前記判定ステップは、前記真数値演算ステップにより演算された真数値が、前記第1の値以上第2の値以下の範囲内でない場合に、前記第1の値以上第2の値以下の範囲より大きいか、小さいかを判定し、
前記対数値演算ステップは、前記判定ステップにより真数値が前記第1の値以上第2の値以下の範囲より大きいと判定された場合は、第1の一次関数により対数値を取得し、真数値が前記第1の値以上第2の値以下の範囲より小さいと判定された場合は、第2の一次関数により対数値を取得することを特徴とする請求項1から5のいずれかに記載の画像処理プログラム。 - レティネックス処理を行う画像処理装置において、
元画像の画素の値をその画素の周辺平均輝度で除した値である真数値を求める真数値演算手段であって、前記周辺平均輝度は、注目画素およびその注目画素の周辺の画素の値と、その周辺画素の注目画素からの距離に応じて設定されるフィルタ係数との畳み込み演算により求められ、前記フィルタ係数の総合計は1.0である前記真数値演算手段と、
真数値に対応する対数値を記憶するテーブルと、
前記真数値演算手段により求められた真数の値が第1の値以上第2の値以下の範囲内であるか否かを判定する判定手段であって、前記第1の値は0より大きく1.0未満の値であり、前記第2の値は1.0より大きい値である前記判定手段と、
その判定手段により前記真数値演算手段により求められた真数値が前記第1の値以上第2の値以下の範囲内であると判定された場合は、前記テーブルを参照することにより真数値に対応する対数値を取得するテーブル参照手段と、
前記判定手段により前記真数値演算手段により求められた真数値が前記第1の値以上第2の値以下の範囲内ではないと判定された場合は、1次関数により真数値に対応する対数値を取得する対数値演算手段とを備えていることを特徴とする画像処理装置。 - 前記第1の値以上第2の値以下の範囲は、真数値が1.0を中心とした範囲であることを特徴とする請求項7記載の画像処理装置。
- 前記第1の値以上第2の値以下の範囲は、真数値が0.1から2.0の範囲であることを特徴とする請求項7又は8記載の画像処理装置。
- 前記テーブル参照手段は、前記真数値演算手段により演算された真数値を、前記テーブルに記憶された真数値に基づいて直線補間により対数値を求める補間手段を備えていることを特徴とする請求項7から9のいずれかに記載の画像処理装置。
- 前記テーブルは、等間隔の真数値に対応して対数値を記憶することを特徴とする請求項7から10のいずれかに記載の画像処理装置。
- 前記判定手段は、前記真数値演算ステップにより演算された真数値が、前記第1の値以上第2の値以下の範囲内でない場合に、前記第1の値以上第2の値以下の範囲より大きいか、小さいかを判定し、
前記対数値演算手段は、前記判定手段により真数値が前記第1の値以上第2の値以下の範囲より大きいと判定された場合は、第1の一次関数により対数値を取得し、真数値が前記所定の範囲より小さいと判定された場合は、第2の一次関数により対数値を取得することを特徴とする請求項7から11のいずれかに記載の画像処理装置。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006264470A JP4735499B2 (ja) | 2006-09-28 | 2006-09-28 | 画像処理プログラムおよび画像処理装置 |
US11/863,926 US20080080772A1 (en) | 2006-09-28 | 2007-09-28 | Image processing device that efficiently performs logarithm calculation in retinex process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006264470A JP4735499B2 (ja) | 2006-09-28 | 2006-09-28 | 画像処理プログラムおよび画像処理装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008085761A JP2008085761A (ja) | 2008-04-10 |
JP4735499B2 true JP4735499B2 (ja) | 2011-07-27 |
Family
ID=39261273
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006264470A Expired - Fee Related JP4735499B2 (ja) | 2006-09-28 | 2006-09-28 | 画像処理プログラムおよび画像処理装置 |
Country Status (2)
Country | Link |
---|---|
US (1) | US20080080772A1 (ja) |
JP (1) | JP4735499B2 (ja) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11289505A (ja) * | 1998-04-06 | 1999-10-19 | Sony Corp | 映像信号処理回路 |
JP2001078025A (ja) * | 1999-08-31 | 2001-03-23 | Sharp Corp | 画像の輝度補正方法 |
JP2003069822A (ja) * | 2001-08-29 | 2003-03-07 | Ricoh Co Ltd | 画像処理装置、画像処理方法および記録媒体 |
JP2003333331A (ja) * | 2002-05-10 | 2003-11-21 | Matsushita Electric Ind Co Ltd | 画像処理方法及び画像処理装置 |
JP2004236110A (ja) * | 2003-01-31 | 2004-08-19 | Canon Inc | 画像処理装置、画像処理方法、記憶媒体及びプログラム |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0273398B1 (en) * | 1986-12-25 | 1995-02-08 | Konica Corporation | Method of correcting color images |
US5600581A (en) * | 1995-02-22 | 1997-02-04 | Motorola, Inc. | Logarithm/inverse-logarithm converter utilizing linear interpolation and method of using same |
JPH10202962A (ja) * | 1997-01-22 | 1998-08-04 | Brother Ind Ltd | 印字データ処理装置及び入力データ作成装置 |
US6182100B1 (en) * | 1998-06-30 | 2001-01-30 | International Business Machines Corporation | Method and system for performing a logarithmic estimation within a data processing system |
US6212304B1 (en) * | 1998-07-06 | 2001-04-03 | Intel Corp. | Method and apparatus for imaging processing |
US6289367B1 (en) * | 1998-11-16 | 2001-09-11 | Texas Instruments Incorporated | Digital signal processing circuits, systems, and method implementing approximations for logarithm and inverse logarithm |
JP2001069525A (ja) * | 1999-08-27 | 2001-03-16 | Sharp Corp | 画像処理方法 |
US7031993B1 (en) * | 2000-02-18 | 2006-04-18 | Ge Medical Systems Global Technology Company, Llc | Method and apparatus for fast natural log(X) calculation |
EP2239725B1 (en) * | 2001-06-07 | 2013-10-23 | Genoa Color Technologies Ltd. | System and method of data conversion for wide gamut displays |
JP3991629B2 (ja) * | 2001-07-24 | 2007-10-17 | セイコーエプソン株式会社 | データ演算処理方法およびデータ演算処理プログラムを記録した記録媒体 |
US7171435B2 (en) * | 2002-05-17 | 2007-01-30 | Texas Instruments Incorporated | Circuits, systems, and methods implementing approximations for logarithm, inverse logarithm, and reciprocal |
US7443427B2 (en) * | 2002-08-23 | 2008-10-28 | Micron Technology, Inc. | Wide dynamic range linear-and-log active pixel |
-
2006
- 2006-09-28 JP JP2006264470A patent/JP4735499B2/ja not_active Expired - Fee Related
-
2007
- 2007-09-28 US US11/863,926 patent/US20080080772A1/en not_active Abandoned
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11289505A (ja) * | 1998-04-06 | 1999-10-19 | Sony Corp | 映像信号処理回路 |
JP2001078025A (ja) * | 1999-08-31 | 2001-03-23 | Sharp Corp | 画像の輝度補正方法 |
JP2003069822A (ja) * | 2001-08-29 | 2003-03-07 | Ricoh Co Ltd | 画像処理装置、画像処理方法および記録媒体 |
JP2003333331A (ja) * | 2002-05-10 | 2003-11-21 | Matsushita Electric Ind Co Ltd | 画像処理方法及び画像処理装置 |
JP2004236110A (ja) * | 2003-01-31 | 2004-08-19 | Canon Inc | 画像処理装置、画像処理方法、記憶媒体及びプログラム |
Also Published As
Publication number | Publication date |
---|---|
JP2008085761A (ja) | 2008-04-10 |
US20080080772A1 (en) | 2008-04-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8081839B2 (en) | Image processor | |
US8035871B2 (en) | Determining target luminance value of an image using predicted noise amount | |
JP4867529B2 (ja) | 画像処理プログラムおよび画像処理装置 | |
JP2008059287A (ja) | 画像処理装置および画像処理プログラム | |
US20080298723A1 (en) | Image processing device | |
US6115078A (en) | Image sharpness processing method and apparatus, and a storage medium storing a program | |
CN111489322A (zh) | 给静态图片加天空滤镜的方法及装置 | |
JP4997846B2 (ja) | 画像処理プログラムおよび画像処理装置 | |
JP4862554B2 (ja) | 画像処理プログラムおよび画像処理装置 | |
JP4353233B2 (ja) | 画像処理プログラムおよび画像処理装置 | |
JP4735499B2 (ja) | 画像処理プログラムおよび画像処理装置 | |
JP4765667B2 (ja) | 画像処理プログラムおよび画像処理装置 | |
JP4687667B2 (ja) | 画像処理プログラムおよび画像処理装置 | |
JP4345027B2 (ja) | 画像処理プログラムおよび画像処理装置 | |
JP4661754B2 (ja) | 画像処理装置および画像処理プログラム | |
JP4793166B2 (ja) | 画像処理プログラムおよび画像処理装置 | |
JP4353234B2 (ja) | 画像処理プログラムおよび画像処理装置 | |
JP4345026B2 (ja) | 画像処理プログラムおよび画像処理装置 | |
US8031973B2 (en) | Data processing device capable of executing retinex processing at high speed | |
JP4281786B2 (ja) | 画像処理プログラムおよび画像処理装置 | |
JP2008059307A (ja) | 画像処理装置および画像処理プログラム | |
JP2006031682A (ja) | ルックアップテーブル作成装置および方法,ならびにルックアップテーブル作成プログラム | |
JP4793175B2 (ja) | 画像処理プログラムおよび画像処理装置 | |
JP4710761B2 (ja) | 画像処理プログラムおよび画像処理装置 | |
JP2008060944A (ja) | 画像処理装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090330 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100902 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100914 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101115 |
|
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: 20110329 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110411 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4735499 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140513 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |