JPH1117955A - Image processing unit - Google Patents

Image processing unit

Info

Publication number
JPH1117955A
JPH1117955A JP9166765A JP16676597A JPH1117955A JP H1117955 A JPH1117955 A JP H1117955A JP 9166765 A JP9166765 A JP 9166765A JP 16676597 A JP16676597 A JP 16676597A JP H1117955 A JPH1117955 A JP H1117955A
Authority
JP
Japan
Prior art keywords
image data
data
lines
memory
line
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
JP9166765A
Other languages
Japanese (ja)
Inventor
Mitsuru Obara
満 小原
Junji Ishikawa
淳史 石川
Kenichi Sawada
健一 澤田
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP9166765A priority Critical patent/JPH1117955A/en
Priority to US09/103,308 priority patent/US6366702B1/en
Publication of JPH1117955A publication Critical patent/JPH1117955A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Storing Facsimile Image Data (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the capacity of a memory required for delaying data for the purpose of filtering. SOLUTION: The processing unit is provided with an encode means 10 that compresses image data Din received in the unit of lines, a delay memory 20 that stores compressed image data D10 for at least one line by the encode means 10, a decode means 30 that expands the compressed image data D10 stored in the delay memory 20, and an arithmetic means 40 that applies arithmetic processing to image data by pluralities of lines including image data Y of at least one line simultaneously.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、シリアルに入力さ
れる画像データに対してフィルタリングなどの処理を行
う画像処理装置に関し、複写機、スキャナとプリンタと
組み合わせた画像再生システムなどに適用される。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for performing processing such as filtering on serially input image data, and is applied to a copier, an image reproducing system combining a scanner and a printer, and the like.

【0002】[0002]

【従来の技術】ディジタル複写機においては、原稿を走
査して読み取った画像データに対して、γ変換・変倍・
MTF補正・2値化などの画像処理が行われる。MTF
補正は画質改善のための処理であり、通常はエッジ強調
に代表されるフィルタリングを含んでいる。複写機で
は、ライン順次の走査が行われ、走査順に各画素の画像
データが伝送されるので、フィルタリングを行うには所
定のデータ遅延が不可欠である。従来の画像処理装置
は、例えば、5×5サイズのラプラシアンフィルタによ
るエッジ強調を行う場合において、4個のラインメモリ
を用いて4ライン分の画像データを一時的に記憶し、5
ライン目の走査の進行に合わせてメモリの読み出しを行
って、計5ラインの同一画素位置の画像データをフィル
タ回路に同時に入力するように構成されていた。
2. Description of the Related Art In a digital copying machine, image data read by scanning an original is subjected to γ conversion, scaling,
Image processing such as MTF correction and binarization is performed. MTF
The correction is a process for improving the image quality, and usually includes filtering represented by edge enhancement. In a copying machine, line-sequential scanning is performed, and image data of each pixel is transmitted in the scanning order. Therefore, a predetermined data delay is indispensable for performing filtering. A conventional image processing apparatus temporarily stores image data for four lines by using four line memories when performing edge enhancement using a Laplacian filter of 5 × 5 size, for example.
The reading of the memory is performed in accordance with the progress of the scanning of the line, and the image data at the same pixel position of a total of five lines is simultaneously inputted to the filter circuit.

【0003】[0003]

【発明が解決しようとする課題】従来では、1画素当た
りのビット数が増えるにつれて、また、読取りの解像度
が高くなるにつれて、大容量のメモリが必要になって装
置価格が上昇するという問題があった。例えば、画像デ
ータのビット数を8(256階調)であるとき、600
dpiの読取りを行うと、1ライン当たりのデータ量が
約8キロバイトとなり、32キロバイトのメモリが必要
であった。メモリが大型化すると、他の処理回路と合わ
せて1枚の基板に処理回路の全体を組み込むことが難し
くなり、基板コストだけでなく組み込みスペースの面で
も問題が生じる。
Conventionally, as the number of bits per pixel increases and as the resolution of reading increases, there is a problem that a large-capacity memory is required and the price of the apparatus increases. Was. For example, when the number of bits of image data is 8 (256 gradations), 600
When reading at dpi, the data amount per line was about 8 kilobytes, and a memory of 32 kilobytes was required. When the size of the memory is increased, it becomes difficult to incorporate the entire processing circuit on one substrate together with other processing circuits, which causes a problem in terms of not only the substrate cost but also the mounting space.

【0004】本発明は、フィルタリングのためのデータ
遅延に必要なメモリの容量を削減することを目的として
いる。
An object of the present invention is to reduce a memory capacity required for a data delay for filtering.

【0005】[0005]

【課題を解決するための手段】本発明においては、画像
データを圧縮して記憶し、記憶したデータを伸長して複
数ラインのデータに基づく処理を行うようにする。固定
長符号化によって圧縮を行えば、データ内容に係わらず
確実にデータ容量を削減することができる。
According to the present invention, image data is compressed and stored, and the stored data is expanded to perform processing based on data of a plurality of lines. If compression is performed by fixed-length encoding, the data capacity can be reliably reduced regardless of the data content.

【0006】請求項1の発明の装置は、ライン単位で入
力された画像データを圧縮するエンコード手段と、前記
エンコード手段によって圧縮された少なくとも1ライン
分の圧縮画像データを記憶する遅延メモリと、前記遅延
メモリに記憶された圧縮画像データを伸張するデコード
手段と、前記デコード手段によって伸張された少なくと
も1ライン分の画像データを含む複数ライン分の画像デ
ータに対して同時に演算処理を行う演算手段と、を有し
ている。
An apparatus according to a first aspect of the present invention includes an encoding unit for compressing image data input in units of lines, a delay memory for storing at least one line of compressed image data compressed by the encoding unit, Decoding means for expanding the compressed image data stored in the delay memory; arithmetic means for performing simultaneous arithmetic processing on a plurality of lines of image data including at least one line of image data expanded by the decoding means; have.

【0007】[0007]

【発明の実施の形態】図1は画像処理装置1の要部のブ
ロック図、図2はデコーダ30のブロック図である。
FIG. 1 is a block diagram of a main part of an image processing apparatus 1, and FIG. 2 is a block diagram of a decoder 30.

【0008】画像処理装置1は、ライン単位で画素配列
順に入力される画像データDinを圧縮するエンコーダ
10、エンコーダ10から出力された4ライン分の圧縮
画像データD10を記憶するFIFOメモリ20、FI
FOメモリ20とエンコーダ10とから入力される5ラ
インの圧縮画像データD10を同時に伸長するデコーダ
30、及び画素毎に5×5サイズのフィルタを適用して
エッジ強調を行うMTF補正回路40を備えている。
The image processing apparatus 1 includes an encoder 10 for compressing image data Din input in the order of pixel arrangement in line units, a FIFO memory 20 for storing compressed image data D10 for four lines output from the encoder 10, and an FI.
A decoder 30 for simultaneously expanding five lines of compressed image data D10 input from the FO memory 20 and the encoder 10; and an MTF correction circuit 40 for applying a 5 × 5 size filter to each pixel to perform edge enhancement. I have.

【0009】エンコーダ10は、最大値・最小値検出部
11、ダイナミックレンジ(LD)・レンジ平均値(L
A)の算出部12、4値化閾値の算出部13、及び4値
化部14から構成されており、入力された画像データD
inを1/2のデータ量の圧縮画像データD10に変換
する。
The encoder 10 includes a maximum value / minimum value detection unit 11, a dynamic range (LD) and a range average value (L
A) is composed of a calculating unit 12, a quaternizing threshold calculating unit 13, and a quaternizing unit 14, and the input image data D
in is converted into compressed image data D10 having a data amount of 1/2.

【0010】エンコーダ10では8画素単位で圧縮が行
われる。最大値・最小値検出部11は、画像データDi
nを8画素毎にブロック分割し、ブロック内の最大値
(MAX)及び最小値(MIN)を検出する。ダイナミ
ックレンジ(LD)・レンジ平均値(LA)の算出部1
2は、最大値と最小値との差であるダイナッミックレン
ジLD(=MAX−MIN)、及びレンジ平均値LA
〔=(MAX−MIN)/2〕を算出する。4値化閾値
の算出部13は、ダイナミックレンジLDとレンジ平均
値LAとから、第1の4値化閾値L1(=LA−LD/
4)、及び第2の4値化閾値L2(=LA+LD/4)
を算出する。これら算出値にレンジ平均値LAを合わせ
た3個のフローティング閾値L1,LA,L2によっ
て、ダイナミックレンジLDが4等分される。4値化部
14は、ブロック内の各画素の入力データ値とフローテ
ィング閾値L1,LA,L2とを比較して、8ビット
(256階調)の画像データDinを2ビット(4階
調)の圧縮画像データD12に変換するとともに、ブロ
ック毎にダイナミックレンジLDとレンジ平均値LAと
を示す2バイトのヘッダD11を付加し、8画素分の圧
縮画像データD10として出力する。これにより入力さ
れた8バイトのデータが4バイトに圧縮されることにな
る。
In the encoder 10, compression is performed in units of eight pixels. The maximum / minimum value detection unit 11 outputs the image data Di.
n is divided into blocks every eight pixels, and the maximum value (MAX) and the minimum value (MIN) in the block are detected. Dynamic range (LD) / range average (LA) calculator 1
2 is a dynamic range LD (= MAX−MIN) that is a difference between the maximum value and the minimum value, and a range average value LA.
[= (MAX-MIN) / 2] is calculated. Based on the dynamic range LD and the range average value LA, the quaternary threshold calculator 13 calculates a first quaternary threshold L1 (= LA−LD /
4) and a second quaternary threshold L2 (= LA + LD / 4)
Is calculated. The dynamic range LD is divided into four equal parts by three floating thresholds L1, LA, and L2, which are the sum of these calculated values and the range average value LA. The quaternizing unit 14 compares the input data value of each pixel in the block with the floating thresholds L1, LA, and L2, and converts the 8-bit (256 gradations) image data Din into 2 bits (4 gradations). The image data is converted into compressed image data D12, and a 2-byte header D11 indicating a dynamic range LD and a range average value LA is added to each block, and output as compressed image data D10 for eight pixels. As a result, the input 8-byte data is compressed to 4 bytes.

【0011】デコーダ30は、圧縮画像データD10か
らダイナミックレンジLDとレンジ平均LAを抽出する
部分31と、圧縮画像データD10の値(0,1,2,
3)に応じて表1の演算式を適用してデータの伸長を行
う部分32とからなる。伸長によって2ビットのデータ
が8ビットに復元される。
A decoder 30 extracts a dynamic range LD and a range average LA from the compressed image data D10, and a value (0, 1, 2, 2) of the compressed image data D10.
3) a section 32 for expanding data by applying the operation formula of Table 1 according to 3). By decompression, 2-bit data is restored to 8-bit data.

【0012】[0012]

【表1】 [Table 1]

【0013】以上の実施形態において、フィルタリング
のマトリクスサイズの大きさ、フィルタの内容、圧縮
率、圧縮手法、伸長手法は、例示に限定されない。注目
画素に対してその周囲のM(≧2)ラインに属する画素
を参照するフィルタリングを行う場合、(M−1)ライ
ン分のデータ遅延を行えばよい。図1では、5ライン分
の全てのデータをエンコーダ10及びデコーダ30を介
してMTF補正部40に入力するものとして説明した
が、データ伝送のタイミングによっては、FIFOメモ
リ20に格納しないラインのデータ、すなわち5ライン
のうちの5番目のラインのデータについては、エンコー
ダ10及びデコーダ30を介さずにMTF補正部40に
直接に入力することも可能である。
In the above embodiment, the size of the filtering matrix, the content of the filter, the compression ratio, the compression method, and the expansion method are not limited to the examples. When performing filtering on the pixel of interest with reference to pixels belonging to the surrounding M (≧ 2) lines, data delay of (M−1) lines may be performed. In FIG. 1, it has been described that all data for five lines is input to the MTF correction unit 40 via the encoder 10 and the decoder 30. However, depending on the timing of data transmission, data of a line not stored in the FIFO memory 20 That is, the data of the fifth line of the five lines can be directly input to the MTF correction unit 40 without passing through the encoder 10 and the decoder 30.

【0014】上述の実施形態においては、固定長符号化
方式である1次元ブロック符号化による圧縮を行うの
で、データ内容に係わらず確実にデータ容量を削減する
ことができる。可変長符号化では、圧縮処理によってデ
ータ量が増えてしまう場合が起こり得るので、FIFO
メモリ20の小容量化を図ることができない。
In the above-described embodiment, compression is performed by one-dimensional block coding, which is a fixed-length coding method, so that the data capacity can be reliably reduced regardless of the data content. In variable-length coding, the amount of data may increase due to compression processing.
The capacity of the memory 20 cannot be reduced.

【0015】[0015]

【発明の効果】請求項1の発明によれば、遅延メモリの
容量を削減することができ、装置の低価格化を図ること
ができる。
According to the first aspect of the present invention, the capacity of the delay memory can be reduced, and the price of the device can be reduced.

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

【図1】画像処理装置の要部のブロック図である。FIG. 1 is a block diagram of a main part of an image processing apparatus.

【図2】デコーダのブロック図である。FIG. 2 is a block diagram of a decoder.

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

1 画像処理装置 10 エンコーダ(エンコード手段) 20 FIFOメモリ(遅延メモリ) 30 デコーダ(デコード手段) 40 MTF補正部(演算手段) D10 圧縮画像データ Din 画像データ DESCRIPTION OF SYMBOLS 1 Image processing apparatus 10 Encoder (encoding means) 20 FIFO memory (delay memory) 30 Decoder (decoding means) 40 MTF correction part (arithmetic means) D10 Compressed image data Din image data

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】ライン単位で入力された画像データを圧縮
するエンコード手段と、 前記エンコード手段によって圧縮された少なくとも1ラ
イン分の圧縮画像データを記憶する遅延メモリと、 前記遅延メモリに記憶された圧縮画像データを伸張する
デコード手段と、 前記デコード手段によって伸張された少なくとも1ライ
ン分の画像データを含む複数ライン分の画像データに対
して同時に演算処理を行う演算手段と、を有したことを
特徴とする画像処理装置。
1. An encoding unit for compressing image data input in units of lines, a delay memory for storing compressed image data for at least one line compressed by the encoding unit, and a compression unit stored in the delay memory. Decoding means for expanding image data; and arithmetic means for simultaneously performing arithmetic processing on a plurality of lines of image data including at least one line of image data expanded by the decoding means. Image processing device.
JP9166765A 1997-06-24 1997-06-24 Image processing unit Pending JPH1117955A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP9166765A JPH1117955A (en) 1997-06-24 1997-06-24 Image processing unit
US09/103,308 US6366702B1 (en) 1997-06-24 1998-06-23 Method of and apparatus for image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9166765A JPH1117955A (en) 1997-06-24 1997-06-24 Image processing unit

Publications (1)

Publication Number Publication Date
JPH1117955A true JPH1117955A (en) 1999-01-22

Family

ID=15837297

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9166765A Pending JPH1117955A (en) 1997-06-24 1997-06-24 Image processing unit

Country Status (1)

Country Link
JP (1) JPH1117955A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7123385B2 (en) 2000-01-31 2006-10-17 Ricoh Company, Ltd. Image processing apparatus
US7336386B2 (en) 2000-01-31 2008-02-26 Ricoh Company, Ltd. Image processor including a data compression unit having a switch and image processing method thereof
JP2012134658A (en) * 2010-12-20 2012-07-12 Samsung Techwin Co Ltd Noise reduction device, noise reduction method, and noise reduction program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7123385B2 (en) 2000-01-31 2006-10-17 Ricoh Company, Ltd. Image processing apparatus
US7336386B2 (en) 2000-01-31 2008-02-26 Ricoh Company, Ltd. Image processor including a data compression unit having a switch and image processing method thereof
JP2012134658A (en) * 2010-12-20 2012-07-12 Samsung Techwin Co Ltd Noise reduction device, noise reduction method, and noise reduction program

Similar Documents

Publication Publication Date Title
JP2656897B2 (en) Image data compression and decompression device
US5790265A (en) Image coding/decoding method and apparatus
JP3873136B2 (en) More advanced compression of documents
US5442459A (en) Process for encoding a half tone image considering similarity between blocks
JPH08251422A (en) Block distortion correction device and image signal expander
US7406203B2 (en) Image processing method, system, and apparatus for facilitating data transmission
US7050645B2 (en) Image processing apparatus and image processing method
US7450769B2 (en) Image processing method for facilitating data transmission
JP3469438B2 (en) Image signal processing method and apparatus, recording medium
JPH1117955A (en) Image processing unit
US20080137974A1 (en) JBIG coding and decoding system
JP3311221B2 (en) Image processing apparatus and method
US20020176630A1 (en) Image data processing method
JPS63104586A (en) Decoding device for block coded picture signal
JP3034887B2 (en) Image processing method and apparatus
KR100246390B1 (en) Block noise removing apparatus in image signal processor
JPH11331614A (en) Image processing unit
JP4219079B2 (en) Image processing device
JPH11177828A (en) Image processing method and device therefor
JP3340006B2 (en) Image processing device
JP3796235B2 (en) Image compression and decompression method
JP3295507B2 (en) Binary image encoding / decoding method
JPH07221987A (en) Image processing unit
JP3200073B2 (en) Image processing device
JPH11331616A (en) Image processing unit

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050201

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050401

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050404

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20050404

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050719

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050817