JPH1155520A - Image processing unit and its method - Google Patents

Image processing unit and its method

Info

Publication number
JPH1155520A
JPH1155520A JP9206637A JP20663797A JPH1155520A JP H1155520 A JPH1155520 A JP H1155520A JP 9206637 A JP9206637 A JP 9206637A JP 20663797 A JP20663797 A JP 20663797A JP H1155520 A JPH1155520 A JP H1155520A
Authority
JP
Japan
Prior art keywords
image data
parameter
image processing
input
contrast correction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9206637A
Other languages
Japanese (ja)
Inventor
Akio Fujii
昭雄 藤井
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 JP9206637A priority Critical patent/JPH1155520A/en
Publication of JPH1155520A publication Critical patent/JPH1155520A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide the image processing unit by which deterioration in image quality of an input image is prevented by correcting the contrast and intensity without making a dynamic range of gradation of image data narrower and to provide its method. SOLUTION: Received image data are given to an image distribution detection circuit 402, where gradation distribution of the image data is taken and a contrast correction circuit 403 sets a correction parameter of contrast. Furthermore, an intensity adjustment offset value setting circuit 404 adds the contrast correction parameter and an intensity adjustment parameter based on the intensity adjustment parameter set by the user to set a level conversion parameter. An image level conversion circuit 406 converts level of the image data according to the level conversion parameter.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、画像処理装置及び
その方法に関し、例えば、画像データにコントラストお
よび明暗補正を施す画像処理装置及びその方法に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus and method, and more particularly, to an image processing apparatus and method for performing contrast and brightness correction on image data.

【0002】[0002]

【従来の技術】ディジタル信号処理技術の進歩、記録再
生技術の進歩、および記録媒体の進歩等により、ディジ
タルビデオカメラやディジタルスチルカメラ等が安価で
広汎に出回るようになってきた。また、パーソナルコン
ピュータ、およびその周辺機器の高性能化、低価格化も
進み個人が手軽に大量の画像を扱う素地が整いつつあ
る。
2. Description of the Related Art Advances in digital signal processing technology, recording and reproduction technology, and recording media have made digital video cameras and digital still cameras widely available at low cost. In addition, personal computers and their peripheral devices have been improved in performance and reduced in price, and individuals are ready to easily handle large amounts of images.

【0003】ディジタルビデオカメラやディジタルスチ
ルカメラ等で撮影した画像をテレビモニタ、プリンタ等
の画像出力装置で出力する場合、画質をよくするために
その画像データのもっている階調のダイナミックレンジ
を拡大するためにコントラスト補正を行う。
When an image photographed by a digital video camera, a digital still camera, or the like is output by an image output device such as a television monitor or a printer, the dynamic range of gradations of the image data is expanded to improve the image quality. For this purpose, contrast correction is performed.

【0004】このコントラスト補正について、図1と図
2を用いて説明する。
[0004] This contrast correction will be described with reference to FIGS. 1 and 2.

【0005】図1において、画像データの入力端子10
1から入力された画像データは、画像分布検出回路10
2で、図2(1)のコントラスト補正前の図に示すよう
な画像データの階調度数分布がとられる。「A」および
「B」は、それぞれレベルの最小値と最大値を表す。
In FIG. 1, an input terminal 10 for image data is provided.
1 is input to the image distribution detection circuit 10
In 2, the gradation frequency distribution of the image data is obtained as shown in FIG. 2 (1) before the contrast correction. “A” and “B” represent the minimum and maximum levels, respectively.

【0006】画像分布検出回路102は画像データの階
調度数分布をとり、その結果はコントラスト補正範囲設
定回路103に送られ、そこでコントラストの補正パラ
メータが設定される。例えば、図2(1)のコントラス
ト補正前の図の最小値Aから数えて全体の画素数に対す
るα%の位置a、最大値Bから数えて全体の画素数に対
するβ%の位置bを求め、(a,b)の範囲をコントラ
スト補正する範囲として設定する。コントラスト補正回
路105に、その範囲aおよびbをコントラスト補正パ
ラメータとして送る。
The image distribution detecting circuit 102 obtains a gradation frequency distribution of the image data, and the result is sent to a contrast correction range setting circuit 103, where a contrast correction parameter is set. For example, a position a of α% with respect to the total number of pixels counted from the minimum value A in the figure before contrast correction of FIG. 2A and a position b of β% with respect to the total number of pixels counted from the maximum value B are obtained. The range of (a, b) is set as a range for contrast correction. The ranges a and b are sent to the contrast correction circuit 105 as contrast correction parameters.

【0007】メモリ104はコントラスト補正の範囲が
決定されるまで、入力端子101から入力された画像デ
ータを保持する。コントラスト補正回路105は、コン
トラスト補正範囲設定回路103から送られたコントラ
スト補正パラメータaおよびbに従い、メモリ104か
ら画像データを読み出しコントラスト補正を行う。メモ
リ104から読み出された画像データをxとするとコン
トラスト補正は、f(x)=255×(x−a)/(b
−a)で表される。画像データの階調度数分布は、図2
(1)のコントラスト補正後の図となる。コントラスト
補正回路105は、上記の補正を画像データに施し、結
果を出力端子106に出力する。ユーザはコントラスト
補正された画像をテレビモニタのような画像出力装置で
見る。この時、補正後の画像に対して、ユーザが画像の
明るさを調整したいと言う事が起こり得る。この場合、
ユーザの操作に従いコントラスト補正された画像データ
に対してさらに補正が加えられることとなる。
[0007] The memory 104 holds the image data input from the input terminal 101 until the range of the contrast correction is determined. The contrast correction circuit 105 reads image data from the memory 104 and performs contrast correction according to the contrast correction parameters a and b sent from the contrast correction range setting circuit 103. Assuming that the image data read from the memory 104 is x, the contrast correction is f (x) = 255 × (x−a) / (b
-A). The gradation frequency distribution of the image data is shown in FIG.
This is a diagram after the contrast correction of (1). The contrast correction circuit 105 performs the above-described correction on the image data, and outputs the result to the output terminal 106. The user views the contrast-corrected image on an image output device such as a television monitor. At this time, the user may want to adjust the brightness of the corrected image. in this case,
According to the user's operation, the image data subjected to the contrast correction is further corrected.

【0008】コントラスト補正された画像データに対す
る明暗調整操作について図3で説明する。補正された画
像データは入力端子301から入力される。明暗シフト
量設定回路304は、入力端子305からのユーザの入
力情報によりシフト量(shq)を設定し、レベルシフ
ト回路302にそのシフト量(shq)を送る。レベル
シフト回路302は、明暗シフト量設定回路304から
送られたシフト量(shq)に従って、入力された補正
後の画像データに対してレベルのシフトを行う。補正後
の画像データをxとすると画像データのレベルのシフト
は、f(x)=x+shqで表される。その後、補正後
の画像データを出力端子303に出力し、ユーザは明る
さが補正された画像をテレビモニタのような画像出力装
置で見る。シフト後の画像データの画素の階調度数分布
は、図2(2)の明暗補正後の図のようになる。ここ
で、実際にテレビモニタのような画像出力装置に出力さ
れるのは(shq,255)の範囲であり、斜線部分に
相当する画像データは欠落する。
The operation of adjusting the lightness and darkness of the contrast-corrected image data will be described with reference to FIG. The corrected image data is input from the input terminal 301. The light-dark shift amount setting circuit 304 sets a shift amount (shq) based on user input information from the input terminal 305 and sends the shift amount (shq) to the level shift circuit 302. The level shift circuit 302 shifts the level of the input corrected image data according to the shift amount (shq) sent from the light-dark shift amount setting circuit 304. Assuming that the corrected image data is x, the level shift of the image data is represented by f (x) = x + shq. Thereafter, the corrected image data is output to the output terminal 303, and the user views the image whose brightness has been corrected on an image output device such as a television monitor. The gradation frequency distribution of the pixels of the shifted image data is as shown in FIG. 2B after the brightness correction. Here, what is actually output to an image output device such as a television monitor is in the range of (shq, 255), and image data corresponding to the hatched portion is missing.

【0009】[0009]

【発明が解決しようとする課題】しかし、上述した技術
においては、次のような問題がある。画像データにコン
トラスト補正を行ってダイナミックレンジを拡大した
後、ユーザの操作によりコントラスト補正後の画像デー
タに対して明暗調整が行われるため、画像データの階調
度数分布のシフトによりダイナミックレンジが縮小さ
れ、0〜255のレベル範囲からはみ出した画像データ
に対応する画像が欠落し、著しい画質の劣化が生じる。
さらに明暗調整により画像が白浮き(画像が白っぽくな
る)、黒つぶれ(画像が暗くなる)が起きやすく、十分
満足のいく明暗調整ができないという問題点があった。
However, the above technique has the following problems. After performing the contrast correction on the image data to expand the dynamic range, the brightness of the image data after the contrast correction is adjusted by the user's operation. Therefore, the dynamic range is reduced by shifting the gradation frequency distribution of the image data. , 0 to 255, the image corresponding to the image data outside the level range is lost, and the image quality is significantly deteriorated.
Further, there is a problem that the image is easily whitened (the image becomes whitish) and the black is lost (the image becomes dark) due to the light / dark adjustment, and the light / dark adjustment cannot be performed sufficiently satisfactorily.

【0010】本発明は、上記の問題を解決するものであ
り、画像データの階調のダイナミックレンジを狭めるこ
となく、コントラストおよび明暗補正を行い、入力画像
の画質の劣化を防ぐことが可能な画像処理装置およびそ
の方法を提供することを目的とする。
An object of the present invention is to solve the above-mentioned problem, and to perform contrast and light / dark correction without reducing the dynamic range of the gradation of image data, and to prevent image quality deterioration of an input image. It is an object to provide a processing device and a method thereof.

【0011】[0011]

【課題を解決するための手段】本発明は、前記の目的を
達成する一手段として、以下の構成を備える。
The present invention has the following configuration as one means for achieving the above object.

【0012】本発明にかかる画像処理装置は、画像デー
タを入力する第一の入力手段と前記入力画像データのレ
ベル分布からコントラスト補正パラメータを設定する設
定手段と、ユーザにより設定される明暗調整パラメータ
を入力する第二の入力手段と、前記コントラスト補正パ
ラメータおよび前記明暗調整パラメータに基づき、前記
入力画像データを補正する補正手段とを有することを特
徴とする。
An image processing apparatus according to the present invention comprises: first input means for inputting image data; setting means for setting a contrast correction parameter based on a level distribution of the input image data; and a brightness adjustment parameter set by a user. A second input unit for inputting, and a correction unit for correcting the input image data based on the contrast correction parameter and the lightness / darkness adjustment parameter.

【0013】本発明にかかる画像処理方法は、画像デー
タを入力し、前記入力画像データのレベル分布からコン
トラスト補正パラメータを設定し、ユーザにより設定さ
れる明暗調整パラメータを入力し、前記コントラスト補
正パラメータおよび前記明暗調整パラメータに基づき、
前記入力画像データを補正することを特徴とする。
According to the image processing method of the present invention, image data is input, a contrast correction parameter is set from a level distribution of the input image data, a brightness adjustment parameter set by a user is input, and the contrast correction parameter and Based on the brightness adjustment parameters,
The input image data is corrected.

【0014】[0014]

【発明の実施の形態】以下、本発明にかかる一実施形態
の画像処理装置およびその方法を図を参照して詳細に説
明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an image processing apparatus and an image processing method according to an embodiment of the present invention will be described in detail with reference to the drawings.

【0015】[基本構成]図4は、本発明にかかる一実
施形態の画像処理装置の構成例を示すブロック図であ
る。
[Basic Configuration] FIG. 4 is a block diagram showing a configuration example of an image processing apparatus according to an embodiment of the present invention.

【0016】ディジタルビデオカメラ等の画像データ
が、入力端子401からメモリ405と画像分布検出回
路402に入力される。画像分布検出回路402で図5
のコントラストおよび明暗補正前の図に示すような画像
データの階調度数分布をとり、その結果はコントラスト
補正回路403に送られる。
Image data from a digital video camera or the like is input from an input terminal 401 to a memory 405 and an image distribution detection circuit 402. 5 in the image distribution detection circuit 402.
The contrast and the gradation frequency distribution of the image data as shown in the figure before the brightness correction are obtained, and the result is sent to the contrast correction circuit 403.

【0017】画像分布検出回路402に入力された画像
データの階調度数分布は、コントラスト補正範囲設定回
路403に送られ、そこでコントラストの補正パラメー
タを設定する。例えば、図5のコントラストおよび明暗
補正前の図の最小値Aから数えて全体の画素数に対する
α%の位置a、最大値Bから数えて全体の画素数に対す
るβ%の位置bを求め、(a,b)の範囲をコントラス
ト補正する範囲として設定する。明暗調整オフセット値
設定回路404に、その範囲を示すデータaおよびbを
コントラスト補正パラメータとして送る。
The gradation frequency distribution of the image data input to the image distribution detecting circuit 402 is sent to a contrast correction range setting circuit 403, where a contrast correction parameter is set. For example, a position a of α% with respect to the total number of pixels counted from the minimum value A in the figure before the contrast and contrast correction of FIG. The range of a, b) is set as a range for contrast correction. Data a and b indicating the range are sent to the contrast adjustment offset value setting circuit 404 as contrast correction parameters.

【0018】明暗調整オフセット値設定回路404は、
コントラスト補正パラメータaおよびbとユーザ操作に
よって設定された明暗調整パラメータ(offset)
とを加算する。画像レベル変換回路406に、その範囲
を示すデータ(a+offset)および(b+off
set)をレベル変換パラメータとして送る。
The light / dark adjustment offset value setting circuit 404
Contrast correction parameters a and b and light / dark adjustment parameters (offset) set by user operation
And are added. Data (a + offset) and (b + off) indicating the range are provided to the image level conversion circuit 406.
set) as a level conversion parameter.

【0019】画像レベル変換回路406は、明暗調整オ
フセット値設定回路404で設定されたレベル変換パラ
メータ(a+offset)および(b+offse
t)に従い、メモリ405から画像データを読みだし画
像データのレベル変換を行う。メモリ405から読み出
される画像データをxとするとレベル変換は、f(x)
=255×(x−(a+offset))/(b−a)
で表される。図5のコントラストおよび明暗補正後の図
に示すようなレベル変換された画像データは、画像レベ
ル変換回路406から出力端子407に出力される。
The image level conversion circuit 406 has the level conversion parameters (a + offset) and (b + offset) set by the light / dark adjustment offset value setting circuit 404.
According to t), the image data is read from the memory 405 and the level of the image data is converted. Assuming that the image data read from the memory 405 is x, the level conversion is f (x)
= 255 x (x- (a + offset)) / (ba)
It is represented by The level-converted image data as shown in the figure after the contrast and brightness correction in FIG. 5 is output from the image level conversion circuit 406 to the output terminal 407.

【0020】最初に画像データが入力された時点では、
明暗調整オフセット値設定回路404の明暗調整パラメ
ータ(offset)は、offset=0である。従
って、画像データはコントラスト補正パラメータaおよ
びbに基づいてレベル変換され、出力端子407から出
力される。ユーザはその結果を見て画像の明暗調整を行
う。明暗調整オフセット値設定回路404は、入力端子
408からの明暗調整の入力情報に基づき明暗調整パラ
メータ(offset)を設定する。
When image data is first input,
The light-dark adjustment parameter (offset) of the light-dark adjustment offset value setting circuit 404 is offset = 0. Therefore, the image data is level-converted based on the contrast correction parameters a and b and output from the output terminal 407. The user adjusts the brightness of the image based on the result. The light-dark adjustment offset value setting circuit 404 sets a light-dark adjustment parameter (offset) based on light-dark adjustment input information from the input terminal 408.

【0021】図6は、図4を用いて説明した画像処理を
ソフトウェアで実現する場合の画像処理装置の構成例を
示すブロック図である。
FIG. 6 is a block diagram showing an example of the configuration of an image processing apparatus when the image processing described with reference to FIG. 4 is realized by software.

【0022】コンピュータバス604は、メインメモリ
(RAM)601、CPU602、ROM603、入力
インタフェース部605およびビデオインタフェース部
606をインタフェースする。
The computer bus 604 interfaces a main memory (RAM) 601, a CPU 602, a ROM 603, an input interface unit 605, and a video interface unit 606.

【0023】ビデオカメラ等のデバイス607から出力
される画像データは、入力インタフェース部605から
入力される。この入力インタフェイス部604は、IE
EE1394、SCSI、GPIB、RS232C、R
S422等の汎用のインタフェイスが使用できる。
Image data output from a device 607 such as a video camera is input from an input interface unit 605. This input interface unit 604 is connected to the IE
EE1394, SCSI, GPIB, RS232C, R
A general-purpose interface such as S422 can be used.

【0024】ROM603には、図7に示すフローチャ
ートに対応するプログラムステップが記憶されている。
CPU602は、ROM603からメインメモリ(RA
M)601へプログラムステップをロードし、入力イン
タフェース部605から入力した画像データに対しプロ
グラムステップを実行する。その結果は、ビデオインタ
フェース部606を通してモニタ608等の画像出力装
置に出力される。
The ROM 603 stores program steps corresponding to the flowchart shown in FIG.
The CPU 602 reads the main memory (RA
M) A program step is loaded into 601 and the program step is executed on image data input from the input interface unit 605. The result is output to an image output device such as a monitor 608 through the video interface unit 606.

【0025】上記の処理の流れを図7のフローチャート
で詳細に説明する。
The flow of the above processing will be described in detail with reference to the flowchart of FIG.

【0026】ステップS1は、画像データが図4の入力
端子401から入力される。ステップS2は、ステップ
S1で入力された画像データの階調度数分布を計算す
る。ステップS3は、ステップS2で求められた画像デ
ータの階調度数分布を基にコントラスト補正パラメータ
aおよびbを求める。ステップS4は、明暗調整パラメ
ータの初期値offset=0を設定する。ステップS
5は、ステップS3で求めたコントラスト補正パラメー
タaおよびbとステップS4で設定された明暗調整パラ
メータの初期値offset=0を加算し、レベル変換
パラメータ(a+offset,b+offset)を
設定する。ステップS6は、ステップS5で設定された
レベル変換パラメータ(a+offset,b+off
set)に基づき、画像データのレベル変換を行う。ス
テップS7は、ステップS6でレベル変換された画像を
出力する。ステップS8は、ステップS7で出力された
画像の明暗を更に調整する必要がある場合ステップS9
へ進む。
In step S1, image data is input from the input terminal 401 of FIG. A step S2 calculates a gradation frequency distribution of the image data input in the step S1. In step S3, contrast correction parameters a and b are obtained based on the gradation frequency distribution of the image data obtained in step S2. A step S4 sets an initial value offset = 0 for the brightness adjustment parameter. Step S
5 adds the contrast correction parameters a and b obtained in step S3 and the initial value offset = 0 of the light-dark adjustment parameter set in step S4, and sets the level conversion parameters (a + offset, b + offset). In step S6, the level conversion parameters (a + offset, b + off) set in step S5
Set), level conversion of image data is performed. A step S7 outputs the image whose level has been converted in the step S6. Step S8 is performed when it is necessary to further adjust the brightness of the image output in step S7.
Proceed to.

【0027】ステップS9は、ステップS7で出力され
た画像を明るくしたければ負の明暗調整パラメータ(o
ffset)を入力し、暗くしたければ正の明暗調整パ
ラメータ(offset)を入力する。その後処理はス
テップS5へ戻りステップS9で入力された明暗調整パ
ラメータ(offset)に従って、レベル変換パラメ
ータ(a+offset)および(b+offset)
を再設定する。ステップS6は、再設定されたレベル変
換パラメータ(a+offset)および(b+off
set)に基づき、画像データのレベル変換を行う。ス
テップS7は、ステップS6でレベル変換された画像を
出力する。ステップS8は、ステップS7で出力された
画像の明暗を更に調整する必要がある場合ステップS9
へ進み、各ステップS5、S6、S7、S8の処理を繰
り返し、そうでなければこのフローは終了する。
In step S9, if the image output in step S7 is to be brightened, a negative light / dark adjustment parameter (o
ffset), and if darkening is desired, a positive light / dark adjustment parameter (offset) is input. Thereafter, the process returns to step S5, and the level conversion parameters (a + offset) and (b + offset) according to the brightness adjustment parameter (offset) input in step S9.
To reset. In step S6, the reset level conversion parameters (a + offset) and (b + off)
Set), level conversion of image data is performed. A step S7 outputs the image whose level has been converted in the step S6. Step S8 is performed when it is necessary to further adjust the brightness of the image output in step S7.
The process proceeds to steps S5, S6, S7, and S8, and if not, the flow ends.

【0028】以上説明した実施形態では、画像データの
コントラスト補正パラメータと明暗調整パラメータとを
加算することで、画像データの階調のダイナミックレン
ジを狭めることなくコントラストおよび明暗補正を行う
ため、画質の劣化を防ぐことができる。
In the embodiment described above, the contrast and light / dark correction are performed without narrowing the dynamic range of the gradation of the image data by adding the contrast correction parameter of the image data and the light / dark adjustment parameter. Can be prevented.

【0029】なお、本発明は上述した実施形態に制限さ
れるものではなく、例えば、レーザビームプリンタ等の
画像処理装置にも適用できる。また、上述した回路構成
に限らず、上記の手段を用いるような構成の装置に本発
明は適用できる。
It should be noted that the present invention is not limited to the above-described embodiment, but can be applied to, for example, an image processing apparatus such as a laser beam printer. Further, the present invention is not limited to the above-described circuit configuration, and can be applied to an apparatus having a configuration using the above-described means.

【0030】[0030]

【他の実施形態】なお、本発明は、複数の機器(例えば
ホストコンピュータ、インタフェイス機器、リーダ、プ
リンタなど)から構成されるシステムに適用しても、一
つの機器からなる装置(例えば、複写機、ファクシミリ
装置など)に適用してもよい。
[Other Embodiments] Even if the present invention is applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), an apparatus (for example, a copying machine) Machine, facsimile machine, etc.).

【0031】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体を、システムあるいは装置に供給し、そ
のシステムあるいは装置のコンピュータ(またはCPU
やMPU)が記憶媒体に格納されたプログラムコードを
読出し実行することによっても、達成されることは言う
までもない。この場合、記憶媒体から読出されたプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコードを記憶した記憶媒体は
本発明を構成することになる。プログラムコードを供給
するための記憶媒体としては、例えば、フロッピディス
ク、ハードディスク、光ディスク、光磁気ディスク、C
D−ROM、CD−R、CD−R/W、DVD−RO
M、DVD−RAM、磁気テープ、不揮発性のメモリカ
ード、ROMなどを用いることができる。
Another object of the present invention is to provide a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a system or apparatus, and to provide a computer (or CPU) of the system or apparatus.
And MPU) read and execute the program code stored in the storage medium. In this case, the program code itself read from the storage medium implements the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying the program code, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk,
D-ROM, CD-R, CD-R / W, DVD-RO
M, DVD-RAM, magnetic tape, non-volatile memory card, ROM, and the like can be used.

【0032】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼動しているOS(オペレ
ーションシステム)などが実際の処理の一部または全部
を行い、その処理によって前述した実施形態の機能が実
現される場合も含まれることは言うまでもない。
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also an OS (Operating System) running on the computer based on the instruction of the program code. ) May perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.

【0033】さらに、記憶媒体から読出されたプログラ
ムコードが、コンピュータに挿入された機能拡張カード
やコンピュータに接続された機能拡張ユニットに備わる
メモリに書込まれた後、そのプログラムコードの指示に
基づき、その機能拡張カードや機能拡張ユニットに備わ
るCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written in a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, the program code is read based on the instructions of the program code. It goes without saying that a CPU or the like provided in the function expansion card or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0034】[0034]

【発明の効果】本発明は、画像データの階調のダイナミ
ックレンジを狭めることなく、コントラストおよび明暗
補正を行い、入力画像の画質の劣化を防ぐことが可能な
画像処理装置およびその方法を提供することができる。
The present invention provides an image processing apparatus and method capable of performing contrast and light / dark correction without reducing the dynamic range of the gradation of image data and preventing deterioration of the image quality of an input image. be able to.

【0035】[0035]

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

【図1】一般的なコントラスト補正回路の構成例を示す
ブロック図、
FIG. 1 is a block diagram illustrating a configuration example of a general contrast correction circuit.

【図2】一般的なコントラスト補正および明暗調整を説
明するための図、
FIG. 2 is a diagram for explaining general contrast correction and light / dark adjustment;

【図3】一般的な明暗調整回路の構成例を示すブロック
図、
FIG. 3 is a block diagram showing a configuration example of a general light-dark adjustment circuit;

【図4】本発明にかかる一実施形態の画像処理装置の構
成例を示すブロック図、
FIG. 4 is a block diagram showing a configuration example of an image processing apparatus according to an embodiment of the present invention;

【図5】本発明にかかるコントラスト補正および明暗調
整を説明する図、
FIG. 5 is a view for explaining contrast correction and light / dark adjustment according to the present invention;

【図6】本発明にかかる一実施形態の画像処理をソフト
ウェアで実現する場合の画像処理装置の構成例を示すブ
ロック図、
FIG. 6 is a block diagram illustrating a configuration example of an image processing apparatus when image processing according to an embodiment of the present invention is implemented by software;

【図7】本発明にかかる一実施形態の画像処理方法を説
明するためのフローチャートである。
FIG. 7 is a flowchart illustrating an image processing method according to an embodiment of the present invention.

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 画像データを入力する第一の入力手段
と、 前記入力画像データのレベル分布からコントラスト補正
パラメータを設定する設定手段と、 ユーザにより設定される明暗調整パラメータを入力する
第二の入力手段と、 前記コントラスト補正パラメータおよび前記明暗調整パ
ラメータに基づき、前記入力画像データを補正する補正
手段とを有することを特徴とする画像処理装置。
A first input unit for inputting image data; a setting unit for setting a contrast correction parameter based on a level distribution of the input image data; and a second input for inputting a brightness adjustment parameter set by a user. Means for correcting the input image data based on the contrast correction parameter and the lightness / darkness adjustment parameter.
【請求項2】 前記補正手段は、前記コントラスト補正
パラメータと前記明暗調整パラメータとを加算したレベ
ル変換パラメータにより前記入力画像データを補正する
ことを特徴とする請求項1に記載された画像処理装置。
2. The image processing apparatus according to claim 1, wherein the correction unit corrects the input image data with a level conversion parameter obtained by adding the contrast correction parameter and the lightness / darkness adjustment parameter.
【請求項3】 前記補正手段は、前記レベル変換パラメ
ータに基づき、前記入力画像データの階調のダイナミッ
クレンジを拡張することを特徴とする請求項2に記載さ
れた画像処理装置。
3. The image processing apparatus according to claim 2, wherein the correction unit extends a dynamic range of gradation of the input image data based on the level conversion parameter.
【請求項4】 前記補正手段は、前記レベル変換パラメ
ータに基づき、コントラスト補正処理および明暗調整処
理を行うことを特徴とする請求項2に記載された画像処
理装置。
4. The image processing apparatus according to claim 2, wherein the correction unit performs a contrast correction process and a light / dark adjustment process based on the level conversion parameter.
【請求項5】 前記コントラスト補正パラメータは、前
記レベル分布の所定範囲を表すものであることを特徴と
する請求項1から請求項4の何れか1つに記載された画
像処理装置。
5. The image processing apparatus according to claim 1, wherein the contrast correction parameter represents a predetermined range of the level distribution.
【請求項6】 前記明暗調整パラメータは、前記入力画
像データの表す画像の明るさに応じて、ユーザによって
設定されることを特徴とする請求項1から請求項5の何
れか1つに記載された画像処理装置。
6. The image processing apparatus according to claim 1, wherein the brightness adjustment parameter is set by a user according to brightness of an image represented by the input image data. Image processing device.
【請求項7】 前記レベル変換パラメータは、前記コン
トラスト補正パラメータをaおよびb、前記明暗調整パ
ラメータをcとすると、a+cおよびb+cで表される
ことを特徴とする請求項2から請求項6の何れか1つに
記載された画像処理装置。
7. The level conversion parameter according to claim 2, wherein the contrast correction parameter is a and b, and the brightness adjustment parameter is c, and the level conversion parameter is represented by a + c and b + c. The image processing apparatus according to any one of the above.
【請求項8】 前記補正手段による補正は、前記画像デ
ータをxとすると、f(x)=255×(x−(a+
c))/(b−a)で表されることを特徴とする請求項
7に記載された画像処理装置。
8. The correction by the correction means is as follows: when the image data is x, f (x) = 255 × (x− (a +
8. The image processing apparatus according to claim 7, wherein c)) / (ba).
【請求項9】 前記第一の入力手段は、ディジタルカメ
ラ等から出力される画像データを入力するためのインタ
フェイスを備えることを特徴とする請求項1から請求項
8の何れか1つに記載された画像処理装置。
9. The apparatus according to claim 1, wherein the first input unit includes an interface for inputting image data output from a digital camera or the like. Image processing device.
【請求項10】 前記第二の入力手段は、ユーザが明暗
調整を行うためのインタフェイスを備えることを特徴と
する請求項1から請求項9の何れか1つに記載された画
像処理装置。
10. The image processing apparatus according to claim 1, wherein the second input unit includes an interface for allowing a user to perform light / dark adjustment.
【請求項11】 前記補正手段は、処理した画像データ
を画像出力デバイスへ出力するためのインタフェイスを
備えることを特徴とした請求項1から請求項10の何れ
か1つに記載された画像処理装置。
11. The image processing apparatus according to claim 1, wherein the correction unit includes an interface for outputting the processed image data to an image output device. apparatus.
【請求項12】 画像データを入力し、 前記入力画像データのレベル分布からコントラスト補正
パラメータを設定し、 ユーザにより設定される明暗調整パラメータを入力し、 前記コントラスト補正パラメータおよび前記明暗調整パ
ラメータに基づき、前記入力画像データを補正すること
を特徴とする画像処理方法。
12. Inputting image data, setting a contrast correction parameter from a level distribution of the input image data, inputting a light / dark adjustment parameter set by a user, based on the contrast correction parameter and the light / dark adjustment parameter, An image processing method, wherein the input image data is corrected.
【請求項13】 画像処理のプログラムコードが記録さ
れている記録媒体であって、 前記入力画像データのレベル分布からコントラスト補正
パラメータを設定するステップのプログラムコードと、 前記コントラスト補正パラメータおよび前記明暗調整パ
ラメータに基づき、前記入力画像データを補正するステ
ップのプログラムコードとを有することを特徴とする記
録媒体。
13. A recording medium on which a program code for image processing is recorded, wherein a program code for setting a contrast correction parameter from a level distribution of the input image data; and the contrast correction parameter and the brightness adjustment parameter. A program code for correcting the input image data based on the program code.
JP9206637A 1997-07-31 1997-07-31 Image processing unit and its method Pending JPH1155520A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9206637A JPH1155520A (en) 1997-07-31 1997-07-31 Image processing unit and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9206637A JPH1155520A (en) 1997-07-31 1997-07-31 Image processing unit and its method

Publications (1)

Publication Number Publication Date
JPH1155520A true JPH1155520A (en) 1999-02-26

Family

ID=16526665

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9206637A Pending JPH1155520A (en) 1997-07-31 1997-07-31 Image processing unit and its method

Country Status (1)

Country Link
JP (1) JPH1155520A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8576157B2 (en) * 2007-09-17 2013-11-05 Magnachip Semiconductor, Ltd. Low-power image display device and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8576157B2 (en) * 2007-09-17 2013-11-05 Magnachip Semiconductor, Ltd. Low-power image display device and method

Similar Documents

Publication Publication Date Title
KR100382008B1 (en) A digital camera which can improve a picture quality and the picture quality improving method using the digital camera
US6873729B2 (en) Method, apparatus and computer program product for processing image data
US20040184671A1 (en) Image processing device, image processing method, storage medium, and program
US7158671B2 (en) Image processing apparatus and method
US8957991B2 (en) Imaging apparatus, image processing method and computer program for smoothing dynamic range of luminance of an image signal, color conversion process
US6940546B2 (en) Method for compensating a digital image for light falloff while minimizing light balance change
US7024108B2 (en) Image pickup apparatus with precise exposure value, exposure decision method, program, and storage medium
EP0998121B1 (en) Image processing device and image processing method
US7362468B2 (en) Image sensing device and image processing method
US8223222B2 (en) Image storing-transferring method and apparatus, image processing method, image processing system, and image processor
JPH0654195A (en) System and method for image scanner for improvement of microfilm image quality
JP2004023737A (en) Image processing apparatus and method thereof
US8102446B2 (en) Image capturing system and image processing method for applying grayscale conversion to a video signal, and computer-readable recording medium having recorded thereon an image processing program for applying grayscale conversion to a video signal
US9413974B2 (en) Information processing apparatus, image sensing apparatus, control method, and recording medium for conversion processing
JPH1155520A (en) Image processing unit and its method
US20060007323A1 (en) Imaging signal processing circuit and camera system
JP4455307B2 (en) Image processing apparatus and method, and memory medium
JP2001184503A (en) Device and method for processing image
JP2004253909A (en) Image processing method
JP2009207011A (en) Gamma correction apparatus and method, and imaging apparatus
JPH11298824A (en) Image processing method, device and record medium storing image processing control program
JP2000163560A (en) Still picture processor
JP2000099684A (en) Image processor and image processing system and its method
US8106977B2 (en) Image capturing system and image processing method for applying grayscale conversion to a video signal, and computer-readable recording medium having recorded thereon an image processing program for applying grayscale conversion to a video signal
JP2001167260A (en) Image processing device and method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060412

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060417

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060616

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20061006