[go: up one dir, main page]

JP2000113172A - Image processing system and method - Google Patents

Image processing system and method

Info

Publication number
JP2000113172A
JP2000113172A JP10283046A JP28304698A JP2000113172A JP 2000113172 A JP2000113172 A JP 2000113172A JP 10283046 A JP10283046 A JP 10283046A JP 28304698 A JP28304698 A JP 28304698A JP 2000113172 A JP2000113172 A JP 2000113172A
Authority
JP
Japan
Prior art keywords
image
image processing
pixel
conversion
value
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
JP10283046A
Other languages
Japanese (ja)
Inventor
Jun Kiyokawa
純 清川
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 JP10283046A priority Critical patent/JP2000113172A/en
Publication of JP2000113172A publication Critical patent/JP2000113172A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

(57)【要約】 【課題】 キャッシュテーブルを用いて色合わせを行な
うカラーキャッシングにおいては、複雑な画像の色処理
に対してはむしろ低速であった。 【解決手段】 画像入力装置より入力された画像につい
て、ステップS317でその画素値が所定値以下であれ
ば、ステップS318でその下位ビットを切り捨てるよ
うに変換する。そしてステップS321では該変換後の
画素値によってキャッシュテーブルを検索することによ
り、効率の良い色合わせ処理が可能となる。
(57) [Problem] In color caching in which color matching is performed using a cache table, it is rather slow for color processing of a complicated image. If the pixel value of an image input from an image input device is equal to or less than a predetermined value in step S317, conversion is performed in step S318 so that lower bits are discarded. Then, in step S321, the cache table is searched using the pixel values after the conversion, so that efficient color matching processing can be performed.

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 method for digital color image data, and is particularly effective for improving the processing speed when a photographic image described by color signals suitable for display on a display is output to a printer. is there.

【0002】[0002]

【従来の技術】近年ホストコンピュータの高性能化によ
って、ホストコンピュータを中心としたマルチメディア
システムにおいて、画像データの入力装置と出力装置の
間で色合わせ処理を行う、所謂カラーマッチングシステ
ム(以後CMSと表記)が実用化されている。
2. Description of the Related Art In recent years, with the advancement of the performance of host computers, a so-called color matching system (hereinafter referred to as CMS) which performs color matching processing between an image data input device and an output device in a multimedia system centered on the host computer. Notation) has been put to practical use.

【0003】例えば、Apple社のColorSyn
cに代表されるCMSにおいては、入力装置に依存した
色空間(Device Dependent Color Space)から、装置に依
存しない色空間(Independent Color Space)への色信号
の変換、あるいは装置に依存しない色空間から出力装置
に依存した色空間への変換を容易に行うことができ、シ
ステム上共通したCMSを実現している。
[0003] For example, ColorSyn of Apple Inc.
In the CMS represented by c, conversion of a color signal from a color space dependent on an input device (Device Dependent Color Space) to a color space independent of a device (Independent Color Space), or a color space independent of a device. Conversion to a color space depending on the output device can be easily performed, and a CMS common to the system is realized.

【0004】このようなシステムにおいては、色合わせ
を実現するために、装置毎の色変換特性を表したデータ
であるプロファイルが、ホストコンピュータ内に用意さ
れている。そして、変換の際に自動もしくは手動で選ば
れたプロファイルの変換特性に応じて、色空間変換が行
われる。さらには、CMSによって装置に依存しない色
空間上での色信号処理・補正・変換も可能となってい
る。
In such a system, a profile, which is data representing the color conversion characteristics of each device, is prepared in the host computer in order to realize color matching. Then, color space conversion is performed according to the conversion characteristics of the profile automatically or manually selected at the time of conversion. Further, the CMS enables color signal processing, correction, and conversion in a color space independent of the device.

【0005】色空間変換に伴う色信号の演算処理におい
ては、一般に非線形演算や特開平7−193723に示
されるようなルックアップテーブル参照、及び補間等の
複雑な処理を伴う。このため、特開平8−279030
においては、以下に示されるようなカラーキャッシング
処理が提案されている。
[0005] The arithmetic processing of the color signal accompanying the color space conversion generally involves complicated processing such as non-linear operation, lookup table reference and interpolation as shown in JP-A-7-193723. For this reason, Japanese Patent Application Laid-Open No. 8-279030
Has proposed a color caching process as described below.

【0006】即ち、一度算出した変換前後の色信号値を
関係づけて、キャッシュテーブルと呼ばれる領域に格納
しておく。そして、その後の変換処理の際には、その時
の変換対象である色信号値がキャッシュテーブルに登録
されていれば、その色信号値に対する色空間変換演算処
理に代えて、キャッシュテーブルに該色信号値と関係づ
けて格納されているもう一方の信号値を、変換後の色信
号値として決定する。
That is, the color signal values before and after the conversion once calculated are related and stored in an area called a cache table. In the subsequent conversion process, if the color signal value to be converted at that time is registered in the cache table, the color signal value is stored in the cache table in place of the color space conversion calculation process for the color signal value. The other signal value stored in association with the value is determined as the converted color signal value.

【0007】[0007]

【発明が解決しようとする課題】近年のデジタルカメラ
等の画像入力装置や、CD−ROM等の安価な大容量記
憶装置の普及に伴い、CMSの対象となる画像として
は、写真画像を始め、画素レベルでの変化に富んだ複雑
な画像が増加しつつある。
With the spread of image input devices such as digital cameras and inexpensive large-capacity storage devices such as CD-ROMs in recent years, images to be subjected to CMS include photographic images, Complex images that are rich in changes at the pixel level are increasing.

【0008】しかしながら、上記従来のカラーキャッシ
ング処理は、このような複雑な画像の色処理に対しては
有効に作用せず、むしろカラーキャッシングを用いない
方が、色合わせ処理を高速に行える場合もある。
However, the above-described conventional color caching processing does not effectively work on such complicated image color processing. Rather, color matching processing can be performed at a higher speed without color caching. is there.

【0009】本発明は上述した問題に鑑みてなされたも
のであり、カラーキャッシングによる色合わせ処理を高
速に可能とする画像処理システム及びその方法を提供す
ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and has as its object to provide an image processing system and a method thereof that enable high-speed color matching processing by color caching.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
の一手法として、本発明の画像処理方法は以下の工程を
備える。
According to one aspect of the present invention, an image processing method includes the following steps.

【0011】即ち、画像入力装置と画像出力装置とを備
える画像処理システムにおける画像処理方法であって、
前記画像入力装置より画像を入力する入力工程と、該入
力画像の画素値が所定値以下であるかを判定する判定工
程と、前記判定工程において画素値が所定値以下である
と判定された画素の下位ビットを変換する下位ビット変
換工程と、該下位ビットが変換された画素をテーブルに
基づいて変換するテーブル変換工程と、該テーブル変換
工程による変換後の画素を前記画像出力装置へ出力する
出力工程と、を有することを特徴とする。
That is, an image processing method in an image processing system including an image input device and an image output device,
An input step of inputting an image from the image input device, a determining step of determining whether a pixel value of the input image is equal to or less than a predetermined value, and a pixel whose pixel value is determined to be equal to or less than a predetermined value in the determining step A lower bit conversion step of converting the lower bits of the table, a table conversion step of converting the pixels whose lower bits have been converted based on the table, and an output of outputting the pixels converted by the table conversion step to the image output device. And a step.

【0012】例えば、前記下位ビット変換工程において
は、前記判定工程において画素値が所定値以下であると
判定された画素の所定桁数の下位ビットを0に置き換え
ることを特徴とする。
For example, in the lower bit conversion step, a predetermined number of lower bits of a pixel whose pixel value is determined to be equal to or smaller than a predetermined value in the determination step is replaced with 0.

【0013】[0013]

【発明の実施の形態】<本発明の原理>まず、本発明の原
理について簡単に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS <Principle of the Present Invention> First, the principle of the present invention will be briefly described.

【0014】一般に、プリンタのような画像出力装置に
対して与えられ色信号値は、各色成分(以下、「要素」
と称する)毎に8ビットあるいは16ビットで表される
ことが主流である。しかしながら、ほとんどの画像出力
装置においては、例えば1要素について8ビットすなわ
ち256階調のデータを与えたとしても、実際の出力は
8ビットよりも数ビット分低い階調でしか出力できな
い。
Generally, a color signal value given to an image output device such as a printer is represented by each color component (hereinafter referred to as “element”).
) Is mainly represented by 8 bits or 16 bits. However, in most image output devices, even if, for example, data of 8 bits, that is, 256 gradations is provided for one element, an actual output can be output only at gradations several bits lower than 8 bits.

【0015】また、プリンタに対して与えられる画像
(変換元画像)の多くは、画像表示装置(ディスプレ
イ)に適した信号値で記述されている。CRTのような
ディスプレイの特性は、色信号値の各要素Sx(最大値
Smax)と出力輝度Yxの関係として、定数γxを用いて
下式(1)のように表される。尚、同式において「^」
は階乗を示すとする。
Many of the images (conversion source images) given to the printer are described with signal values suitable for an image display device (display). The characteristics of a display such as a CRT are expressed by the following equation (1) using a constant γx as the relationship between each element Sx (maximum value Smax) of the color signal value and the output luminance Yx. Note that "に お い て"
Indicates the factorial.

【0016】 Yx=(Sx/Smax)^γx ・・・(1) (1)式によれば、輝度に対して色信号が均等に割り当
てられていない、つまり非線形特性を持っていることが
分かる。一般に、γxは1.4〜2.2程度の値であ
り、要素値が大きい程、輝度の変化率が大きくなる。よ
って、輝度の変化率が小さい、即ち要素値が小さい部分
では、要素値の下位1〜2ビットを変化させても、出力
輝度にはほとんど影響が現れないと考えられる。
Yx = (Sx / Smax) ^ γx (1) According to the equation (1), it can be seen that the chrominance signal is not uniformly allocated to the luminance, that is, it has a nonlinear characteristic. . Generally, γx is a value of about 1.4 to 2.2, and the larger the element value, the larger the change rate of luminance. Therefore, in a portion where the change rate of the luminance is small, that is, in a portion where the element value is small, it is considered that even if the lower one or two bits of the element value are changed, the output luminance is hardly affected.

【0017】従って、測定値(例えば輝度)の変化が少
ない要素の下位ビットを切り捨てて0にした画像におい
ては、同一色信号の出現する可能性が高くなり、カラー
キャッシングの効果が大きくなる。
Therefore, in an image in which the lower bits of elements having a small change in the measured value (for example, luminance) are truncated to zero, the possibility of the appearance of the same color signal increases, and the effect of color caching increases.

【0018】そこで発明者は、一般の写真画像と、該写
真画像に対して一定値未満の要素値については下位ビッ
トを切り捨てる処理を施した画像とを用意し、これら両
画像に対して、CRTを入力機器、カラープリンタを出
力機器としたカラーキャッシングによるCMSを施す実
験を行った。するとその結果、元の画像によって差はあ
るものの、4〜13%の処理時間短縮が認められ、カラ
ープリンタからの出力物にはほとんど差が認められなか
った。
Therefore, the inventor prepares a general photographic image and an image which has been subjected to a process of truncating lower-order bits for an element value less than a certain value with respect to the photographic image. An experiment was conducted in which CMS by color caching was performed using an input device and a color printer as an output device. As a result, although there was a difference depending on the original image, the processing time was shortened by 4 to 13%, and there was almost no difference in the output from the color printer.

【0019】本発明は以上の点を踏まえて成されたもの
である。以下、本発明に係る一実施形態について、図面
を参照して詳細に説明する。
The present invention has been made based on the above points. Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

【0020】<画像処理システム構成>図1は、本実施形
態における画像処理システムの構成を示すブロック図で
ある。本システムは主に、入力装置であるカメラ111
及びスキャナ112、編集処理及び色合わせ処理等を行
うホストコンピュータ10、出力装置であるモニタ12
及びプリンタ13により構成されている。ここでホスト
コンピュータ10は、同じ動作を実現する専用ハードウ
エアに置き換えることも可能である。
<Image Processing System Configuration> FIG. 1 is a block diagram showing the configuration of an image processing system according to the present embodiment. This system mainly includes a camera 111 as an input device.
A scanner 112, a host computer 10 for performing editing processing and color matching processing, and a monitor 12 as an output device.
And a printer 13. Here, the host computer 10 can be replaced with dedicated hardware that realizes the same operation.

【0021】カメラ111は、デジタルカメラやビデオ
カメラ等、撮影画像を入力する入力装置である。スキャ
ナ112は、フラットベッドスキャナやフィルムスキャ
ナ等、原稿画像を読取って入力する入力装置である。モ
ニタ12は、CRTや液晶等によるディスプレイであ
り、画像を表示する他、ユーザがシステムに入力を行っ
たり、システム動作を確認するのに必要な情報を表示す
る表示装置である。プリンタ13は、記録媒体に記録剤
を用いて画像を形成する出力装置である。
The camera 111 is an input device for inputting a captured image, such as a digital camera or a video camera. The scanner 112 is an input device for reading and inputting a document image, such as a flatbed scanner or a film scanner. The monitor 12 is a display such as a CRT or a liquid crystal, and is a display device that displays an image and also displays information necessary for a user to make an input to the system or to confirm a system operation. The printer 13 is an output device that forms an image on a recording medium using a recording material.

【0022】外部記憶装置14は、ハードディスク、光
磁気ディスクあるいはフロッピーディスク等の記憶媒体
及びそれらの読み書き装置であるドライブからなり、ホ
ストコンピュータ10は外部記憶装置14にカメラ11
1やスキャナ112から供給された画像データを記憶さ
せたり、記憶させた画像データに色合わせ処理や編集処
理を施したり、処理済みの画像データを再度記憶させた
りすることができる。また、必要に応じて記憶している
画像をモニタ12に表示させたり、プリンタ13に供給
し、記録紙等に印刷させることができる。
The external storage device 14 is composed of a storage medium such as a hard disk, a magneto-optical disk or a floppy disk and a drive which is a read / write device for them.
The image data supplied from the scanner 1 or the scanner 112 can be stored, a color matching process or an editing process can be performed on the stored image data, and the processed image data can be stored again. Further, the stored image can be displayed on the monitor 12 or supplied to the printer 13 and printed on a recording paper or the like as needed.

【0023】外部記憶装置14には、色合わせ処理に必
要な装置毎のプロファイルも記憶されており、ホストコ
ンピュータ10は必要に応じて該プロファイルを読み込
み、入力装置と出力装置との間における色合わせ処理を
行うことができる。
The external storage device 14 also stores a profile for each device required for color matching processing, and the host computer 10 reads the profile as necessary, and performs color matching between an input device and an output device. Processing can be performed.

【0024】通常、本実施形態における画像処理を実現
するための制御プログラムは、ホストコンピュータ10
内の不図示のROM等に記憶されているが、外部記憶装
置14に該制御プログラムを記憶することも可能であ
る。この場合ホストコンピュータ10は、ユーザーの指
示に応じて外部記憶装置14に記憶されたプログラムを
ホストコンピュータ10内に読み込み、実行することに
よって、本実施形態の画像処理を実現することができ
る。
Normally, a control program for realizing image processing in the present embodiment is executed by the host computer 10.
The control program is stored in the ROM (not shown) or the like, but it is also possible to store the control program in the external storage device 14. In this case, the host computer 10 reads the program stored in the external storage device 14 into the host computer 10 in accordance with a user's instruction, and executes the program, thereby realizing the image processing of the present embodiment.

【0025】キーボード15及びマウス16は、必要に
応じてユーザーによって操作され、ホストコンピュータ
10に所定の指示を入力することができる。
The keyboard 15 and the mouse 16 are operated by the user as required, and can input predetermined instructions to the host computer 10.

【0026】図2に、ホストコンピュータ10の詳細構
成の一例を示す。同図において21はコンソールであ
り、図1に示したキーボード15、マウス16、モニタ
12等からなり、入出力インタフェース22を介してC
PU17に接続されている。
FIG. 2 shows an example of the detailed configuration of the host computer 10. In the figure, reference numeral 21 denotes a console, which comprises the keyboard 15, mouse 16, monitor 12, and the like shown in FIG.
It is connected to PU17.

【0027】CPU17は、システム全体を制御するシ
ステム制御部171、種々の演算を実行する演算処理部
172、及び演算時に必要となるデータを随時記憶す
る、レジスタと呼ばれるワーキングメモリ173を有し
ている。CPU17は、ホストコンピュータ10内に読
み込まれ、RAM19に記憶されている画像データに対
して、ROM18あるいはRAM19に記憶されている
プログラムに基づいて色合わせ処理を施し、出力装置
(モニタ12又はプリンタ13)に出力する。
The CPU 17 has a system control section 171 for controlling the entire system, an arithmetic processing section 172 for executing various arithmetic operations, and a working memory 173 called a register for storing data necessary for the arithmetic operation as needed. . The CPU 17 performs a color matching process on the image data read in the host computer 10 and stored in the RAM 19 based on a program stored in the ROM 18 or the RAM 19, and an output device (the monitor 12 or the printer 13). Output to

【0028】ビデオRAM23は、モニタ12に表示す
る画面を記憶する。
The video RAM 23 stores a screen to be displayed on the monitor 12.

【0029】<プロファイル説明>本システムにおいて考
えられる入力装置−出力装置の組み合わせは、以下に示
す通りである。
<Explanation of Profile> Possible combinations of input devices and output devices in the present system are as follows.

【0030】 (1)カメラ111−モニタ12 (2)カメラ111−プリンタ13 (3)スキャナ112−モニタ12 (4)スキャナ112−プリンタ13 (5)モニタ12−プリンタ13 (6)プリンタ13−モニタ12 ここで、(6)の組み合わせは所謂プレビュー処理を示
し、プリンタ13で出力されるであろう画像を予めモニ
タ12に表示し、ユーザが確認する処理である。
(1) Camera 111-Monitor 12 (2) Camera 111-Printer 13 (3) Scanner 112-Monitor 12 (4) Scanner 112-Printer 13 (5) Monitor 12-Printer 13 (6) Printer 13-Monitor 12. Here, the combination of (6) indicates a so-called preview process, in which an image that will be output by the printer 13 is displayed on the monitor 12 in advance, and the user confirms the image.

【0031】本実施形態においては、このような各組み
合わせに対応して、それぞれ異なる色合わせ処理を行う
必要がある。本実施形態の色合わせ処理を実行する際
に、CPU17は外部記憶装置14から入力装置に対応
した入力プロファイル、及び出力装置に対応した出力プ
ロファイルを読み出す。
In the present embodiment, it is necessary to perform different color matching processing for each of such combinations. When executing the color matching processing of the present embodiment, the CPU 17 reads an input profile corresponding to the input device and an output profile corresponding to the output device from the external storage device 14.

【0032】ここで、プロファイルには、装置に依存す
る色信号と装置非依存の色信号との関係を示すデータが
格納されている。つまり、入力プロファイルには、入力
装置依存の色信号を装置非依存の色信号に変換するため
のデータが格納されている。一方、出力プロファイルに
は、装置非依存の色信号を出力装置依存の色信号に変換
するためのデータが格納されている。尚、出力プロファ
イルは、入力画像データの色信号を出力装置の色再現範
囲内の色信号に変換する処理(色空間圧縮)を含んだデ
ータであっても構わない。
Here, the profile stores data indicating the relationship between device-dependent color signals and device-independent color signals. That is, the input profile stores data for converting an input device-dependent color signal into a device-independent color signal. On the other hand, the output profile stores data for converting a device-independent color signal into an output device-dependent color signal. Note that the output profile may be data including a process (color space compression) of converting a color signal of input image data into a color signal within a color reproduction range of the output device.

【0033】即ちCPU17は、入力装置に対応する入
力プロファイルと出力装置に対応する出力プロファイル
を外部記憶装置14から読み出し、入力装置依存の色信
号を、CIELAB表色系等の装置非依存の色信号経由
で、出力装置依存の色信号に変換する。例えば、上記
(2)の組み合わせの場合、カメラ111のプロファイ
ルとプリンタ13のプロファイルとを参照することによ
り、カメラ111から入力されたRGB形式の色信号を
一旦CIELAB形式に変換し、その後、該CIELA
B形式の信号をプリンタ13において出力可能なCMY
形式に変換する。
That is, the CPU 17 reads the input profile corresponding to the input device and the output profile corresponding to the output device from the external storage device 14 and converts the input device-dependent color signal into a device-independent color signal such as the CIELAB color system. Through the output device, the color signal is converted into an output device-dependent color signal. For example, in the case of the combination of the above (2), by referring to the profile of the camera 111 and the profile of the printer 13, the RGB color signals input from the camera 111 are once converted into the CIELAB format, and then the CIELA
CMY capable of outputting B-format signals in the printer 13
Convert to format.

【0034】尚、本実施形態におけるプロファイルは、
インターカラープロファイルフォーマット(InterColor
Profile Format)に準拠した構造である。
The profile in this embodiment is as follows:
InterColor Profile Format (InterColor
Profile Format).

【0035】<色合わせ処理>図3は本実施形態における
色合わせ処理を示すフローチャートである。上述したよ
うに、該フローチャートに示す処理は制御プログラムと
してROM18に格納されており、CPU17によって
読み出されて実行される。
<Color Matching Process> FIG. 3 is a flowchart showing the color matching process in this embodiment. As described above, the processing shown in the flowchart is stored in the ROM 18 as a control program, and is read and executed by the CPU 17.

【0036】まず、処理対象となる元画像データを選択
し(S310)、次いで外部記憶装置14において処理
後の画像データを格納する領域を確保し(S311)、
同じくキャッシュテーブルを格納する領域を確保する
(S312)。そして、入力装置に対応するプロファイ
ル及び出力装置に対応するプロファイルを外部記憶装置
14から選択する(S313)。
First, original image data to be processed is selected (S310), and an area for storing the processed image data is secured in the external storage device 14 (S311).
Similarly, an area for storing the cache table is secured (S312). Then, a profile corresponding to the input device and a profile corresponding to the output device are selected from the external storage device 14 (S313).

【0037】そして、元画像データ内の未処理画素を1
つ選択(S314)した後、該選択した画素の色信号を
読み出し(S315)、更に、該読み出した色信号内で
未処理である要素を選択する(S316)。該要素値が
所定の定数よりも小さければ(S317)、該要素にお
いて所定桁数の下位ビットを全て0にした値を算出し
(S318)、該算出した値で該要素を書き換える(S
319)。そして、該色信号において未処理の要素があ
れば(S320)、処理はステップS316に戻る。
Then, the unprocessed pixel in the original image data is set to 1
After the selection (S314), the color signal of the selected pixel is read (S315), and an unprocessed element is selected from the read color signal (S316). If the element value is smaller than the predetermined constant (S317), a value in which all lower bits of the predetermined number of digits are set to 0 in the element is calculated (S318), and the element is rewritten with the calculated value (S318).
319). If there is an unprocessed element in the color signal (S320), the process returns to step S316.

【0038】ステップS320において、該色信号につ
いて全要素の処理が終了したのであれば、キャッシュテ
ーブルを該色信号の値で検索し(S321)、該色信号
の値(各要素値)がキャッシュテーブルに第1の色信号
値(入力値)として既に登録されているか否かを判定す
る(S322)。登録されていれば、変換後の色信号値
(出力色信号値)とするために、キャッシュテーブル内
に該第1の色信号値に関連づけて格納されている第2の
色信号値(出力値)を読み出し(S323)、処理をス
テップS327に移す。
In step S320, if the processing of all the elements has been completed for the color signal, the cache table is searched for the value of the color signal (S321), and the value (each element value) of the color signal is stored in the cache table. Is determined as a first color signal value (input value) (S322). If registered, the second color signal value (output value) stored in the cache table in association with the first color signal value in order to use the converted color signal value (output color signal value). ) Is read (S323), and the process proceeds to step S327.

【0039】一方、ステップS322において該色信号
の値が登録されていなければ、ステップS313で選択
したプロファイルに基づいて、入力色信号値(要素値)
より出力色信号値を算出する(S324)。そして、キ
ャッシュテーブル内に新たな色信号値を格納する領域を
確保あるいは検索(S325)した後、ステップS31
8で算出した要素値を第1の色信号値とし、ステップS
324で算出した値を第2の色信号値として、該領域に
格納する(S326)。尚、キャッシュテーブルに新た
に格納する第1の色信号値としては、ステップS318
で特に算出されていないのであれば、ステップS315
で読み出した色信号値そのもので良い。
On the other hand, if the value of the color signal is not registered in step S322, the input color signal value (element value) is determined based on the profile selected in step S313.
Then, an output color signal value is calculated (S324). Then, after securing or searching for an area for storing a new color signal value in the cache table (S325), step S31 is performed.
The element value calculated in step 8 is used as the first color signal value,
The value calculated in 324 is stored in the area as a second color signal value (S326). Note that the first color signal value newly stored in the cache table is set in step S318.
If not calculated in step S315, step S315
The color signal value read out in step (1) may be used.

【0040】処理はステップS327に進み、ステップ
S311で確保した処理後の画像データを格納する領域
において、ステップS314で選択した画素と画像空間
的に同位置となる画素位置を決定する。そして、該画素
位置に、ステップS323で読み出した出力色信号、あ
るいはステップS324で算出した出力色信号値を書き
込む(S328)。
The process proceeds to step S327, and in the area for storing the processed image data secured in step S311, a pixel position which is the same as the pixel selected in step S314 in image space is determined. Then, the output color signal read in step S323 or the output color signal value calculated in step S324 is written in the pixel position (S328).

【0041】そして、該画素を処理済画素とした後(S
329)、元画像データ内の全ての画素について処理が
終了したか否かを判定し(S330)、未処理画素が存
在すれば処理をステップS314に戻し、次の画素につ
いての処理を継続する。
After setting the pixel as a processed pixel (S
329), it is determined whether or not processing has been completed for all pixels in the original image data (S330). If there is an unprocessed pixel, the process returns to step S314, and processing for the next pixel is continued.

【0042】全画素について処理が終了していれば、処
理後の画像データをユーザーが所望する出力装置、即ち
モニタ12もしくはプリンタ13に送信する(S33
1)。
If the processing has been completed for all pixels, the processed image data is transmitted to the output device desired by the user, that is, the monitor 12 or the printer 13 (S33).
1).

【0043】尚、上記ステップS317における所定の
定数、及びステップS318における所定桁数は、シス
テム内において固定された値であっても良いし、ユーザ
ーがコンソール21を用いて入力しても良い。また、入
出力のいずれかのプロファイルに記述しておいても良
い。
The predetermined constant in step S317 and the predetermined number of digits in step S318 may be fixed values in the system, or may be input by the user using the console 21. Also, it may be described in any of the input and output profiles.

【0044】また、本実施形態においては、画素値が所
定値以下である画素に対してその下位ビットを0に置き
換える例について説明したが、この画素値の閾値として
は、1つの値に限定されない。例えば、2つの閾値を用
意しておき、それぞれについて変換する下位ビットの桁
数を定めても良い。
Further, in the present embodiment, an example has been described in which the lower-order bit of a pixel whose pixel value is equal to or less than a predetermined value is replaced with 0, but the threshold value of this pixel value is not limited to one value. . For example, two thresholds may be prepared, and the number of digits of the lower bit to be converted may be determined for each.

【0045】以上説明したように本実施形態によれば、
実用上に問題とならない程度に、色信号の要素値を変換
することによって、画像中において同一色信号の出現す
る可能性を高くすることができる。従って、キャッシュ
テーブルを用いて色変換を行なうカラーキャッシングが
より有効に実行されるため、入力装置と出力装置との間
における色合わせの処理速度を上げることができる。
As described above, according to the present embodiment,
By converting the element values of the color signal to a level that does not cause a problem in practical use, the possibility that the same color signal appears in the image can be increased. Therefore, since the color caching for performing the color conversion using the cache table is more effectively executed, the processing speed of the color matching between the input device and the output device can be increased.

【0046】[0046]

【他の実施形態】なお、本発明は、複数の機器(例えば
ホストコンピュータ,インタフェイス機器,リーダ,プ
リンタなど)から構成されるシステムに適用しても、一
つの機器からなる装置(例えば、複写機,ファクシミリ
装置など)に適用してもよい。
[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.).

【0047】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体を、システムあるいは装置に供給し、そ
のシステムあるいは装置のコンピュータ(またはCPU
やMPU)が記憶媒体に格納されたプログラムコードを
読出し実行することによっても、達成されることは言う
までもない。
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.

【0048】この場合、記憶媒体から読出されたプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコードを記憶した記憶媒体は
本発明を構成することになる。
In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.

【0049】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピディスク,ハードディス
ク,光ディスク,光磁気ディスク,CD−ROM,CD
−R,磁気テープ,不揮発性のメモリカード,ROMな
どを用いることができる。
As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD
-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

【0050】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼働しているOS(オペレ
ーティングシステム)などが実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれることは言うまでもない。
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the 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.

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

【0052】本発明を上記記憶媒体に適用する場合、そ
の記憶媒体には、先に説明したフローチャートに対応す
るプログラムコードを格納することになる。
When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the flowcharts described above.

【0053】[0053]

【発明の効果】以上説明したように本発明によれば、実
用上画像の色の見えを変えることなく、画像中の同一色
信号の出現する可能性が高くなり、カラーキャッシング
が有効に作用する画像処理方法を提供することができ
る。
As described above, according to the present invention, the likelihood of appearance of the same color signal in an image is increased without actually changing the color appearance of the image, and color caching works effectively. An image processing method can be provided.

【0054】[0054]

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

【図1】本発明に係る一実施形態における画像処理シス
テムの構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an image processing system according to an embodiment of the present invention.

【図2】ホストコンピュータ10の詳細構成を示すブロ
ック図である。
FIG. 2 is a block diagram showing a detailed configuration of a host computer 10.

【図3】本実施形態における色合わせ処理を示すフロー
チャートである。
FIG. 3 is a flowchart illustrating a color matching process according to the embodiment.

【符号の説明】[Explanation of symbols]

111 カメラ 112 スキャナ 12 モニタ 13 プリンタ 14 外部記憶装置 15 キーボード 16 マウス 17 CPU 18 ROM 19 RAM 21 コンソール 22 入出力インタフェース 23 ビデオRAM 111 Camera 112 Scanner 12 Monitor 13 Printer 14 External Storage Device 15 Keyboard 16 Mouse 17 CPU 18 ROM 19 RAM 21 Console 22 Input / Output Interface 23 Video RAM

フロントページの続き Fターム(参考) 5B050 AA10 BA07 BA10 BA13 BA18 CA09 DA02 DA04 EA09 FA03 FA05 FA19 5C077 LL18 MM03 MP08 PP31 PP39 PP41 PP43 PP54 PQ08 PQ12 PQ22 PQ23 SS02 TT02 5C079 HA13 HA19 HB01 HB02 HB11 JA23 LA02 LB02 LB11 MA02 MA04 MA10 MA11 MA17 MA20 NA03 NA11 NA17 PA03 PA05Continued on the front page F-term (reference) 5B050 AA10 BA07 BA10 BA13 BA18 CA09 DA02 DA04 EA09 FA03 FA05 FA19 5C077 LL18 MM03 MP08 PP31 PP39 PP41 PP43 PP54 PQ08 PQ12 PQ22 PQ23 SS02 TT02 5C079 HA13 HA19 HB01 MA0211 MA11 MA17 MA20 NA03 NA11 NA17 PA03 PA05

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 画像入力装置と画像出力装置とを備える
画像処理システムにおける画像処理方法であって、 前記画像入力装置より画像を入力する入力工程と、 該入力画像の画素値が所定値以下であるかを判定する判
定工程と、 前記判定工程において画素値が所定値以下であると判定
された画素の下位ビットを変換する下位ビット変換工程
と、 該下位ビットが変換された画素をテーブルに基づいて変
換するテーブル変換工程と、 該テーブル変換工程による変換後の画素を前記画像出力
装置へ出力する出力工程と、を有することを特徴とする
画像処理方法。
1. An image processing method in an image processing system including an image input device and an image output device, comprising: an input step of inputting an image from the image input device; and a pixel value of the input image being equal to or less than a predetermined value. A determination step of determining whether there is a pixel, a lower bit conversion step of converting lower bits of a pixel whose pixel value is determined to be equal to or less than a predetermined value in the determination step, and An image processing method, comprising: a table conversion step of performing a conversion by a table conversion step; and an output step of outputting pixels converted by the table conversion step to the image output device.
【請求項2】 前記下位ビット変換工程においては、前
記判定工程において画素値が所定値以下であると判定さ
れた画素の所定桁数の下位ビットを0に置き換えること
を特徴とする請求項1記載の画像処理方法。
2. The method according to claim 1, wherein, in the lower bit conversion step, lower bits of a predetermined number of digits of a pixel whose pixel value is determined to be equal to or smaller than a predetermined value in the determination step are replaced with 0. Image processing method.
【請求項3】 前記テーブル変換工程においては、前記
画像入力装置と画像出力装置間における色合わせを行な
うことを特徴とする請求項1記載の画像処理方法。
3. The image processing method according to claim 1, wherein in the table conversion step, color matching between the image input device and the image output device is performed.
【請求項4】 前記テーブルは、キャッシュテーブルで
あることを特徴とする請求項3記載の画像処理方法。
4. The image processing method according to claim 3, wherein said table is a cache table.
【請求項5】 更に、メモリに保持された前記画像入力
装置及び画像出力装置の特性情報に基づいて、前記下位
ビット変換工程による変換後の画素に対する色変換出力
値を算出する算出工程と、 該算出工程によって算出された色変換出力値を前記下位
ビット変換工程による変換後の画素と関連付けて前記テ
ーブルに格納する格納工程と、を有することを特徴とす
る請求項1記載の画像処理方法。
5. A calculating step of calculating a color conversion output value for a pixel converted by the lower bit conversion step based on characteristic information of the image input device and the image output device stored in a memory; 2. The image processing method according to claim 1, further comprising: storing the color conversion output value calculated in the calculation step in the table in association with the pixel converted in the lower bit conversion step.
【請求項6】 前記算出工程及び格納工程は、前記下位
ビット変換工程による変換後の画素が前記テーブルに格
納されていない場合に実行されることを特徴とする請求
項5記載の画像処理装置。
6. The image processing apparatus according to claim 5, wherein the calculating step and the storing step are performed when the pixel converted by the lower bit converting step is not stored in the table.
【請求項7】 前記特性情報はプロファイル情報である
ことを特徴とする請求項5記載の画像処理方法。
7. The image processing method according to claim 5, wherein said characteristic information is profile information.
【請求項8】 前記所定数は前記プロファイル情報に含
まれることを特徴とする請求項7記載の画像処理方法。
8. The image processing method according to claim 7, wherein the predetermined number is included in the profile information.
【請求項9】 前記所定桁数は前記プロファイル情報に
含まれることを特徴とする請求項7記載の画像処理方
法。
9. The image processing method according to claim 7, wherein the predetermined number of digits is included in the profile information.
【請求項10】 前記入力工程においては、RGB信号
を入力することを特徴とする請求項1記載の画像処理方
法。
10. The image processing method according to claim 1, wherein in the inputting step, an RGB signal is input.
【請求項11】 前記プロファイルは、インターカラー
プロファイルフォーマットに準拠した構造であることを
特徴とする請求項1記載の画像処理方法。
11. The image processing method according to claim 1, wherein the profile has a structure conforming to an intercolor profile format.
【請求項12】 画像入力装置と画像出力装置とを備え
る画像処理システムであって、 前記画像入力装置より画像を入力する入力手段と、 該入力画像の画素値が所定値以下であるかを判定する判
定手段と、 前記判定工程において画素値が所定値以下であると判定
された画素の下位ビットを変換する下位ビット変換手段
と、 該下位ビットが変換された画素をテーブルに基づいて変
換するテーブル変換手段と、 該テーブル変換手段による変換後の画素を画像出力装置
へ出力する出力手段と、を有することを特徴とする画像
処理システム。
12. An image processing system comprising an image input device and an image output device, comprising: input means for inputting an image from the image input device; and determining whether a pixel value of the input image is equal to or less than a predetermined value. Determining means for performing conversion; lower-bit conversion means for converting lower bits of a pixel whose pixel value is determined to be equal to or less than a predetermined value in the determining step; and a table for converting the pixel whose lower bit has been converted based on the table. An image processing system comprising: a conversion unit; and an output unit that outputs a pixel converted by the table conversion unit to an image output device.
【請求項13】 画像入力装置と画像出力装置とを備え
る画像処理システムにおける画像処理のプログラムコー
ドが記録された記録媒体であって、該プログラムコード
は、 前記画像入力装置より画像を入力する入力工程のコード
と、 該入力画像の画素値が所定値以下であるかを判定する判
定工程のコードと、 前記判定工程において画素値が所定値以下であると判定
された画素の下位ビットを変換する下位ビット変換工程
のコードと、 該下位ビットが変換された画素をテーブルに基づいて変
換するテーブル変換工程のコードと、 該テーブル変換工程による変換後の画素を前記画像出力
装置へ出力する出力工程のコードと、を含むことを特徴
とする記録媒体。
13. A recording medium in which a program code for image processing in an image processing system including an image input device and an image output device is recorded, wherein the program code is an input step of inputting an image from the image input device. And a code of a determining step of determining whether the pixel value of the input image is equal to or less than a predetermined value; and a lower order converting a lower bit of the pixel whose pixel value is determined to be equal to or less than the predetermined value in the determining step. A code for a bit conversion step, a code for a table conversion step for converting the pixels whose lower-order bits have been converted based on a table, and a code for an output step for outputting the pixels converted by the table conversion step to the image output device And a recording medium comprising:
JP10283046A 1998-10-05 1998-10-05 Image processing system and method Withdrawn JP2000113172A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10283046A JP2000113172A (en) 1998-10-05 1998-10-05 Image processing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10283046A JP2000113172A (en) 1998-10-05 1998-10-05 Image processing system and method

Publications (1)

Publication Number Publication Date
JP2000113172A true JP2000113172A (en) 2000-04-21

Family

ID=17660521

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10283046A Withdrawn JP2000113172A (en) 1998-10-05 1998-10-05 Image processing system and method

Country Status (1)

Country Link
JP (1) JP2000113172A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6990232B2 (en) 2000-08-31 2006-01-24 Canon Kabushiki Kaisha Image processing apparatus, control method thereof, and image processing method
CN114268704A (en) * 2021-12-20 2022-04-01 北京镁伽科技有限公司 Image data conversion method, conversion device, signal generator, and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6990232B2 (en) 2000-08-31 2006-01-24 Canon Kabushiki Kaisha Image processing apparatus, control method thereof, and image processing method
CN114268704A (en) * 2021-12-20 2022-04-01 北京镁伽科技有限公司 Image data conversion method, conversion device, signal generator, and storage medium
CN114268704B (en) * 2021-12-20 2024-09-06 北京镁伽科技有限公司 Image data conversion method, conversion device, signal generator, and storage medium

Similar Documents

Publication Publication Date Title
US6201571B1 (en) Digital camera recording a reduced image synthesized with a character image of the image picking-up information
US7663779B2 (en) Image processing apparatus, image processing method and program therefor
US6961460B2 (en) Dual mode digital picture signal processing
JP4112187B2 (en) Image processing method, apparatus, and program
JP2002077541A (en) Image reading apparatus, control method for the apparatus, and storage medium
US6807301B1 (en) Image production controlling device, image producing device, image production controlling method, and a storage medium
JP2004334852A (en) Image processing by pixel types
JP4920814B2 (en) Image processing method, apparatus, and recording medium
JP2000113172A (en) Image processing system and method
KR102164998B1 (en) Method for digital image sharpness enhancement
US11176720B2 (en) Computer program, image processing method, and image processing apparatus
JP2000137805A (en) Image processing apparatus and method
EP3481075A1 (en) Video signal processing device, video signal processing method, and program
US20040150850A1 (en) Image data processing apparatus, method, storage medium and program
JP4086580B2 (en) Image processing apparatus, program, and method
JP4599216B2 (en) Image processing apparatus, image processing method, program thereof, and recording medium
US20040130736A1 (en) Preview method of color processing on input images
JP2002133414A (en) Image processing method and apparatus, storage medium
JP7340973B2 (en) Image processing device and its control method and program
JP4720633B2 (en) Image processing system and image processing program
JPH11298824A (en) Image processing method and apparatus, and recording medium storing image processing control program
JP2004253909A (en) Image processing method
JPH1155520A (en) Image processing apparatus and method
JP2003348338A (en) Information processing apparatus
JP2005167735A (en) Image data processing apparatus, image data processing method, 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: 20060110