JP2005223374A - Image processor - Google Patents

Image processor Download PDF

Info

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
Application number
JP2004026300A
Other languages
Japanese (ja)
Inventor
Katsumi Minamino
勝巳 南野
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery Ltd
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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP2004026300A priority Critical patent/JP2005223374A/en
Publication of JP2005223374A publication Critical patent/JP2005223374A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processor dispensing with an additional memory to correct a positional deviation between color components of read color image data by a plurality of line sensors in the case of changing a monochromatic exclusive image processor into a color image processor. <P>SOLUTION: The image processor 1 is provided with: a color image read section 26 using a plurality of the line sensors to read color image data of an original; a monochromatic image processing section 9 including a color/monochromatic common image processing circuit 17 for applying image processing, in common to color image and a monochromatic image, to the color image data read by a binary coding memory 21 and the color image read section 26 and storing the processed image data into the memory 21; and a control section 5 for carrying out the positional deviation correction between the color components of the color image data processed by the color/monochromatic common image processing circuit 17 on the binary coding memory 21 provided in the monochromatic image processing section 9. <P>COPYRIGHT: (C)2005,JPO&NCIPI

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)の各線順次データからなるカラー画像データに対し、既存のモノクロ画像処理部においてシェーディング補正等のカラー画像及びモノクロ画像に共通する画像処理が行われる。そして、前記共通する画像処理が行われたカラー画像データは、オプションボード(カラー画像処理部)の備えるメモリに順次格納され、同一ライン(主走査ライン)の線順次データが読み出されることにより色成分間の位置ずれ補正が行われ、色空間変換等のカラー画像に対してのみ行われる画像処理が行われる。したがって、読取られた原稿のカラー画像データに対して行われる全ての画像処理を行う機能を備えたカラー画像処理部を付加する場合に比べてカラー画像処理部の構成を簡単にすることができ、ユーザは安価にモノクロ専用画像処理装置をカラー画像処理装置に変更することができる。
特開平11−41479号公報
In the image processing apparatus in which the option board is incorporated, for color image data composed of line sequential data of R (Red), G (Green), and B (Blue) read for each main scanning line by a plurality of line sensors, In an existing monochrome image processing unit, image processing common to color images and monochrome images, such as shading correction, is performed. The color image data subjected to the common image processing is sequentially stored in a memory provided in an option board (color image processing unit), and the color components are read out by reading out the line sequential data of the same line (main scanning line). The positional deviation correction is performed, and image processing performed only for the color image such as color space conversion is performed. Therefore, the configuration of the color image processing unit can be simplified as compared with the case where a color image processing unit having a function of performing all image processing performed on the color image data of the read original is added, The user can inexpensively change the monochrome image processing apparatus to a color image processing apparatus.
JP 11-41479 A

しかしながら、カラー画像データを処理するためには、特許文献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 Patent Document 1 is added. Therefore, when the monochrome image processing apparatus is changed to a color image processing apparatus, the cost is increased.

本発明は、かかる課題に鑑みてなされたものであり、モノクロ専用画像処理装置をカラー画像処理装置に変更する場合に、複数のラインセンサによって読取ったカラー画像データの色成分間の位置ずれ補正を行うためのメモリを付加することを必要としない画像処理装置を提供すること目的とする。   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 claim 1, a color image reading unit that reads color image data of a document by a plurality of line sensors, a memory, and color image data read by the color image reading unit. A monochrome image processing unit provided with a color / monochrome common image processing circuit that performs image processing common to color images and monochrome images and stores the same in the memory, and the color / monochrome common image processing circuit. A control unit that performs correction of misregistration between color components of the color image data on the memory provided in the monochrome image processing unit.

請求項2記載の画像処理装置は、請求項1に記載の画像処理装置において、前記位置ずれ補正されたカラー画像データを格納するバッファと、カラー画像データにカラー画像に対してのみ行われる画像処理を行うカラー画像処理部と、を備え、前記制御部は、前記メモリ上で位置ずれ補正したカラー画像データを前記バッファに一旦格納し、これを読み出す際に主走査方向及び副走査方向に順次所定画素数単位のブロックに分割し、前記カラー画像処理部は、前記制御部によってブロック毎に分割されたカラー画像データを所定の色空間に色空間変換し、色空間変換したカラー画像データを各ブロック毎に所定の方式で圧縮符号化することを特徴としている。   The image processing device according to claim 2 is the image processing device according to claim 1, wherein the color image data subjected to the positional deviation correction is stored, and the image processing performed only for the color image in the color image data A color image processing unit that performs color image data that has been corrected for misregistration on the memory and temporarily stores the color image data in the main scanning direction and the sub-scanning direction when the data is read out. The color image processing unit divides the block into units of the number of pixels, and the color image processing unit performs color space conversion of the color image data divided for each block by the control unit into a predetermined color space, and converts the color image data after color space conversion into each block. It is characterized in that it is compressed and encoded by a predetermined method every time.

請求項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 claim 3, since the buffer for performing the block processing of the color image data is provided outside the color image processing unit, the buffer used for the block processing is the color image processing unit. There is an advantage that it is not necessary to provide it. Therefore, the monochrome image processing device can be processed at a lower cost compared to the case where the monochrome image processing device is changed to a color image processing device by adding a color image processing unit having a buffer used for block processing. Can be changed to a device.

以下、本発明の第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 image processing apparatus 1 according to an embodiment of the present invention uses a monochrome line sensor 3 of a monochrome dedicated image processing apparatus 2 that reads monochrome image data of a document and performs monochrome image processing. By replacing the line sensor 4, it is an apparatus configured to read color image data of a document and perform color image processing.

まず、モノクロラインセンサ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 monochrome line sensor 3 is replaced with the color line sensor 4 will be described with reference to FIG. As shown in the figure, the monochrome only image processing apparatus 2 includes a control unit (MPU: Microprocessing Unit) 5, a ROM (Read Only Memory) 6, a RAM (Random Access Memory) 7, a monochrome image reading unit 8, and a monochrome image processing unit 9. , An operation unit 10, a display unit 11, a recording unit 12, a buffer 13, and a USB device controller 14, and the units 5 to 14 are communicably connected via a bus 15.

制御部5は、所定のプログラムに従ってこのモノクロ専用画像処理装置2を構成する各部を制御するものである。ROM6は、制御部5によりこのモノクロ専用画像処理装置2の各部の動作が制御されるための各種プログラムを記憶しているEEPROM(Electrically Erasable and Programmable ROM)である。RAM7は、このモノクロ専用画像処理装置2の処理動作の実行に伴って取得された各種データや設定情報等を格納する。   The control unit 5 controls each unit constituting the monochrome dedicated image processing apparatus 2 according to a predetermined program. The ROM 6 is an EEPROM (Electrically Erasable and Programmable ROM) that stores various programs for the operation of each unit of the monochrome image processing apparatus 2 to be controlled by the control unit 5. The RAM 7 stores various data, setting information, and the like acquired with the execution of the processing operation of the monochrome image processing apparatus 2.

モノクロ画像読取部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 monochrome line sensor 3 in the monochrome image reading unit 8. An AFE (Analog Front End) circuit 16 that performs gain adjustment based on read data output by reading a plate (not shown) is provided.

モノクロ画像処理部9は、カラー/モノクロ共通画像処理回路17、モノクロ専用画像処理回路18、二値メモリ19、コーデック20、及び二値符号化メモリ21を具備している。カラー/モノクロ共通画像処理回路17は、モノクロ画像読取部8から出力されたモノクロ画像データに対しA/D変換、光量ムラや光学部品の影響、及びモノクロラインセンサ3の画素感度のばらつきを補正するシェーディング補正、γ補正等の画像処理を行う。なお、このカラー/モノクロ共通画像処理回路17において行われる画像処理は、カラー画像とモノクロ画像に共通する画像処理である。モノクロ専用画像処理回路18は、カラー/モノクロ共通画像処理回路17によって処理されたモノクロ画像データの二値化処理など、モノクロ画像に対してのみ行われる画像処理を行う。二値メモリ19は、モノクロ専用画像処理回路18において二値化されたモノクロ画像データを一時的に格納する。   The monochrome image processing unit 9 includes a color / monochrome common image processing circuit 17, a monochrome dedicated image processing circuit 18, a binary memory 19, a codec 20, and a binary encoding memory 21. The color / monochrome common image processing circuit 17 corrects A / D conversion, light amount unevenness, the influence of optical components, and variations in pixel sensitivity of the monochrome line sensor 3 on the monochrome image data output from the monochrome image reading unit 8. Image processing such as shading correction and γ correction is performed. The image processing performed in the color / monochrome common image processing circuit 17 is image processing common to the color image and the monochrome image. The monochrome dedicated image processing circuit 18 performs image processing performed only on the monochrome image, such as binarization processing of the monochrome image data processed by the color / monochrome common image processing circuit 17. The binary memory 19 temporarily stores the monochrome image data binarized by the monochrome image processing circuit 18.

コーデック20は、画像データの符号化及び復号を行うものである。すなわち、二値メモリ19に格納されたモノクロ画像データをMH(Modified Huffman)、MR(Modified Read)、MMR(Modified Modified Read)、JBIG(Joint Bi-level Image Group)方式等により符号化し、符号化されたモノクロ画像データを復号する。二値符号化メモリ21は、コーデック20によって符号化されたモノクロ画像データを格納する。   The codec 20 performs encoding and decoding of image data. That is, the monochrome image data stored in the binary memory 19 is encoded by MH (Modified Huffman), MR (Modified Read), MMR (Modified Modified Read), JBIG (Joint Bi-level Image Group), etc. The obtained monochrome image data is decoded. The binary encoding memory 21 stores monochrome image data encoded by the codec 20.

操作部10は、モノクロ画像読取部8の原稿台に載置された原稿の読取開始命令等を指示するためのスタートキー、読取った原稿のモノクロ画像データの画像を用紙に記録する場合にその記録部数等を入力するためのテンキー、各種設定を行うためのカーソルキーなど、表示部11と連動した各種操作キーを具備している。表示部11は、図示していないが、このモノクロ専用画像処理装置2の状態に関する情報、各種操作指示入力画面、設定状態、動作状態などを文字や図形などで表示する液晶表示装置(LCD:Liquid Crystal Display)や、点灯又は消灯で表示するLEDランプを具備している。   The operation unit 10 is a start key for instructing an instruction to start reading a document placed on the platen of the monochrome image reading unit 8, and when recording an image of the read monochrome image data of the document on paper. Various operation keys linked to the display unit 11 such as a numeric keypad for inputting the number of copies and a cursor key for performing various settings are provided. Although not shown, the display unit 11 is a liquid crystal display device (LCD: Liquid) that displays information related to the state of the monochrome image processing device 2, various operation instruction input screens, setting states, operation states, and the like in characters and graphics. Crystal Display) and LED lamps that are turned on or off.

記録部12は、モノクロ画像読取部8で読取られたモノクロ画像データの画像を所定の用紙に記録するものである。この記録部12における記録方式としては、例えば、電子写真方式やインクジェット記録方式等の各種の記録方式を用いることができる。   The recording unit 12 records the image of the monochrome image data read by the monochrome image reading unit 8 on a predetermined sheet. As a recording method in the recording unit 12, for example, various recording methods such as an electrophotographic method and an ink jet recording method can be used.

バッファ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 buffer 13 is stored in the binary encoding memory 21 and then decoded by the codec 20. It is a communication buffer for temporarily storing the monochrome image data. The buffer 13 buffers the communication speed of communication performed with the client PC 22.

USBデバイスコントローラ14は、USBのデバイスコントローラ機能を実行するものである。このUSBデバイスコントローラ14にはUSBポート23が設けられており、これにUSBケーブル24の一端が接続されることによりUSBが形成され、クライアントPC22との通信が可能である。USBデバイスコントローラ14は、このようにして通信可能に接続されたクライアントPC22に対し、二値符号化メモリ21に格納されている符号化されたモノクロ二値画像データやバッファ12に格納されている復号されたモノクロ二値画像データを転送する。   The USB device controller 14 executes a USB device controller function. The USB device controller 14 is provided with a USB port 23. One end of a USB cable 24 is connected to the USB port 23 to form a USB, and communication with the client PC 22 is possible. The USB device controller 14 transmits the encoded monochrome binary image data stored in the binary encoding memory 21 and the decoding stored in the buffer 12 to the client PC 22 connected in such a manner as to be communicable. Transfer the monochrome binary image data.

上記構成を備えたモノクロ専用画像処理装置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 monochrome line sensor 3 of the monochrome image reading unit 8 reads the monochrome image data of the placed document and uses this to read the color of the monochrome image processing unit 9. / Output to the monochrome common image processing circuit 17. The color / monochrome common image processing circuit 17 performs image processing common to the color image and the monochrome image, such as A / D conversion, shading correction, and γ correction, on the monochrome image data output from the monochrome image reading unit 8. In this way, monochrome image data subjected to predetermined image processing in the color / monochrome common image processing circuit 17 is binarized in the monochrome dedicated image processing circuit 18 and then temporarily stored in the binary memory 19. Is done. The monochrome binary image data stored in the binary memory 19 is encoded by the codec 20 by a predetermined method and then stored in the binary encoding memory 21.

続いて、二値符号化メモリ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 binary encoding memory 21 is decoded by the codec 20 and temporarily stored in the buffer 13. Then, the USB device controller 14 transfers the monochrome binary image data USB stored in the buffer 13 to the client PC 22. Note that the monochrome binary image data stored in the binary memory 19 may be directly transferred to the client PC 22 by the USB device controller 14 without performing the encoding and decoding processes by the codec 20. When the encoded monochrome binary image data is transferred to the client PC 22, the encoded monochrome binary image data in the binary encoding memory 21 is not decoded by the codec 20, and the USB device controller 14. Is transferred directly to the client PC 22.

次に、このモノクロ専用画像処理装置2のモノクロラインセンサ3をカラーラインセンサ4に交換してカラー画像データを扱うことができるように構成した画像処理装置1について、図2に基づいて説明する。なお、モノクロ専用画像処理装置2と同一の構成のものには同一番号を付けてその説明を省略し、異なる点について以下で説明する。   Next, an image processing apparatus 1 configured to handle color image data by replacing the monochrome line sensor 3 of the monochrome dedicated image processing apparatus 2 with the color line sensor 4 will be described with reference to FIG. In addition, the same number is attached | subjected to the thing of the same structure as the monochrome exclusive image processing apparatus 2, the description is abbreviate | omitted, and a different point is demonstrated below.

この画像処理装置1は、図示するように制御部5、ROM6、RAM7、原稿のカラー画像データを読取るために、上記のモノクロラインセンサ3がカラーラインセンサ4に交換されたカラー画像読取部26、モノクロ画像処理部9、操作部10、表示部11、記録部12、バッファ13、及びUSBデバイスコントローラ14を備えたものであって、これらの各部はバス15によって通信可能に接続されている。   As shown in the figure, the image processing apparatus 1 includes a control unit 5, a ROM 6, a RAM 7, a color image reading unit 26 in which the monochrome line sensor 3 is replaced with a color line sensor 4 in order to read color image data of a document, A monochrome image processing unit 9, an operation unit 10, a display unit 11, a recording unit 12, a buffer 13, and a USB device controller 14 are provided, and these units are communicably connected via a bus 15.

画像処理装置1のROM6は、前記モノクロ画像専用画像処理装置2のROM6が格納していた制御プログラムに加え、モノクロラインセンサ3がカラーラインセンサ4に交換された際にインストールされた制御プログラムを格納している。ここで、新たにインストールされた制御プログラムは、原稿のカラー画像データを読取って所定の画像処理を行うために必要な画像処理装置1の各部の処理動作を制御するための制御プログラムである。例えばカラーラインセンサ4により原稿のカラー画像データを読取るための読取制御プログラムや、読取られたカラー画像データの色成分間の位置ずれ補正を行うための位置ずれ補正処理プログラム等である。   The ROM 6 of the image processing apparatus 1 stores the control program installed when the monochrome line sensor 3 is replaced with the color line sensor 4 in addition to the control program stored in the ROM 6 of the monochrome image dedicated image processing apparatus 2. doing. Here, the newly installed control program is a control program for controlling the processing operation of each part of the image processing apparatus 1 necessary for reading color image data of a document and performing predetermined image processing. For example, there are a reading control program for reading color image data of a document by the color line sensor 4 and a misregistration correction processing program for correcting misregistration between color components of the read color image data.

カラー画像読取部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 image reading unit 26 reads color image data of a document by a plurality of line sensors, and includes the color line sensor 4 and the AFE circuit 16. Here, the color line sensor 4 is composed of three line sensors of R (Red), G (Green), and B (Blue). The color line sensor 4 reads color images of an original and reads color image data composed of RGB line sequential data. Is output to a predetermined output destination. Although not shown, these three line sensors are arranged side by side with a predetermined line interval, so that the color image reading unit 26 sequentially shifts the RGB lines in a shifted state due to the line gap. Data is output. The color line sensor 4 is for reading the color image data of the original. The color line sensor 4 outputs only the G component of the RGB three components as monochrome, or outputs the color line sensor 4 to the three RGB line sensors. Of course, it is possible to read monochrome image data of a document by using a 4-line type in which a line sensor for reading monochrome image data is added. Here, the AFE circuit 16 acquires a gain setting value based on the read data of each of the RGB color components output by the color line sensor 4 reading the white reference plate, and adjusts the gain of the read color image data. The obtained gain setting values of the RGB color components are stored in the register of the AFE circuit 16, and when the color image data of the original is read by the color line sensor 4, the AFE circuit 16 stores the color components stored in the register. A process for amplifying each color separation signal is performed based on the gain setting value.

前記モノクロ画像処理部9のカラー/モノクロ共通画像処理回路17は、カラー画像読取部26において読取られたカラー画像データに対してカラー画像及びモノクロ画像に共通する画像処理を行って二値符号化メモリ21(メモリ)に格納する。具体的には、カラー画像読取部26のカラーラインセンサ4によって読取られたカラー画像データに対してもA/D変換、シェーディング補正、γ補正等のカラー画像及びモノクロ画像に共通する画像処理を行う。そして、二値符号化メモリ21は、コーデック20において所定の方式で符号化されたモノクロ二値画像データの他に、このカラー/モノクロ共通画像処理回路17において処理されたカラー画像データを一時的に格納する。なお、後述するが、カラー/モノクロ共通画像処理回路17によって処理されたカラー画像データの色成分間の位置ずれ補正は、モノクロ画像処理部9に設けられたこの二値符号化メモリ21上で行われる。また、前記バッファ13は、その位置ずれ補正されたカラー画像データを一時的に格納する。このように、モノクロ画像処理部9には、二値符号化メモリ21とカラー画像読取部26において読取られたカラー画像データに対しカラー画像及びモノクロ画像に共通する画像処理を行って二値符号化メモリ21に格納するカラー/モノクロ共通画像処理回路17とが設けられている。   The color / monochrome common image processing circuit 17 of the monochrome image processing unit 9 performs image processing common to the color image and the monochrome image on the color image data read by the color image reading unit 26 to perform binary coding memory. 21 (memory). Specifically, image processing common to color and monochrome images, such as A / D conversion, shading correction, and γ correction, is also performed on color image data read by the color line sensor 4 of the color image reading unit 26. . The binary encoding memory 21 temporarily stores the color image data processed by the color / monochrome common image processing circuit 17 in addition to the monochrome binary image data encoded by the codec 20 by a predetermined method. Store. As will be described later, the positional deviation correction between the color components of the color image data processed by the color / monochrome common image processing circuit 17 is performed on the binary coding memory 21 provided in the monochrome image processing unit 9. Is called. Further, the buffer 13 temporarily stores the color image data corrected for the positional deviation. In this way, the monochrome image processing unit 9 performs binary image encoding by performing image processing common to the color image and the monochrome image on the color image data read by the binary encoding memory 21 and the color image reading unit 26. A color / monochrome common image processing circuit 17 stored in the memory 21 is provided.

なお、制御部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 control unit 5 controls writing and reading of color image data with respect to the binary coding memory 21 of the monochrome image processing unit 9. The control unit 5 performs a positional deviation correction between the color components of the color image data processed by the color / monochrome common image processing circuit 17 on the binary coding memory 21 provided in the monochrome image processing unit 9. In other words, the color / monochrome common image processing circuit 17 performs binary coding on the RGB line sequential data in a state of being shifted after image processing common to the color image and monochrome image of A / D conversion, shading correction, and γ correction is performed. By controlling the write address when writing (storing) to the memory 21 or by controlling the read address when reading, RGB line sequential data of the same line is output from the binary coding memory 21. As described above, the address control for the binary coding memory 21 is performed. Specifically, the RGB line sequential data in a state of deviation processed by the color / monochrome common image processing circuit 17 is written into the binary coding memory 21 in the order of R, G, B, for example, for each line. Then, when the RGB line sequential data for a predetermined line is written in the binary encoding memory 21, the RGB line sequential data of the same line (main scanning line) is sequentially read out for each line to thereby determine the position between the color components. Deviation correction is performed.

以下、カラー画像読取部26において読取られた原稿のカラー画像データがクライアントPC22に転送されるまでに、画像処理装置1において行われる処理動作によるデータ転送の流れについて、図4に基づいて説明する。なお、以下に説明する画像処理装置1の処理動作は、ROM6に格納されている制御プログラムに基づいて制御部5が発行する命令に従って行われる。   Hereinafter, the flow of data transfer by the processing operation performed in the image processing apparatus 1 until the color image data of the document read by the color image reading unit 26 is transferred to the client PC 22 will be described with reference to FIG. The processing operation of the image processing apparatus 1 described below is performed in accordance with a command issued by the control unit 5 based on a control program stored in the ROM 6.

カラー画像読取部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 image reading unit 26 and the user presses the start key of the operation unit 10 to input a document reading start command, the color line sensor 4 reads the document. The color image is read, and the read analog color image data of the RGB color system is output to the color / monochrome common image processing circuit 17 of the monochrome image processing unit 9. Note that the color image data output here is RGB line sequential data with a shift. The color / monochrome common image processing circuit 17 is an image common to the color image and monochrome image of A / D conversion, shading correction, and γ correction for the RGB color system analog color image data output from the color line sensor 4. Process. In this way, when predetermined image processing is performed in the color / monochrome common image processing circuit 17, the control unit 5 once writes the RGB line sequential data subjected to the image processing into the binary encoding memory 21 once. Include. The written RGB line sequential data is read from the binary encoding memory 21 and written into the buffer 13. At this time, the RGB line sequential data write / read address to the binary encoding memory 21 is controlled to correct the positional deviation between the color components of the RGB line sequential data (color image data), and the positional deviation corrected RGB table. Color system color image data is written into the buffer 13. Then, the USB device controller 14 sequentially transfers the color image data of the RGB color system stored in the buffer 13 by the control unit 5 in this way to the client PC 22. Note that the same processing as in the case of the above-described color image data is performed when monochrome multi-value image data of a document read by the color line sensor 4 is output to the client PC 22.

以上説明したように、本発明の第1の実施形態に係る画像処理装置1では、カラーラインセンサ4で読取られたずれのある状態のRGB表色系のカラー画像データは、モノクロ画像処理部9の二値符号化メモリ21上で色成分間の位置ずれ補正が行われるので、カラー画像データの位置ずれ補正を行うためのメモリを付加することなく、モノクロラインセンサ3をカラーラインセンサ4に交換するだけで簡単にモノクロ専用画像処理装置2をカラー画像処理装置1に変更することができる。   As described above, in the image processing apparatus 1 according to the first embodiment of the present invention, the color image data in the RGB color system in the state of deviation read by the color line sensor 4 is the monochrome image processing unit 9. Since the misregistration correction between the color components is performed on the binary encoding memory 21, the monochrome line sensor 3 is replaced with the color line sensor 4 without adding a memory for correcting the misregistration of the color image data. The monochrome image processing apparatus 2 can be easily changed to the color image processing apparatus 1 simply by doing so.

なお、ずれのある状態のカラー画像データの位置ずれ補正に使用するメモリは、二値符号化メモリ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 binary encoding memory 21, but the RGB lines sequentially corresponding to the delay lines necessary for the misregistration correction. If there is another existing memory having a capacity sufficient to store data, the misalignment correction can be performed using the existing memory.

また、本実施の形態においては、画像処理装置1とクライアントPC22とをUSBを介して接続した場合を例に挙げて説明したが、画像処理装置1からクライアントPC22へカラー画像データを転送できれば接続手段はUSBに限定されるものではない。例えばUSBデバイスコントローラ14に代えてパラレルインターフェース、LAN(Local Area Network)インターフェース等を実装して、パラレル、LAN等を接続手段としてもよい。   In the present embodiment, the case where the image processing apparatus 1 and the client PC 22 are connected via the USB has been described as an example. However, if color image data can be transferred from the image processing apparatus 1 to the client PC 22, connection means is possible. Is not limited to USB. For example, instead of the USB device controller 14, a parallel interface, a LAN (Local Area Network) interface, or the like may be mounted, and the parallel, LAN, or the like may be used as the connection unit.

以下、カラーラインセンサ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 color line sensor 4 using the JPEG method and output it to the client PC 22, the monochrome line sensor 3 of the monochrome dedicated image processing apparatus 2 is replaced with the color line sensor 4, and An image processing apparatus 31 according to a second embodiment of the present invention to which a color image processing unit 30 (color image processing board) is added will be described with reference to FIG. In addition, the same number is attached | subjected to the thing of the same structure as the image processing apparatus 1, the description is abbreviate | omitted, and a different point is demonstrated below.

この画像処理装置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 image processing device 31 is obtained by adding a color image processing unit 30 to the image processing device 1 in which the monochrome line sensor 3 of the monochrome dedicated image processing device 2 is replaced with the color line sensor 4. The color image processing unit 30 performs image processing that is performed only on a color image on the color image data that has been subjected to positional deviation correction on the binary coding memory 21 by the control unit 5. The color image processing unit 30 includes an input I / F 32, a line buffer 33, a color space conversion circuit 34, a JPEG (Joint Photographic Experts Group) encoder 35, a multilevel encoding memory 36, and an output I / F 37. It can be attached to and detached from the image processing apparatus 31.

ラインバッファ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 line buffer 33 stores RGB color system color image data input from the binary encoding memory 21 of the monochrome image processing unit 9 to the color image processing unit 30 via the input I / F 32. In other words, the line buffer 33 is a buffer for storing color image data that has been subjected to position shift correction on the binary encoding memory 21 by the control unit 5. The control unit 5 temporarily stores the color image data corrected for misregistration on the binary coding memory 21 in the line buffer 33, and when reading this, sequentially converts it into blocks of a predetermined number of pixels in the main scanning direction and the sub-scanning direction. A process of dividing (blocking process) is performed. This blocking process is performed by controlling the write / read address of color image data for the line buffer 33. Specifically, RGB line sequential data whose positional deviation has been corrected on the binary encoding memory 21 is sequentially written to the line buffer 33, and color image data for eight lines, here, eight lines of color image data is stored in the line buffer. At the stage of being stored in 33, the data is divided into blocks each consisting of pixel data of 8 × 8 pixels (8 pixels in the main scanning direction and 8 pixels in the sub-scanning direction) every 8 lines (main scanning lines). Read from the line buffer 33 and output to a predetermined output destination. In this embodiment, the unit is divided for each 8 × 8 pixel block, but the unit of the predetermined number of pixels is not limited to this. For example, the unit is divided for each 4 × 4 pixel block, Of course, it is possible to divide each block of 16 × 16 pixels.

カラー画像処理部30は、制御部5によってブロック毎に分割されたカラー画像データを所定の色空間に色空間変換し、色空間変換したカラー画像データを各ブロック毎に所定の方式で圧縮符号化する。色空間変換回路34は、制御部5が各ブロック毎に分割したRGB表色系のカラー画像データを各ブロック毎に所定の色空間に色空間変換する。ここでは、入力されたRGB表色系のカラー画像データをYCrCb表色系のカラー画像データへと色空間変換する。なお、この色空間変換の処理は、制御部5によってブロック単位で読み出されたカラー画像データに対し、1画素データ毎に行われる。また、本発明の実施の形態においては、入力されたRGB表色系のカラー画像データはYCrCb表色系のカラー画像データに色空間変換されるが、使用する色空間はこれに限定されるものではなく、カラー画像データの用途に応じてRGB表色系のカラー画像データを、例えばL*a*b*表色系のカラー画像データに色空間変換するようにしてもよい。   The color image processing unit 30 performs color space conversion on the color image data divided for each block by the control unit 5 into a predetermined color space, and compresses and encodes the color image data after color space conversion for each block in a predetermined method. To do. The color space conversion circuit 34 converts the RGB color system color image data divided by the control unit 5 for each block into a predetermined color space for each block. Here, the input RGB color system color image data is color space converted into YCrCb color system color image data. The color space conversion process is performed for each pixel data with respect to the color image data read by the control unit 5 in units of blocks. In the embodiment of the present invention, the input color image data of the RGB color system is color space converted to color image data of the YCrCb color system, but the color space to be used is limited to this. Instead, RGB color system color image data may be color space converted into, for example, L * a * b * color system color image data in accordance with the use of the color image data.

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 JPEG encoder 35 compresses and encodes the color image data color-space converted by the color space conversion circuit 34 for each block using the JPEG method. Specifically, color image data that has been color space converted to the YCrCb color system is compression-coded by the JPEG method for each block of 8 × 8 pixels. The JPEG encoder 35 includes a quantization table and a Huffman table (not shown), and generates DCT coefficients by performing discrete cosine transform (DCT) on the color image data for each block. The generated DCT coefficient is quantized with reference to a quantization threshold stored in the quantization table, and the quantized DCT coefficient is variable-length encoded with reference to a Huffman code stored in the Huffman table. Thus, compression encoding by the JPEG method is performed. The compression encoding process performed by the JPEG encoder 35 is not limited to this. For example, the discrete wavelet transform (DWT) is performed on the color image data divided by the control unit 5 for each block of 16 × 16 pixels. : Discrete Wavelet Transform) and JPEG2000 compression encoding processing may be performed. The multilevel encoding memory 36 stores color image data compressed and encoded by the JPEG encoder 35 using the JPEG method. The color image data stored in the multi-level encoding memory 36 is output via the output I / F 37 and transferred to the client PC 22 by the USB device controller 14.

また、画像処理装置31のROM6は、前記モノクロ画像専用画像処理装置2のROM6が格納していた制御プログラムに加え、モノクロラインセンサ3がカラーラインセンサ4に交換するとともに、カラー画像処理部30が付加された際にインストールされた制御プログラムを格納している。ここで、新たにインストールされた制御プログラムは、原稿のカラー画像データを読取って所定の画像処理を行うために必要な画像処理装置31の各部の処理動作を制御するための制御プログラムである。   The ROM 6 of the image processing device 31 is replaced with the color line sensor 4 in addition to the control program stored in the ROM 6 of the monochrome image dedicated image processing device 2, and the color image processing unit 30 is replaced with the color image sensor 30. Stores the control program that was installed when it was added. Here, the newly installed control program is a control program for controlling the processing operation of each part of the image processing apparatus 31 necessary for reading color image data of a document and performing predetermined image processing.

以下、カラー画像読取部26において読取られたカラー画像データがクライアントPC22に転送されるまでに、画像処理装置31において行われる処理動作によるデータ転送の流れについて、図6に基づいて説明する。なお、以下に説明する画像処理装置31の処理動作は、ROM6に格納されている制御プログラムに基づいて制御部5が発行する命令に従って行われる。   Hereinafter, the flow of data transfer by the processing operation performed in the image processing apparatus 31 until the color image data read by the color image reading unit 26 is transferred to the client PC 22 will be described with reference to FIG. Note that the processing operation of the image processing apparatus 31 described below is performed according to a command issued by the control unit 5 based on a control program stored in the ROM 6.

カラー画像読取部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 image reading unit 26 and the user presses the start key of the operation unit 10 to input a document reading start command, the color line sensor 4 reads the document. The color image is read, and the read analog color image data of the RGB color system is output to the color / monochrome common image processing circuit 17 of the monochrome image processing unit 9. Note that the color image data output here is RGB line sequential data with a shift. The color / monochrome common image processing circuit 17 is an image common to the color image and monochrome image of A / D conversion, shading correction, and γ correction for the RGB color system analog color image data output from the color line sensor 4. Process. Thus, when predetermined image processing is performed in the color / monochrome common image processing circuit 17, the control unit 5 once writes the RGB line sequential data subjected to the image processing into the binary coding memory 21. . The written RGB line sequential data is read from the binary encoding memory 21 and written into the buffer 13. At this time, the RGB line sequential data write / read address to the binary encoding memory 21 is controlled to correct the positional deviation between the color components of the RGB line sequential data (color image data), and the positional deviation corrected RGB table. Color system color image data is written into the line buffer 33.

制御部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 line buffer 33, the control unit 5 blocks the RGB color system color image data for a predetermined line into the line buffer 33. Start processing. That is, a process of controlling the write / read address for the line buffer 33 to divide the written color image data into 8 × 8 pixel blocks for each of the RGB color components and output the block to the color space conversion circuit 34. Start. The color space conversion circuit 34 converts the RGB color system color image data divided by the control unit 5 into blocks of 8 × 8 pixels into YCrCb color system color image data one pixel at a time. The spatially converted YCrCb color system color image data is output to the JPEG encoder 35.

JPEGエンコーダ35は、色空間変換回路34が色空間変換したYCrCb表色系のカラー画像データを各ブロック毎にJPEG方式により圧縮符号化する。このように、JPEGエンコーダ35において圧縮符号化されたカラー画像データは、多値符号化メモリ36へと送られ、該多値符号化メモリ36に格納される。そして、USBデバイスコントローラ14は、多値符号化メモリ36に格納されたカラー画像データをクライアントPC22へ転送する。   The JPEG encoder 35 compresses and encodes the YCrCb color system color image data color space converted by the color space conversion circuit 34 for each block by the JPEG method. In this way, the color image data compressed and encoded by the JPEG encoder 35 is sent to the multi-level encoding memory 36 and stored in the multi-level encoding memory 36. Then, the USB device controller 14 transfers the color image data stored in the multi-level encoding memory 36 to the client PC 22.

以上説明したように、画像処理装置31は、モノクロ画像専用からカラー画像に対応したものに変更するために、モノクロラインセンサ3がカラーラインセンサ4に交換され、既存のモノクロ画像処理部9にカラー画像及びモノクロ画像に共通する画像処理を行わせるようにしてカラー画像データに対してのみ行われる画像処理を行うカラー画像処理部30が付加された装置である。したがって、ユーザはカラー画像データに対して行われる全ての画像処理を行う機能を備えたカラー画像処理部を付加する場合に比べて、安価にモノクロ専用画像処理装置2をカラー画像に対応した画像処理装置31に変更することができる。   As described above, in order to change the image processing apparatus 31 from a dedicated monochrome image to one corresponding to a color image, the monochrome line sensor 3 is replaced with the color line sensor 4, and the existing monochrome image processing unit 9 is replaced with a color image. This is an apparatus to which a color image processing unit 30 for performing image processing performed only on color image data so as to perform image processing common to images and monochrome images is added. Therefore, compared with the case where the user adds a color image processing unit having a function of performing all image processing performed on color image data, the monochrome dedicated image processing apparatus 2 can perform image processing corresponding to the color image at a lower cost. The device 31 can be changed.

さらに、カラー画像読取部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 image reading unit 26 can be performed on the binary coding memory 21 of the monochrome image processing unit 9, the color image processing unit 30 There is an advantage that it is not necessary to provide a memory for correcting misalignment. Therefore, compared with the case where the monochrome image processing apparatus 2 is changed to a color image processing apparatus by adding a color image processing unit 30 (color image processing board) provided with a memory for correcting misregistration of color image data. The configuration of the color image processing unit 30 can be simplified, and the monochrome image processing apparatus 2 can be changed to a color image processing apparatus at a lower cost.

また、例えば制御部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 binary coding memory 21 by the control unit 5 without going through the line buffer 33 is color space converted by the color space conversion circuit 34, and then stored in the line buffer 33 to be blocked. When processing is performed, the color space conversion circuit 34 must perform color space conversion of the color image data at a speed at which the color image data is input from the binary coding memory 21. However, in the image processing apparatus 31 according to the embodiment of the present invention, the color image data that has been subjected to the positional deviation correction on the binary coding memory 21 is once stored in the line buffer 33 and then to the color space conversion circuit 34. Is output. Therefore, the color space conversion circuit 34 can perform color space conversion on the color image data at a speed at which the color image data is read from the line buffer 33 by the control unit 5. Color space conversion can be performed at a lower speed than when data is directly input. Therefore, when the processing speed of each part of the color image processing unit 30 is reduced, it is possible to prevent the problem that the reading operation of the document in the color image reading unit 26 has to be temporarily interrupted. Also, since the line buffer 33 performs blocking processing, there are two buffers: a buffer for storing color image data whose positional deviation has been corrected by the binary encoding memory 21, and a buffer for performing blocking processing. There is no need to provide it, and the configuration of the color image processing unit 30 can be simplified.

なお、この画像処理装置31ではカラー画像読取部26において読取られたカラー画像データの記録処理は行われないが、JPEGエンコーダ35と逆の処理を行うJPEGデコーダ、カラー画像データをC(シアン)、M(マゼンタ)、Y(イエロー)、K(ブラック)等の出力色に変換する出力色変換や二値化処理を行う回路を付加し、記録部11をカラー/モノクロ双方の画像データの画像を記録可能な構成に変更すれば、カラー画像読取部26において読取られたカラー画像データの記録処理を行うことは当然可能である。   The image processing apparatus 31 does not perform the recording process of the color image data read by the color image reading unit 26. However, the image processing apparatus 31 does not perform the recording process of the color image data. A circuit for performing output color conversion and binarization processing for conversion to output colors such as M (magenta), Y (yellow), and K (black) is added, and the recording unit 11 is configured to display both color / monochrome image data images. If the configuration is changed to a recordable configuration, the color image data read by the color image reading unit 26 can naturally be recorded.

図7は、本発明の第3の実施の形態に係る画像処理装置41の構成を示したブロック図である。この画像処理装置41は、上記のモノクロ専用画像処理装置2のモノクロラインセンサ3がカラーラインセンサ4に交換されるとともに、カラー画像処理部42が付加された装置である。   FIG. 7 is a block diagram showing a configuration of an image processing apparatus 41 according to the third embodiment of the present invention. The image processing apparatus 41 is an apparatus in which the monochrome line sensor 3 of the monochrome dedicated image processing apparatus 2 is replaced with a color line sensor 4 and a color image processing unit 42 is added.

この画像処理装置41は、図5に示したカラー画像処理部30のラインバッファ33が除かれた点の他は画像処理装置31と同様に構成されているため、その詳細な説明はここでは省略する。このカラー画像処理部42が付加された画像処理装置41では、図8に示すように、モノクロ画像処理部9の二値符号化メモリ21上で位置ずれ補正されたカラー画像データが、既存のバッファ13に一旦格納され、該バッファ13においてブロック化され、カラー画像処理部42の色空間変換回路34に入力されるようになっている。すなわち、制御部5がブロック化処理で使用するバッファがカラー画像処理部42外に設けられている。したがって、カラー画像処理部42にカラー画像データのブロック化処理を行うためのバッファを設ける必要がないという利点がある。よって、カラー画像データのブロック化を行うためのバッファを備えたカラー画像処理部を付加してモノクロ専用画像処理装置2をカラー画像処理装置に変更する場合に比べて、より安価にモノクロ専用画像処理装置をカラー画像処理装置に変更することができる。   Since the image processing apparatus 41 is configured in the same manner as the image processing apparatus 31 except that the line buffer 33 of the color image processing unit 30 shown in FIG. 5 is omitted, detailed description thereof is omitted here. To do. In the image processing apparatus 41 to which the color image processing unit 42 is added, as shown in FIG. 8, the color image data that has been subjected to the positional deviation correction on the binary coding memory 21 of the monochrome image processing unit 9 is stored in an existing buffer. 13 is temporarily stored in the buffer 13, blocked in the buffer 13, and input to the color space conversion circuit 34 of the color image processing unit 42. That is, a buffer used by the control unit 5 in the blocking process is provided outside the color image processing unit 42. Therefore, there is an advantage that it is not necessary to provide a buffer for performing color image data blocking processing in the color image processing unit 42. Therefore, the monochrome image processing can be performed at a lower cost than the case where the monochrome image processing device 2 is changed to a color image processing device by adding a color image processing unit having a buffer for blocking color image data. The apparatus can be changed to a color image processing apparatus.

本発明は、例えばモノクロ専用画像処理装置のモノクロラインセンサをカラーラインセンサに交換した画像処理装置に適用可能である。   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.

モノクロラインセンサがカラーラインセンサに交換される前のモノクロ専用画像処理装置の構成例を示したブロック図である。It is the block diagram which showed the structural example of the monochrome only image processing apparatus before a monochrome line sensor was replaced | exchanged for a color line sensor. モノクロラインセンサがカラーラインセンサに交換された第1の実施形態に係る画像処理装置の構成例を示したブロック図である。1 is a block diagram illustrating a configuration example of an image processing apparatus according to a first embodiment in which a monochrome line sensor is replaced with a color line sensor. 原稿のモノクロ画像データを読取ってクライアントPCに出力する場合に、モノクロ専用画像処理装置において行われる処理動作によるデータ転送の流れを示した図である。FIG. 5 is a diagram illustrating a flow of data transfer by a processing operation performed in a monochrome dedicated image processing apparatus when monochrome image data of a document is read and output to a client PC. 原稿のカラー画像データを読取ってクライアントPCに出力する場合に、第1の実施形態に係る画像処理装置において行われる処理動作によるデータ転送の流れを示した図である。FIG. 5 is a diagram illustrating a flow of data transfer by a processing operation performed in the image processing apparatus according to the first embodiment when reading color image data of a document and outputting it to a client PC. モノクロラインセンサをカラーラインセンサに交換すると共にカラー画像処理部を付加した本発明の第2の実施形態に係る画像処理装置の構成例を示したブロック図である。It is the block diagram which showed the structural example of the image processing apparatus which concerns on the 2nd Embodiment of this invention which replaced the monochrome line sensor with the color line sensor and added the color image processing part. 原稿のカラー画像データを読取ってクライアントPCに出力する場合に、第2の実施形態に係る画像処理装置において行われる処理動作によるデータ転送の流れを示した図である。FIG. 10 is a diagram illustrating a flow of data transfer by a processing operation performed in an image processing apparatus according to a second embodiment when reading color image data of a document and outputting it to a client PC. モノクロラインセンサをカラーラインセンサに交換すると共にカラー画像処理部を付加した本発明の第3の実施形態に係る画像処理装置の構成例を示したブロック図である。It is the block diagram which showed the structural example of the image processing apparatus which concerns on the 3rd Embodiment of this invention which replaced the monochrome line sensor with the color line sensor and added the color image processing part. 原稿のカラー画像データを読取ってクライアントPCに出力する場合に、第3の実施形態に係る画像処理装置において行われる処理動作によるデータ転送の流れを示した図である。FIG. 10 is a diagram illustrating a flow of data transfer by a processing operation performed in an image processing apparatus according to a third embodiment when reading color image data of a document and outputting it to a client PC.

符号の説明Explanation of symbols

1、31、41 画像処理装置
4 カラーラインセンサ
5 制御部
9 モノクロ画像処理部
13 バッファ
17 カラー/モノクロ共通画像処理回路
21 二値符号化メモリ
26 カラー画像読取部
30、42 カラー画像処理部
33 ラインバッファ
34 色空間変換回路
35 JPEGエンコーダ
DESCRIPTION OF SYMBOLS 1, 31, 41 Image processing apparatus 4 Color line sensor 5 Control part 9 Monochrome image processing part 13 Buffer 17 Color / monochrome common image processing circuit 21 Binary encoding memory 26 Color image reading part 30, 42 Color image processing part 33 Line Buffer 34 Color space conversion circuit 35 JPEG encoder

Claims (3)

複数のラインセンサによって原稿のカラー画像データを読取るカラー画像読取部と、メモリと前記カラー画像読取部において読取られたカラー画像データに対しカラー画像及びモノクロ画像に共通する画像処理を行って前記メモリに格納するカラー/モノクロ共通画像処理回路とが設けられたモノクロ画像処理部と、前記カラー/モノクロ共通画像処理回路によって処理されたカラー画像データの色成分間の位置ずれ補正を前記モノクロ画像処理部に設けられた前記メモリ上で行う制御部と、を備えることを特徴とする画像処理装置。   A color image reading unit that reads color image data of a document by a plurality of line sensors, and image processing that is common to a color image and a monochrome image is performed on the memory and the color image data read by the color image reading unit. A monochrome image processing unit provided with a color / monochrome common image processing circuit to be stored, and a positional deviation correction between color components of the color image data processed by the color / monochrome common image processing circuit are performed in the monochrome image processing unit. An image processing apparatus comprising: a control unit configured to perform on the provided memory. 前記位置ずれ補正されたカラー画像データを格納するバッファと、カラー画像データにカラー画像に対してのみ行われる画像処理を行うカラー画像処理部と、を備え、
前記制御部は、前記メモリ上で位置ずれ補正したカラー画像データを前記バッファに一旦格納し、これを読み出す際に主走査方向及び副走査方向に順次所定画素数単位のブロックに分割し、
前記カラー画像処理部は、前記制御部によってブロック毎に分割されたカラー画像データを所定の色空間に色空間変換し、色空間変換したカラー画像データを各ブロック毎に所定の方式で圧縮符号化することを特徴とする請求項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:
前記バッファが前記カラー画像処理部外に設けられていることを特徴とする請求項2記載の画像処理装置。   The image processing apparatus according to claim 2, wherein the buffer is provided outside the color image processing unit.
JP2004026300A 2004-02-03 2004-02-03 Image processor Pending JP2005223374A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (1)

* Cited by examiner, † Cited by third party
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
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
JP2008294606A (en) Image processor
JP2004112695A (en) Image processing apparatus and processing method thereof
JP2005223374A (en) Image processor
US20100054598A1 (en) Image processing apparatus, image forming apparatus, image processing apparatus control method, and storage medium
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