JP2002247386A - Color image-processing device - Google Patents

Color image-processing device

Info

Publication number
JP2002247386A
JP2002247386A JP2001041650A JP2001041650A JP2002247386A JP 2002247386 A JP2002247386 A JP 2002247386A JP 2001041650 A JP2001041650 A JP 2001041650A JP 2001041650 A JP2001041650 A JP 2001041650A JP 2002247386 A JP2002247386 A JP 2002247386A
Authority
JP
Japan
Prior art keywords
data
color
memory
mode
compression
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
JP2001041650A
Other languages
Japanese (ja)
Inventor
Katsuhisa Tsuji
勝久 辻
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2001041650A priority Critical patent/JP2002247386A/en
Publication of JP2002247386A publication Critical patent/JP2002247386A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color Image Communication Systems (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Color, Gradation (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image-processing device having a frame memory for efficiently using a general-purpose memory chip. SOLUTION: The color image-processing device comprises a mode selection section 8 for selecting either a full-color mode or a black-and-white mode, a color conversion circuit for converting the color of RGB data, a compression/ decompression section 5 for compressing color conversion data in 2×2 pixel block units, a selector for selecting compression data or data before compression, a memory control circuit 6 for storing selected data at a frame memory 7, the compression/decompression section 5 for decompressing data read from the frame memory 7, a selector for selecting either the decompression data or data before decompression, and an inverse color conversion circuit for inversely converting the color of the selected data to RGB data. The two selectors select compression and decompression data when the full color mode is selected.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、フルカラー及び白
黒モードにて画像を形成するデジタルカラー複写機、カ
ラーファクシミリなどのカラー画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color image processing apparatus such as a digital color copying machine and a color facsimile for forming an image in a full-color and monochrome mode.

【0002】[0002]

【従来の技術】一般的にデジタル複写機においては、C
CDイメージセンサ等を用いて原稿画像を画素ごとに読
み取り、イメージセンサの出力に得られるアナログ電気
信号をA/D変換し、得られるデジタル信号に各種処理
を施した後、その信号を記録装置に与えてコピー画像を
得ている。デジタルカラー複写機では、複写すべき原稿
をR(レッド)、G(グリーン)、B(ブルー)に色分
解して読み取り、この画像データを基に、Y(イエロ
ー)、M(マゼンタ)、C(シアン)、K(ブラック)
の色材を用いてカラー画像を再生する。
2. Description of the Related Art Generally, in a digital copying machine, C
The original image is read pixel by pixel using a CD image sensor or the like, the analog electric signal obtained from the output of the image sensor is A / D-converted, and the obtained digital signal is subjected to various processes. Give the copy image. In a digital color copying machine, a document to be copied is separated into R (red), G (green), and B (blue) and read. Based on the image data, Y (yellow), M (magenta), (Cyan), K (Black)
A color image is reproduced by using the color materials.

【0003】このようなカラー画像形成装置として、特
開昭63−107274号公報に示されるものがある。
この公報に示される装置は、記録紙を転写ドラムに巻き
付け、記録に用いる複数色の色材に対応する画像を面順
次に感光体ドラム上に形成し記録紙に転写する工程を、
用いる色材の種類だけ繰り返す。即ち、YMCKの4色
でカラー画像を再生する場合は、4回の作像工程を繰り
返すことになる。
One such color image forming apparatus is disclosed in Japanese Patent Application Laid-Open No. 63-107274.
The apparatus disclosed in this publication includes a step of winding a recording sheet around a transfer drum, forming images corresponding to a plurality of color materials used for recording on a photosensitive drum in a face-to-side sequence, and transferring the image to the recording sheet.
Repeat for each type of color material used. That is, when a color image is reproduced with four colors of YMCK, four image forming steps are repeated.

【0004】一方、カラー複写機の性能も向上してお
り、画素密度で600dpi、コピースピードにおいて
は前述の1ドラム型の作像装置(プリンタ)において
も、単色で50cpm(コピー/分)程度が実用化され
ている。画像形成装置のコピースピードや画素密度を向
上するためには、書き込みのレーザービームを複数にし
て1ラインごとに用いるビームを切り替えるようにする
ことで、露光量を確保する方法も実用化されている。
On the other hand, the performance of color copiers has also been improved, and the pixel density is about 600 dpi, and the copy speed is about 50 cpm (copy / min) for a single color even in the aforementioned one-drum type image forming apparatus (printer). Has been put to practical use. In order to improve the copy speed and the pixel density of the image forming apparatus, a method of securing an exposure amount by switching a beam used for each line by using a plurality of writing laser beams has been put to practical use. .

【0005】他方、原稿読取装置(スキャナ)において
は、画素密度の増加により画素サイズが小さくなるた
め、光量が不足し、適度なノイズレベル(S/N比)の
品質の画像データを得るためには、読み取りスピードを
余り上げることができない。そのため、プリンタに比べ
スキャナのスピードが遅く、コピースピードがスキャナ
のスピードに制限されるという問題があった。
On the other hand, in a document reading apparatus (scanner), the pixel size is reduced due to an increase in the pixel density, so that the amount of light is insufficient, and image data of an appropriate noise level (S / N ratio) is obtained. Cannot increase the reading speed too much. Therefore, there is a problem that the speed of the scanner is lower than that of the printer, and the copy speed is limited by the speed of the scanner.

【0006】これを解消するために、原稿読取データを
一旦フレームメモリに記憶し、プリンタの書き込みスピ
ードに合わせて高速に画像データをメモリから読み出す
ことで、高速に作像する方法が提案されている。この場
合においても、1枚の原稿に付き1枚コピーするときは
コピースピードが低下するが、1枚の原稿に付き複数枚
(N枚)のコピーをするときはNが大きくなるほど効果
は大きくなる。
In order to solve this problem, a method has been proposed in which document read data is temporarily stored in a frame memory, and image data is read from the memory at a high speed in accordance with the writing speed of a printer, thereby forming a high-speed image. . In this case as well, the copy speed decreases when one copy is made per document, but when multiple copies (N copies) are made per document, the effect increases as N increases. .

【0007】さらに、複数台のプリンタを接続する場合
は、フレームメモリに記憶されたデータを読み出して複
数台のプリンタに送信し、並列にコピーを作成すること
もできる。しかし、画像データを1ページ分記憶するた
めには膨大なメモリが必要であり、コスト高になるとい
う問題がある。
Further, when a plurality of printers are connected, data stored in the frame memory can be read out and transmitted to the plurality of printers to make copies in parallel. However, storing a large amount of image data for one page requires a large amount of memory, which causes a problem of high cost.

【0008】そこで用いられるのがデータ圧縮技術であ
るが、圧縮率と圧縮・伸長後の画像データの品質はトレ
ードオフの関係にある。カラー原稿の場合はある程度の
圧縮が必要であるとしても、元々データ量が少なくても
よい白黒原稿に対しても、圧縮・伸長することで画像劣
化が生じる不具合があった。
[0008] The data compression technique is used there, but there is a trade-off relationship between the compression ratio and the quality of the compressed / decompressed image data. In the case of a color document, even if a certain amount of compression is necessary, even for a black and white document which originally requires a small amount of data, there is a problem that image deterioration occurs due to compression / expansion.

【0009】このため特開平9−102878号公報に
示される技術では、カラー原稿時は圧縮・伸長処理を施
し、白黒原稿に対しては黒版用のデータを非圧縮のまま
メモリに記憶し、読み出しを行うようにしている。
For this reason, according to the technique disclosed in Japanese Patent Application Laid-Open No. 9-102878, compression / expansion processing is performed for a color original, and black / white data is stored in a memory without compression for a monochrome original. Reading is performed.

【0010】[0010]

【発明が解決しようとする課題】しかしながら同公報で
示された圧縮方法によると、メモリチップに大きな無駄
か生じ、コストダウンの効果が十分得られないという不
具合があった。この不具合について説明する。最大の画
像データサイズをA3版、DLT(ダブルレター)サイ
ズまでも考慮して、12インチ×17インチとする。画
素密度を600dpiとし、RGB各色8ビット/画素
とすると、データ量は、(12・600)・(17・6
00)・8(ビット/カラー)・3(カラー)=1,7
62,560,000ビット=1680.9Mビットで
ある。これを圧縮率1/3の固定長で圧縮すると、16
80.9Mビット/3=560.3Mビットのメモリが
必要である。
However, according to the compression method disclosed in the publication, there is a problem that a large waste is generated in the memory chip, and the effect of cost reduction cannot be sufficiently obtained. This problem will be described. The maximum image data size is set to 12 inches × 17 inches in consideration of A3 size and DLT (double letter) size. Assuming that the pixel density is 600 dpi and the RGB colors are 8 bits / pixel, the data amount is (12 · 600) · (17.6)
00) .8 (bit / color) .3 (color) = 1,7
62,560,000 bits = 1680.9 M bits. When this is compressed with a fixed length of 1/3 compression ratio, 16
80.9 Mbit / 3 = 560.3 Mbit of memory is required.

【0011】特開平9−102878号公報において
は、4×4=16画素サイズのブロックごとに1/3の
圧縮率で圧縮を行うため、4・4・8(ビット/カラ
ー)・3(カラー)/3=128ビットのデータ量とな
る。このため、ワード長が16ビット構成のメモリチッ
プを用いたとして、128/16=8個の倍数のメモリ
チップが必要になる。
In Japanese Patent Application Laid-Open No. 9-102878, since compression is performed at a compression ratio of 1/3 for each block of 4 × 4 = 16 pixels, 4.4.8 (bits / color). ) / 3 = 128-bit data amount. Therefore, assuming that a memory chip having a word length of 16 bits is used, a memory chip having a multiple of 128/16 = 8 is required.

【0012】この場合、総容量が560.3Mビットで
あるから、64Mビット容量のメモリチップを用いる
と、560.3M/8/64M=1.09であり、切り
上げて2組×8個=16個のチップが必要となる。12
8Mビット容量のメモリチップを用いると、560.3
M/8/128M=0.54であるから、切り上げて1
組×8個=8個のチップが必要である。従って、実装さ
れるメモリ容量は、64M・16=1024Mビット、
128M・8=1024Mビットであり、何れの場合も
必要量560.3Mビットに対して45%もが無駄にな
る。
In this case, since the total capacity is 560.3 Mbits, if a memory chip having a 64 Mbits capacity is used, 560.3M / 8 / 64M = 1.09, which is rounded up to 2 sets × 8 = 16. Chips are required. 12
Using an 8 Mbit memory chip, 560.3
Since M / 8 / 128M = 0.54, round up to 1
Set × 8 = 8 chips are required. Therefore, the mounted memory capacity is 64M · 16 = 1024Mbit,
128 M · 8 = 1024 M bits, and in each case, as much as 45% of the required amount of 560.3 M bits is wasted.

【0013】本発明は、汎用メモリチップを効率よく用
いることが出来るフレームメモリを有する画像処理装置
を提供することを目的とする。
An object of the present invention is to provide an image processing apparatus having a frame memory which can efficiently use a general-purpose memory chip.

【0014】[0014]

【課題を解決するための手段】上記目的を達成するため
に、請求項1記載の発明は、原稿をRGBに色分解して
デジタル的に読み取り、読み取られた画像データからY
MCKの色材を用いてデジタル的にカラー画像を再生処
理するカラー画像処理装置において、フルカラーモード
か白黒モードかを選択するモード選択手段と、RGBデ
ータを色変換する色変換手段と、色変換データを2×2
画素ブロック単位で圧縮する圧縮手段と、圧縮データか
圧縮前のデータかを選択する第1のデータ選択手段と、
選択されたデータをメモリに記憶するためのメモリ制御
手段と、メモリから読み出したデータを伸長する伸長手
段と、伸長データか伸長前のデータかを選択する第2の
データ選択手段と、選択されたデータをRGBデータに
逆色変換する逆色変換手段とを備え、第1、第2のデー
タ選択手段は、フルカラーモードが選択された場合は、
圧縮、伸長データを選択することを特徴とするカラー画
像処理装置に関する。
In order to achieve the above object, according to the first aspect of the present invention, an original is color-separated into RGB and digitally read, and Y is converted from the read image data.
In a color image processing apparatus that digitally reproduces a color image using MCK color materials, a mode selection unit that selects a full color mode or a black and white mode, a color conversion unit that performs color conversion of RGB data, and color conversion data Is 2 × 2
Compression means for compressing each pixel block, first data selection means for selecting compressed data or data before compression,
Memory control means for storing the selected data in the memory, decompression means for decompressing the data read from the memory, second data selection means for selecting between decompressed data and data before decompression, Reverse color conversion means for performing reverse color conversion of data into RGB data, wherein the first and second data selection means include:
The present invention relates to a color image processing apparatus that selects compressed or decompressed data.

【0015】また請求項2記載の発明において、カラー
モード時の圧縮率を1/3とすることを特徴とするもの
である。
According to a second aspect of the present invention, the compression ratio in the color mode is set to 1/3.

【0016】また請求項3記載の発明において、色変換
手段は、RGBデータをYUVデータ〔Y=(R+2G
+B)/4、U=R−G、V=B−G〕に変換すること
を特徴とするものである。
According to the third aspect of the present invention, the color conversion means converts the RGB data to YUV data [Y = (R + 2G
+ B) / 4, U = RG, V = BG].

【0017】また請求項4記載の発明において、白黒モ
ード選択時にメモリに記憶するデータは、Yデータであ
ることを特徴とするものである。
Further, in the invention described in claim 4, the data stored in the memory when the monochrome mode is selected is Y data.

【0018】また請求項5記載の発明において、白黒モ
ード選択時にメモリに記憶するデータは、Gデータであ
ることを特徴とするものである。
According to the fifth aspect of the present invention, the data stored in the memory when the monochrome mode is selected is G data.

【0019】請求項1、2、3の発明では、汎用メモリ
チップを効率よく用いることが出来るフレームメモリが
構成される。また低コストで視覚的に良好な階調特性の
白黒コピー画像が得られる。また低コストでシャープな
画像品質の白黒コピー画像が得られる。
According to the first, second, and third aspects of the present invention, a frame memory that can efficiently use a general-purpose memory chip is configured. In addition, a black-and-white copy image with visually favorable gradation characteristics can be obtained at low cost. In addition, a black-and-white copy image with sharp image quality can be obtained at low cost.

【0020】請求項4、5記載の発明では、白黒モード
時において非圧縮データが効率よくメモリに記憶され
る。また低コストで画像品質の良い圧縮・伸長回路が構
成される。
According to the present invention, the uncompressed data is efficiently stored in the memory in the black and white mode. Also, a compression / decompression circuit with low cost and high image quality is configured.

【0021】[0021]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて説明する。図1は本発明の実施の形態に係る
カラー画像処理装置のブロック図である。まず全体の構
成及び動作について説明する。原稿はスキャナ部1のC
CD(イメージセンサ)2により読み取られて電気信号
に変換され、シェーディング補正部3でシェーディング
補正を施された後、RGB各8ビットデータとして出力
される。RGBデータは、通常は一旦フレームメモリ部
4のフレームメモリ7に記憶される。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a color image processing apparatus according to an embodiment of the present invention. First, the overall configuration and operation will be described. The original is C in the scanner section 1.
The data is read by a CD (image sensor) 2, converted into an electric signal, subjected to shading correction by a shading correction unit 3, and then output as 8-bit data for each of RGB. The RGB data is usually temporarily stored in the frame memory 7 of the frame memory unit 4.

【0022】フレームメモリ部4では、スキャナ部1の
読み取り動作に同期して、カラーモード選択信号がフル
カラーモード時には、圧縮・伸長部5で圧縮処理が施さ
れ、メモリ制御回路6を介してフレームメモリ7に記憶
される。カラーモード選択信号が白黒(またはシングル
カラー)モード時には、非圧縮のままフレームメモリ7
に記憶される。ここで、カラーモード選択信号はモード
選択部(実際は操作パネルが使われる)8から出力され
る。
In the frame memory section 4, when the color mode selection signal is in the full color mode in synchronization with the reading operation of the scanner section 1, the compression / expansion section 5 performs a compression process. 7 is stored. When the color mode selection signal is in the monochrome (or single color) mode, the frame memory 7 remains uncompressed.
Is stored. Here, the color mode selection signal is output from the mode selection unit (actually, the operation panel is used) 8.

【0023】原稿読み取り動作が終了し、1ページ分の
画像データがフレームメモリ7に記憶されると作像動作
に移る。フレームメモリ7からはプリンタの作像動作に
同期して画像データが読み出され、記憶時に指定された
カラーモード選択信号に対応して、フルカラーモード時
には、圧縮・伸長部5で伸長処理を施してRGBデータ
に変換して出力する。白黒(またはシングルカラー)モ
ード時にはそのままRGBデータとして出力する。但
し、白黒モードに記憶された非圧縮データは、輝度デー
タまたはGなど1色分のデータであるので、RGB色デ
ータ共通データとし、R=G=B(読み出しデータ)と
して出力する。
When the original reading operation is completed and one page of image data is stored in the frame memory 7, the operation proceeds to an image forming operation. Image data is read out from the frame memory 7 in synchronization with the image forming operation of the printer, and in the full color mode, the compression / expansion unit 5 performs expansion processing in accordance with the color mode selection signal specified at the time of storage. The data is converted into RGB data and output. In the monochrome (or single color) mode, the data is output as it is as RGB data. However, since the uncompressed data stored in the black and white mode is data for one color such as luminance data or G, the data is output as R = G = B (read data) as RGB color data common data.

【0024】画像処理部9では、フレームメモリ7から
読み出されたRGBデータを合成回路10で受ける。合
成回路10はフレームメモリ7からのデータと、読み出
し時にスキャス部1で読み取った別原稿のデータを合成
する回路であるが、通常はフレームメモリ7からのデー
タ読み出し時にはスキャナ部1は読み取り動作しないの
で、フレームメモリ7からのデータを選択して次段の空
間フィルタ回路11に送る。
The image processing section 9 receives the RGB data read from the frame memory 7 by the synthesizing circuit 10. The synthesizing circuit 10 is a circuit for synthesizing data from the frame memory 7 and data of another document read by the cascade unit 1 at the time of reading. However, the scanner unit 1 does not normally perform a reading operation at the time of reading data from the frame memory 7. , And selects data from the frame memory 7 and sends it to the spatial filter circuit 11 at the next stage.

【0025】空間フィルタ回路11は、画像に対して文
字にエッジ強調を施して文字の鮮鋭度を高めたり、網点
画像に対しては平滑化処理を施して後段の階調処理での
ディザパターンとの干渉を防止するために用いられる。
図示しない像域分離回路の結果を用いて1ページ分の画
像内において適応的にエッジ強調/平滑化処理を切り替
えるようにしてもよい。
The spatial filter circuit 11 enhances the sharpness of the character by applying edge enhancement to the character on the image, or performs the smoothing process on the halftone image to perform the dither pattern processing in the subsequent gradation processing. Used to prevent interference with
Edge enhancement / smoothing processing may be adaptively switched within an image for one page using the result of an image area separation circuit (not shown).

【0026】次の色補正回路12は、スキャナ部1の色
分解特性の歪みやプリンタで用いられるYMCの色材の
分光特性の歪みを補正するためのマスキング処理をする
回路である。次のUCR/UCA回路13は、CMYの
共通部分をKの色材に置き換える量を算出する回路であ
る。次のγ補正回路14は、プリンタの機差、経時変化
等の変動を補正し、所定の階調特性が得られるようにす
る補正回路である。最後の階調補正回路15は、必要に
応じてディザ処理などの面積階調処理を施して、所定の
階調性を確保するための回路である。
The next color correction circuit 12 is a circuit for performing a masking process for correcting the distortion of the color separation characteristics of the scanner unit 1 and the distortion of the spectral characteristics of the YMC color material used in the printer. The next UCR / UCA circuit 13 is a circuit for calculating an amount of replacing a common part of CMY with a K color material. The following gamma correction circuit 14 is a correction circuit that corrects fluctuations such as differences between printers, changes over time, and the like so that predetermined gradation characteristics can be obtained. The last gradation correction circuit 15 is a circuit for performing predetermined area gradation processing such as dither processing as necessary to secure a predetermined gradation.

【0027】階調処理後のKCMYデータを順次プリン
タ16に送出してフルカラーのコピー画像を形成する。
但し、白黒モードの場合は、Kデータのみプリンタ16
に送出し単色で作像が完了する。他のシングルカラーモ
ードでは、必要な色版のデータのみプリンタ16に送出
され、対応する色のみで作像が完了する。
The KCMY data after the gradation processing is sequentially sent to the printer 16 to form a full-color copy image.
However, in the monochrome mode, only the K data is
And the image formation is completed in a single color. In the other single color mode, only the necessary color plane data is sent to the printer 16, and the image formation is completed with only the corresponding color.

【0028】次に圧縮・伸長回路5について説明する。
図2は一般的な符号化回路(圧縮回路)のブロック図で
ある。スキャナ部1により読み取られたRGBデータ
は、2×2画素ブロック21単位で符号化処理が施され
る。RGBデータは、圧縮画像の品質を上げるために図
3に示す手順により画素単位で色変換回路22によりY
UVデータに色変換する。但し、Yは輝度成分であり、
UVは色差成分である。
Next, the compression / decompression circuit 5 will be described.
FIG. 2 is a block diagram of a general encoding circuit (compression circuit). The RGB data read by the scanner unit 1 is subjected to encoding processing in units of 2 × 2 pixel blocks 21. In order to improve the quality of the compressed image, the RGB data is converted into Y data by the color conversion circuit 22 in pixel units according to the procedure shown in FIG.
Color conversion to UV data. Here, Y is a luminance component,
UV is a color difference component.

【0029】RGB信号は色成分間の相関が大きいた
め、各色独立に圧縮したのでは符号化効率が悪い。成分
間の相関の低い輝度/色差系のYUVデータに色変換し
て圧縮することにより、同じ圧縮率では劣化の少ない画
像データを得ることができる。次のS変換回路23では
図4に示す手順により低周波成分LLと高周波成分H
(HL、LH、HHの総称)に変換される。図4のab
cdは符号化単位である2×2ブロックの4画素に対す
る識別記号である。ABCDはYUVの3成分それぞれ
のabcd画素の対する値を代表する。
Since the RGB signals have a large correlation between the color components, the encoding efficiency is poor if each color is compressed independently. By performing color conversion to luminance / color difference YUV data having low correlation between components and compressing the converted YUV data, image data with little deterioration can be obtained at the same compression ratio. In the next S conversion circuit 23, the low frequency component LL and the high frequency component H
(HL, LH, HH). Ab in FIG.
cd is an identification symbol for four pixels of a 2 × 2 block which is a coding unit. ABCD represents the value of the abcd pixel of each of the three components of YUV.

【0030】量子化回路24では、S変換後のデータを
ベクトル量子化してデータ量を低減する。ここでは、よ
り圧縮画像の品質を向上するために、Yの高周波成分
(Y_H)を用いて領域分離回路25で領域分離を行
い、高周波成分の多い文字部などの領域(エッジ部)で
は、高周波成分に対するビット数を多く割り当て、高周
波成分の少ない写真部などの領域(非エッジ部)では、
低周波成分に多くのビットを割り当てるように構成して
いる。
In the quantization circuit 24, the data after the S-transform is vector-quantized to reduce the data amount. Here, in order to further improve the quality of the compressed image, the area is separated by the area separation circuit 25 using the Y high-frequency component (Y_H). In a region (non-edge portion) such as a photograph portion where a high number of bits are allocated to the
It is configured so that many bits are allocated to the low frequency component.

【0031】図5に量子化後のビットの割り当てを示
す。先頭にエッジ部か非エッジ部かの識別信号を割り当
て、どちらの領域でも合計で32ビットのデータ量に符
号化する。原データは8ビット×3色×4画素=96ビ
ットであるから、32/96=1/3の圧縮率である。
図5でカッコ内の数字はビット数である。先頭の1ビッ
トは領域信号であり、非エッジ領域のときは1、エッジ
領域のときは0である。
FIG. 5 shows bit allocation after quantization. An identification signal of an edge portion or a non-edge portion is assigned to the head, and the data is coded in a total of 32 bits in both regions. Since the original data is 8 bits × 3 colors × 4 pixels = 96 bits, the compression ratio is 32/96 = 1/3.
In FIG. 5, the number in parentheses is the number of bits. The first one bit is an area signal, which is 1 in a non-edge area and 0 in an edge area.

【0032】図6は一般的な復号化回路(伸長回路)の
ブロック図である。フレームメモリ7から読み出された
符号化データは、分割回路3で領域信号に応じて各成分
ごとに分割され、図4に示す逆S変換の手順により逆S
変換回路32で2×2の各画素に対応するYUVデータ
に復号される。YUVデータは、図3の逆色変換の手順
に従って、逆色変換回路33でRGBデータに戻され
る。
FIG. 6 is a block diagram of a general decoding circuit (decompression circuit). The coded data read from the frame memory 7 is divided for each component by the dividing circuit 3 in accordance with the area signal, and the inverse S-transformation procedure shown in FIG.
The data is decoded by the conversion circuit 32 into YUV data corresponding to each 2 × 2 pixel. The YUV data is returned to RGB data by the reverse color conversion circuit 33 according to the reverse color conversion procedure of FIG.

【0033】図7は本発明の符号化回路の第1の例を示
すブロック図である。本発明ではカラーモードが白黒モ
ードの場合はデータ圧縮を行わない。そのために図7の
例では、白黒モード時は、白黒モード用のデータとして
Y(輝度)データを用いる。白黒(シングルカラー)画
像用データとして輝度データを用いることで、カラー原
稿を白黒画像として複製する際に視覚的な濃淡感度との
整合性がよく、自然な印象の白黒コピーを得ることがで
きる。
FIG. 7 is a block diagram showing a first example of the encoding circuit of the present invention. In the present invention, data compression is not performed when the color mode is the monochrome mode. Therefore, in the example of FIG. 7, in the monochrome mode, Y (luminance) data is used as the data for the monochrome mode. By using luminance data as data for a black-and-white (single color) image, it is possible to obtain a natural-looking black-and-white copy with good consistency with visual density sensitivity when copying a color document as a black-and-white image.

【0034】図7の回路では、カラーモード選択信号が
セレクタ26(第1のデータ選択手段)で色変換後のY
データをフレームメモリ7に記憶するデータとして選択
する。フルカラーモード時には、前述の1/3のデータ
量に圧縮された固定長の符号化データがフレームメモリ
7に記憶される。
In the circuit shown in FIG. 7, the color mode selection signal is converted by the selector 26 (first data selection means) into Y after color conversion.
Data is selected as data to be stored in the frame memory 7. In the full-color mode, the fixed-length coded data compressed to the 3 data amount is stored in the frame memory 7.

【0035】図8は白黒モード時の非圧縮データのビッ
ト割り当ての様子を示す図であり、(A)は白黒データ
としてY(輝度)データを用いる場合のビット割り当て
を示し、(B)は白黒データとしてG(グリーン)デー
タを用いる場合のビット割り当てを示す。何れも2×2
=4画素の代表でデータが合計で、8ビット×4=32
ビットである。
FIGS. 8A and 8B are diagrams showing the bit allocation of uncompressed data in the black and white mode. FIG. 8A shows the bit allocation when Y (luminance) data is used as the black and white data, and FIG. The bit allocation when G (green) data is used as data is shown. Both 2 × 2
= Data representing a total of 4 pixels, 8 bits x 4 = 32
Is a bit.

【0036】図8(A)において、画素位置abcdに
対応する輝度データが8ビット×4画素=32ビットデ
ータとしてフレームメモリ7に記憶される。非圧縮デー
タは遅延回路27により符号化処理する場合とタイミン
グを合わせる。これにより、メモリデータ読み出し時
に、カラーモード時と白黒モード時で生じる遅延量の違
いに対する位置補正を後段の画像処理部9で行う必要が
無くなる。
In FIG. 8A, the luminance data corresponding to the pixel position abcd is stored in the frame memory 7 as 8 bits × 4 pixels = 32 bits data. The timing of the non-compressed data is matched with the timing of the encoding process by the delay circuit 27. This eliminates the need for the image processing unit 9 at the subsequent stage to perform position correction for the difference in delay amount between the color mode and the monochrome mode when reading memory data.

【0037】図9は本発明の復号化回路の一例を示すブ
ロック図である。フレームメモリ7から読み出されたデ
ータは、カラーモードに関わりなく復号化処理も並行し
て行う。白黒モード時には復号データは画像データとし
て無意味なので捨て、セレクタ34(第2のデータ選択
手段)で非圧縮データとしてRGBに変換処理されたデ
ータを選択する。
FIG. 9 is a block diagram showing an example of the decoding circuit of the present invention. The data read from the frame memory 7 is also subjected to a decoding process in parallel regardless of the color mode. In the black-and-white mode, the decoded data is meaningless as image data and is discarded, and the selector 34 (second data selection means) selects the data converted to RGB as the uncompressed data.

【0038】前述したように白黒モード時は、RGBデ
ータは非圧縮データをそのまま共通データとして用い
る。即ち、Ra=Ga=B_a=Y_a、R_b=G_
b=B_b=Y_b、R_c=G_c=B_c=Y_
c、R_d=G_d=B_d=Y_d、となる。また、
非圧縮データ分割回路35では、復号化処理をしたとき
のタイミングを合わせるための遅延処理も行われる。
As described above, in the monochrome mode, uncompressed RGB data is used as common data as it is. That is, Ra = Ga = B_a = Y_a, R_b = G_
b = B_b = Y_b, R_c = G_c = B_c = Y_
c, R_d = G_d = B_d = Y_d. Also,
The uncompressed data division circuit 35 also performs a delay process for adjusting the timing when the decoding process is performed.

【0039】符号化処理として、1/3の圧縮率を採用
することにより、白黒モード用の非圧縮時のデータ量が
同じになるため、先の符号化回路の遅延回路27と合わ
せて、メモリ制御回路6の動作を全く変更することな
く、フルカラー、白黒の両方のカラーモードに対応する
ことができる。
By adopting a compression ratio of 1/3 as the encoding process, the amount of uncompressed data for the black and white mode becomes the same, so that the memory is used together with the delay circuit 27 of the preceding encoding circuit. It is possible to support both full-color and black-and-white color modes without changing the operation of the control circuit 6 at all.

【0040】図10は本発明の符号化回路の第2の例を
示すブロック図である。ここでは白黒モード時のデータ
として色変換前のGデータを用いる。先の輝度データに
比較し、R及びBに対する感度が低くなるため、視覚的
な濃淡感度との整合はやや悪くなるが、RGBの3チャ
ンネルの画素データ位置ずれやMTF特性の差の影響を
受けないため、特に白黒原稿のエッジ部の滲みやぼけが
生じ難いという利点がある。
FIG. 10 is a block diagram showing a second example of the encoding circuit of the present invention. Here, G data before color conversion is used as data in the monochrome mode. Compared to the luminance data, the sensitivity to R and B is lower, and the matching with the visual shading sensitivity is slightly deteriorated. However, it is affected by the displacement of the pixel data of three channels of RGB and the difference of the MTF characteristic. Therefore, there is an advantage that bleeding or blurring of an edge portion of a black-and-white document hardly occurs.

【0041】特に文字などのエッジ部の多い画像を含む
原稿を多くコピーする場合には有利である。白黒モード
時に輝度データかGデータのどちらを用いるか、好みに
応じてユーザーが選択できるように構成してもよい。図
10の回路では、白黒モード時のデータとして色変換前
のGデータをそのままフレームメモリ7に記憶する。
This is particularly advantageous when a large number of originals including images having many edges such as characters are copied. The configuration may be such that the user can select whether to use the luminance data or the G data in the monochrome mode according to his / her preference. In the circuit of FIG. 10, the G data before color conversion is stored in the frame memory 7 as it is in the monochrome mode.

【0042】図8(B)はこの非圧縮データのビット割
り当てを示したものである。図7の場合と同じく、符号
化処理とのタイミングを一致させるために、非圧縮デー
タを遅延回路27で遅延させてからフレームメモリ7に
記憶する。フレームメモリ7からデータを読み出すとき
は、輝度信号を用いた場合と同様に、図9の回路を用い
ることができる。この場合は、Gデータは勿論、RBデ
ータも元々のGデータに置き替わってRGBデータとし
て出力される。
FIG. 8B shows the bit allocation of the uncompressed data. As in the case of FIG. 7, the uncompressed data is delayed by the delay circuit 27 and stored in the frame memory 7 in order to match the timing with the encoding process. When reading data from the frame memory 7, the circuit shown in FIG. 9 can be used as in the case where a luminance signal is used. In this case, not only the G data but also the RB data is output as RGB data instead of the original G data.

【0043】本発明では、圧縮・伸長処理の画素単位と
して2×2画素サイズを採用した。この場合にフレーム
メモリ7として必要なメモリチップの量を計算する。単
位ブロック当たりのデータ量が32ビットであるから、
16ビット長のワード構成のメモリチップをもちいく
と、32/16=2個単位でチップを用いることにな
る。必要なメモリ量は、560.3Mビットであるか
ら、64Mビットのチップでは、560.3M/2/6
4M=4.37であり、切り上げて5組・2個=10個
のメモリチップが必要である。
In the present invention, a 2 × 2 pixel size is adopted as a pixel unit for the compression / expansion processing. In this case, the amount of memory chips required as the frame memory 7 is calculated. Since the data amount per unit block is 32 bits,
If a 16-bit word-structured memory chip is used, 32/16 = 2 chips are used. Since the required memory amount is 560.3 Mbits, a 64 Mbit chip requires 560.3 M / 2/6.
4M = 4.37, which means that five sets and two = 10 memory chips are rounded up.

【0044】128Mビットのチップを用いる場合は、
560.3M/2/128M=2.18であり、切り上
げて3組・2個=6個のメモリチップが必要である。4
×4のブロック単位の場合は、64Mビット、128M
ビットのチップを用いた場合、それぞれ16個、8個の
メモリチップが必要てあるから、それぞれ6個、2個の
チップを節減することができることが判る。これは、単
位ブロックのビット数が増えるほどチップの使用単位が
大きくなるため、必要量を超える余分な量が増えるため
である。
When using a 128 Mbit chip,
560.3M / 2 / 128M = 2.18, and three sets of 2 = 6 memory chips are required after rounding up. 4
In the case of a × 4 block unit, 64M bits, 128M
When 16-bit chips are used, 16 and 8 memory chips are required, respectively, and it can be seen that 6 and 2 chips can be saved respectively. This is because, as the number of bits of the unit block increases, the unit of use of the chip increases, and thus an extra amount exceeding the necessary amount increases.

【0045】そこで、フレームメモリ7に1度にアクセ
スするデータ量を減らせば、メモリ効率の改善を図るこ
とができる。そのために、単位データを分割して時分割
でフレームメモリ7にアクセスする方法を考える。2×
2では32ビットで、4×4では128ビットであるか
ら、128/32=4回に分割すれば、同じメモリ効率
でフレームメモリ7を実装することができる。
Therefore, the memory efficiency can be improved by reducing the amount of data that accesses the frame memory 7 at one time. For this purpose, a method of dividing the unit data and accessing the frame memory 7 in a time-division manner will be considered. 2x
Since 2 is 32 bits and 4 × 4 is 128 bits, the frame memory 7 can be mounted with the same memory efficiency by dividing it into 128/32 = 4 times.

【0046】ところで、フレームメモリ7に対するアク
セス時間は、ブロック長が4×4の場合は4画素クロッ
ク、2×2の場合は2画素クロックである。4×4の場
合で4分割してメモリアクセスするには、4/4=1画
素クロックで32ビットのデータをアクセスする必要が
ある。これは2×2の場合において、32ビットのデー
タを2画素クロックでアクセスするのに比較して2倍の
レートになる。
The access time to the frame memory 7 is 4 pixel clocks when the block length is 4 × 4 and 2 pixel clocks when the block length is 2 × 2. In order to access the memory by dividing it into four in the case of 4 × 4, it is necessary to access 32-bit data with 4/4 = 1 pixel clock. This is twice as fast as accessing 32 bits of data with two pixel clocks in the 2 × 2 case.

【0047】このため、使用するメモリチップの個数が
同じでも倍のレートのアクセスに対応する高速のチッ
プ、即ち高価なチップが必要ということである。従っ
て、2×2画素サイズの圧縮処理を採用することで、安
価なメモリチップを少量用いてフレームメモリ7を構成
することができる。
Therefore, even if the number of memory chips to be used is the same, a high-speed chip corresponding to double-rate access, that is, an expensive chip is required. Therefore, the frame memory 7 can be configured using a small amount of inexpensive memory chips by employing the compression processing of 2 × 2 pixel size.

【0048】[0048]

【発明の効果】請求項1、2、3の発明によれば、汎用
メモリチップを効率よく用いることが出来るフレームメ
モリを構成することができる。また低コストで視覚的に
良好な階調特性の白黒コピー画像を得ることができる。
また低コストでシャープな画像品質の白黒コピー画像を
得ることができる。
According to the first, second and third aspects of the present invention, it is possible to configure a frame memory that can efficiently use a general-purpose memory chip. In addition, a black-and-white copy image having visually favorable gradation characteristics can be obtained at low cost.
Further, a black-and-white copy image with sharp image quality can be obtained at low cost.

【0049】請求項4、5記載の発明によれば、白黒モ
ード時において非圧縮データを効率よくメモリに記憶す
ることができる。また低コストで画像品質の良い圧縮・
伸長回路を構成することができる。
According to the fourth and fifth aspects of the present invention, uncompressed data can be efficiently stored in the memory in the monochrome mode. In addition, low cost, high quality image compression
An expansion circuit can be configured.

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

【図1】本発明の実施の形態に係るカラー画像処理装置
のブロック図である。
FIG. 1 is a block diagram of a color image processing apparatus according to an embodiment of the present invention.

【図2】一般的な符号化回路のブロック図である。FIG. 2 is a block diagram of a general encoding circuit.

【図3】色変換の説明図である。FIG. 3 is an explanatory diagram of color conversion.

【図4】S変換の説明図である。FIG. 4 is an explanatory diagram of S conversion.

【図5】圧縮率が1/3の量子化方法の説明図である。FIG. 5 is an explanatory diagram of a quantization method with a compression ratio of 1/3.

【図6】一般的な復号化回路のブロック図である。FIG. 6 is a block diagram of a general decoding circuit.

【図7】本発明の符号化回路の第1の例を示すブロック
図である。
FIG. 7 is a block diagram illustrating a first example of an encoding circuit according to the present invention.

【図8】白黒モード時の非圧縮データのビット割り当て
の説明図である。
FIG. 8 is an explanatory diagram of bit assignment of uncompressed data in a monochrome mode.

【図9】本発明の復号化回路の一例を示すブロック図で
ある。
FIG. 9 is a block diagram showing an example of a decoding circuit of the present invention.

【図10】本発明の符号化回路の第2の例を示すブロッ
ク図である。
FIG. 10 is a block diagram showing a second example of the encoding circuit of the present invention.

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

1 スキャナ部 2 CCD 3 シェーディング補正回路 4 フレームメモリ部 5 圧縮・伸長部 6 メモリ制御回路 7 フレームメモリ 8 モード選択部 9 画像処理部 10 合成回路 11 空間フィルタ回路 12 色補正回路 13 UCR/UCA回路 14 γ補正回路 15 階調処理回路 16 プリンタ Reference Signs List 1 scanner unit 2 CCD 3 shading correction circuit 4 frame memory unit 5 compression / expansion unit 6 memory control circuit 7 frame memory 8 mode selection unit 9 image processing unit 10 synthesis circuit 11 spatial filter circuit 12 color correction circuit 13 UCR / UCA circuit 14 gamma correction circuit 15 gradation processing circuit 16 printer

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 1/60 B41J 3/00 B 5C079 1/41 H04N 1/40 D Fターム(参考) 2C262 AA24 AA26 AA27 AB20 AC02 AC04 BA02 CA09 DA17 EA17 GA14 2H027 EE08 EE10 EF09 FA28 FB06 2H030 AA02 AD07 AD12 AD13 5C077 MP08 PP32 PP33 PQ08 PQ22 RR21 TT06 5C078 AA09 BA44 CA02 CA27 DA01 DA02 5C079 HA13 HB01 HB03 HB04 HB11 HB12 LA26 LA31 MA02 MA11 NA06 NA13 NA25 PA01 PA02──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 7 Identification symbol FI theme coat ゛ (reference) H04N 1/60 B41J 3/00 B 5C079 1/41 H04N 1/40 DF term (reference) 2C262 AA24 AA26 AA27 AB20 AC02 AC04 BA02 CA09 DA17 EA17 GA14 2H027 EE08 EE10 EF09 FA28 FB06 2H030 AA02 AD07 AD12 AD13 5C077 MP08 PP32 PP33 PQ08 PQ22 RR21 TT06 5C078 AA09 BA44 CA02 CA27 DA01 DA02 5C079 HA13 HB01 NA03 H03 HB12 H03 HAB

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 原稿をRGBに色分解してデジタル的に
読み取り、読み取られた画像データからYMCKの色材
を用いてデジタル的にカラー画像を再生処理するカラー
画像処理装置において、 フルカラーモードか白黒モードかを選択するモード選択
手段と、RGBデータを色変換する色変換手段と、色変
換データを2×2画素ブロック単位で圧縮する圧縮手段
と、圧縮データか圧縮前のデータかを選択する第1のデ
ータ選択手段と、選択されたデータをメモリに記憶する
ためのメモリ制御手段と、メモリから読み出したデータ
を伸長する伸長手段と、伸長データか伸長前のデータか
を選択する第2のデータ選択手段と、選択されたデータ
をRGBデータに逆色変換する逆色変換手段とを備え、
第1、第2のデータ選択手段は、フルカラーモードが選
択された場合は、圧縮、伸長データを選択することを特
徴とするカラー画像処理装置。
1. A color image processing apparatus for color-separating a manuscript into RGB and digitally reading the same, and digitally reproducing a color image from the read image data using a YMCK color material. A mode selecting means for selecting a mode, a color converting means for performing color conversion on RGB data, a compressing means for compressing the color converted data in units of 2 × 2 pixel blocks, and a second means for selecting compressed data or data before compression. 1 data selection means, memory control means for storing the selected data in the memory, decompression means for decompressing the data read from the memory, and second data for selecting between decompressed data and data before decompression Selecting means, and reverse color converting means for performing reverse color conversion of the selected data into RGB data,
A color image processing apparatus, wherein the first and second data selection means select compressed or decompressed data when the full color mode is selected.
【請求項2】 カラーモード時の圧縮率を1/3とする
ことを特徴とする請求項1記載のカラー画像処理装置。
2. The color image processing apparatus according to claim 1, wherein the compression ratio in the color mode is set to 1/3.
【請求項3】 色変換手段は、RGBデータをYUVデ
ータ〔Y=(R+2G+B)/4、U=R−G、V=B
−G〕に変換することを特徴とする請求項1記載のカラ
ー画像処理装置。
3. The color conversion means converts RGB data into YUV data [Y = (R + 2G + B) / 4, U = RG, V = B
-G]. The color image processing apparatus according to claim 1, wherein
【請求項4】 白黒モード選択時にメモリに記憶するデ
ータは、Yデータであることを特徴とする請求項1記載
のカラー画像処理装置。
4. The color image processing apparatus according to claim 1, wherein the data stored in the memory when the monochrome mode is selected is Y data.
【請求項5】 白黒モード選択時にメモリに記憶するデ
ータは、Gデータであることを特徴とする請求項1記載
のカラー画像処理装置。
5. The color image processing apparatus according to claim 1, wherein the data stored in the memory when the monochrome mode is selected is G data.
JP2001041650A 2001-02-19 2001-02-19 Color image-processing device Pending JP2002247386A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001041650A JP2002247386A (en) 2001-02-19 2001-02-19 Color image-processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001041650A JP2002247386A (en) 2001-02-19 2001-02-19 Color image-processing device

Publications (1)

Publication Number Publication Date
JP2002247386A true JP2002247386A (en) 2002-08-30

Family

ID=18904055

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001041650A Pending JP2002247386A (en) 2001-02-19 2001-02-19 Color image-processing device

Country Status (1)

Country Link
JP (1) JP2002247386A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100454750B1 (en) * 2002-06-20 2004-11-03 삼성에스디아이 주식회사 Blue light-emitting compound for organic electroluminescent device and organic electroluminescent device using the same
JP2007034471A (en) * 2005-07-25 2007-02-08 Noritsu Koki Co Ltd Method, program and module for generating correction characteristic used for contrast correction
US7307762B2 (en) * 2003-02-28 2007-12-11 Canon Kabushiki Kaisha Image input/output control method and image input/output apparatus
CN100394266C (en) * 2005-03-24 2008-06-11 爱普生映像元器件有限公司 Image display device and electronic apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100454750B1 (en) * 2002-06-20 2004-11-03 삼성에스디아이 주식회사 Blue light-emitting compound for organic electroluminescent device and organic electroluminescent device using the same
US7307762B2 (en) * 2003-02-28 2007-12-11 Canon Kabushiki Kaisha Image input/output control method and image input/output apparatus
US7532348B2 (en) 2003-02-28 2009-05-12 Canon Kabushiki Kaisha Image input/output control method and image input/output apparatus
CN100394266C (en) * 2005-03-24 2008-06-11 爱普生映像元器件有限公司 Image display device and electronic apparatus
JP2007034471A (en) * 2005-07-25 2007-02-08 Noritsu Koki Co Ltd Method, program and module for generating correction characteristic used for contrast correction
JP4655211B2 (en) * 2005-07-25 2011-03-23 ノーリツ鋼機株式会社 Generation method, generation program and generation module of correction characteristics used for contrast correction

Similar Documents

Publication Publication Date Title
US6342950B1 (en) Method and apparatus for encoding image, image decoding apparatus and image forming apparatus
US7646925B2 (en) Image processing apparatus, image processing method, program, and storage medium
JP3964042B2 (en) Color image processing apparatus and color image processing method
JP3927388B2 (en) Image processing apparatus, image processing method, and recording medium
JP2007028408A (en) Image processing apparatus
US7991235B2 (en) Light compression for color images using error diffusion
US20090021791A1 (en) Compression of grayscale image data using multi-bit halftoning
US7209266B2 (en) Image processing apparatus
JP3162792B2 (en) Image processing device
JPH0514562A (en) Digital copying machine
JP2004112695A (en) Image processing apparatus and processing method thereof
JP2002247386A (en) Color image-processing device
JPH09205647A (en) Image coder, image decoder and image processor
JP2003046789A (en) Image coding apparatus and image decoding apparatus
JP2001186356A (en) Picture compression device, picture compresion method and computer readable storage medium
US6879417B1 (en) Color image processing apparatus that performs color conversion processing
JP3227181B2 (en) Image processing device
JPH11355575A (en) Image processor
JP2004128664A (en) Image processor and processing method
JP4926128B2 (en) Image processing apparatus, image reading apparatus, image forming apparatus, computer program, recording medium, and image processing method
JP2001211336A (en) Apparatus and method for image processing, storage medium, and image processing system
JPH1093816A (en) Digital picture processor
JP4363817B2 (en) Image processing apparatus and image processing method
JP2004120640A (en) Image processing method and image processing device
JP2001211318A (en) Device and method for image processing, storage medium, and image processing system