JP2005223374A - Image processor - Google Patents
Image processor Download PDFInfo
- Publication number
- JP2005223374A JP2005223374A JP2004026300A JP2004026300A JP2005223374A JP 2005223374 A JP2005223374 A JP 2005223374A JP 2004026300 A JP2004026300 A JP 2004026300A JP 2004026300 A JP2004026300 A JP 2004026300A JP 2005223374 A JP2005223374 A JP 2005223374A
- Authority
- JP
- Japan
- Prior art keywords
- color
- image processing
- color image
- monochrome
- image data
- 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
Links
Images
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
Description
本発明は、画像処理装置に関し、詳しくは、読取った原稿のカラー画像データにカラー画像処理を行う画像処理装置に関するものである。 The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus that performs color image processing on color image data of a read document.
近年、カラープリンタやカラーファクシミリなどのカラー画像処理装置が普及しつつあるが、未だ高価であるために既にモノクロ専用画像処理装置を購入したユーザには買い換えをためらっている者もいる。そのようなユーザのために、既に購入したモノクロ専用画像処理装置にカラーラインセンサと共に付加するだけでカラー画像処理装置に変更することができるオプションボードがある(例えば、特許文献1参照。)。 In recent years, color image processing apparatuses such as color printers and color facsimiles have become widespread. However, since they are still expensive, some users who have already purchased a monochrome image processing apparatus are hesitant to replace them. For such users, there is an option board that can be changed to a color image processing apparatus by simply adding it together with a color line sensor to a monochrome dedicated image processing apparatus that has already been purchased (see, for example, Patent Document 1).
このオプションボードが組込まれた画像処理装置では、複数のラインセンサにより主走査ライン毎に読取ったR(Red)、G(Green)、B(Blue)の各線順次データからなるカラー画像データに対し、既存のモノクロ画像処理部においてシェーディング補正等のカラー画像及びモノクロ画像に共通する画像処理が行われる。そして、前記共通する画像処理が行われたカラー画像データは、オプションボード(カラー画像処理部)の備えるメモリに順次格納され、同一ライン(主走査ライン)の線順次データが読み出されることにより色成分間の位置ずれ補正が行われ、色空間変換等のカラー画像に対してのみ行われる画像処理が行われる。したがって、読取られた原稿のカラー画像データに対して行われる全ての画像処理を行う機能を備えたカラー画像処理部を付加する場合に比べてカラー画像処理部の構成を簡単にすることができ、ユーザは安価にモノクロ専用画像処理装置をカラー画像処理装置に変更することができる。
しかしながら、カラー画像データを処理するためには、特許文献1のオプションボードが付加された画像処理装置のように、モノクロ画像では不要なカラー画像データの色成分間の位置ずれ補正を行うためのメモリを付加しなければならず、モノクロ専用画像処理装置をカラー画像処理装置に変更する際にそのコストを増加させる要因の一つとなっていた。
However, in order to process color image data, a memory for correcting misregistration between color components of color image data that is not necessary for a monochrome image, such as an image processing apparatus to which an option board of
本発明は、かかる課題に鑑みてなされたものであり、モノクロ専用画像処理装置をカラー画像処理装置に変更する場合に、複数のラインセンサによって読取ったカラー画像データの色成分間の位置ずれ補正を行うためのメモリを付加することを必要としない画像処理装置を提供すること目的とする。 The present invention has been made in view of such problems, and corrects misalignment between color components of color image data read by a plurality of line sensors when the monochrome image processing apparatus is changed to a color image processing apparatus. An object of the present invention is to provide an image processing apparatus that does not require the addition of a memory for performing.
上記目的を達成するために、請求項1記載の画像処理装置は、複数のラインセンサによって原稿のカラー画像データを読取るカラー画像読取部と、メモリと前記カラー画像読取部において読取られたカラー画像データに対しカラー画像及びモノクロ画像に共通する画像処理を行って前記メモリに格納するカラー/モノクロ共通画像処理回路とが設けられたモノクロ画像処理部と、前記カラー/モノクロ共通画像処理回路によって処理されたカラー画像データの色成分間の位置ずれ補正を前記モノクロ画像処理部に設けられた前記メモリ上で行う制御部と、を備えることを特徴としている。
In order to achieve the above object, an image processing apparatus according to
請求項2記載の画像処理装置は、請求項1に記載の画像処理装置において、前記位置ずれ補正されたカラー画像データを格納するバッファと、カラー画像データにカラー画像に対してのみ行われる画像処理を行うカラー画像処理部と、を備え、前記制御部は、前記メモリ上で位置ずれ補正したカラー画像データを前記バッファに一旦格納し、これを読み出す際に主走査方向及び副走査方向に順次所定画素数単位のブロックに分割し、前記カラー画像処理部は、前記制御部によってブロック毎に分割されたカラー画像データを所定の色空間に色空間変換し、色空間変換したカラー画像データを各ブロック毎に所定の方式で圧縮符号化することを特徴としている。
The image processing device according to claim 2 is the image processing device according to
請求項3記載の画像処理装置は、請求項2に記載の画像処理装置において、前記バッファが前記カラー画像処理部外に設けられていることを特徴としている。 According to a third aspect of the present invention, in the image processing apparatus according to the second aspect, the buffer is provided outside the color image processing unit.
請求項1に記載の画像処理装置によれば、モノクロ画像処理部が備えるメモリ上でカラー画像データの色成分間の位置ずれ補正が行われるので、カラー画像データの色成分間の位置ずれ補正を行うためのメモリを付加することなくモノクロラインセンサをカラーラインセンサに交換するだけでモノクロ専用画像処理装置をカラー画像に対応した画像処理装置に変更することができる。また、その際に、例えばカラー画像に対してのみ行われる画像処理を行うカラー画像処理部(カラー画像処理ボード)を付加するようにした場合、そのカラー画像処理部にカラー画像データの位置ずれ補正を行うためのメモリを設ける必要がないという利点がある。したがって、位置ずれ補正を行うためのメモリが設けられた従来のカラー画像処理部に比べ、カラー画像処理部の構成を簡単なものとすることができ、より安価にモノクロ専用画像処理装置をカラー画像処理装置に変更することができる。 According to the image processing apparatus of the first aspect, since the misregistration correction between the color components of the color image data is performed on the memory included in the monochrome image processing unit, the misregistration correction between the color components of the color image data is performed. The monochrome-dedicated image processing apparatus can be changed to an image processing apparatus corresponding to a color image by simply replacing the monochrome line sensor with a color line sensor without adding a memory for performing the process. In this case, for example, when a color image processing unit (color image processing board) that performs image processing performed only on a color image is added, the color image data is misaligned in the color image processing unit. There is an advantage that it is not necessary to provide a memory for performing the above. Therefore, compared with a conventional color image processing unit provided with a memory for correcting misregistration, the configuration of the color image processing unit can be simplified, and the monochrome dedicated image processing apparatus can be used at a lower cost. It can be changed to a processing device.
請求項2に記載の画像処理装置によれば、読取ったカラー画像データを所定の方式で圧縮符号化することができるので、例えばLAN等を介して通信可能に接続されたPCに読取ったカラー画像データを転送する場合に、その転送処理を高速で行うことができる。また、制御部は、バッファに一旦格納したカラー画像データを読み出す際にブロック化処理を行い、カラー画像処理部はそのブロック化されたカラー画像データに対して色空間変換、圧縮符号化処理を行うので、メモリ上で位置ずれ補正されたカラー画像データが一旦格納されるバッファと、ブロック化処理を行うためのバッファの2つのバッファを設ける必要がないという利点がある。 According to the image processing apparatus of the second aspect, since the read color image data can be compressed and encoded by a predetermined method, for example, a color image read by a PC connected to be communicable via a LAN or the like. When transferring data, the transfer process can be performed at high speed. The control unit performs block processing when reading the color image data once stored in the buffer, and the color image processing unit performs color space conversion and compression encoding processing on the blocked color image data. Therefore, there is an advantage that it is not necessary to provide two buffers, that is, a buffer for temporarily storing color image data whose positional deviation is corrected in the memory and a buffer for performing block processing.
請求項3に記載の画像処理装置によれば、カラー画像データのブロック化処理を行うためのバッファがカラー画像処理部外に設けられているので、ブロック化処理に使用するバッファをカラー画像処理部に設ける必要がないという利点がある。したがって、ブロック化処理に使用するバッファを備えたカラー画像処理部を付加してモノクロ専用画像処理装置をカラー画像処理装置に変更する場合に比べて、より安価にモノクロ専用画像処理装置をカラー画像処理装置に変更することができる。
According to the image processing device of
以下、本発明の第1の実施の形態に係る画像処理装置について図面に基づき説明する。本発明の実施の形態に係る画像処理装置1は、図1及び図2に示すように、原稿のモノクロ画像データを読取ってモノクロ画像処理を行うモノクロ専用画像処理装置2のモノクロラインセンサ3をカラーラインセンサ4に交換することによって、原稿のカラー画像データを読取ってカラー画像処理を行うことができるように構成した装置である。
Hereinafter, an image processing apparatus according to a first embodiment of the present invention will be described with reference to the drawings. As shown in FIGS. 1 and 2, an
まず、モノクロラインセンサ3がカラーラインセンサ4に交換される前のモノクロ専用画像処理装置2について図1に基づいて説明する。図示するように、モノクロ専用画像処理装置2は、制御部(MPU:Microprocessing Unit)5、ROM(Read Only Memory)6、RAM(Random Access Memory)7、モノクロ画像読取部8、モノクロ画像処理部9、操作部10、表示部11、記録部12、バッファ13、及びUSBデバイスコントローラ14を備えたものであって、各部5乃至14はバス15によって通信可能に接続されている。
First, the monochrome image processing apparatus 2 before the
制御部5は、所定のプログラムに従ってこのモノクロ専用画像処理装置2を構成する各部を制御するものである。ROM6は、制御部5によりこのモノクロ専用画像処理装置2の各部の動作が制御されるための各種プログラムを記憶しているEEPROM(Electrically Erasable and Programmable ROM)である。RAM7は、このモノクロ専用画像処理装置2の処理動作の実行に伴って取得された各種データや設定情報等を格納する。
The
モノクロ画像読取部8は、図示しないが原稿自動供給装置(ADF:Automatic Document Feeder)やフラットベッド読取部(FBS:Flat Bed Scanner)を備えており、原稿の幅方向(主走査方向)の光源及び反射ミラーを原稿の長さ方向(副走査方向)に走査することにより、原稿のモノクロ画像データを読取って所定の出力先に出力するものである。このモノクロ画像読取部8は、原稿のモノクロ画像データを主走査ライン毎に読取るモノクロラインセンサ(CCD:Charge Coupled Device)3、モノクロラインセンサ3がモノクロ画像読取部8に設けられている白色の基準プレート(不図示)を読取って出力した読取データに基づいてゲイン調整を行うAFE(Analog Front End)回路16を具備している。
Although not shown, the monochrome image reading unit 8 includes an automatic document feeder (ADF) and a flat bed scanner (FBS), a light source in the document width direction (main scanning direction), and By scanning the reflecting mirror in the length direction (sub-scanning direction) of the document, monochrome image data of the document is read and output to a predetermined output destination. The monochrome image reading unit 8 includes a monochrome line sensor (CCD: Charge Coupled Device) 3 that reads monochrome image data of a document for each main scanning line, and a white reference provided with the
モノクロ画像処理部9は、カラー/モノクロ共通画像処理回路17、モノクロ専用画像処理回路18、二値メモリ19、コーデック20、及び二値符号化メモリ21を具備している。カラー/モノクロ共通画像処理回路17は、モノクロ画像読取部8から出力されたモノクロ画像データに対しA/D変換、光量ムラや光学部品の影響、及びモノクロラインセンサ3の画素感度のばらつきを補正するシェーディング補正、γ補正等の画像処理を行う。なお、このカラー/モノクロ共通画像処理回路17において行われる画像処理は、カラー画像とモノクロ画像に共通する画像処理である。モノクロ専用画像処理回路18は、カラー/モノクロ共通画像処理回路17によって処理されたモノクロ画像データの二値化処理など、モノクロ画像に対してのみ行われる画像処理を行う。二値メモリ19は、モノクロ専用画像処理回路18において二値化されたモノクロ画像データを一時的に格納する。
The monochrome
コーデック20は、画像データの符号化及び復号を行うものである。すなわち、二値メモリ19に格納されたモノクロ画像データをMH(Modified Huffman)、MR(Modified Read)、MMR(Modified Modified Read)、JBIG(Joint Bi-level Image Group)方式等により符号化し、符号化されたモノクロ画像データを復号する。二値符号化メモリ21は、コーデック20によって符号化されたモノクロ画像データを格納する。
The
操作部10は、モノクロ画像読取部8の原稿台に載置された原稿の読取開始命令等を指示するためのスタートキー、読取った原稿のモノクロ画像データの画像を用紙に記録する場合にその記録部数等を入力するためのテンキー、各種設定を行うためのカーソルキーなど、表示部11と連動した各種操作キーを具備している。表示部11は、図示していないが、このモノクロ専用画像処理装置2の状態に関する情報、各種操作指示入力画面、設定状態、動作状態などを文字や図形などで表示する液晶表示装置(LCD:Liquid Crystal Display)や、点灯又は消灯で表示するLEDランプを具備している。
The
記録部12は、モノクロ画像読取部8で読取られたモノクロ画像データの画像を所定の用紙に記録するものである。この記録部12における記録方式としては、例えば、電子写真方式やインクジェット記録方式等の各種の記録方式を用いることができる。
The
バッファ13は、モノクロ画像読取部8で読取られたモノクロ画像データをUSB(Universal Serial Bus)を介してクライアントPC22に出力する場合に、二値符号化メモリ21に格納された後、コーデック20によって復号されたモノクロ画像データを一時的に格納する通信用のバッファである。このバッファ13は、クライアントPC22との間で行われる通信の通信速度を緩衝するものである。
When the monochrome image data read by the monochrome image reading unit 8 is output to the client PC 22 via a USB (Universal Serial Bus), the
USBデバイスコントローラ14は、USBのデバイスコントローラ機能を実行するものである。このUSBデバイスコントローラ14にはUSBポート23が設けられており、これにUSBケーブル24の一端が接続されることによりUSBが形成され、クライアントPC22との通信が可能である。USBデバイスコントローラ14は、このようにして通信可能に接続されたクライアントPC22に対し、二値符号化メモリ21に格納されている符号化されたモノクロ二値画像データやバッファ12に格納されている復号されたモノクロ二値画像データを転送する。
The
上記構成を備えたモノクロ専用画像処理装置2は、原稿のモノクロ画像データを読取ってそのモノクロ画像を用紙に記録するモノクロコピー機能、読取った原稿のモノクロ画像データをUSBを介してクライアントPC22に転送するPCスキャナ機能、クライアントPC22から出力された画像データのモノクロ画像を用紙に記録するプリンタ機能を備えている。 The monochrome-dedicated image processing apparatus 2 having the above configuration reads a monochrome image data of a document and records the monochrome image on a sheet, and transfers the scanned document monochrome image data to the client PC 22 via the USB. A PC scanner function and a printer function for recording a monochrome image of image data output from the client PC 22 on a sheet are provided.
PCスキャナ機能が実行される場合は、図3に示すように、モノクロ画像読取部8のモノクロラインセンサ3は、載置された原稿のモノクロ画像データを読取り、これをモノクロ画像処理部9のカラー/モノクロ共通画像処理回路17へと出力する。カラー/モノクロ共通画像処理回路17は、モノクロ画像読取部8から出力されたモノクロ画像データに対し、A/D変換、シェーディング補正、γ補正等のカラー画像とモノクロ画像に共通する画像処理を行う。このようにして、カラー/モノクロ共通画像処理回路17において所定の画像処理が施されたモノクロ画像データは、モノクロ専用画像処理回路18において二値化された後、二値メモリ19に一時的に格納される。そして、この二値メモリ19に格納されたモノクロ二値画像データは、コーデック20によって所定の方式で符号化された後、二値符号化メモリ21に格納される。
When the PC scanner function is executed, as shown in FIG. 3, the
続いて、二値符号化メモリ21の符号化されたモノクロ二値画像データは、コーデック20において復号され、バッファ13に一時的に格納される。そして、USBデバイスコントローラ14は、バッファ13に格納されたモノクロ二値画像データUSBを介してクライアントPC22へと転送する。なお、コーデック20による符号化及び復号処理を行うことなく二値メモリ19に格納されたモノクロ二値画像データをUSBデバイスコントローラ14によって直接クライアントPC22に転送するようにしてもよい。また、符号化されたモノクロ二値画像データをクライアントPC22に転送する場合、二値符号化メモリ21の符号化されたモノクロ二値画像データは、コーデック20で復号されることなく、USBデバイスコントローラ14によってクライアントPC22に直接転送される。
Subsequently, the encoded monochrome binary image data in the
次に、このモノクロ専用画像処理装置2のモノクロラインセンサ3をカラーラインセンサ4に交換してカラー画像データを扱うことができるように構成した画像処理装置1について、図2に基づいて説明する。なお、モノクロ専用画像処理装置2と同一の構成のものには同一番号を付けてその説明を省略し、異なる点について以下で説明する。
Next, an
この画像処理装置1は、図示するように制御部5、ROM6、RAM7、原稿のカラー画像データを読取るために、上記のモノクロラインセンサ3がカラーラインセンサ4に交換されたカラー画像読取部26、モノクロ画像処理部9、操作部10、表示部11、記録部12、バッファ13、及びUSBデバイスコントローラ14を備えたものであって、これらの各部はバス15によって通信可能に接続されている。
As shown in the figure, the
画像処理装置1のROM6は、前記モノクロ画像専用画像処理装置2のROM6が格納していた制御プログラムに加え、モノクロラインセンサ3がカラーラインセンサ4に交換された際にインストールされた制御プログラムを格納している。ここで、新たにインストールされた制御プログラムは、原稿のカラー画像データを読取って所定の画像処理を行うために必要な画像処理装置1の各部の処理動作を制御するための制御プログラムである。例えばカラーラインセンサ4により原稿のカラー画像データを読取るための読取制御プログラムや、読取られたカラー画像データの色成分間の位置ずれ補正を行うための位置ずれ補正処理プログラム等である。
The
カラー画像読取部26は、複数のラインセンサにより原稿のカラー画像データを読取るものであり、カラーラインセンサ4と前記AFE回路16を備えている。カラーラインセンサ4は、ここではR(Red)、G(Green)、B(Blue)の3つのラインセンサにより構成されており、原稿のカラー画像を読取ってRGBの線順次データからなるカラー画像データを所定の出力先に出力する。なお、図示していないがこれらの3つのラインセンサは、所定ライン分の間隔を隔てて並設されているため、カラー画像読取部26からはそのラインギャップにより、ずれのある状態のRGB線順次データが出力される。また、カラーラインセンサ4は原稿のカラー画像データを読取るためのものであるが、RGB3成分のうちG成分のみをモノクロと見なして出力したり、又はカラーラインセンサ4を上記RGBの3つのラインセンサにモノクロ画像データを読取るラインセンサを加えた4ライン型のものとすることにより、原稿のモノクロ画像データを読取ることも当然可能である。AFE回路16は、ここではカラーラインセンサ4が白色の基準プレートを読取って出力したRGBの各色成分の読取データに基づいてゲイン設定値を取得し、読取られたカラー画像データのゲイン調整を行う。取得したRGBの各色成分のゲイン設定値は、AFE回路16のレジスタに格納され、カラーラインセンサ4によって原稿のカラー画像データが読取られた場合に、AFE回路16はレジスタに格納されている各色成分のゲイン設定値に基づいて各色分解信号を増幅する処理を行う。
The color
前記モノクロ画像処理部9のカラー/モノクロ共通画像処理回路17は、カラー画像読取部26において読取られたカラー画像データに対してカラー画像及びモノクロ画像に共通する画像処理を行って二値符号化メモリ21(メモリ)に格納する。具体的には、カラー画像読取部26のカラーラインセンサ4によって読取られたカラー画像データに対してもA/D変換、シェーディング補正、γ補正等のカラー画像及びモノクロ画像に共通する画像処理を行う。そして、二値符号化メモリ21は、コーデック20において所定の方式で符号化されたモノクロ二値画像データの他に、このカラー/モノクロ共通画像処理回路17において処理されたカラー画像データを一時的に格納する。なお、後述するが、カラー/モノクロ共通画像処理回路17によって処理されたカラー画像データの色成分間の位置ずれ補正は、モノクロ画像処理部9に設けられたこの二値符号化メモリ21上で行われる。また、前記バッファ13は、その位置ずれ補正されたカラー画像データを一時的に格納する。このように、モノクロ画像処理部9には、二値符号化メモリ21とカラー画像読取部26において読取られたカラー画像データに対しカラー画像及びモノクロ画像に共通する画像処理を行って二値符号化メモリ21に格納するカラー/モノクロ共通画像処理回路17とが設けられている。
The color / monochrome common
なお、制御部5は、モノクロ画像処理部9の二値符号化メモリ21に対するカラー画像データの書込み及び読出しを制御する。この制御部5は、カラー/モノクロ共通画像処理回路17によって処理されたカラー画像データの色成分間の位置ずれ補正をモノクロ画像処理部9に設けられた二値符号化メモリ21上で行う。すなわち、カラー/モノクロ共通画像処理回路17においてA/D変換、シェーディング補正、γ補正のカラー画像及びモノクロ画像に共通する画像処理が行われたずれのある状態のRGB線順次データを二値符号化メモリ21に書込む(格納する)際に、書込アドレスを制御するか、又は読出す際に読出アドレスを制御することにより、二値符号化メモリ21から同一ラインのRGB線順次データが出力されるように二値符号化メモリ21に対するアドレス制御を行う。具体的には、カラー/モノクロ共通画像処理回路17によって処理されたずれのある状態のRGB線順次データを1ライン毎に例えばR、G、Bの順に二値符号化メモリ21に書込む。そして、所定ライン分のRGB線順次データを二値符号化メモリ21に書込んだ時点で、同一ライン(主走査ライン)のRGB線順次データを各ライン毎に順次読み出すことにより色成分間の位置ずれ補正を行う。
The
以下、カラー画像読取部26において読取られた原稿のカラー画像データがクライアントPC22に転送されるまでに、画像処理装置1において行われる処理動作によるデータ転送の流れについて、図4に基づいて説明する。なお、以下に説明する画像処理装置1の処理動作は、ROM6に格納されている制御プログラムに基づいて制御部5が発行する命令に従って行われる。
Hereinafter, the flow of data transfer by the processing operation performed in the
カラー画像読取部26の原稿台にカラーの原稿が載置され、ユーザによって操作部10のスタートキーが押下されることにより、原稿の読取開始命令が入力された場合、カラーラインセンサ4は原稿のカラー画像を読取り、読取られたRGB表色系のアナログカラー画像データはモノクロ画像処理部9のカラー/モノクロ共通画像処理回路17へと出力される。なお、ここで出力されるカラー画像データは、ずれのある状態のRGB線順次データである。カラー/モノクロ共通画像処理回路17は、カラーラインセンサ4から出力されたRGB表色系のアナログカラー画像データに対し、A/D変換、シェーディング補正、γ補正のカラー画像及びモノクロ画像に共通する画像処理を行う。このようにして、カラー/モノクロ共通画像処理回路17において所定の画像処理が行われると、制御部5は、前記画像処理が施されたRGB線順次データを順次二値符号化メモリ21に一旦書込む。そして、書込んだRGB線順次データを二値符号化メモリ21から読み出してバッファ13に書込む。その際、二値符号化メモリ21に対するRGB線順次データの書込/読出アドレスを制御してRGB線順次データ(カラー画像データ)の色成分間の位置ずれ補正を行い、位置ずれ補正したRGB表色系のカラー画像データをバッファ13に書込む。そして、USBデバイスコントローラ14は、このようにして制御部5によってバッファ13に格納されたRGB表色系のカラー画像データを順次クライアントPC22に転送する。なお、カラーラインセンサ4によって読取った原稿のモノクロ多値画像データをクライアントPC22に出力する場合にも、上記のカラー画像データの場合と同様の処理が行われる。
When a color document is placed on the document table of the color
以上説明したように、本発明の第1の実施形態に係る画像処理装置1では、カラーラインセンサ4で読取られたずれのある状態のRGB表色系のカラー画像データは、モノクロ画像処理部9の二値符号化メモリ21上で色成分間の位置ずれ補正が行われるので、カラー画像データの位置ずれ補正を行うためのメモリを付加することなく、モノクロラインセンサ3をカラーラインセンサ4に交換するだけで簡単にモノクロ専用画像処理装置2をカラー画像処理装置1に変更することができる。
As described above, in the
なお、ずれのある状態のカラー画像データの位置ずれ補正に使用するメモリは、二値符号化メモリ21に限定されるものではなく、位置ずれ補正を行うために必要な遅延ライン分のRGB線順次データを格納できるだけの容量を備えた既存のメモリが他にあれば、そのメモリを使用して位置ずれ補正を行うことも可能である。
Note that the memory used for correcting the misregistration of color image data in a state of misalignment is not limited to the
また、本実施の形態においては、画像処理装置1とクライアントPC22とをUSBを介して接続した場合を例に挙げて説明したが、画像処理装置1からクライアントPC22へカラー画像データを転送できれば接続手段はUSBに限定されるものではない。例えばUSBデバイスコントローラ14に代えてパラレルインターフェース、LAN(Local Area Network)インターフェース等を実装して、パラレル、LAN等を接続手段としてもよい。
In the present embodiment, the case where the
以下、カラーラインセンサ4で読取ったカラー画像データをJPEG方式で圧縮符号化してクライアントPC22に出力するために、モノクロ専用画像処理装置2のモノクロラインセンサ3がカラーラインセンサ4に交換されるとともに、カラー画像処理部30(カラー画像処理ボード)が付加された本発明の第2の実施形態に係る画像処理装置31について図5に基づいて説明する。なお、画像処理装置1と同一の構成のものには同一番号を付けてその説明を省略し、異なる点について以下で説明する。
Hereinafter, in order to compress and encode the color image data read by the
この画像処理装置31は、モノクロ専用画像処理装置2のモノクロラインセンサ3がカラーラインセンサ4に交換された画像処理装置1に、更にカラー画像処理部30が付加されたものである。カラー画像処理部30は、制御部5によって二値符号化メモリ21上で位置ずれ補正されたカラー画像データに、カラー画像に対してのみ行われる画像処理を行うものである。このカラー画像処理部30は、入力I/F32、ラインバッファ33、色空間変換回路34、JPEG(Joint Photographic Experts Group)エンコーダ35、多値符号化メモリ36、及び出力I/F37を具備して一体に構成されており、画像処理装置31に対して着脱可能なものである。
This
ラインバッファ33は、入力I/F32を介してモノクロ画像処理部9の二値符号化メモリ21からカラー画像処理部30に入力されたRGB表色系のカラー画像データを格納する。すなわち、このラインバッファ33は、制御部5によって二値符号化メモリ21上で位置ずれ補正されたカラー画像データを格納するバッファである。制御部5は、二値符号化メモリ21上で位置ずれ補正したカラー画像データをラインバッファ33に一旦格納し、これを読み出す際に主走査方向及び副走査方向に順次所定画素数単位のブロックに分割する処理(ブロック化処理)を行う。このブロック化処理は、ラインバッファ33に対するカラー画像データの書込/読出アドレスを制御することによって行われる。具体的には、二値符号化メモリ21上で位置ずれ補正したRGB線順次データをラインバッファ33に順次書込み、所定ライン(主走査ライン)分、ここでは8ライン分のカラー画像データがラインバッファ33に格納された段階で、8ライン(主走査ライン)毎に8×8画素(主走査方向に8画素、副走査方向に8画素)の画素データからなるブロックに分割し、各ブロック毎にラインバッファ33から読み出して所定の出力先に出力する。なお、本実施の形態においては、8×8画素のブロック毎に分割しているが、所定画素数単位はこれに限定されるものではなく、例えば4×4画素のブロック毎に分割したり、16×16画素のブロック毎に分割することも当然可能である。
The
カラー画像処理部30は、制御部5によってブロック毎に分割されたカラー画像データを所定の色空間に色空間変換し、色空間変換したカラー画像データを各ブロック毎に所定の方式で圧縮符号化する。色空間変換回路34は、制御部5が各ブロック毎に分割したRGB表色系のカラー画像データを各ブロック毎に所定の色空間に色空間変換する。ここでは、入力されたRGB表色系のカラー画像データをYCrCb表色系のカラー画像データへと色空間変換する。なお、この色空間変換の処理は、制御部5によってブロック単位で読み出されたカラー画像データに対し、1画素データ毎に行われる。また、本発明の実施の形態においては、入力されたRGB表色系のカラー画像データはYCrCb表色系のカラー画像データに色空間変換されるが、使用する色空間はこれに限定されるものではなく、カラー画像データの用途に応じてRGB表色系のカラー画像データを、例えばL*a*b*表色系のカラー画像データに色空間変換するようにしてもよい。
The color
JPEGエンコーダ35は、色空間変換回路34が色空間変換したカラー画像データを各ブロック毎にJPEG方式で圧縮符号化する。具体的には、YCrCb表色系に色空間変換されたカラー画像データを8×8画素の各ブロック毎にJPEG方式により圧縮符号化する。このJPEGエンコーダ35は、図示しないが量子化テーブル及びハフマンテーブルを備えており、各ブロック毎のカラー画像データに対し離散コサイン変換(DCT:Discrete Cosine Transform)を行ってDCT係数を生成する。そして、生成したDCT係数を量子化テーブルに格納されている量子化閾値を参照して量子化し、量子化されたDCT係数をハフマンテーブルに格納されているハフマン符号を参照して可変長符号化することにより、JPEG方式による圧縮符号化を行う。なお、JPEGエンコーダ35が行う圧縮符号化処理は、これに限定されるものではなく、例えば、制御部5によって16×16画素のブロック毎に分割されたカラー画像データに対し、離散ウェーブレット変換(DWT:Discrete Wavelet Transform)を行ってJPEG2000による圧縮符号化処理を行うようにしてもよい。多値符号化メモリ36は、JPEGエンコーダ35においてJPEG方式で圧縮符号化されたカラー画像データを格納する。多値符号化メモリ36に格納されたカラー画像データは、出力I/F37を介して出力され、USBデバイスコントローラ14によってクライアントPC22に転送されるようになっている。
The
また、画像処理装置31のROM6は、前記モノクロ画像専用画像処理装置2のROM6が格納していた制御プログラムに加え、モノクロラインセンサ3がカラーラインセンサ4に交換するとともに、カラー画像処理部30が付加された際にインストールされた制御プログラムを格納している。ここで、新たにインストールされた制御プログラムは、原稿のカラー画像データを読取って所定の画像処理を行うために必要な画像処理装置31の各部の処理動作を制御するための制御プログラムである。
The
以下、カラー画像読取部26において読取られたカラー画像データがクライアントPC22に転送されるまでに、画像処理装置31において行われる処理動作によるデータ転送の流れについて、図6に基づいて説明する。なお、以下に説明する画像処理装置31の処理動作は、ROM6に格納されている制御プログラムに基づいて制御部5が発行する命令に従って行われる。
Hereinafter, the flow of data transfer by the processing operation performed in the
カラー画像読取部26の原稿台にカラーの原稿が載置され、ユーザによって操作部10のスタートキーが押下されることにより、原稿の読取開始命令が入力された場合、カラーラインセンサ4は原稿のカラー画像を読取り、読取られたRGB表色系のアナログカラー画像データはモノクロ画像処理部9のカラー/モノクロ共通画像処理回路17へと出力される。なお、ここで出力されるカラー画像データは、ずれのある状態のRGB線順次データである。カラー/モノクロ共通画像処理回路17は、カラーラインセンサ4から出力されたRGB表色系のアナログカラー画像データに対し、A/D変換、シェーディング補正、γ補正のカラー画像及びモノクロ画像に共通する画像処理を行う。このようにして、カラー/モノクロ共通画像処理回路17において所定の画像処理が行われると、制御部5は、前記画像処理が施されたRGB線順次データを二値符号化メモリ21に一旦書込む。そして、書込んだRGB線順次データを二値符号化メモリ21から読み出してバッファ13に書込む。その際、二値符号化メモリ21に対するRGB線順次データの書込/読出アドレスを制御してRGB線順次データ(カラー画像データ)の色成分間の位置ずれ補正を行い、位置ずれ補正したRGB表色系のカラー画像データをラインバッファ33に書込む。
When a color document is placed on the document table of the color
制御部5は、位置ずれ補正したRGB線順次データをラインバッファ33に書込む処理と並行して、ラインバッファ33に所定ライン分のRGB表色系のカラー画像データを書込んだ時点でブロック化処理を開始する。すなわち、ラインバッファ33に対する書込/読出アドレスを制御して、書込んだカラー画像データをRGBの各色成分毎に8×8画素のブロックに分割して色空間変換回路34へと出力する処理を開始する。そして、色空間変換回路34は、制御部5が8×8画素のブロックに分割したRGB表色系のカラー画像データを1画素ずつYCrCb表色系のカラー画像データへと色空間変換し、色空間変換したYCrCb表色系のカラー画像データをJPEGエンコーダ35へと出力する。
In parallel with the process of writing the RGB line sequential data corrected for misregistration into the
JPEGエンコーダ35は、色空間変換回路34が色空間変換したYCrCb表色系のカラー画像データを各ブロック毎にJPEG方式により圧縮符号化する。このように、JPEGエンコーダ35において圧縮符号化されたカラー画像データは、多値符号化メモリ36へと送られ、該多値符号化メモリ36に格納される。そして、USBデバイスコントローラ14は、多値符号化メモリ36に格納されたカラー画像データをクライアントPC22へ転送する。
The
以上説明したように、画像処理装置31は、モノクロ画像専用からカラー画像に対応したものに変更するために、モノクロラインセンサ3がカラーラインセンサ4に交換され、既存のモノクロ画像処理部9にカラー画像及びモノクロ画像に共通する画像処理を行わせるようにしてカラー画像データに対してのみ行われる画像処理を行うカラー画像処理部30が付加された装置である。したがって、ユーザはカラー画像データに対して行われる全ての画像処理を行う機能を備えたカラー画像処理部を付加する場合に比べて、安価にモノクロ専用画像処理装置2をカラー画像に対応した画像処理装置31に変更することができる。
As described above, in order to change the
さらに、カラー画像読取部26から出力されたカラー画像データの色成分間の位置ずれ補正を、モノクロ画像処理部9の二値符号化メモリ21上で行うことができるので、カラー画像処理部30に位置ずれ補正を行うためのメモリを設ける必要がないという利点がある。したがって、カラー画像データの位置ずれ補正を行うためのメモリを備えたカラー画像処理部30(カラー画像処理ボード)を付加してモノクロ専用画像処理装置2をカラー画像処理装置に変更する場合に比べてカラー画像処理部30の構成を簡単にすることができ、より安価にモノクロ専用画像処理装置2をカラー画像処理装置に変更することができる。
Further, since the misregistration correction between the color components of the color image data output from the color
また、例えば制御部5が二値符号化メモリ21からラインバッファ33を介すことなく直接出力したカラー画像データを色空間変換回路34において色空間変換した後、ラインバッファ33に格納してブロック化処理を行うようにした場合、色空間変換回路34は二値符号化メモリ21からカラー画像データが入力される速度でカラー画像データの色空間変換を行わなければならない。しかしながら、本発明の実施の形態に係る画像処理装置31では、二値符号化メモリ21上で位置ずれ補正されたカラー画像データは、一旦ラインバッファ33に格納された後、色空間変換回路34へ出力される。したがって、色空間変換回路34は、制御部5によってラインバッファ33からカラー画像データが読み出される速度でカラー画像データに対して色空間変換を行うことができるので、二値符号化メモリ21からカラー画像データが直接入力される場合に比べて低速で色空間変換を行うことが可能である。したがって、カラー画像処理部30の各部の処理速度が低下した場合に、カラー画像読取部26における原稿の読取動作を一旦中断しなければならないという問題が生じるのを防止することができる。また、ラインバッファ33ではブロック化処理が行われるので、二値符号化メモリ21で位置ずれ補正されたカラー画像データを格納するためのバッファと、ブロック化処理を行うためのバッファの2つのバッファを設ける必要がなく、カラー画像処理部30の構成を簡単なものとすることができる。
Further, for example, color image data directly output from the
なお、この画像処理装置31ではカラー画像読取部26において読取られたカラー画像データの記録処理は行われないが、JPEGエンコーダ35と逆の処理を行うJPEGデコーダ、カラー画像データをC(シアン)、M(マゼンタ)、Y(イエロー)、K(ブラック)等の出力色に変換する出力色変換や二値化処理を行う回路を付加し、記録部11をカラー/モノクロ双方の画像データの画像を記録可能な構成に変更すれば、カラー画像読取部26において読取られたカラー画像データの記録処理を行うことは当然可能である。
The
図7は、本発明の第3の実施の形態に係る画像処理装置41の構成を示したブロック図である。この画像処理装置41は、上記のモノクロ専用画像処理装置2のモノクロラインセンサ3がカラーラインセンサ4に交換されるとともに、カラー画像処理部42が付加された装置である。
FIG. 7 is a block diagram showing a configuration of an
この画像処理装置41は、図5に示したカラー画像処理部30のラインバッファ33が除かれた点の他は画像処理装置31と同様に構成されているため、その詳細な説明はここでは省略する。このカラー画像処理部42が付加された画像処理装置41では、図8に示すように、モノクロ画像処理部9の二値符号化メモリ21上で位置ずれ補正されたカラー画像データが、既存のバッファ13に一旦格納され、該バッファ13においてブロック化され、カラー画像処理部42の色空間変換回路34に入力されるようになっている。すなわち、制御部5がブロック化処理で使用するバッファがカラー画像処理部42外に設けられている。したがって、カラー画像処理部42にカラー画像データのブロック化処理を行うためのバッファを設ける必要がないという利点がある。よって、カラー画像データのブロック化を行うためのバッファを備えたカラー画像処理部を付加してモノクロ専用画像処理装置2をカラー画像処理装置に変更する場合に比べて、より安価にモノクロ専用画像処理装置をカラー画像処理装置に変更することができる。
Since the
本発明は、例えばモノクロ専用画像処理装置のモノクロラインセンサをカラーラインセンサに交換した画像処理装置に適用可能である。 The present invention can be applied to, for example, an image processing apparatus in which a monochrome line sensor of a monochrome dedicated image processing apparatus is replaced with a color line sensor.
1、31、41 画像処理装置
4 カラーラインセンサ
5 制御部
9 モノクロ画像処理部
13 バッファ
17 カラー/モノクロ共通画像処理回路
21 二値符号化メモリ
26 カラー画像読取部
30、42 カラー画像処理部
33 ラインバッファ
34 色空間変換回路
35 JPEGエンコーダ
DESCRIPTION OF
Claims (3)
前記制御部は、前記メモリ上で位置ずれ補正したカラー画像データを前記バッファに一旦格納し、これを読み出す際に主走査方向及び副走査方向に順次所定画素数単位のブロックに分割し、
前記カラー画像処理部は、前記制御部によってブロック毎に分割されたカラー画像データを所定の色空間に色空間変換し、色空間変換したカラー画像データを各ブロック毎に所定の方式で圧縮符号化することを特徴とする請求項1記載の画像処理装置。 A buffer for storing the color image data subjected to the positional deviation correction, and a color image processing unit for performing image processing performed only on the color image in the color image data,
The control unit temporarily stores the color image data corrected for misregistration on the memory in the buffer, and when reading this, sequentially divides the block into blocks of a predetermined number of pixels in the main scanning direction and the sub-scanning direction,
The color image processing unit performs color space conversion on the color image data divided for each block by the control unit into a predetermined color space, and compresses and encodes the color image data subjected to color space conversion in a predetermined method for each block. The image processing apparatus according to claim 1, wherein:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004026300A JP2005223374A (en) | 2004-02-03 | 2004-02-03 | Image processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004026300A JP2005223374A (en) | 2004-02-03 | 2004-02-03 | Image processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005223374A true JP2005223374A (en) | 2005-08-18 |
Family
ID=34998709
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004026300A Pending JP2005223374A (en) | 2004-02-03 | 2004-02-03 | Image processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005223374A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008131111A (en) * | 2006-11-17 | 2008-06-05 | Sharp Corp | Color image forming apparatus, and color image processing apparatus |
-
2004
- 2004-02-03 JP JP2004026300A patent/JP2005223374A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008131111A (en) * | 2006-11-17 | 2008-06-05 | Sharp Corp | Color image forming apparatus, and color image processing apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7933049B2 (en) | Multifunction printer and image processing method | |
JP6074181B2 (en) | Image processing apparatus and method | |
CN101087343B (en) | Apparatus and method for data processing | |
US8401287B2 (en) | Image processing apparatus and processing method thereof | |
US9521281B2 (en) | Image processing apparatus including first image processing section performing first image processing on image data to be supplied to image output apparatus and second image processing section performing second image processing on image data to be supplied to image display device, and image forming apparatus including the image processing apparatus | |
JP2005223374A (en) | Image processor | |
US20100054598A1 (en) | Image processing apparatus, image forming apparatus, image processing apparatus control method, and storage medium | |
JP2012110036A (en) | Printer | |
JP4079167B2 (en) | Image processing apparatus and image compression preprocessing method | |
JP3867857B2 (en) | Color image processing device | |
JP5186994B2 (en) | Image processing device | |
JP2006217145A (en) | Image processor | |
JP2006246328A (en) | Image processing apparatus | |
JP2006042217A (en) | Image processing device | |
JP4400321B2 (en) | Image reading device | |
JP2006246329A (en) | Image forming apparatus | |
JP2005280357A (en) | Serial printer and recording medium having program recorded | |
JP6142833B2 (en) | Electronics | |
JPH04123662A (en) | Color facsimile equipment | |
JP2005130142A (en) | Image processing apparatus | |
JPH0564022A (en) | Color picture transmitting system | |
JPH0575881A (en) | Picture transmission device | |
JP2005210529A (en) | Image processing apparatus | |
JP2005348046A (en) | Image processing apparatus | |
JP2007081891A (en) | Data conversion unit and image forming unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060713 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060725 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20061212 |