JP2001061075A - Image processing method, image processor and recording medium - Google Patents
Image processing method, image processor and recording mediumInfo
- Publication number
- JP2001061075A JP2001061075A JP11235477A JP23547799A JP2001061075A JP 2001061075 A JP2001061075 A JP 2001061075A JP 11235477 A JP11235477 A JP 11235477A JP 23547799 A JP23547799 A JP 23547799A JP 2001061075 A JP2001061075 A JP 2001061075A
- Authority
- JP
- Japan
- Prior art keywords
- input image
- image
- correction condition
- color correction
- 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.)
- Withdrawn
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 12
- 238000003702 image correction Methods 0.000 description 11
- 238000000034 method Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は良好な色補正条件を
設定する画像処理方法、装置および記録媒体に関するも
のである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method, apparatus and recording medium for setting good color correction conditions.
【0002】[0002]
【従来の技術】従来からコントラストの低い画像に対し
て白ポイント黒ポイントを決め、その間の階調が最大階
調差になるようにコントラストを調整する画像処理方法
や、画面のヒストグラムの状態から判断してガンマ値を
決め、ガンマ補正をする画像処理方法がある。2. Description of the Related Art Conventionally, an image processing method for determining a white point and a black point for an image having a low contrast and adjusting the contrast so that the gray level between them is the maximum gray level difference, and the state of the screen histogram. There is an image processing method for determining a gamma value and performing gamma correction.
【0003】また、手動で白ポイント黒ポイントを決め
たコントラスト補正や、手動でガンマ値を決めたガンマ
補正の画像処理方法もある。There are also image processing methods for contrast correction in which a white point and a black point are manually determined, and gamma correction in which a gamma value is manually determined.
【0004】[0004]
【発明が解決しようとする課題】従来の画像データのコ
ントラスト補正方法ではコントラストの低い画像では、
コントラストが高くなりすぎる場合がある。According to the conventional method of correcting the contrast of image data, an image having a low contrast is
The contrast may be too high.
【0005】また、ネガフィルム等の露光量のダイナミ
ックレンジが広く非線型な特性をもつ原稿を画像データ
として読み込んだ場合、画像の露出条件によってはフィ
ルムの濃度レンジ上の画像情報の分布が不均等となって
しまう。そのためネガフィルムをスキャナで取り込んだ
場合には、適切なコントラスト補正を自動で行うことが
難しいものとなっている。Further, when a document having a wide dynamic range of exposure amount such as a negative film and having a non-linear characteristic is read as image data, the distribution of image information in the density range of the film is not uniform depending on the image exposure condition. Will be. Therefore, when a negative film is captured by a scanner, it is difficult to automatically perform appropriate contrast correction automatically.
【0006】そのような場合に手動により画像補正を行
うのだが、従来の手動補正では自動補正の行われた画像
に対して補正を行うため、階調性の劣化が発生しやすく
なっている。In such a case, the image is manually corrected. However, in the conventional manual correction, the correction is performed on the image on which the automatic correction has been performed.
【0007】また、自動補正の処理内容が表示されない
ため補正強度の調整ができない。自動補正の画質に満足
できない場合には原画像から手動で調整しなければなら
なく、操作が非常に煩わしいものとなっている。Further, since the content of the automatic correction process is not displayed, the correction intensity cannot be adjusted. If the image quality of the automatic correction is not satisfactory, it is necessary to manually adjust the original image, and the operation is very troublesome.
【0008】本発明は上述の点に鑑みてなされたもので
あり、簡単に良好な補正条件を設定することができるよ
うにすることを目的とする。The present invention has been made in view of the above points, and has as its object to enable easy setting of good correction conditions.
【0009】特に、自動補正の結果を用いて良好な補正
結果を得ることができる補正条件を手動で簡単に設定す
ることができるようにすることを目的とする。In particular, it is an object of the present invention to easily and manually set a correction condition for obtaining a good correction result by using a result of the automatic correction.
【0010】[0010]
【課題を解決するための手段】上記目的を達成するため
に、本発明の画像処理方法は、入力画像を示す画像デー
タを入力する工程と、前記入力画像の色分布に応じて該
入力画像に対する色補正条件を自動的に求める工程と、
ユーザによって手動補正を行うことが指示された場合
は、前記自動的に求められた色補正条件をユーザに報知
する工程と、ユーザの前記自動的に求められた色補正条
件に対する変更を入力し変更工程と、前記変更された色
補正条件を用いて前記入力画像を補正する補正工程とを
有することを特徴とする。In order to achieve the above object, an image processing method according to the present invention comprises a step of inputting image data representing an input image, and a step of inputting image data according to a color distribution of the input image. A step of automatically finding color correction conditions;
When the user instructs to perform manual correction, a step of notifying the user of the automatically determined color correction condition, and inputting and changing the user's change to the automatically determined color correction condition And a correcting step of correcting the input image using the changed color correction condition.
【0011】[0011]
【発明の実施の形態】本発明を利用した画像処理の1例
をフローチャートを用いて説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One example of image processing utilizing the present invention will be described with reference to a flowchart.
【0012】図1は手動画像補正用の操作画面の図、図
2は画像処理のフローチャートである。FIG. 1 is a diagram of an operation screen for manual image correction, and FIG. 2 is a flowchart of image processing.
【0013】s201では画像補正を行う多値画像をメモリ
上に格納する。多値画像はスキャナ等の画像入力装置で
読み込まれたRGB各8bitの輝度階調を持つカラー画像で
ある。In s201, a multivalued image to be subjected to image correction is stored in a memory. The multi-valued image is a color image having a luminance gradation of each RGB of 8 bits read by an image input device such as a scanner.
【0014】s202ではs201で入力した多値画像の画像補
正パラメータを自動決定し、s201で入力した多値画像を
縮小した表示用原画像に対して画像補正を行い補正シミ
ュレート画像として表示する。s202で行われる自動画像
補正は、ユーザの指示なしに入力画像に対して自動的に
行われる。本実施形態では強制的に行われる。In s202, the image correction parameters of the multi-valued image input in s201 are automatically determined, and the display original image obtained by reducing the multi-valued image input in s201 is corrected and displayed as a corrected simulated image. The automatic image correction performed in s202 is automatically performed on an input image without a user's instruction. In the present embodiment, it is forcibly performed.
【0015】本実施形態での画像補正はLUT(ルックアッ
プテーブル)を使用して行われ、多値画像のRGB各色成分
の輝度ヒストグラムから求められたloポイント(黒ポイ
ント)、hiポイント(白ポイント)に基づくコントラス
ト補正と、以下の式(1) output = ((input / 255)^gamma) * 255 (1) によるガンマ値gammaに応じた補正を行うガンマ補正の
2つの補正を行う。The image correction in this embodiment is performed using an LUT (Look Up Table), and the lo point (black point) and the hi point (white point) obtained from the luminance histogram of each of the RGB color components of the multi-valued image. ), And gamma correction that performs correction according to the gamma value gamma by the following equation (1) output = ((input / 255) ^ gamma) * 255 (1).
【0016】コントラスト補正のloポイントは黒(数値
0)から全画素の1%となる輝度数値、hiポイントは白
(数値255)から全画素の1%となる輝度数値である(図3
参照)。補正パラメータhi、lo値はRGBごとにそれぞれR_
lo,R_hi,G_lo,G_hi,B_lo,B_hiで表される。The lo point for contrast correction is black (numerical value
0) to 1% of all pixels, and the hi point is a luminance value from white (numerical value 255) to 1% of all pixels (FIG. 3).
reference). The correction parameter hi and lo values are R_
lo, R_hi, G_lo, G_hi, B_lo, B_hi.
【0017】ガンマ補正で用いる補正パラメータgamma
は、各画素のRGBから式(2)により算出した輝度信号Yの
全画面での平均値average_Yが所定の値Target_Yとなる
ように式(3)により求められる。補正パラメータgamma
は、RGBについて共通の値が用いられる。A correction parameter gamma used in gamma correction
Is obtained by Expression (3) such that the average value average_Y over the entire screen of the luminance signal Y calculated from Expression (2) from the RGB of each pixel becomes a predetermined value Target_Y. Correction parameter gamma
Is a common value for RGB.
【0018】 Y = 0.299*R + 0.587*G + 0.114*B (2) gamma = log(Target_Y / 255) / log(average_Y / 255) (3)[0018] Y = 0.299 * R + 0.587 * G + 0.114 * B (2) gamma = log (Target_Y / 255) / log (average_Y / 255) (3)
【0019】s203ではs202で決定した画像補正パラメー
タを手動変更するか、s202で決定した画像補正パラメー
タで補正された表示画像に基づき使用者が選択する。補
正パラメータの手動変更を行う場合はs204に処理が移
り、現状の補正パラメータで画像処理を行う場合はs205
に処理が移る。In s203, the image correction parameters determined in s202 are manually changed or the user selects based on the display image corrected by the image correction parameters determined in s202. If the correction parameters are to be manually changed, the process proceeds to s204. If image processing is to be performed using the current correction parameters, the process proceeds to s205.
The processing moves to.
【0020】s204では図1の手動画像補正用の操作画面
を通じて使用者がs202で算出した補正パラメータの変更
を行う。In s204, the user changes the correction parameters calculated in s202 through the operation screen for manual image correction shown in FIG.
【0021】図1の各部について説明する。「オリジナ
ル画像」 はs201で入力した多値画像を縮小したものを
表示用原画像として表示する。「修正後画像」 は補正
パラメータによる補正処理を表示用原画像に行い補正シ
ミュレート画像として表示する。Each part of FIG. 1 will be described. The “original image” displays a reduced version of the multivalued image input in s201 as an original image for display. The “corrected image” performs a correction process based on the correction parameters on the display original image and displays it as a corrected simulation image.
【0022】「Black & White Point」は補正パラメー
タR_lo,R_hi,G_lo,G_hi,B_lo,B_hiの変更用のスライド
バーで、操作画面の起動時にはs202で算出した補正パラ
メータの状態で表示する。"Black & White Point" is a slide bar for changing the correction parameters R_lo, R_hi, G_lo, G_hi, B_lo, B_hi. When the operation screen is started, the slide bar is displayed in the state of the correction parameters calculated in s202.
【0023】「Gamma」は補正パラメータgammaの変更用
のスライドバーで、これも操作画面の起動時にはs202で
算出した補正パラメータの状態で表示する。"Gamma" is a slide bar for changing the correction parameter gamma, which is also displayed in the state of the correction parameter calculated in s202 when the operation screen is started.
【0024】このように、本実施形態では自動補正によ
り決められた補正パラメータを使用者に表示し、使用者
が補正パラメータを変更して画像の手動補正を行うこと
ができる。As described above, in the present embodiment, the correction parameters determined by the automatic correction are displayed to the user, and the user can change the correction parameters and perform the manual correction of the image.
【0025】「Apply」はスライドバーに設定された補
正パラメータを補正シミュレート画像に適用するための
ボタン機能、「Reset」は操作画面の起動時に戻すため
のボタン機能、「OK」は現状の補正パラメータに決定し
て操作画面を終了するためのボタン機能、「Cancel」は
現状の補正パラメータを破棄してs202で算出した補正パ
ラメータの状態に戻し操作画面を終了するためのボタン
機能である。"Apply" is a button function for applying the correction parameters set in the slide bar to the correction simulated image, "Reset" is a button function for returning the operation screen to startup, and "OK" is the current correction. “Cancel” is a button function for discarding the current correction parameters and returning to the state of the correction parameters calculated in s202, and terminating the operation screen.
【0026】s205ではs202もしくはs204で決められた補
正パラメータに基づきs201で入力した多値画像に画像補
正処理を行う。画像補正用のLUTの例として補正パラメ
ータhi、loに基づくコントラスト補正用のテーブルを図
4に示し、図4のテーブルに更に補正パラメータgamma
に基づくガンマ補正効果を加えたガンマ補正用のテーブ
ルを図5に示す。In s205, an image correction process is performed on the multi-valued image input in s201 based on the correction parameters determined in s202 or s204. As an example of an LUT for image correction, a table for contrast correction based on the correction parameters hi and lo is shown in FIG. 4, and the table of FIG.
FIG. 5 shows a gamma correction table to which a gamma correction effect based on the gamma correction is applied.
【0027】本実施形態では自動補正の行われた画像に
対して手動補正を行うのではなく、自動補正によって決
められた補正パラメータの変更を行い変更されたパラメ
ータを用いて表示用原画像に対して補正を行うので、階
調性の劣化が発生せず良好な画像を得ることができる。In the present embodiment, instead of performing manual correction on an image on which automatic correction has been performed, correction parameters determined by automatic correction are changed, and an original image for display is changed using the changed parameters. , It is possible to obtain a good image without deterioration in gradation.
【0028】また、手動補正を行う場合、自動補正の補
正パラメータをもとにして補正量の強度の調整が可能な
ため、補正パラメータの調整を容易に行うことができ
る。In the case of performing the manual correction, since the intensity of the correction amount can be adjusted based on the correction parameter of the automatic correction, the adjustment of the correction parameter can be easily performed.
【0029】なお、本実施形態では多値画像としてRG
B各8bitとしているが、8bitに限定するものではなく、
本発明を組み込むシステムの仕様により決められるもの
である。例えばスキャナからの多値画像がRGB各12bi
tで入力されるならば12bitでのヒストグラム分布幅下限
値を設定することで本実施形態と同様の効果が得られ
る。In this embodiment, RG is used as a multivalued image.
B Each is 8 bits, but is not limited to 8 bits.
It is determined by the specifications of the system incorporating the present invention. For example, a multi-valued image from a scanner is RGB 12bi
If input at t, the same effect as in the present embodiment can be obtained by setting the lower limit of the histogram distribution width in 12 bits.
【0030】[0030]
【発明の効果】本発明によれば、簡単に良好な補正条件
を設定することができる。According to the present invention, good correction conditions can be easily set.
【0031】特に、自動補正の結果を用いて良好な補正
結果を得ることができる補正条件を手動で簡単に設定す
ることができる。In particular, it is possible to easily and manually set a correction condition by which a good correction result can be obtained by using the result of the automatic correction.
【図1】手動画像補正用の操作画面である。FIG. 1 is an operation screen for manual image correction.
【図2】画像処理方法の流れを示すフローチャートであ
る。FIG. 2 is a flowchart illustrating a flow of an image processing method.
【図3】入力画像のヒストグラムの1例と、下限値、上
限値の1例である。FIG. 3 is an example of a histogram of an input image and an example of a lower limit and an upper limit.
【図4】コントラスト補正テーブルの1例である。FIG. 4 is an example of a contrast correction table.
【図5】ガンマ補正テーブルの1例である。FIG. 5 is an example of a gamma correction table.
Claims (6)
程と、 前記入力画像の色分布に応じて該入力画像に対する色補
正条件を自動的に求める工程と、 ユーザによって手動補正を行うことが指示された場合
は、前記自動的に求められた色補正条件をユーザに報知
する工程と、 ユーザの前記自動的に求められた色補正条件に対する変
更を入力する工程と、 前記変更された色補正条件を用いて前記入力画像を補正
する工程とを有することを特徴とする画像処理方法。1. A step of inputting image data representing an input image; a step of automatically obtaining a color correction condition for the input image according to a color distribution of the input image; If so, a step of notifying the user of the automatically determined color correction condition, a step of inputting a change to the automatically determined color correction condition of the user, and the changed color correction condition Correcting the input image by using the image processing method.
であり、 前記入力画像の色分布に基づき求められた入力画像の黒
点および白点に基づき、該黒点と該白点の間の階調幅が
該画像の大略最大階調幅となるように画像のコントラス
トを調整することを特徴とする請求項1記載の画像処理
方法。2. The color correction condition is a contrast correction condition, and based on a black point and a white point of the input image obtained based on a color distribution of the input image, the gradation width between the black point and the white point is 2. The image processing method according to claim 1, wherein the contrast of the image is adjusted so as to have a substantially maximum gradation width of the image.
分頻度分布から求められたガンマ補正条件であり、該輝
度成分頻度分布の平均値が所定の値となるように求めら
れることを特徴とする請求項1記載の画像処理方法。3. The color correction condition is a gamma correction condition determined from a luminance component frequency distribution of the input image, and is determined so that an average value of the luminance component frequency distribution becomes a predetermined value. The image processing method according to claim 1.
いた補正を前記入力画像に対して強制的に行うことを特
徴とする請求項1記載の画像処理方法。4. The image processing method according to claim 1, wherein the correction using the automatically obtained color correction condition is forcibly performed on the input image.
段と、 前記入力画像の色分布に応じて該入力画像に対する色補
正条件を自動的に求める手段と、 ユーザによって手動補正を行うことが指示された場合
は、前記自動的に求められた色補正条件をユーザに報知
する手段と、 ユーザの前記自動的に求められた色補正条件に対する変
更を入力する手段と、 前記変更された色補正条件を用いて前記入力画像を補正
する手段とを有することを特徴とする画像処理装置。5. A means for inputting image data indicating an input image; a means for automatically obtaining a color correction condition for the input image according to a color distribution of the input image; and an instruction to perform manual correction by a user. If so, means for notifying the user of the automatically determined color correction condition, means for inputting a change to the automatically determined color correction condition of the user, and the changed color correction condition Means for correcting the input image by using the image processing apparatus.
記録されている記録媒体であって、 入力画像を示す画像データを入力する工程と、 前記入力画像の色分布に応じて該入力画像に対する色補
正条件を自動的に求める工程と、 ユーザによって手動補正を行うことが指示された場合
は、前記自動的に求められた色補正条件をユーザに報知
する工程と、 ユーザの前記自動的に求められた色補正条件に対する変
更を入力し変更工程と、 前記変更された色補正条件を用いて前記入力画像を補正
する補正工程とを有するプログラムが記録されているこ
とを特徴とする記録媒体。6. A recording medium in which a program is recorded in a computer-readable manner, wherein inputting image data indicating an input image, and a color correction condition for the input image according to a color distribution of the input image Automatically determining the color correction conditions, and when the user instructs to perform manual correction, informing the user of the automatically determined color correction conditions; and A recording medium recording a program having a change step of inputting a change to a correction condition and a correction step of correcting the input image using the changed color correction condition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11235477A JP2001061075A (en) | 1999-08-23 | 1999-08-23 | Image processing method, image processor and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11235477A JP2001061075A (en) | 1999-08-23 | 1999-08-23 | Image processing method, image processor and recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2001061075A true JP2001061075A (en) | 2001-03-06 |
Family
ID=16986656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP11235477A Withdrawn JP2001061075A (en) | 1999-08-23 | 1999-08-23 | Image processing method, image processor and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2001061075A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003304446A (en) * | 2002-02-22 | 2003-10-24 | Agfa Gevaert Nv | Multiscale gradation processing method |
JP2005004768A (en) * | 2003-06-11 | 2005-01-06 | Agfa Gevaert Nv | Method and user interface for modifying at least one of contrast and density of pixels of image to be processed |
JP2008228140A (en) * | 2007-03-15 | 2008-09-25 | Noritsu Koki Co Ltd | Image processing apparatus and image processing method |
JP2009282858A (en) * | 2008-05-23 | 2009-12-03 | Seiko Epson Corp | Developing processor and development processing method for undeveloped image data, and computer program for development processing |
US8355070B2 (en) | 2008-05-23 | 2013-01-15 | Seiko Epson Corporation | Development processing device, development processing method, and storage medium of computer program for development process for developing undeveloped image data |
-
1999
- 1999-08-23 JP JP11235477A patent/JP2001061075A/en not_active Withdrawn
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003304446A (en) * | 2002-02-22 | 2003-10-24 | Agfa Gevaert Nv | Multiscale gradation processing method |
JP2005004768A (en) * | 2003-06-11 | 2005-01-06 | Agfa Gevaert Nv | Method and user interface for modifying at least one of contrast and density of pixels of image to be processed |
JP2008228140A (en) * | 2007-03-15 | 2008-09-25 | Noritsu Koki Co Ltd | Image processing apparatus and image processing method |
JP2009282858A (en) * | 2008-05-23 | 2009-12-03 | Seiko Epson Corp | Developing processor and development processing method for undeveloped image data, and computer program for development processing |
US8355070B2 (en) | 2008-05-23 | 2013-01-15 | Seiko Epson Corporation | Development processing device, development processing method, and storage medium of computer program for development process for developing undeveloped image data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2755873C2 (en) | Method for controlling image display, device for controlling image display and permanent machine-readable data carrier | |
KR100467610B1 (en) | Method and apparatus for improvement of digital image quality | |
US7447377B2 (en) | Image processing method and apparatus, and image processing program | |
JP7105737B2 (en) | Image processing device, image processing method, and program | |
US7317439B2 (en) | Electronic apparatus and recording medium therefor | |
JP2006093753A (en) | Video display device | |
JPH07322033A (en) | Picture-dependent color chroma correction method of natural scene picture in electronic document and its device | |
JPH11331596A (en) | Image processing method and its device | |
KR20010075557A (en) | Video signal enhancement | |
KR101923162B1 (en) | System and Method for Acquisitioning HDRI using Liquid Crystal Panel | |
US8134646B2 (en) | Video signal processing device and video signal processing method | |
JP4151225B2 (en) | Apparatus, method and program for image processing | |
JP6611543B2 (en) | Image processing apparatus, image processing method, and program | |
US20060159340A1 (en) | Digital image photographing apparatus and method | |
JP2005252869A (en) | Video signal processing apparatus and method | |
JP2001061075A (en) | Image processing method, image processor and recording medium | |
JP4595569B2 (en) | Imaging device | |
JPH06339017A (en) | Saturation emphasizing method and device for color picture | |
JP5142833B2 (en) | Image processing apparatus and image processing method | |
JP4791884B2 (en) | Video signal processing apparatus and video signal processing method | |
JPH11164190A (en) | Automatic exposure control method | |
JP2004215005A (en) | Apparatus and method for processing image and for judging scene, and program | |
JP2000032287A (en) | Image processor and image processing method | |
JP4550090B2 (en) | Image processing apparatus and image processing method | |
JP5297897B2 (en) | Image signal processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20061107 |