JPH04192968A - Color image processor - Google Patents

Color image processor

Info

Publication number
JPH04192968A
JPH04192968A JP2326457A JP32645790A JPH04192968A JP H04192968 A JPH04192968 A JP H04192968A JP 2326457 A JP2326457 A JP 2326457A JP 32645790 A JP32645790 A JP 32645790A JP H04192968 A JPH04192968 A JP H04192968A
Authority
JP
Japan
Prior art keywords
color
color image
image
color correction
images
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
JP2326457A
Other languages
Japanese (ja)
Inventor
Akihiro Usami
宇佐美 彰浩
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 JP2326457A priority Critical patent/JPH04192968A/en
Priority to EP91120195A priority patent/EP0488176B1/en
Priority to DE69130941T priority patent/DE69130941T2/en
Priority to US07/797,967 priority patent/US5489997A/en
Publication of JPH04192968A publication Critical patent/JPH04192968A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To automatically execute good color correction by controlling color correction processing according to the color images inputted from electronic equipment. CONSTITUTION:A CPU 2 makes inference as to the kinds of the images stored into an image memory 1 in accordance with the program stored in a ROM 4 and fuzzy argument rule and sets the parameter of a color correction processing circuit 5 according to the discriminated kinds when various kinds of color images are taken into the memory 1 from a computer. The color correction processing meeting the kinds of the color images is executed in this way even with the once stored color images by such constitution. The good color correction is thus automatically executed without the aid of manpower.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明はカラー画像の種類に応じて自動的に処理をかえ
るカラー画像処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a color image processing apparatus that automatically changes processing depending on the type of color image.

[従来の技術] 従来のカラー画像処理装置は例えば特開昭61−296
858号公報に開示されているようにカラー画像に対し
、色補正関数の中の1組を指定するようになっていた。
[Prior art] A conventional color image processing device is, for example, disclosed in Japanese Patent Application Laid-Open No. 61-296.
As disclosed in Japanese Patent No. 858, one set of color correction functions is specified for a color image.

[発明が解決しようとしている課題] しかしながら上記従来例では入力されたカラー画像がど
の入力装置で入力したものかあらかじめわかっている場
合はよいが一旦、コンピュータに記憶されてからカラー
画像処理装置に送られる場合においては、その画像の種
類が何であるか不明となる。たとえば画像の種類とは、
CG (コンピュータグラフィックス)、イメージリー
ダーからの入力画像、ビデオカメラやSv(スチルビデ
オ)カメラからの入力画像、フィルムスキャナーからの
入力画像、リモートセンシングによる合成画像といった
ものがあり多種多様である。したがって画像の種類が不
明な場合どの色補正処理を選択すればよいかユーザーが
判断できなくなるという欠点があった。
[Problems to be Solved by the Invention] However, in the conventional example described above, it is possible to know in advance which input device the input color image was inputted from, but it is necessary to store the input color image in the computer and then send it to the color image processing device. In such cases, it is unclear what type of image it is. For example, the type of image is
There are a wide variety of images, including CG (computer graphics), input images from image readers, input images from video cameras and Sv (still video) cameras, input images from film scanners, and composite images by remote sensing. Therefore, if the type of image is unknown, the user cannot decide which color correction process to select.

本発明は一旦記憶したカラー画像であってもかかるカラ
ー画像の種類に適合した色補正処理を行うことが出来る
カラー画像処理装置を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a color image processing apparatus that can perform color correction processing suitable for the type of color image even if the color image is once stored.

[課題を解決するための手段] 本発明は上述の目的はを達成するため電子機器から入力
されるカラー画像データをカラー記録装置用に処理する
カラー画像処理装置であって、前記電子機器から入力さ
れるカラー画像の種類を判別する判別手段、判別された
種類に応じて色補正処理を制御する手段を有することを
特徴とする。
[Means for Solving the Problems] In order to achieve the above object, the present invention provides a color image processing device for processing color image data input from an electronic device for use in a color recording device. The present invention is characterized by comprising a determining means for determining the type of color image to be processed, and a means for controlling color correction processing according to the determined type.

[実施例] 第1図は本発明の一実施例の構成を示すブロック図であ
る。第1図において1は電子機器、例えばコンピュータ
から入力される画像データを記憶する画像メモリ、2は
回路各部を制御するとともにROM4に格納されている
プログラム及びファジー推論ルールに基づいて色補正処
理回路用パラメータを決定するCPU、3はCPU2の
ワーク用のRAM、5はCPU2からの色補正処理回路
用パラメータに基づいて色補正処理を行う色補正処理回
路であり、該処理回路5の出力はカラー画像処理装置に
出力される。
[Embodiment] FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In FIG. 1, 1 is an image memory that stores image data input from an electronic device, such as a computer, and 2 is a color correction processing circuit that controls each part of the circuit and is based on a program stored in ROM 4 and fuzzy inference rules. A CPU determines the parameters, 3 is a RAM for the work of the CPU 2, and 5 is a color correction processing circuit that performs color correction processing based on parameters for the color correction processing circuit from the CPU 2. The output of the processing circuit 5 is a color image. Output to the processing device.

次に本実施例の動作を第7図のフローチャートを用いて
説明する。
Next, the operation of this embodiment will be explained using the flowchart shown in FIG.

まずさまざまな種類のカラー画像が、コンピュータから
画像メモリlに例えばRGB信号として取り込まれる(
510)。次にCPU2によりRAM3、ROM4を使
って画像メモリからNコのRGB信号がサンプリングさ
れる(513,515) (第5図)。サンプリングさ
れたNコのRGB信号は夫々の最大値を1とし、最小値
を0とすれば第2図に示される立方体の色空間の座標に
ブロードすることができるので、第2図の立方体をいく
つかの領域たとえば第3図のように分割したものをあら
かじめROM3に記憶しておく。
First, various types of color images are imported from the computer into the image memory l as, for example, RGB signals (
510). Next, the CPU 2 samples N RGB signals from the image memory using the RAM 3 and ROM 4 (513, 515) (FIG. 5). If the maximum value of each of the N sampled RGB signals is set to 1 and the minimum value is set to 0, it can be spread to the coordinates of the cube color space shown in Figure 2, so the cube in Figure 2 can be Several areas, for example, divided areas as shown in FIG. 3, are stored in the ROM 3 in advance.

第3図は第2図の立方体のRG傷信号平面を示している
が実際は立方体を3次元的に分割している。そしてCP
U2がNコのRGB信号が分割された色領域にどれだけ
の個数はいるかまたは色数をカウントする(517)。
Although FIG. 3 shows the cubic RG flaw signal plane of FIG. 2, the cube is actually divided three-dimensionally. And C.P.
U2 counts how many RGB signals of N are included in the divided color area or the number of colors (517).

カウントされた結果はRAM4にストアされる。The counted result is stored in RAM4.

次にこれらのデータをもとにファジー推論を行なう(5
19)。
Next, perform fuzzy inference based on these data (5
19).

本実施例では前述した様な分割された色空間夫々のヒス
トグラムを作成することによりメモリlに格納された画
像の種類がどんな画像であるかを推論する。本実施例に
おけるファジー推論のルールの例としては下記のものを
用意してお(。
In this embodiment, the type of image stored in the memory l is inferred by creating a histogram for each of the divided color spaces as described above. The following are prepared as examples of fuzzy inference rules in this embodiment (.

■色数の少ない画像はCG (コンピュータゲラフック
ス)である。
■Images with a small number of colors are CG (computer galaxies).

■第3図のfの領域の多い画像もCGである。(2) The image with a large area f in FIG. 3 is also CG.

■第3図のCの領域が多く、dの領域が少ない画像はイ
メージリーダーからの画像である。
(2) The image in FIG. 3 in which the area C is large and the area d is small is an image from an image reader.

■第3図のbの領域が多(fの領域の少ない画像はビデ
オカメラやSV左カメラらの画像である。
■The area b in FIG. 3 is large (the image with a small area f is an image taken by a video camera or the SV left camera).

第4図i)〜iv)は、各領域での個数または色数のメ
ンバーシップ関数を示す図であり、あらかしめROM4
に入れておく。上記のルールの■を例として説明する。
FIG. 4 i) to iv) are diagrams showing the membership functions of the number of objects or the number of colors in each area, and
Put it in. The above rule (■) will be explained as an example.

サンプリングされたNコの信号のうち、すべての信号が
異なった値で同じ座標にならない時は色数はNになるが
、コンピュータ画像等の画像では色数が比較的少な(色
数は10色程度である。したがってルール1を適用する
と、「色数の少ない画像」のメンバーシップ関数第4図
の(iv)の「少ない」という関数をつかえば出力され
る値は1になる。他のルールに基づ(メンバーシップ関
数第4図i) ii) 1ii)ではかかる場合出力が
1にならない様に予めメンバーシップ関数が設定されて
いるのでこの画像はCGの一種というルール■が成立す
る。
When all of the N sampled signals have different values and do not have the same coordinates, the number of colors is N. However, in images such as computer images, the number of colors is relatively small (the number of colors is 10). Therefore, if you apply Rule 1, the membership function for "images with a small number of colors" If you use the function "few" in (iv) in Figure 4, the output value will be 1.Other rules Based on (membership function (i) in Figure 4) ii) In 1ii), since the membership function is set in advance so that the output does not become 1 in such a case, rule (2) that this image is a type of CG holds true.

これにより色補正処理回路5のパラメータはCG用のも
のが設定される。かかるパラメータへ一例としては色の
彩度が向上する様なパラメータが設定される。
As a result, the parameters of the color correction processing circuit 5 are set for CG. For example, a parameter that improves the saturation of a color is set as such a parameter.

設定が終了すると画像メモリからカラー画像記録装置へ
補正された画像信号が送られる。
When the settings are completed, the corrected image signal is sent from the image memory to the color image recording device.

尚ルールはI以外も実行され、ルールの条件部の結果と
して値のもっとも大きいもののルールが成立するとCP
U2は判断する様に予めプログラムされている。また同
じ値になるルールがある時はあらかじめ優先順位を決め
ておく。
Note that rules other than I are executed, and if the rule with the largest value is established as a result of the conditional part of the rule, CP
U2 is preprogrammed to make the decision. Also, if there are rules that have the same value, determine the priority order in advance.

第2図に示す色補正回路5の一例を第6図に示す。An example of the color correction circuit 5 shown in FIG. 2 is shown in FIG.

第6図において20は輝度濃度変換用RAM、22はマ
スキング、UCRを実行するハードウェアの回路である
。パラメータをかえる方法としては、輝度濃度変換のテ
ーブルをかえることやマスキングとUCRの係数をかえ
ることなどがある。
In FIG. 6, 20 is a RAM for luminance density conversion, and 22 is a hardware circuit for performing masking and UCR. Methods for changing the parameters include changing the brightness density conversion table and changing the masking and UCR coefficients.

[他の実施例] 色補正処理回路を第6図の様に2つの回路から構成する
のではな(、予め該回路をROMにしてCPU2が判別
した画像の種類に応じてROMのアドレスを切りかえる
ことも考えられる。
[Other Embodiments] Instead of configuring the color correction processing circuit from two circuits as shown in FIG. It is also possible.

またコンピュータ入力以外で、ビデオカメラやフィルム
スキャナからこの画像処理装置へ取り込まれたとしても
、自動的に判別することができ良好な出力画像が得られ
る。
Furthermore, even if the image is input to this image processing device from a video camera or film scanner other than through a computer input, it can be automatically discriminated and a good output image can be obtained.

また、第3図の領域をさらに細かく分割することや第4
図のメンバーシップ関数をふやして、画像の判別できる
種類をふやすことも可能である。
In addition, the area shown in Figure 3 can be further divided into smaller areas, and the area shown in Figure 4 can be further divided.
It is also possible to increase the types of images that can be distinguished by increasing the membership function of the diagram.

以上説明したように本実施例においてはコンピュータか
ら取り込んだ画像を演算手段によりファジー推論するこ
とで画像の種類の判別ができ、その結果にもとづき色補
正処理回路のパラメータが設定でき、ユーザーにわずら
れしさを与えることなく良好な画像を出力できる効果が
ある。
As explained above, in this embodiment, the type of image can be determined by performing fuzzy inference on an image imported from a computer using arithmetic means, and the parameters of the color correction processing circuit can be set based on the results. This has the effect of making it possible to output a good image without giving it an unrecognizable appearance.

[発明の効果] 以上説明した様に本発明に依れば電子機器から入力され
るカラー画像に応じて色補正処理を制御しているので人
手をわずられせることなく自動的に良好な色補正を行う
ことができる。
[Effects of the Invention] As explained above, according to the present invention, color correction processing is controlled according to a color image input from an electronic device, so that good colors can be automatically produced without any manual intervention. Corrections can be made.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例の回路ブロック図、第2図は
色空間を示す説明図、 第3図は第2図の色空間のRG平面を示す図、第4図は
本発明の一実施例のメンバーシップ関数を示す図、 第5図は、RGB信号のサンプリング状態を説明する図
、 第6図は、本発明の一実施例の色補正処理回路ブ5・・
・色補正処理回路 尺AI−120
Fig. 1 is a circuit block diagram of an embodiment of the present invention, Fig. 2 is an explanatory diagram showing the color space, Fig. 3 is a diagram showing the RG plane of the color space of Fig. 2, and Fig. 4 is a diagram showing the color space of the present invention. FIG. 5 is a diagram illustrating the sampling state of RGB signals; FIG. 6 is a diagram showing the membership function of an embodiment of the present invention; FIG.
・Color correction processing circuit length AI-120

Claims (3)

【特許請求の範囲】[Claims] (1)電子機器から入力されるカラー画像データをカラ
ー記録装置用に処理するカラー画像処理装置であって、
前記電子機器から入力されるカラー画像の種類を判別す
る判別手段、判別された種類に応じて色補正処理を制御
する手段を有することを特徴とするカラー画像処理装置
(1) A color image processing device that processes color image data input from an electronic device for use in a color recording device,
A color image processing apparatus comprising: a determining means for determining the type of color image input from the electronic device; and a means for controlling color correction processing according to the determined type.
(2)前記判別手段は記憶装置に一旦記憶された画像デ
ータをサンプリングし色分布を判別する手段であること
を特徴とする請求項(1)記載のカラー画像処理装置。
(2) The color image processing apparatus according to claim 1, wherein the determining means is a means for sampling image data once stored in a storage device and determining color distribution.
(3)前記判別手段は入力されるカラー画像の種類がコ
ンピュータグラフィックスであるかを判別する手段であ
ることを特徴とする請求項(1)記載のカラー画像処理
装置。
(3) The color image processing apparatus according to claim 1, wherein the determining means is a means for determining whether the type of input color image is computer graphics.
JP2326457A 1990-11-27 1990-11-27 Color image processor Pending JPH04192968A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2326457A JPH04192968A (en) 1990-11-27 1990-11-27 Color image processor
EP91120195A EP0488176B1 (en) 1990-11-27 1991-11-26 Color image processing apparatus
DE69130941T DE69130941T2 (en) 1990-11-27 1991-11-26 Color image processing device
US07/797,967 US5489997A (en) 1990-11-27 1991-11-26 Color image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2326457A JPH04192968A (en) 1990-11-27 1990-11-27 Color image processor

Publications (1)

Publication Number Publication Date
JPH04192968A true JPH04192968A (en) 1992-07-13

Family

ID=18188028

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2326457A Pending JPH04192968A (en) 1990-11-27 1990-11-27 Color image processor

Country Status (1)

Country Link
JP (1) JPH04192968A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003067748A (en) * 2001-08-28 2003-03-07 Kddi Corp Animation image exrtractor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003067748A (en) * 2001-08-28 2003-03-07 Kddi Corp Animation image exrtractor

Similar Documents

Publication Publication Date Title
KR970003091B1 (en) Display apparatus
US5247583A (en) Image segmentation method and apparatus therefor
CN106778928A (en) Image processing method and device
JPH04227585A (en) Method and apparatus for forming improved control-data line
EP0583055B1 (en) Image enhancement
EP0986896A1 (en) Color transformation system based on target color image
CN109862389A (en) A kind of method for processing video frequency, device, server and storage medium
US5489997A (en) Color image processing apparatus
JPH04192968A (en) Color image processor
CN111462158A (en) Image processing method and device, intelligent device and storage medium
US7532759B2 (en) Method, system and computer software product for selecting elements of a digital image
CN112561822B (en) Beautifying method and device, electronic equipment and storage medium
JP2936599B2 (en) Color image processing equipment
JPH03127284A (en) Color picture processing device
JPH08123940A (en) Method and device for extracting picture area
JPS62204379A (en) Picture processor
JP3209757B2 (en) Color correction method
JP2734099B2 (en) Blur image synthesis processing method
JPH06162180A (en) Area extraction system
Safibullaevna TECHNOLOGY OF IMAGE PROCESSING
JPH01191971A (en) Picture processor
JPH096962A (en) Evaluating method for sharpness
AU2013273630B2 (en) Observer preference model
KR0155925B1 (en) Digital color image
CN116486226A (en) Digital artwork examination method, device, electronic equipment and computer program product based on convolutional neural network