JP2000013595A - Image processing method, device and recording medium - Google Patents

Image processing method, device and recording medium

Info

Publication number
JP2000013595A
JP2000013595A JP10177134A JP17713498A JP2000013595A JP 2000013595 A JP2000013595 A JP 2000013595A JP 10177134 A JP10177134 A JP 10177134A JP 17713498 A JP17713498 A JP 17713498A JP 2000013595 A JP2000013595 A JP 2000013595A
Authority
JP
Japan
Prior art keywords
image
histogram
original image
image processing
original
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
Application number
JP10177134A
Other languages
Japanese (ja)
Inventor
Manabu Yamazoe
学 山添
Akihiko Uekusa
明彦 植草
Nobuo Ogura
伸夫 小倉
Kentaro Yano
健太郎 矢野
Tetsuya Suwa
徹哉 諏訪
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 JP10177134A priority Critical patent/JP2000013595A/en
Priority to US09/337,549 priority patent/US6628830B1/en
Publication of JP2000013595A publication Critical patent/JP2000013595A/en
Priority to US10/629,656 priority patent/US7146045B2/en
Priority to US11/554,837 priority patent/US7454059B2/en
Priority to US12/026,886 priority patent/US7593570B2/en
Priority to US12/547,586 priority patent/US7929761B2/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To decide whether or not image data to be a correction object are images by simple constitution and to prevent an image correction processing corresponding to a histogram from being performed with respect to these other than the images. SOLUTION: In this image processing method which prepares the histogram of a source image, setting an image processing condition based on the prepared histogram and image processing the source image, whether or not the source image is the image is decided based on the shape of the prepared histogram, and when it is decided that the source image is not an image, the image processing is not applied to the source image.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、原画像のヒストグ
ラムに応じた画像処理を行う画像処理方法、装置および
記録媒体に関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing method, apparatus and recording medium for performing image processing according to a histogram of an original image.

【0002】[0002]

【従来の技術】近年デジタルカメラやフォトスキャナが
普及したことにより、フォト画像のデジタル化が手軽に
なり、特にパソコン上でデジタルデータとして写真調の
画像を扱う機会が増えてきた。しかも、それらをパソコ
ン上で各種のアプリケーションソフトを使って編集した
り、コピー&ペースト機能で好みの場所に容易に配置す
ることができるようになった。しかしながら、上記写真
調の入力画像は以下の理由により色かぶりなどの画像の
劣化要因を付帯している場合が少なくない。
2. Description of the Related Art With the spread of digital cameras and photo scanners in recent years, digitization of photo images has become easy, and in particular, the number of opportunities to handle photographic images as digital data on personal computers has increased. In addition, they can be edited on a personal computer using various application software, and can be easily arranged in a desired place by using the copy and paste function. However, the photographic input image often has image deterioration factors such as color cast for the following reasons.

【0003】例えば、デジタルカメラを例に取ると、C
CDカメラで撮影された画像は人間の目には感じられな
い赤外光などの波長も取り込んでしまう場合がある。も
ちろん赤外カットフィルタなどの処理もなされている
が、必ずしも完全ではなく色バランスを崩してしまう場
合がある。さらに人間は光源色の違いに順応して対象物
を見ることが知られているが、カメラはその違いをその
ままフィルムなどに記録するのでたとえそれが測色的に
正しく色を再現していたとしても、人間の記憶色とはず
れて感じられることがある。
For example, taking a digital camera as an example, C
An image captured by a CD camera may capture wavelengths such as infrared light that cannot be sensed by human eyes. Of course, processing such as an infrared cut filter is also performed, but the processing is not always perfect, and the color balance may be lost. Furthermore, it is known that humans adapt to differences in light source colors to see objects, but cameras record the differences directly on film, etc., so even if they reproduce color correctly colorimetrically Can also be felt out of color of human memory.

【0004】とりわけ写真印刷分野においては、銀塩カ
メラで撮影したフィルムをラボでプリントする際には、
一般に印画紙にプリントする段において撮影画像の画像
解析によりシーンの解析を行い自動補正する機能が盛り
込まれている。このように良好な出力結果を得るため
に、出力の際に様々な画像処理を施して出力するための
方法が数多く提案されている。
[0004] Especially in the field of photo printing, when a film taken by a silver halide camera is printed in a laboratory,
Generally, at the stage of printing on photographic paper, a function for analyzing a scene by image analysis of a photographed image and automatically correcting the scene is included. In order to obtain such a good output result, there have been proposed a number of methods for performing various image processing upon output and outputting.

【0005】[0005]

【発明が解決しようとする課題】銀塩写真と同様に、イ
ンクジェットプリンタを代表するような出力機器で良好
な出力結果を得るためには、フォト画像のデジタルデー
タそのものを補正する必要がある。ここで注意すべき点
は、写真印刷やフォトラボにおいては、その対象が写真
に限定されているということである。しかしながら、イ
ンクジェットプリンタやカラーレーザーに代表される出
力機器を使って、さらにはパソコンから1ページのデー
タとして印刷する際には、写真(イメージ画像)やテキ
ストさらには図や絵などのグラフィックスが混在するこ
とを前提とする必要がある。
In order to obtain a good output result with an output device such as an ink jet printer, it is necessary to correct the digital data of the photo image as in the case of silver halide photography. It should be noted here that in photo printing and photo labs, the target is limited to photographs. However, when using an output device such as an ink jet printer or a color laser, or printing from a personal computer as one page of data, photographs (image images), text, and graphics such as figures and pictures are mixed. It is necessary to assume that.

【0006】すなわち、イメージ画像に対して良好な出
力結果を得るためになされる画像補正が、グラフィック
スなどにかけられると不都合を生じてしまう、という問
題がでてきた。
That is, there has been a problem in that if the image correction performed to obtain a good output result with respect to an image image is applied to graphics or the like, a problem occurs.

【0007】本発明は、このような問題を解決するため
になされたもので、簡単な構成で補正対象となる画像デ
ータがイメージ画像であるか判定し、イメージ画像以外
に対してヒストグラムに応じた画像補正処理を行うこと
を防ぐことを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve such a problem, and it is determined with a simple configuration whether image data to be corrected is an image image and a histogram other than the image image is determined according to a histogram. It is an object to prevent performing image correction processing.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に本発明は、原画像のヒストグラムを作成し、前記作成
されたヒストグラムに基づく画像処理条件を設定し、前
記原画像に対して画像処理を行う画像処理方法であっ
て、前記作成されたヒストグラムの形状に基づき前記原
画像がイメージ画像であるか否かを判断し、前記原画像
がイメージでないと判断された場合は、前記原画像に対
して前記画像処理を行わないことを特徴とする。
In order to achieve the above object, the present invention provides a method for generating a histogram of an original image, setting image processing conditions based on the generated histogram, and performing image processing on the original image. An image processing method for determining whether or not the original image is an image image based on the shape of the created histogram, and when it is determined that the original image is not an image, On the other hand, the image processing is not performed.

【0009】[0009]

【発明の実施の形態】(実施形態1)以下、図面を参照
して本発明の実施形態を詳細に説明する。
(Embodiment 1) Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

【0010】本実施形態におけるシステムの概略の1例
を図1に示す。ホストコンピュータ100には、例えば
インクジェットプリンタなどのプリンタ105とモニタ
106が接続されている。ホストコンピュータ100
は、ワープロ、表計算、インターネットブラウザ等のア
プリケーションソフトウエア101と、OS(OperatingS
ystem)102、該アプリケーションによってOS102
に発行される出力画像を示す各種描画命令群(イメージ
描画命令、テキスト描画命令、グラフィックス描画命
令)を処理して印刷データを作成するプリンタドライバ
103、およびアプリケーションが発行する各種描画命
令群を処理してモニタ106に表示を行なうモニタドラ
イバ104をソフトウエアとして持つ。
FIG. 1 shows a schematic example of a system according to this embodiment. A printer 105 such as an ink jet printer and a monitor 106 are connected to the host computer 100. Host computer 100
Is an application software 101 such as a word processor, a spreadsheet, an Internet browser, etc., and an OS (OperatingS
ystem) 102, depending on the application OS 102
The printer driver 103 that processes various drawing commands (image drawing command, text drawing command, graphics drawing command) indicating an output image issued by the printer driver and creates print data, and processes various drawing commands issued by an application. And a monitor driver 104 for displaying on the monitor 106 as software.

【0011】ホストコンピュータ100は、これらソフ
トウエアが動作可能な各種ハードウエアとして中央演算
処理装置CPU108、ハードディスクドライバHD10
7、ランダムアクセスメモリRAM109、リードオンリ
ーメモリROM110等を備える。
The host computer 100 includes a central processing unit CPU 108 and a hard disk driver HD 10 as various hardware on which the software can operate.
7, a random access memory RAM 109, a read only memory ROM 110, and the like.

【0012】図1で示される実施形態として、例えば一
般的に普及しているIBM ATコンパチのパーソナルコンピ
ュータにMicrosoft Windows95をOSとして使用し、任意
の印刷可能なアプリケーションをインストールし、モニ
タとプリンタを接続した形態が1実施形態として考えら
れる。
As an embodiment shown in FIG. 1, for example, Microsoft Windows 95 is used as an OS on a commonly-used IBM AT compatible personal computer, an arbitrary printable application is installed, and a monitor and a printer are connected. This embodiment is considered as one embodiment.

【0013】ホストコンピュータ100では、モニタに
表示された表示画像にもとづき、アプリケーション10
1で、文字などのテキストに分類されるテキストデー
タ、図形などのグラフィックスに分類されるグラフィッ
クスデータ、自然画などに分類されるイメージ画像デー
タなどを用いて出力画像データを作成する。そして、出
力画像データを印刷出力するときには、アプリケーショ
ン101からOS102に印刷出力要求を行ない、グラフ
ィックスデータ部分はグラフィックス描画命令、イメー
ジ画像データ部分はイメージ描画命令で構成される出力
画像を示す描画命令群をOS102に発行する。OS102
はアプリケーションの出力要求を受け、出力プリンタに
対応するプリンタドライバ103に描画命令群を発行す
る。プリンタドライバ103はOS102から入力した印
刷要求と描画命令群を処理しプリンタ105で印刷可能
な印刷データを作成してプリンタ105に転送する。プ
リンタ105がラスタープリンタである場合は、プリン
タドライバ103では、OSからの描画命令に対して順次
画像補正処理を行い、そして順次RGB24ビットページ
メモリにラスタライズし、全ての描画命令をラスタライ
ズした後にRGB24ビットページメモリの内容をプリンタ
105が印刷可能なデータ形式、例えばCMYKデータに変
換を行ないプリンタに転送する。
In the host computer 100, based on the display image displayed on the monitor, the application 10
In step 1, output image data is created using text data classified as text such as characters, graphics data classified as graphics such as figures, image image data classified as natural images, and the like. When printing out the output image data, the application 101 issues a print output request to the OS 102, and the graphics data portion is a graphics drawing command, and the image image data portion is a drawing command indicating an output image composed of an image drawing command. The group is issued to the OS 102. OS102
Receives an output request from the application and issues a rendering command group to the printer driver 103 corresponding to the output printer. The printer driver 103 processes a print request and a drawing command group input from the OS 102, creates print data printable by the printer 105, and transfers the print data to the printer 105. When the printer 105 is a raster printer, the printer driver 103 sequentially performs image correction processing on a drawing command from the OS, and rasterizes the drawing command sequentially into an RGB 24-bit page memory. The contents of the page memory are converted into a data format printable by the printer 105, for example, CMYK data, and transferred to the printer.

【0014】プリンタドライバ103で行われる処理を図
2を用いて説明する。
The processing performed by the printer driver 103 will be described with reference to FIG.

【0015】プリンタドライバ103は、OS102から入力し
た描画命令群に含まれる色情報に対して、画像補正処理
部120で後述する画像補正処理を行う。プリンタ用補正
処理部121は、まず、画像補正処理された色情報によっ
て描画命令をラスタライズし、RGB24ビットページメモ
リ上にラスター画像を生成する。そして、各画素に対し
てプリンタの色再現性に応じたマスキング処理、ガンマ
補正処理および量子化処理などを行いプリンタ特性に依
存したCMYKデータを生成し、プリンタ105に転送する。
The printer driver 103 performs an image correction process described later on the color information included in the drawing command group input from the OS 102 by the image correction processing unit 120. First, the printer correction processing unit 121 rasterizes a drawing command using the color information subjected to the image correction processing, and generates a raster image on an RGB 24-bit page memory. Then, a masking process, a gamma correction process, a quantization process, and the like according to the color reproducibility of the printer are performed on each pixel to generate CMYK data depending on the printer characteristics, and transfer the CMYK data to the printer 105.

【0016】次に、画像補正処理部120で原画像毎に独
立に行われる画像補正処理を図3を用いて説明する。
Next, an image correction process performed independently for each original image by the image correction processing unit 120 will be described with reference to FIG.

【0017】本実施形態における画像補正処理(色かぶ
り補正、露出補正)は、上述したようにイメージを対象
としている処理であり、イメージ画像では良好な出力結
果を得ることができる。しかしながら、画像補正処理を
グラフィックスなどにかけてしまうと画質を低下させて
しまう可能性がある。
The image correction processing (color fogging correction and exposure correction) in this embodiment is processing for an image as described above, and a good output result can be obtained for an image image. However, if the image correction processing is applied to graphics or the like, the image quality may be degraded.

【0018】そこで、本実施形態では原画像がイメージ
であるかを判断し、イメージ画像に対してのみ画像補正
処理を行うようにしている。
Therefore, in the present embodiment, it is determined whether or not the original image is an image, and the image correction processing is performed only on the image.

【0019】まず、ステップS5では、アプリケーション
からOSを介して入力した原画像を示す描画命令がイメー
ジ描画命令であるか否かを判断する。ここで、描画命令
がグラフィック描画命令などのイメージ描画命令以外で
ある場合は、原画像がイメージ画像でないと判断し、該
原画像に対しては画像補正処理を行わない。
First, in step S5, it is determined whether or not the drawing command indicating the original image input from the application via the OS is an image drawing command. Here, if the drawing command is not an image drawing command such as a graphic drawing command, it is determined that the original image is not an image image, and the image correction process is not performed on the original image.

【0020】一方、イメージ描画命令である場合は、原
画像がイメージ画像である可能性があると判断し、ステ
ップS10で輝度ヒストグラムを作成する。輝度ヒストグ
ラム作成方法の詳細については後述する。
On the other hand, if the command is an image drawing command, it is determined that the original image may be an image image, and a luminance histogram is created in step S10. Details of the luminance histogram creation method will be described later.

【0021】ステップS20では、該ヒストグラムにおい
て、度数が0である輝度の個数によって原画像に対して
画像補正処理を行うべきであるか否かを判定する。すな
わち、原画像がイメージ画像である可能性があるか否か
を判定する。
In step S20, whether or not image correction processing should be performed on the original image is determined based on the number of luminances whose frequency is 0 in the histogram. That is, it is determined whether there is a possibility that the original image is an image image.

【0022】これは通常のイメージ画像は図4のように
各輝度の度数が全体的に分布する。これに対してグラフ
ィックスのような特殊な画像は、特定の色で構成される
ことが多く、例えば図5のようにとびとびの分布を取る
ことが多い。これは例えば16色程度で構成されるグラ
フを考えれば理解できるだろう。
In a normal image, the frequency of each luminance is distributed as a whole as shown in FIG. On the other hand, a special image such as graphics is often composed of a specific color, and for example, often has a discrete distribution as shown in FIG. This can be understood by considering a graph composed of, for example, about 16 colors.

【0023】したがって、該ヒストグラムの0度数の数
を計算し、それが所定の値(たとえば256階調の場合
などで経験的にしきい値を求めた結果では100)以上
の場合には、通常のイメージ画像ではないと判断し、色
補正を行わない。
Therefore, when the number of 0 frequencies of the histogram is calculated and is equal to or larger than a predetermined value (for example, 100 when the threshold value is empirically obtained in the case of 256 gradations, etc.), the normal value is calculated. Judge that the image is not an image, and do not perform color correction.

【0024】次に、ステップS20において画像補正すべ
きであると判定された場合は、ステップS30において該
ヒストグラムに基づきハイライトポイントHLとシャドー
ポイントSDを決定する。
Next, if it is determined in step S20 that the image should be corrected, a highlight point HL and a shadow point SD are determined based on the histogram in step S30.

【0025】そして、ステップS40ではハイライトポイ
ントHLとシャドーポイントSDの差つまり距離によって画
像補正を行うべきか否かを判定する。すなわち、原画像
がイメージであるか否かを判定する。ステップS40では
差が所定値より小さい場合はイメージ画像でないとして
画像補正処理を行わない。
In step S40, it is determined whether or not image correction should be performed based on the difference between the highlight point HL and the shadow point SD, that is, the distance. That is, it is determined whether or not the original image is an image. In step S40, if the difference is smaller than the predetermined value, the image correction processing is not performed because the image is not an image image.

【0026】これは、例えば図6のようにヒストグラム
の分布がある一定の輝度で構成されるような場合、図4
と比べて明らかであるようにイメージ画像のヒストグラ
ムとしては不自然である。したがって、コンピュータグ
ラフィックなどのグラフィックスあるいは意図的に作成
されたイメージ画像である可能性が高く、画像補正処理
を行うべきではない。
This is because, for example, as shown in FIG. 6, when the histogram distribution is made up of a certain luminance, FIG.
As is clear from the comparison, the histogram of the image image is unnatural. Therefore, there is a high possibility that the image is a graphic such as a computer graphic or an intentionally created image, and the image correction processing should not be performed.

【0027】そして、最終的に画像補正を行うべきであ
ると判定された画像に対してのみ上記輝度ヒストグラム
に基づき求められた画像補正処理条件に基づく画像補正
処理を行う(ステップS50)。画像補正処理としては、
後述する色かぶり補正および露出、彩度補正を行う。
Then, an image correction process based on the image correction processing condition obtained based on the luminance histogram is performed only on the image finally determined to be subjected to the image correction (step S50). As image correction processing,
The color cast correction, exposure, and saturation correction, which will be described later, are performed.

【0028】このように、本実施形態によれば、原画像
の輝度などのヒストグラムの形状などから、イメージ画
像として不自然な原画像を検出しそして除外し、イメー
ジ画像に対してのみ画像補正処理を行う。
As described above, according to the present embodiment, an unnatural original image is detected and excluded as an image image from the shape of the histogram such as the luminance of the original image, and the image correction processing is performed only on the image image. I do.

【0029】すなわち、イメージ画像のヒストグラムの
形状とは明らかにことなる特殊なヒストグラムの形状を
有するグラフィックスのような画像に対して画像補正処
理を行うことを防ぐことができる。さらに、該ヒストグ
ラムから得られるハイライトとシャドー値の距離を見る
ことで、フォト画像としては不自然な輝度分布、例えば
CGで作成されたある一定範囲の輝度で作成された画像
に対しても画像補正処理を行うことを防ぐことができ
る。
That is, it is possible to prevent the image correction processing from being performed on an image such as graphics having a special histogram shape that is clearly different from the histogram shape of the image image. Further, by observing the distance between the highlight value and the shadow value obtained from the histogram, an unnatural luminance distribution as a photo image, for example, an image created with a certain range of luminance created by CG can be obtained. Performing the correction process can be prevented.

【0030】(輝度ヒスとグラムの作成)図7は本実施
形態での輝度ヒストグラムを作成するフローチャートで
ある。
(Creation of Luminance Hiss and Gram) FIG. 7 is a flowchart for creating a luminance histogram in this embodiment.

【0031】図7において、S81で原画像の輝度ヒス
トグラム作成のルーチンに入ると、S82で原画像の画
素から輝度ヒストグラムの作成に用いる画素の選択比率
を決定する。本実施形態では35万画素のデータの場合
に全画素を対象(選択比率100%)に輝度ヒストグラ
ムを作成する事とし、35万画素以上の画素数の原画像
が入力された場合には総画素数の比率に応じて画素選択
(サンプリング)を行う。即ち350万画素の原画像が
入力された場合には10画素に1画素(選択比率10
%)の割合で輝度ヒストグラムを作成する。本実施形態
ではnは次式により求める。
In FIG. 7, when a routine for creating a luminance histogram of an original image is entered in S81, a selection ratio of pixels used for creating a luminance histogram is determined from pixels of the original image in S82. In the present embodiment, in the case of data of 350,000 pixels, a luminance histogram is created for all the pixels (selection ratio 100%), and when an original image having more than 350,000 pixels is input, the total number of pixels is calculated. Pixel selection (sampling) is performed according to the ratio of numbers. That is, when an original image of 3.5 million pixels is input, one pixel per ten pixels (selection ratio 10
%), A luminance histogram is created. In the present embodiment, n is obtained by the following equation.

【0032】 n=int(原画像の総画素数/基準画素数35万) (但し、n<1の時はn=1、nは整数> 続いてS83でラスター番号を管理するカウンターをリ
セット/セットし、S84で該カウンターをインクリメ
ントする。
N = int (total number of pixels of original image / reference pixel number 350,000) (however, when n <1, n = 1, n is an integer) Then, in S83, the counter for managing the raster number is reset / The counter is set, and the counter is incremented in S84.

【0033】本実施形態では画素の間引き(サンプリン
グ)はラスター単位で行うので、前記の選択比率10%
の場合には、ラスター番号を10で割ったときの余りが
0の場合にそのラスターに属する画素を対象に処理を行
う(S85)。
In the present embodiment, since the pixel thinning (sampling) is performed in units of raster, the above-described selection ratio is 10%.
In the case of, when the remainder obtained by dividing the raster number by 10 is 0, the processing is performed on the pixels belonging to the raster (S85).

【0034】〔if(ラスター番号Mod n)=0対
象ラスター else非対象ラスター〕 処理ラスターが前記非対象ラスターの場合にはS84に
戻る。対象ラスターの場合にはS86に進み該ラスター
に属する夫々の画素に対して輝度変換、色度変換を処理
を行う。本実施形態における輝度変換、色度変換は以下
の式により行う。なお、輝度、色度変換は以下の式に限
らず従来の技術で示したように様々な式を用いることが
可能である。
[If (raster number Mod n) = 0 target raster else non-target raster] If the processing raster is the non-target raster, the process returns to S84. In the case of the target raster, the process proceeds to S86, where luminance conversion and chromaticity conversion are performed on each pixel belonging to the raster. The luminance conversion and the chromaticity conversion in the present embodiment are performed by the following equations. Note that the luminance and chromaticity conversions are not limited to the following equations, and various equations can be used as shown in the related art.

【0035】Y (輝度)=int(0.30R+0.
59G+0.11B)、(Yは整数) C1(色度)=R−Y C2(色度)=B−Y
Y (luminance) = int (0.30R + 0.
59G + 0.11B), (Y is an integer) C1 (chromaticity) = RY C2 (chromaticity) = BY

【0036】また本実施形態では白位置(ハイライトポ
イント)、黒位置(シャドーポイント)の検出精度を向
上させるために次式により彩度の計算を行い、予め定め
た彩度値(Sconst)より大きいか否かを判断する
(S87)。高彩度の画素の情報は輝度ヒストグラムに
反映させない。
In this embodiment, in order to improve the detection accuracy of the white position (highlight point) and the black position (shadow point), the saturation is calculated by the following equation, and the saturation is calculated from a predetermined saturation value (Sconst). It is determined whether it is larger (S87). The information of the high-saturation pixels is not reflected on the luminance histogram.

【0037】彩度S=sqrt(C1^2+C2^2) 即ち、(S>Sconst)の場合にはS86に戻り該
画素のデータは以後の処理に反映させない。この処理の
効果を具体例を挙げて説明する。例えばイエローの画素
(R=G=255、B=0)は無彩色の画素がイエロー
に色かぶりしたと判断するよりも元々イエローの色相の
色であると判断した方が多くの場合間違えが少ない。し
かし上記計算式で該画素の輝度を求めると輝度値は「2
26」であり、極めて高輝度の画素であることがわか
る。よって該画素を輝度ヒストグラムの作成に含めてし
まうと白位置検出時に誤差を生じてしまう場合がある。
Saturation S = sqrt (C1 ^ 2 + C2 ^ 2) That is, in the case of (S> Sconst), the process returns to S86 and the data of the pixel is not reflected in the subsequent processing. The effect of this processing will be described with a specific example. For example, in many cases, it is less likely that a yellow pixel (R = G = 255, B = 0) is determined to have a yellow hue color than to determine that an achromatic pixel is colored yellow. . However, when the brightness of the pixel is obtained by the above calculation formula, the brightness value becomes “2
26 ", which means that the pixel has extremely high luminance. Therefore, if the pixel is included in the creation of the luminance histogram, an error may occur when the white position is detected.

【0038】該画素の彩度は上記計算式によれば「22
7」を示し十分に彩度の高い色である事が分かる。よっ
て本実施形態では既定の彩度(Sconst)を定め、
該既定の彩度以上の画素は輝度ヒストグラムに含めな
い。
According to the above equation, the saturation of the pixel is “22”.
7 "indicates that the color is sufficiently high in color. Therefore, in the present embodiment, a predetermined saturation (Sconst) is determined,
Pixels with the predetermined saturation or higher are not included in the luminance histogram.

【0039】よって、該画素により白位置検出に誤差が
生じることを防ぐことができ、白位置検出の精度を向上
させることができる。
Therefore, it is possible to prevent an error from occurring in the white position detection due to the pixel, and to improve the accuracy of the white position detection.

【0040】上記S87の判断の後、条件を満たした画
素(S<Sconst)について輝度ヒストグラムを作
成していく(S88)。ここで本実施形態で扱う画素デ
ータRGBは各8ビット(256階調)データであるの
で輝度Yも256の深さに変換される。よって輝度ヒス
トグラムは0から255までの256の輝度値の画素が
夫々何度数あるかを計算する事となる。
After the determination in S87, a luminance histogram is created for pixels satisfying the condition (S <Sconst) (S88). Here, since the pixel data RGB handled in this embodiment is 8-bit (256 gradation) data, the luminance Y is also converted to a depth of 256. Therefore, the luminance histogram calculates how many pixels having 256 luminance values from 0 to 255 exist.

【0041】またC1、C2の計算値は後の色かぶり補
正時に各輝度値に属する画素の平均色度を算出するデー
タとして用いるので本実施形態では次のようにデータ保
持を行う。0から255の構造体配列変数の形式で、度
数、C1累積値、C2累積値の3メンバーを設定し、各
画素ごとの演算結果を各メンバーに反映していく。
Since the calculated values of C1 and C2 are used as data for calculating the average chromaticity of the pixels belonging to each luminance value at the time of color cast correction later, the data is held as follows in this embodiment. In the form of a structure array variable from 0 to 255, three members of frequency, C1 cumulative value, and C2 cumulative value are set, and the calculation result for each pixel is reflected in each member.

【0042】対象ラスターの全画素の処理が終了したか
どうかを判断し(S89)、ラスター内に未処理画素が
残っている場合にはS86に戻りS86以降の処理を繰
り返す。ラスター内の全画素の処理が終了したらS90
で未処理のラスターが残っているかを判断し、全ラスタ
ー終了であればS91で終了し、未処理のラスターが残
っていればS84に戻り上記処理を繰り返す。
It is determined whether or not the processing has been completed for all the pixels of the target raster (S89). If unprocessed pixels remain in the raster, the flow returns to S86 to repeat the processing from S86. When the processing of all pixels in the raster is completed, S90
It is determined whether or not an unprocessed raster remains. If all rasters have been completed, the process ends in S91. If an unprocessed raster remains, the process returns to S84 and repeats the above processing.

【0043】以上の様に原画像の画素を選択しながら輝
度ヒストグラムを作成する事により、必要最小限の画素
数で、且つ後の白位置、黒位置検出時の精度の向上も考
慮した輝度ヒストグラムの作成を行う事が出来る。
As described above, by creating a luminance histogram while selecting pixels of the original image, a luminance histogram with the minimum necessary number of pixels and taking into account the improvement of the accuracy in detecting white and black positions later. Can be created.

【0044】(ハイライトポイント、シャドーポイント
の決定)輝度ヒストグラムが完成したら、該ヒストグラ
ムから白位置(ホワイトポイント)、黒位置(シャドー
ポイント)の決定を行う。本実施形態では輝度値0、輝
度値255の各端から中心方向に累積輝度度数値が17
50になる点を白位置、黒位置と定める。
(Determination of Highlight Point and Shadow Point) When the luminance histogram is completed, a white position (white point) and a black position (shadow point) are determined from the histogram. In the present embodiment, the cumulative luminance value is 17 from the ends of the luminance value 0 and the luminance value 255 toward the center.
The point which becomes 50 is defined as a white position and a black position.

【0045】輝度nの画素の度数をYnと置くとき、Y
0+Y1……と累積度数を求めていき、該累積度数が1
750を越えた時の輝度値(Yk)を黒位置の輝度値
(k)とする。次いで該Ykの輝度の画素の平均色度を
求める。前記の通り、輝度ヒストグラム作成時に各輝度
値の色度の累積値が計算されている(輝度nの画素の累
積色度をC1n total,C2n totalとす
る)ので、黒位置の輝度値kの画素の平均色度C1k,
C2kを求める。
When the frequency of a pixel having a luminance n is set as Yn, Y
0 + Y1... And the cumulative frequency is obtained.
The luminance value (Yk) when the value exceeds 750 is set as the luminance value (k) at the black position. Next, the average chromaticity of the pixel having the luminance of Yk is obtained. As described above, when the luminance histogram is created, the cumulative chromaticity of each luminance value is calculated (the cumulative chromaticity of the pixel of luminance n is assumed to be C1n total and C2n total). Average chromaticity C1k,
Find C2k.

【0046】C1k=C1k total/Yk C2k=C2k total/YkC1k = C1k total / Yk C2k = C2k total / Yk

【0047】同様に白位置の決定を行う。Y255+Y
254+……と累積度数を求めていき、該累積度数が1
750を越えた時の輝度値(Yw)を黒位置の輝度値
(w)とする。次いで該Ywの輝度の画素の平均色度を
求める。白位置の輝度値wの画素の平均色度C1w,C
2wを求める。
Similarly, the white position is determined. Y255 + Y
254+... And the cumulative frequency is obtained, and the cumulative frequency is 1
The luminance value (Yw) when the value exceeds 750 is set as the luminance value (w) at the black position. Next, the average chromaticity of the pixel having the luminance of Yw is obtained. Average chromaticity C1w, C of pixel with luminance value w at white position
Find 2w.

【0048】C1w=C1w total/Yw C2w=C2w total/Yw 以上の演算を行う事により「Y,C1,C2」色空間に
おいて、白位置(Yw,C1w,C2w)と黒位置(Y
k,C1k,C2k)を求めることができる。
C1w = C1w total / Yw C2w = C2w total / Yw In the “Y, C1, C2” color space, the white position (Yw, C1w, C2w) and the black position (Y
k, C1k, C2k).

【0049】尚、本実施形態では輝度値0と輝度値25
5の輝度位置から累積度数を求めたが、輝度値1と輝度
値254から求めるなど所定のオフセットを有していて
も良い。
In this embodiment, the luminance value is 0 and the luminance value is 25.
Although the cumulative frequency is calculated from the 5 luminance positions, a predetermined offset may be provided, for example, from the luminance value 1 and the luminance value 254.

【0050】(色かぶり補正)上記の通り原画像の
「Y、C1、C2」色空間における白位置、黒位置が求
められたら、引き続いて色かぶりの補正を行う。
(Color Fogging Correction) As described above, when the white position and the black position of the original image in the “Y, C1, C2” color space are obtained, the color fogging is subsequently corrected.

【0051】もし原画像に色かぶりが無く理想的な画像
であるとすれば、無彩色はR=G=Bであり、白位置、
黒位置の色度の演算値は「C1w=C2w=C1k=C
2k=0」となる。しかし色かぶりがある場合には、か
ぶっている色相方向に、かぶっている程度に比例して、
(Yw,C1w,C2w)と(Yk、C1k、C2k)
を結ぶ直線(色立体軸)に傾きが生じる。色かぶり補正
は該色立体軸とY軸が一致する様に変換する事で達成で
きる。方法は色立体を回転、平行移動させることでも達
成できるし、座標系を変換する事でも達成できる。
If the original image has no color cast and is an ideal image, the achromatic color is R = G = B and the white position,
The calculated value of the chromaticity at the black position is “C1w = C2w = C1k = C
2k = 0 ". However, if there is a color cast, in the direction of the hue being covered, in proportion to the degree of the covering,
(Yw, C1w, C2w) and (Yk, C1k, C2k)
Are inclined in the straight line (color solid axis) connecting the two. The color cast correction can be achieved by performing conversion so that the color solid axis and the Y axis coincide. The method can be achieved by rotating and translating the color solid, or by transforming the coordinate system.

【0052】本実施形態ではまず原画像の色立体におい
て、色立体軸の最低輝度点(下端点)を回転中心、色立
体軸を回転軸としてY軸と平行となる様に回転させる。
次いで前記最低輝度点の位置が(Y′,C1′,C
2′)空間の原点となるように座標系を変換する。
In the present embodiment, first, the color solid of the original image is rotated so that the lowest luminance point (lower end point) of the color solid axis is the center of rotation and the color solid axis is the axis of rotation so as to be parallel to the Y axis.
Next, the position of the lowest luminance point is (Y ', C1', C
2 ') Transform the coordinate system to be the origin of space.

【0053】図8(a)の色立体に対して色かぶり補正
を行った結果を図8(b)に示す。
FIG. 8B shows the result of performing color cast correction on the color solid of FIG. 8A.

【0054】以上の処理により、該最低輝度点が原点
で、色立体軸がY軸と一致する変換処理が実現する。
By the above processing, a conversion processing in which the lowest luminance point is the origin and the color solid axis coincides with the Y axis is realized.

【0055】3次元空間上で回転軸と回転角度が決まっ
ている系で、立体を所望の角度で回転させる回転行列を
求める手法は公知の技術であるので詳細な説明は省略す
る。
In a system in which a rotation axis and a rotation angle are determined in a three-dimensional space, a method of obtaining a rotation matrix for rotating a solid at a desired angle is a known technique, and a detailed description thereof will be omitted.

【0056】以上の様に、原画像の各画素を輝度、色度
データ(Y,C1、C2)に変換し、3次元色空間上で
回転、平行移動変換する(Y‘、C1’、C2‘)事に
より、色かぶりの補正を行う事が可能となる。
As described above, each pixel of the original image is converted into luminance and chromaticity data (Y, C1, C2), and rotated and translated in a three-dimensional color space (Y ', C1', C2). ') Makes it possible to perform color cast correction.

【0057】(露出、彩度補正)上記の色かぶり補正を
行う事で原画像の色相のずれを補正する事は可能である
が、更に画像レベルを向上する手段として露出補正、彩
度補正を行う。
(Exposure and Saturation Correction) The hue shift of the original image can be corrected by performing the above-mentioned color fogging correction. However, as a means for further improving the image level, exposure correction and saturation correction are performed. Do.

【0058】本実施形態では露出のオーバー、アンダー
を簡易的に判断し、それに応じて輝度信号にγ補正を施
し露出補正を行う。
In the present embodiment, over- and under-exposures are simply determined, and γ correction is performed on the luminance signal to perform exposure correction accordingly.

【0059】露出補正は入力輝度値0〜255を出力輝
度値0〜255に変換する1次元LUTにより行う。本
実施形態における該LUTは、黒位置(シャドーポイン
ト)の輝度値「Yk」と白位置(ホワイトポイント)の
輝度値「Yw」とその間に存在する変曲点の輝度値
「T’」の3点を結ぶ2直線として表現できる(図9参
照)。
Exposure correction is performed by a one-dimensional LUT that converts input luminance values 0 to 255 into output luminance values 0 to 255. The LUT according to the present embodiment has a luminance value “Yk” at a black position (shadow point), a luminance value “Yw” at a white position (white point), and a luminance value “T ′” at an inflection point existing therebetween. It can be expressed as two straight lines connecting points (see FIG. 9).

【0060】本実施形態では該黒位置の輝度値「Yk」
を輝度値「10」へ、該白位置の入力輝度値「Yw」を
輝度値「245」に変換する。更に該変曲点の輝度値
「T’」は次の通り定義し変換する。前記色かぶり補正
前の色立体軸とY軸(輝度軸)の最小距離をなす輝度値
をTとした時、該輝度値Tと原画像の色立体の最低輝度
値との差を変曲点の輝度値「T’」とする。該変曲点の
輝度値T’を前記輝度値「T」に変換する。
In the present embodiment, the luminance value “Yk” at the black position
Is converted into a luminance value “10”, and the input luminance value “Yw” at the white position is converted into a luminance value “245”. Further, the luminance value “T ′” of the inflection point is defined and converted as follows. Assuming that a luminance value forming a minimum distance between the color solid axis before color cast correction and the Y axis (luminance axis) is T, the difference between the luminance value T and the minimum luminance value of the color solid of the original image is an inflection point. Is assumed to be “T ′”. The luminance value T 'at the inflection point is converted to the luminance value "T".

【0061】即ち、図3の様に黒位置「Yk」は輝度値
「10」に(a点)、変曲点「T’」は輝度値「T」に
(b点)、白位置「Yw」は輝度値「245」に(c
点)に、夫々変換される。その他の原画像の輝度値は図
3の太線に記すように該「a」と「b」、「b」と
「c」を結んだ直線に沿って夫々変換する。
That is, as shown in FIG. 3, the black position “Yk” has a luminance value “10” (point a), the inflection point “T ′” has a luminance value “T” (point b), and the white position “Yw”. Is changed to a luminance value “245” (c
Point). The luminance values of the other original images are converted along the straight lines connecting “a” and “b” and “b” and “c”, respectively, as indicated by the thick lines in FIG.

【0062】更に、彩度補正は例えば以下のように行う
事が出来る。各原画素の色度C1,C2に対して、 C1“=n*C1‘ C2“=n*C2‘ (但し、nは彩度係数) 該彩度係数「n」を調整する事によって彩度補正を容易
に行う事が可能である。
Further, the saturation correction can be performed, for example, as follows. For the chromaticities C1 and C2 of each original pixel, C1 "= n * C1 'C2" = n * C2' (where n is a saturation coefficient) The saturation is adjusted by adjusting the saturation coefficient "n". Correction can be easily performed.

【0063】以上で本実施形態における各種補正が終了
する。この時点で原画像の各画素は(R、G、B)の色
信号データから(Y“,C1”,C2“)の色空間デー
タに変換された状態にあるので、再度(R‘,G‘,B
‘)の色信号データに逆変換する。該逆変換は以下の式
により行う。
Thus, the various corrections according to the present embodiment are completed. At this point, each pixel of the original image has been converted from the (R, G, B) color signal data to the (Y ", C1", C2 ") color space data. ', B
') Inverse conversion to color signal data. The inverse conversion is performed by the following equation.

【0064】R‘ =Y“+C” G‘ =Y“−(0.3/0.59)*C1”−(0.
11/0.59)*C2“ B‘ =Y“+C2”
R '= Y "+ C"G' = Y "-(0.3 / 0.59) * C1"-(0.
11 / 0.59) * C2 "B '= Y" + C2 "

【0065】(他の実施形態)上記実施形態では、画像
補正処理において最初に色かぶり補正を行い、その後に
露出のアンダーやオーバーを補正するいわゆるコントラ
スト調整を行ったが、その順序は問われない。また、ハ
イライト/シャドーポイントの決定方法や画像補正に関
するアルゴリズムは上記方法にかぎられず他の多種多様
の方法を用いることができる。
(Other Embodiments) In the above-described embodiment, the so-called contrast adjustment is first performed in the image correction processing, and then the so-called contrast adjustment for correcting underexposure or overexposure is performed. . Also, the method of determining the highlight / shadow point and the algorithm relating to the image correction are not limited to the above methods, and various other methods can be used.

【0066】また、上記実施形態では明度ヒストグラム
を作成するために単純平均を用いていたが、輝度信号に
比べて多少青色成分に重みをおいて作成した明るさをし
めす色成分に基づきヒストグラムを作成すればよい。
In the above-described embodiment, a simple average is used to create a brightness histogram. However, a histogram is created based on a color component indicating brightness created with a slight weighting on a blue component compared to a luminance signal. do it.

【0067】また、上記実施形態では、ヒストグラムに
おいて度数が0である値をカウントしたが、例えば度数
が1などの大略0度数をカウントするようにしても構わな
い。
Further, in the above-described embodiment, the value whose frequency is 0 in the histogram is counted. However, for example, approximately 0 frequency such as 1 may be counted.

【0068】また前述した実施形態の機能を実現する様
に各種のデバイスを動作させる様に該各種デバイスと接
続された装置あるいはシステム内のコンピュータに、前
記実施形態機能を実現するためのソフトウエアのプログ
ラムコードを供給し、そのシステムあるいは装置のコン
ピュータ(CPUあるいはMPU)を格納されたプログラムに
従って前記各種デバイスを動作させることによって実施
したものも本発明の範疇に含まれる。
Further, software for realizing the functions of the above-described embodiment is installed in a device connected to the various devices or a computer in the system so as to operate various devices so as to realize the functions of the above-described embodiment. The present invention also includes a program code supplied and executed by operating a computer (CPU or MPU) of the system or apparatus according to a stored program to operate the various devices.

【0069】またこの場合、前記ソフトウエアのプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコード自体、及びそのプログ
ラムコードをコンピュータに供給するための手段、例え
ばかかるプログラムコードを格納した記憶媒体は本発明
を構成する。
In this case, the program code itself of the software realizes the functions of the above-described embodiment, and the program code itself and means for supplying the program code to the computer, for example, the program code The storage medium storing the information constitutes the present invention.

【0070】かかるプログラムコードを格納する記憶媒
体としては例えばフロッピーディスク、ハードディス
ク、光ディスク、光磁気ディスク、CD-ROM,、磁気テー
プ、不揮発性のメモリカード、ROM等を用いることが出
来る。
As a storage medium for storing such a program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, magnetic tape, nonvolatile memory card, ROM or the like can be used.

【0071】またコンピュータが供給されたプログラム
コードを実行することにより、前述の実施形態の機能が
実現されるだけではなく、そのプログラムコードがコン
ピュータにおいて稼働しているOS(オペレーティングシ
ステム)、あるいは他のアプリケーションソフト等と共
同して前述の実施形態の機能が実現される場合にもかか
るプログラムコードは本発明の実施形態に含まれること
は言うまでもない。
When the computer executes the supplied program code, not only the functions of the above-described embodiment are realized, but also the OS (operating system) running on the computer or another program. Needless to say, the program code is also included in the embodiment of the present invention when the functions of the above-described embodiment are realized in cooperation with application software or the like.

【0072】更に供給されたプログラムコードが、コン
ピュータの機能拡張ボードやコンピュータに接続された
機能拡張ユニットに備わるメモリに格納された後そのプ
ログラムコードの指示に基づいてその機能拡張ボードや
機能格納ユニットに備わるCPU等が実際の処理の一部ま
たは全部を行い、その処理によって前述した実施形態の
機能が実現される場合も本発明に含まれることは言うま
でもない。
Further, the supplied program code is stored in a memory provided in a function expansion board of a computer or a function expansion unit connected to the computer, and then stored in the function expansion board or the function storage unit based on the instruction of the program code. It is needless to say that the present invention includes a case where a provided CPU or the like performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0073】[0073]

【発明の効果】以上説明したように本発明によれば、簡
単な構成で補正対象となる画像データがイメージ画像で
あるか判定し、イメージ画像以外に対してヒストグラム
に応じた画像補正処理を行うことを防ぐことができる。
As described above, according to the present invention, it is determined with a simple configuration whether image data to be corrected is an image image, and image correction processing according to a histogram is performed on an image other than the image image. Can be prevented.

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

【図1】システム構成の一例を示す図である。FIG. 1 is a diagram illustrating an example of a system configuration.

【図2】プリンタドライバで行う処理を説明する図であ
る。
FIG. 2 is a diagram illustrating processing performed by a printer driver.

【図3】画像補正処理部で行われる処理を説明する図で
ある。
FIG. 3 is a diagram illustrating a process performed by an image correction processing unit.

【図4】イメージ画像における輝度ヒストグラムの一例
を示す図である。
FIG. 4 is a diagram illustrating an example of a luminance histogram in an image image.

【図5】特定色で構成される画像における輝度ヒストグ
ラムの一例を示す図である。
FIG. 5 is a diagram illustrating an example of a luminance histogram in an image composed of a specific color.

【図6】一定範囲の輝度で構成される画像における輝度
ヒストグラムの一例を示す図である。
FIG. 6 is a diagram showing an example of a luminance histogram in an image composed of a certain range of luminance.

【図7】輝度ヒストグラム作成処理の流れを示す図であ
る。
FIG. 7 is a diagram showing a flow of a brightness histogram creation process.

【図8】色かぶり補正を説明する図である。FIG. 8 is a diagram illustrating color cast correction.

【図9】露出補正を行うLUTを説明する図である。FIG. 9 is a diagram illustrating an LUT for performing exposure correction.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 小倉 伸夫 東京都大田区下丸子3丁目30番2号キヤノ ン株式会社内 (72)発明者 矢野 健太郎 東京都大田区下丸子3丁目30番2号キヤノ ン株式会社内 (72)発明者 諏訪 徹哉 東京都大田区下丸子3丁目30番2号キヤノ ン株式会社内 Fターム(参考) 5C077 MP06 PP15 PP27 PP28 PP34 PP37 PP52 PP53 PQ19  ────────────────────────────────────────────────── ─── Continuing on the front page (72) Inventor Nobuo Ogura 3-30-2 Shimomaruko, Ota-ku, Tokyo Inside Canon Inc. (72) Inventor Kentaro Yano 3-30-2 Shimomaruko, Ota-ku, Tokyo (72) Inventor Tetsuya Suwa 3-30-2 Shimomaruko, Ota-ku, Tokyo F-term (reference) 5C077 MP06 PP15 PP27 PP28 PP34 PP37 PP52 PP53 PQ19

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 原画像のヒストグラムを作成し、 前記作成されたヒストグラムに基づく画像処理条件を設
定し、 前記原画像に対して画像処理を行う画像処理方法であっ
て、 前記作成されたヒストグラムの形状に基づき前記原画像
がイメージ画像であるか否かを判断し、 前記原画像がイメージでないと判断された場合は、前記
原画像に対して前記画像処理を行わないことを特徴とす
る画像処理方法。
An image processing method for creating a histogram of an original image, setting image processing conditions based on the created histogram, and performing image processing on the original image, comprising: Determining whether or not the original image is an image based on a shape; and determining that the image processing is not performed on the original image when determining that the original image is not an image. Method.
【請求項2】 前記作成されたヒストグラムにおける度
数が大略0である値をカウントし、 前記カウント結果に応じて、前記原画像がイメージであ
るか否かを判断することを特徴とする請求項1記載の画
像処理方法。
2. The method according to claim 1, wherein a value of which frequency is substantially zero in the created histogram is counted, and whether or not the original image is an image is determined according to the count result. The image processing method described in the above.
【請求項3】 前記ヒストグラムに基づき、原画像のハ
イライトポイントおよびシャドーポイントを検出し、 前記検出されたハイライトポイントおよびシャドーポイ
ントに基づき前記画像処理条件を設定することを特徴と
する請求項1記載の画像処理方法。
3. The method according to claim 1, wherein a highlight point and a shadow point of an original image are detected based on the histogram, and the image processing condition is set based on the detected highlight point and shadow point. The image processing method described in the above.
【請求項4】 さらに、前記原画像を示す描画命令を入
力し、 前記描画命令を解析することにより前記原画像がイメー
ジであるか否かを判断することを特徴とする請求項1記
載の画像処理方法。
4. The image according to claim 1, further comprising: inputting a drawing instruction indicating the original image, and determining whether the original image is an image by analyzing the drawing instruction. Processing method.
【請求項5】 前記画像処理は、入力画像を構成する各
原画像に対して独立に行うことを特徴とする請求項1記
載の画像処理方法。
5. The image processing method according to claim 1, wherein the image processing is independently performed on each original image forming the input image.
【請求項6】 前記作成されたヒストグラムに基づき原
画像のハイライトポイントおよびシャドーポイントを検
出し、 前記検出されたハイライトポイントとシャドーポイント
の値に基づき、前記原画像がイメージであるか否かを判
断することを特徴とする請求項1記載の画像処理方法。
6. A method for detecting a highlight point and a shadow point of an original image based on the generated histogram, and determining whether the original image is an image based on the detected highlight point and shadow point values. 2. The image processing method according to claim 1, wherein:
【請求項7】 原画像のヒストグラムを作成する作成手
段と、 前記作成されたヒストグラムに基づく画像処理条件を設
定する設定手段と、 前記原画像に対して画像処理を行う画像処理装置であっ
て、 前記作成されたヒストグラムの形状に基づき前記原画像
がイメージ画像であるか否かを判断する判断手段を有
し、 前記原画像がイメージでないと判断された場合は、前記
原画像に対して前記画像処理を行わないことを特徴とす
る画像処理装置。
7. An image processing apparatus, comprising: creating means for creating a histogram of an original image; setting means for setting image processing conditions based on the created histogram; and an image processing apparatus for performing image processing on the original image, And determining means for determining whether or not the original image is an image image based on the shape of the created histogram. If it is determined that the original image is not an image, the image is determined with respect to the original image. An image processing apparatus characterized by performing no processing.
【請求項8】 コンピュータで読み取り可能にプログラ
ムを記録する記録媒体であって、 原画像のヒストグラムを作成し、 前記作成されたヒストグラムに基づく画像処理条件を設
定し、 前記原画像に対して画像処理を行う画像処理方法であっ
て、 前記作成されたヒストグラムの形状に基づき前記原画像
がイメージ画像であるか否かを判断し、 前記原画像がイメージでないと判断された場合は、前記
原画像に対して前記画像処理を行わないようにするプロ
グラムを記録する記録媒体。
8. A recording medium for recording a program readable by a computer, wherein a histogram of an original image is created, image processing conditions based on the created histogram are set, and image processing is performed on the original image. An image processing method for determining whether or not the original image is an image image based on the shape of the created histogram.If it is determined that the original image is not an image, A recording medium for recording a program for preventing the image processing from being performed.
JP10177134A 1998-06-24 1998-06-24 Image processing method, device and recording medium Withdrawn JP2000013595A (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP10177134A JP2000013595A (en) 1998-06-24 1998-06-24 Image processing method, device and recording medium
US09/337,549 US6628830B1 (en) 1998-06-24 1999-06-22 Image processing method and apparatus and storage medium
US10/629,656 US7146045B2 (en) 1998-06-24 2003-07-30 Image processing method and apparatus and storage medium
US11/554,837 US7454059B2 (en) 1998-06-24 2006-10-31 Image processing method and apparatus and storage medium
US12/026,886 US7593570B2 (en) 1998-06-24 2008-02-06 Image processing method and apparatus and storage medium
US12/547,586 US7929761B2 (en) 1998-06-24 2009-08-26 Image processing method and apparatus and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10177134A JP2000013595A (en) 1998-06-24 1998-06-24 Image processing method, device and recording medium

Publications (1)

Publication Number Publication Date
JP2000013595A true JP2000013595A (en) 2000-01-14

Family

ID=16025784

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10177134A Withdrawn JP2000013595A (en) 1998-06-24 1998-06-24 Image processing method, device and recording medium

Country Status (1)

Country Link
JP (1) JP2000013595A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4521468B1 (en) * 2009-02-25 2010-08-11 株式会社東芝 Image processing apparatus and image processing method
JP2011066540A (en) * 2009-09-15 2011-03-31 Toshiba Corp Video processing apparatus and video processing method
JP2011181105A (en) * 2011-06-07 2011-09-15 Toshiba Corp Image processor and image processing method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4521468B1 (en) * 2009-02-25 2010-08-11 株式会社東芝 Image processing apparatus and image processing method
JP2010199976A (en) * 2009-02-25 2010-09-09 Toshiba Corp Image processor and image processing method
US7995146B2 (en) 2009-02-25 2011-08-09 Kabushiki Kaisha Toshiba Image processing apparatus and image processing method
JP2011066540A (en) * 2009-09-15 2011-03-31 Toshiba Corp Video processing apparatus and video processing method
US8212937B2 (en) 2009-09-15 2012-07-03 Kabushiki Kaisha Toshiba Video processing apparatus
JP2011181105A (en) * 2011-06-07 2011-09-15 Toshiba Corp Image processor and image processing method

Similar Documents

Publication Publication Date Title
JP4194133B2 (en) Image processing method and apparatus, and storage medium
JP3492202B2 (en) Image processing method, apparatus and recording medium
US7454059B2 (en) Image processing method and apparatus and storage medium
US20050185837A1 (en) Image-processing method, image-processing apparatus and image-recording apparatus
JP2001186365A (en) Picture processing method, picture processor and recording medium
JP2005210370A (en) Image processor, photographic device, image processing method, image processing program
JP3950551B2 (en) Image processing method, apparatus, and recording medium
JP2005192162A (en) Image processing method, image processing apparatus, and image recording apparatus
US20040240732A1 (en) Active color correction to compensate for near field color cast
JP2001189862A (en) Image processing method and image processing device
JP2000013625A (en) Image processing method, device and recording medium
JP2000013595A (en) Image processing method, device and recording medium
JP3817371B2 (en) Image processing method, apparatus, and recording medium
JP4402041B2 (en) Image processing method and apparatus, and storage medium
JP2000013622A (en) Image processing method, device and recording medium
JP4208889B2 (en) Image processing method, apparatus, and recording medium
JP2000011152A (en) Method and device for processing image and recording medium
JP4411357B2 (en) Image processing method, apparatus, and recording medium
JP4909428B2 (en) Image processing method and apparatus
JP4909308B2 (en) Image processing method and apparatus
JP4818459B2 (en) Image processing method and apparatus
JP2002281337A (en) Image processor, program for executing image processing function, and recording medium recoded with the program
JP2000101860A (en) Image correction method, image correction device and recording medium

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050906