JPH10108011A - Data-processing unit - Google Patents

Data-processing unit

Info

Publication number
JPH10108011A
JPH10108011A JP8260651A JP26065196A JPH10108011A JP H10108011 A JPH10108011 A JP H10108011A JP 8260651 A JP8260651 A JP 8260651A JP 26065196 A JP26065196 A JP 26065196A JP H10108011 A JPH10108011 A JP H10108011A
Authority
JP
Japan
Prior art keywords
data
image
rectangular
search
circuit
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
JP8260651A
Other languages
Japanese (ja)
Inventor
Tadashi Suzue
正 鈴江
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP8260651A priority Critical patent/JPH10108011A/en
Publication of JPH10108011A publication Critical patent/JPH10108011A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Or Security For Electrophotography (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)
  • Laser Beam Printer (AREA)
  • Color Electrophotography (AREA)
  • Storing Facsimile Image Data (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To allow the processing unit to apply division of image data to such areas as character, photographic and background areas and to apply compensation to each of the data suitable for each area consistently with high efficiency. SOLUTION: Rectangular areas are detected, unified and the result is added to a rectangular list by retrieving black pixels from an image that has been reduced and binarized from an original image duing preliminary scanning. Pixel data of each rectangular area extracted, based on the coordinates in the rectangular list among pixel data as a result of main scanning area given to an image discrimination circuit 135, in which each image characteristic is discriminated and the pixel data are coded by a low-frequency image high efficiency coding circuit 152 or a high-frequency image high efficiency coding circuit 153, depending on the image characteristic discriminated. Pixel data other than the data in the rectangular areas are coded by a background high efficiency coding circuit 154. After the end of coding processing, data in the rectangular list are compressed and stored in a main body memory 160. When an image is output, the rectangular data are decoded, and the image is expanded based thereon.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、一画素が多値の画
素データと二値表現可能な文字データとが混在したイメ
ージデータを圧縮してイメージメモリに書き込んでから
読み出すレーザプリンタやデジタル複写機等のデータ処
理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a laser printer or a digital copier which compresses image data in which multi-valued pixel data of one pixel and character data which can be expressed in a binary form are mixed, writes the image data in an image memory, and reads out the image data. And the like.

【0002】[0002]

【従来の技術】従来、レーザプリンタやデジタル複写機
などのデータ処理装置は、一画素が多値の画素データと
一画素が二値の文字データとを混在したイメージデータ
を圧縮してイメージメモリに書き込んでから伸長して読
み出すものがある。
2. Description of the Related Art Conventionally, data processing apparatuses such as laser printers and digital copiers compress image data in which one pixel includes multi-valued pixel data and one pixel includes binary character data, and store the compressed image data in an image memory. Some are written and then decompressed and read.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、文字は
1ビットで表現可能であるが、画像データは画質を保つ
ために1画素を多値で表現してある。従って、画像デー
タと文字データの混在したイメージデータを多値データ
形式に統一してイメージメモリに書き込もうとすれば、
文字等の二値データは記憶領域の無駄になるし、一方、
画像データと文字データの混在したイメージデータを二
値データ形式に統一してイメージメモリに書き込もうと
すれば、画像データ等を二値で記憶するには誤差拡散等
により画質を低下させる必要がある。
However, characters can be represented by one bit, but in image data, one pixel is represented by multiple values in order to maintain image quality. Therefore, if you want to unify image data in which image data and character data are mixed into a multi-valued data format and write it to the image memory,
Binary data such as characters wastes storage space, while
In order to unify image data in which image data and character data are mixed into a binary data format and write the image data into an image memory, it is necessary to reduce image quality by error diffusion or the like in order to store image data and the like in binary.

【0004】また、画像圧縮は画像の持つ空間的、時間
的な冗長を取り除くことによってデータ量の圧縮を行う
ものであり、情報源符号化とエントロピー符号化の部分
に分けられる。情報源符号化は画素やフレーム間の相関
や空間スペクトラムの偏りなどを利用して画像の冗長な
部分を取り除く処理であり、エントロピー符号化は情報
源符号化されたデータの統計的偏りを使って冗長な部分
を取り除く処理である。JPEG圧縮やLempel−
Ziv圧縮等があり、圧縮法によって適した用途が異な
っている。
[0004] Image compression compresses the amount of data by removing the spatial and temporal redundancy of the image, and is divided into information source coding and entropy coding. Source coding is a process that uses the correlation between pixels and frames and spatial spectrum bias to remove redundant parts of the image, and entropy coding uses the statistical bias of the source-coded data. This is a process for removing redundant parts. JPEG compression and Lempel-
There is Ziv compression and the like, and suitable applications differ depending on the compression method.

【0005】例えば、JPEGは、隣接する画素の濃度
差の少ない写真画像に適した圧縮法であり、圧縮率の高
い方法であり、Lempel−Zivは文字等のエッジ
画像に適した圧縮法で可逆な方法であるため圧縮率が低
くなっている。地肌領域は一定レベルのデータとして表
現されるものであるから、文字や写真等よりも圧縮効率
を高くできるものであり、可逆圧縮できる事が望まし
い。従って、文字でも写真でもない地肌領域と文字や写
真等の画像領域とを区別せずに統一した圧縮方法を採用
すれば、文字や写真及び地肌毎に適切な圧縮を行えな
い。
For example, JPEG is a compression method suitable for a photographic image in which the density difference between adjacent pixels is small and has a high compression ratio, and Lempel-Ziv is a compression method suitable for an edge image such as a character. The compression ratio is low because of this method. Since the background area is expressed as data of a certain level, the compression efficiency can be made higher than that of characters and photographs, and it is desirable that reversible compression be possible. Therefore, if a unified compression method is adopted without distinguishing a background area that is neither a character nor a photograph from an image area such as a character or a photograph, appropriate compression cannot be performed for each character, photograph, and background.

【0006】前述した課題を解決するために、イメージ
データを文字や写真及び地肌の領域に分割し、各領域特
性に適した圧縮をすればよいが、イメージデータの分割
処理から圧縮処理まで適切に行う方法及び装置が未だ提
案されていない。
In order to solve the above-mentioned problem, the image data may be divided into character, photograph, and background areas, and compression suitable for the characteristics of each area may be performed. A method and apparatus for doing so have not yet been proposed.

【0007】本発明の目的は、上記技術的課題に鑑み、
画像特性に応じて高品質かつ圧縮効率の高い圧縮方法を
適用できるデータ処理装置を提供することにある。
An object of the present invention is to solve the above technical problems,
It is an object of the present invention to provide a data processing device to which a high-quality and high-compression-efficiency compression method can be applied according to image characteristics.

【0008】[0008]

【課題を解決するための手段】前記目的は、以下の構成
により達成される。
The above object is achieved by the following constitution.

【0009】(1) 文字と写真画像とが混在した原画
から多値の画素データとして読み取るスキャナと、当該
スキャナから送出される二次元的に隣接する多値の画素
データの平均レベルを示す縮小データに変換する縮小処
理手段と、当該縮小処理手段から得られる縮小データを
二値化する二値化手段と、当該二値化手段から得られる
二値データからページ上の矩形領域を決定して当該矩形
領域の矩形データを生成する矩形データ生成手段と、当
該矩形データ生成手段からの矩形データを格納する矩形
データ用メモリと、前記スキャナからの多値の画素デー
タをページ単位で格納するページメモリと、前記矩形デ
ータで規定される矩形領域に内包する前記ページメモリ
から読み出された多値の画素データから画像特性を検出
する画像判別手段と、当該画像判別手段の判別結果に基
づいて前記ページメモリから読み出された多値の画素デ
ータを低周波画像用高効率符号化手段と高周波画像用高
効率符号化手段と地肌用高効率符号化手段とのいずれか
に送出する抽出処理手段と、前記低周波画像用高効率符
号化手段と高周波画像用高効率符号化手段と地肌用高効
率符号化手段とで高効率符号化したデータを本体メモリ
に格納する格納制御手段と、前記本体メモリから読み出
した高効率符号データを画像データに展開する複数の展
開処理手段を備えることを特徴とするデータ処理装置。
(1) A scanner for reading multi-valued pixel data from an original image in which characters and photographic images are mixed, and reduced data indicating an average level of two-dimensionally adjacent multi-valued pixel data transmitted from the scanner. , A binarizing means for binarizing the reduced data obtained from the reducing processing means, and a rectangular area on a page determined from the binary data obtained from the binarizing means. Rectangular data generating means for generating rectangular data of a rectangular area; a rectangular data memory for storing rectangular data from the rectangular data generating means; and a page memory for storing multi-valued pixel data from the scanner in page units. Image determination means for detecting image characteristics from multi-valued pixel data read from the page memory included in a rectangular area defined by the rectangular data; The multi-valued pixel data read from the page memory based on the determination result of the image determining means is converted into high-efficiency coding means for low-frequency images, high-efficiency coding means for high-frequency images, and high-efficiency coding for background. Extraction processing means for sending the data to any one of the means, and the high-efficiency coding means for the low-frequency image, the high-efficiency coding means for the high-frequency image, and the high-efficiency coding means for the background. A data processing apparatus comprising: a storage control unit that stores data in a memory; and a plurality of expansion processing units that expand high-efficiency code data read from the main body memory into image data.

【0010】本発明で原画像を矩形状に領域分割する理
由は以下のごとくである。
The reason for dividing the original image into rectangular areas in the present invention is as follows.

【0011】一般に文字と写真画像とが混在した新聞や
カタログ、レポート等は昨今文字と写真画像とが混在し
たものが多くなってきている。文字領域が段落毎に矩形
状に挿入してあることが多く、写真画像も矩形状に挿入
してある場合が多い。従って、スキャナから読み込まれ
たイメージデータを矩形状に領域分割すれば、文字領域
と写真画像領域とに分割できる可能性が高いことになる
からである。領域分割処理によって得られる矩形データ
は矩形の一つの頂点座標と矩形の高さ、幅を示すデータ
とから構成してある。
In general, newspapers, catalogs, reports, and the like, in which characters and photographic images are mixed, have recently been increasing in which characters and photographic images are mixed. In many cases, a character region is inserted in a rectangular shape for each paragraph, and a photographic image is also often inserted in a rectangular shape. Therefore, if the image data read from the scanner is divided into rectangular regions, there is a high possibility that the image data can be divided into a character region and a photographic image region. The rectangular data obtained by the region dividing process is constituted by coordinates of one vertex of the rectangle and data indicating the height and width of the rectangle.

【0012】本発明の抽出処理手段は原画像から文字領
域及び写真画像を抽出するのみならず、原画像から地肌
領域のみを抽出することができるので、地肌の画像デー
タは連続した一定の輝度レベルの画素データとして扱え
るので、画像データの圧縮効率を向上させることができ
る。
The extraction processing means of the present invention can not only extract a character area and a photographic image from an original image but also extract only a background area from the original image. Since the pixel data can be handled as pixel data, the compression efficiency of image data can be improved.

【0013】(2) 前記矩形データ生成手段は動的に
探索範囲を変更する探索子を用い、分割した矩形領域に
重なりを生じないように統合処理を行うことを特徴とす
る(1)のデータ処理装置。
(2) The data according to (1), wherein the rectangular data generation means uses a search element that dynamically changes a search range and performs an integration process so that the divided rectangular areas do not overlap. Processing equipment.

【0014】本発明の矩形領域探索処理は矩形領域が一
つの頂点とその対角頂点を求めれば特定できることから
探索処理を単純にすべく探索子を水平方向と垂直方向の
みに行うようにし、かつ、探索開始当初に探索子の探索
範囲を大きくし、矩形領域の頂点付近で探索子の探索範
囲を小さくするように探索子の探索範囲を動的に変更で
きるようにしてある。従って、本発明の探索処理は矩形
領域の頂点付近を正確かつ高速に探索できる。探索子の
移動距離は文字間や文字列間などの小さなすき間を越え
て探索するようにしてある。これによっても高速処理を
可能にしてある。
In the rectangular area search processing of the present invention, a rectangular area can be specified by obtaining one vertex and its diagonal vertex. Therefore, in order to simplify the search processing, the search element is performed only in the horizontal and vertical directions, and The search range of the searcher can be dynamically changed so that the search range of the searcher is increased at the beginning of the search and the search range of the searcher is reduced near the apex of the rectangular area. Therefore, the search processing of the present invention can accurately and quickly search near the vertices of the rectangular area. The searcher moves over a small gap such as between characters or character strings. This also enables high-speed processing.

【0015】(3) 前記画像判別手段は隣接する画素
データとの差分値から画像特性を検出することを特徴と
する(1)のデータ処理装置。
(3) The data processing apparatus according to (1), wherein the image discriminating means detects an image characteristic from a difference value between adjacent pixel data.

【0016】(4) 前記高周波画像用高効率符号化手
段は隣り合う画素間の変化が少なく、画素間の相関の高
い画像に適したJPEG圧縮であり、前記低周波画像用
高効率符号化手段は隣り合う画素間の変化が多く、画素
間の相関の低いエッジ画像に適した圧縮であり、前記地
肌用高効率符号化手段は連続する一定レベルの画素デー
タを高効率符号化するものであることを特徴とする
(1)のデータ処理装置。
(4) The high-efficiency encoding means for high-frequency image is JPEG compression suitable for an image having little change between adjacent pixels and having high correlation between pixels. Is a compression suitable for an edge image having a large change between adjacent pixels and a low correlation between the pixels, and the background high-efficiency encoding means encodes continuous constant-level pixel data with high efficiency. (1) The data processing device according to (1).

【0017】(5) 前記矩形データは高効率符号化し
て本体メモリに格納することを特徴とする(1)のデー
タ処理装置。
(5) The data processing apparatus according to (1), wherein the rectangular data is encoded with high efficiency and stored in a main body memory.

【0018】[0018]

【発明の実施の形態】図1は本実施の形態におけるデー
タ処理回路を示すブロック図である。
FIG. 1 is a block diagram showing a data processing circuit according to the present embodiment.

【0019】本実施の形態のデータ処理装置は、多値画
像を再現する電子写真方式のデジタル複写機に適用され
るものであり、スキャナI/F111とスキャンバッフ
ァ112と縮小処理回路121と二値化処理回路122
とメモリ制御回路123と縮小画像用メモリ124と矩
形分割処理回路131と抽出処理回路132とバッファ
メモリ制御回路133と矩形データ用バッファメモリ1
34と画像判別回路135とページメモリ制御回路14
1とページメモリ142とlog変換回路151と低周
波画像用高効率符号化回路152と高周波画像用高効率
符号化回路153と地肌用高効率符号化回路154と符
号化データ格納制御回路155と矩形データ圧縮回路1
56と本体メモリ160と復号化制御回路171と低周
波画像用復号化回路172と高周波画像用復号化回路1
73と地肌用復号化回路174と展開画像格納制御回路
175と出力インターフェイス180とからなる。
The data processing apparatus according to the present embodiment is applied to an electrophotographic digital copying machine for reproducing a multi-valued image, and includes a scanner I / F 111, a scan buffer 112, a reduction processing circuit 121, Processing circuit 122
, A memory control circuit 123, a reduced image memory 124, a rectangular division processing circuit 131, an extraction processing circuit 132, a buffer memory control circuit 133, and a rectangular data buffer memory 1.
34, image discriminating circuit 135, and page memory control circuit 14
1, a page memory 142, a log conversion circuit 151, a high-efficiency encoding circuit 152 for a low-frequency image, a high-efficiency encoding circuit 153 for a high-frequency image, a high-efficiency encoding circuit 154 for the background, an encoded data storage control circuit 155, and a rectangle. Data compression circuit 1
56, body memory 160, decoding control circuit 171, low frequency image decoding circuit 172, high frequency image decoding circuit 1
73, a background decoding circuit 174, a developed image storage control circuit 175, and an output interface 180.

【0020】スキャナI/F111は文字と写真画像と
が混在した原画から多値の画素データをスキャンバッフ
ァ112とページメモリ制御回路141に送出するもの
である。
The scanner I / F 111 sends multi-valued pixel data from an original image in which characters and photographic images are mixed to the scan buffer 112 and the page memory control circuit 141.

【0021】縮小処理回路121は、スキャナI/F1
11から得られる原画像の縮小画像を得るものであり、
プレスキャンにより得られる10×10画素の2次マト
リクスで隣接する256階調の画素データの平均階調レ
ベルを算出し、その平均階調レベルの画素データを二値
化処理回路122に送出するである。従って、縮小処理
回路121は原画像の10×10画素のマトリクス領域
を1画素に縮小する機能を有する回路である。本実施の
形態で10×10画素のマトリクスを1画素に縮小する
理由は、400dpi画像で再現した場合に10分の1
の解像度の40dpiで1.57画素/mmであるの
で、一般文書によく用いられる12級文字(3×3m
m)の画素数が約2.4画素であり3画素以上先を探索
すれば、文字の半分から一文字分程度の文字列のすき間
を越えて探索できるからである。従って、原画像に用い
られる文字級数でマトリクスサイズが変更される。縮小
処理回路121で採用する縮小法は画像領域の画像情報
が正確に反映されるものであればよい。
The reduction processing circuit 121 includes a scanner I / F 1
11 to obtain a reduced image of the original image obtained from
An average gray level of pixel data of adjacent 256 gray levels is calculated by a secondary matrix of 10 × 10 pixels obtained by the prescan, and the pixel data of the average gray level is sent to the binarization processing circuit 122. is there. Therefore, the reduction processing circuit 121 is a circuit having a function of reducing the matrix area of 10 × 10 pixels of the original image to one pixel. The reason for reducing the matrix of 10 × 10 pixels to one pixel in the present embodiment is that one-tenth is obtained when a 400 dpi image is reproduced.
Since the resolution is 1.57 pixels / mm at a resolution of 40 dpi, 12th class characters (3 × 3 m
This is because the number of pixels in m) is about 2.4 pixels, and if a search is made for three or more pixels, it is possible to search over a gap of a character string from half a character to one character. Therefore, the matrix size is changed by the character series used for the original image. The reduction method employed in the reduction processing circuit 121 may be any method as long as the image information of the image area is accurately reflected.

【0022】二値化処理回路122は所定のしきい値で
縮小処理回路121から入力される縮小データを
“0”、“1”の二値データをメモリ制御回路123に
送出する回路である。二値化処理回路122で採用する
二値化法は黒画素領域を正確に抽出できるものであれば
よく、適応的二値化法やヒストグラムを利用した二値化
法を採用している。
The binarization processing circuit 122 is a circuit for sending out the reduced data inputted from the reduction processing circuit 121 at a predetermined threshold value to "0" and "1" to the memory control circuit 123. The binarization method employed in the binarization processing circuit 122 may be any method that can accurately extract a black pixel region, and employs an adaptive binarization method or a binarization method using a histogram.

【0023】メモリ制御回路123は二値化処理回路1
22からの二値データを縮小画像用メモリ124に書き
込み又は読み出して矩形分割処理回路131に送出する
回路である。
The memory control circuit 123 is a binary processing circuit 1
This is a circuit which writes or reads the binary data from the memory 22 to the reduced image memory 124 and sends it to the rectangular division processing circuit 131.

【0024】矩形分割処理回路131は、原画像上の矩
形領域を探索して当該矩形領域の矩形データを生成する
矩形データ生成手段に相当するものであり、原画像を縮
小して二値化した二値データを用いて矩形領域を探索す
るので高速処理が可能となっている。本実施の形態にお
いて、矩形データは抽出した矩形領域の左上の頂点座標
と矩形の高さ、幅を示すデータとから構成してある。な
お、矩形データはこれに限定されるものでなく、矩形領
域の何れかの頂点座標と矩形の高さ、幅を示すデータで
あればよい。
The rectangular division processing circuit 131 corresponds to a rectangular data generating means for searching for a rectangular area on the original image and generating rectangular data of the rectangular area. Since a rectangular area is searched using binary data, high-speed processing is possible. In the present embodiment, the rectangular data is composed of the coordinates of the upper left vertex of the extracted rectangular area and data indicating the height and width of the rectangle. The rectangular data is not limited to this, but may be any data as long as it indicates any vertex coordinates of the rectangular area and the height and width of the rectangle.

【0025】バッファメモリ制御回路133は矩形デー
タ用バッファメモリ134に矩形データや識別結果を書
き込み又は読み出すメモリ制御回路である。
The buffer memory control circuit 133 is a memory control circuit for writing or reading rectangular data or identification results in the rectangular data buffer memory 134.

【0026】矩形データ用バッファメモリ134は矩形
データ及び画像特性の判別結果を格納するものである。
The rectangular data buffer memory 134 stores the rectangular data and the result of determining the image characteristics.

【0027】ページメモリ142はスキャナI/F11
1から入力される多値の画素データをページ単位で格納
するメモリであり、本実施の形態における入出力メモリ
に相当するものであるので、電子写真プロセスの露光プ
ロセスを行う書き込み制御回路に接続した出力I/F1
80に接続してある。
The page memory 142 has a scanner I / F 11.
This is a memory for storing multi-valued pixel data input from 1 in page units, and is equivalent to the input / output memory in the present embodiment. Therefore, it is connected to a writing control circuit for performing an exposure process of an electrophotographic process. Output I / F1
80 connected.

【0028】抽出処理回路132は矩形データに基づい
てページメモリ142から読み出した画素データを矩形
領域と非矩形領域とに切り分けて画像判別回路135又
は地肌用高効率符号化回路154に送出するものであ
る。ここで非矩形領域とは文字画像領域又は写真画像領
域以外の領域であり、言い換えれば地肌領域に相当する
ものである。従って、抽出処理回路132は連続した一
定の輝度レベルの画素データを地肌用高効率符号化回路
154に送出することができる。矩形領域に属する画素
データは矩形領域毎に連続して画像判別回路135に送
出される。
The extraction processing circuit 132 divides the pixel data read from the page memory 142 into rectangular areas and non-rectangular areas based on the rectangular data, and sends them to the image discriminating circuit 135 or the background high-efficiency encoding circuit 154. is there. Here, the non-rectangular area is an area other than the character image area or the photographic image area, in other words, corresponds to the background area. Accordingly, the extraction processing circuit 132 can send continuous pixel data of a constant luminance level to the background high-efficiency encoding circuit 154. Pixel data belonging to the rectangular area is sent to the image discriminating circuit 135 continuously for each rectangular area.

【0029】なお、矩形データ用バッファメモリ134
に格納してある矩形データは、縮小処理回路121で1
0×10画素から1画素の多値データとしたものである
ので、原画像データと座標位置を一致させる必要から、
矩形データを10倍しなければならない。具体的には、
拡大前の矩形データの左上頂点(x1,y1)とその対角
座標(x2,y2)とし、拡大後の矩形データの左上頂点
(x′1,y′1)とその対角座標(x′2,y′2)とす
れば、以下の関係がある。α=10,β=α/2とし
て、x′1=αx1−β,y′1=αy1−β,x′2=α
2+β−1,y′2=αy2+β−1である。
The rectangular data buffer memory 134
Is stored in the reduction processing circuit 121.
Since it is multi-valued data of one pixel from 0 × 10 pixels, since it is necessary to match the coordinate position with the original image data,
Rectangle data must be multiplied by ten. In particular,
The upper left vertex (x 1 , y 1 ) of the rectangular data before expansion and its diagonal coordinates (x 2 , y 2 ), and the upper left vertex (x ′ 1 , y ′ 1 ) of the rectangular data after expansion and its diagonal Assuming that the coordinates are (x ′ 2 , y ′ 2 ), there is the following relationship. Assuming α = 10 and β = α / 2, x ′ 1 = αx 1 −β, y ′ 1 = αy 1 −β, x ′ 2 = α
x 2 + β-1, y ′ 2 = αy 2 + β-1.

【0030】画像判別回路135は、矩形データで規定
される矩形領域に内包する多値の画素データの隣接画素
の差分からエッジを検出し、エッジ数が設定したしきい
値を越えた場合に文字領域と判別し、越えない場合に写
真領域と判別することにより矩形データで規定される領
域の画像特性を検出して判別結果を矩形データに付加し
てバッファメモリ制御回路133に送出すると共に判別
結果に応じて矩形データで規定される領域に属する多値
の画素データを低周波画像用高効率符号化回路152又
は高周波画像用高効率符号化回路153に選択的に送出
する。
The image discriminating circuit 135 detects an edge from a difference between adjacent pixels of multi-valued pixel data included in the rectangular area defined by the rectangular data, and outputs a character when the number of edges exceeds a set threshold value. The image characteristic of the area defined by the rectangular data is detected by discriminating the area as a photographic area if the area is not exceeded, and the result of the determination is added to the rectangular data and sent to the buffer memory control circuit 133. , The multi-valued pixel data belonging to the area defined by the rectangular data is selectively transmitted to the high-efficiency encoding circuit 152 for low-frequency images or the high-efficiency encoding circuit 153 for high-frequency images.

【0031】低周波画像用高効率符号化回路152は、
隣接する画素の濃度差の少ない写真画像を高品質かつ高
効率に圧縮できるJPEG圧縮を採用してある。
The high-efficiency encoding circuit 152 for low-frequency image
JPEG compression that can compress a photographic image with a small difference in density between adjacent pixels with high quality and high efficiency is adopted.

【0032】JPEG圧縮法の概略を以下に説明する。
情報源符号化として8×8画素のブロックに分割し、そ
れに2次元DCT(離散コサイン変換)をかけて、空間
周波数成分に対応した8×8のコサイン変換行列に変換
する。DCT係数は量子化テーブルを用いて係数毎に異
なるステップサイズで線形量子化する。画質に大きな影
響を及ぼす低周波成分係数は細かく量子化し、画質への
影響が比較的少さい高周波成分係数はあらく量子化され
る。量子化処理で低周波成分の値は大きな値となるが、
高周波成分の値はほとんどが“0”になる。
The outline of the JPEG compression method will be described below.
It is divided into blocks of 8 × 8 pixels as information source coding, and is subjected to two-dimensional DCT (discrete cosine transform) to convert to a 8 × 8 cosine transform matrix corresponding to a spatial frequency component. DCT coefficients are linearly quantized with a different step size for each coefficient using a quantization table. Low-frequency component coefficients that greatly affect image quality are finely quantized, and high-frequency component coefficients that have relatively little effect on image quality are quantized roughly. The value of the low-frequency component becomes large by the quantization process,
The value of the high frequency component is almost “0”.

【0033】その後、エントロピー符号化として直流成
分と交流成分を別々に二値系列に変換しハフマン符号化
する。具体的には直流成分の符号化は1つ前のブロック
の直流成分との差分値に対してハフマン符号化を行い、
交流成分の符号化は低周波成分から高周波成分へと
“0”の係数が連続するようにジグザクスキャンを行っ
て1次元に配列した後、連続する“0”の係数の長さを
表すラン長と、その後に続く“0”以外の係数値を用い
て符号化する。量子化レベルを変えることによって、互
いに相反す関係にある圧縮率と画質をコントロールする
ことができる。なお、ハフマン符号化は可逆符号化であ
る。
Thereafter, as the entropy coding, the DC component and the AC component are separately converted into a binary sequence and Huffman coding is performed. Specifically, the coding of the DC component performs Huffman coding on the difference value from the DC component of the immediately preceding block,
The coding of the AC component is performed by performing a zigzag scan so that the coefficient of “0” is continuous from the low frequency component to the high frequency component and arranging the coefficient in a one-dimensional manner, and then a run length representing the length of the continuous coefficient of “0”. Then, the encoding is performed using a coefficient value other than “0” that follows. By changing the quantization level, it is possible to control the compression ratio and the image quality, which are in conflict with each other. Note that Huffman coding is lossless coding.

【0034】高周波画像用高効率符号化回路153は、
エッジの多い文字の圧縮に適したLempel−Ziv
圧縮を採用している。Lempel−Ziv圧縮アルゴ
リズムは入力文字列を変換テーブルに基づいてコードに
符号化する一方、変換テーブルに登録されていない文字
列を変換テーブルに登録し、エンコーダとデコーダ双方
でダイナミックに変換テーブルの更新を行うものであ
る。
The high-efficiency encoding circuit 153 for high-frequency images
Lempel-Ziv suitable for compression of characters with many edges
Adopts compression. The Lempel-Ziv compression algorithm encodes an input character string into a code based on a conversion table, registers a character string not registered in the conversion table in the conversion table, and dynamically updates the conversion table in both the encoder and the decoder. Is what you do.

【0035】地肌用高効率符号化回路154は、地肌領
域は一定レベルの連続したデータとして扱えるので、ラ
スタスキャン順に一次元データにまとめて圧縮する回路
である。
The background high-efficiency encoding circuit 154 is a circuit for compressing the background region into one-dimensional data in raster scan order because the background region can be treated as continuous data of a constant level.

【0036】符号化データ格納制御回路155は、低周
波画像用高効率符号化回路152と高周波画像用高効率
符号化回路153と地肌用高効率符号化回路154とか
ら送出される符号化データを本体メモリ160に格納す
る書き込み制御回路である。
The coded data storage control circuit 155 converts the coded data transmitted from the low-frequency image high-efficiency coding circuit 152, the high-frequency image high-efficiency coding circuit 153, and the background high-efficiency coding circuit 154. This is a write control circuit stored in the main body memory 160.

【0037】矩形データ圧縮回路156は、矩形データ
及び判別結果を高効率符号化するものである。
The rectangular data compression circuit 156 encodes the rectangular data and the determination result with high efficiency.

【0038】本体メモリ160は、任意のサイズの矩形
領域の画像特性毎に選択される圧縮法で高効率符号化し
たデータと矩形領域データ及び矩形領域の画像特性を示
す判別コードを格納するものである。
The main body memory 160 stores data that has been efficiently coded by a compression method selected for each image characteristic of a rectangular area of an arbitrary size, rectangular area data, and a discrimination code indicating the image characteristic of the rectangular area. is there.

【0039】画像展開制御回路171は、矩形データか
ら算出されるアドレスで高効率符号化データを読み出
し、矩形データに付加してある判別コードに基づいて低
周波画像用復号化回路172,高周波画像用復号化回路
173,地肌用復号化回路174のいずれかに送出する
回路である。
The image expansion control circuit 171 reads out the high-efficiency coded data at the address calculated from the rectangular data, and decodes the low-frequency image based on the discrimination code added to the rectangular data. This is a circuit to be sent to one of the decoding circuit 173 and the background decoding circuit 174.

【0040】低周波画像用復号化回路172は、DCT
をベースとした復号化回路であり、エントロピー復号化
回路とハフマン符号化テーブルと逆量子化回路と量子化
テーブルとIDCT回路とかなり、符号化データを多値
の画素データに復号化して展開画像格納制御回路175
に送出する回路である。
The low-frequency image decoding circuit 172 has a DCT
The decoding circuit is based on. The entropy decoding circuit, the Huffman coding table, the inverse quantization circuit, the quantization table and the IDCT circuit, decode the coded data into multi-valued pixel data and store the expanded image Control circuit 175
Circuit.

【0041】高周波画像用復号化回路173は、文字デ
ータに復号化するためにLempel−Ziv伸張アル
ゴリズムを実行するものであり、変換テーブルを作成し
ながら、高周波成分の多いエッジを含む文字に復号化し
て多値の画素データに復号化して展開画像格納制御回路
175に送出する回路である。
The high-frequency image decoding circuit 173 executes a Lempel-Ziv decompression algorithm for decoding into character data. The decoding circuit 173 decodes a high-frequency image into characters including edges with many high-frequency components while creating a conversion table. And decodes the data into multi-valued pixel data and sends it to the developed image storage control circuit 175.

【0042】地肌用復号化回路174は、地肌の画素デ
ータに復号化して展開画像格納制御回路175に送出す
る回路である。
The background decoding circuit 174 is a circuit for decoding into background pixel data and sending it to the developed image storage control circuit 175.

【0043】展開画像格納制御回路175は、本体メモ
リ160から読み出された矩形データに基づいて得られ
るアドレスに従ってページメモリ142に多値の画素デ
ータを格納する回路であり、スキャナI/F111から
入力されたイメージデータをほぼ復元して出力I/F1
80に送出する回路である。
The expanded image storage control circuit 175 is a circuit for storing multi-valued pixel data in the page memory 142 in accordance with an address obtained based on the rectangular data read from the main body memory 160, and is input from the scanner I / F 111. Output I / F1 by substantially restoring the output image data
80.

【0044】以上が本実施の形態におけるデータ処理回
路の概略構成である。
The above is the schematic configuration of the data processing circuit according to the present embodiment.

【0045】次に、本実施の形態におけるデータ処理回
路の概略処理動作を説明する。
Next, a schematic processing operation of the data processing circuit according to the present embodiment will be described.

【0046】画像入力命令が発生すると、スキャナI/
F111からプレスキャンによる多値の画素データがス
キャンバッファ112に読み込まれる。縮小処理回路1
21は、スキャンバッファ112の容量単位で縮小処理
を行い、二値化処理回路122は縮小データを二値化し
てメモリ制御回路123に送出する。これにより、メモ
リ制御回路123は縮小画像用メモリ124に二値化デ
ータを格納する。矩形分割処理回路131は、前述の格
納処理の終了により分割処理を実行する。
When an image input command is issued, the scanner I /
From F <b> 111, multi-value pixel data by pre-scan is read into the scan buffer 112. Reduction processing circuit 1
Reference numeral 21 performs reduction processing in units of the capacity of the scan buffer 112, and the binarization processing circuit 122 binarizes the reduced data and sends it to the memory control circuit 123. Thereby, the memory control circuit 123 stores the binarized data in the reduced image memory 124. The rectangular division processing circuit 131 executes the division processing at the end of the storage processing described above.

【0047】矩形分割処理回路131は、処理結果によ
り得られる矩形データをバッファメモリ制御回路133
を介して矩形データ用バッファメモリ134に一時保存
して、統合処理に際して読み出し、書き込む。矩形分割
処理回路131は、統合処理を終えた矩形データのリス
トを作成し終えると、抽出処理回路132はページメモ
リ制御回路141を介して多値の画素データを読み出
す。
The rectangular division processing circuit 131 converts the rectangular data obtained as a result of the processing into a buffer memory control circuit 133.
, Is temporarily stored in the rectangular data buffer memory 134, and is read and written during the integration processing. When the rectangle division processing circuit 131 completes the creation of the list of rectangle data after the integration processing, the extraction processing circuit 132 reads out multi-valued pixel data via the page memory control circuit 141.

【0048】なお、抽出処理回路132の参照開始時点
までに本スキャンにより多値の画素データがページメモ
リ142に書き込まれている。
The multi-valued pixel data has been written to the page memory 142 by the main scan by the time the reference of the extraction processing circuit 132 is started.

【0049】抽出処理回路132は、ページメモリ14
2からランダムアクセスにより多値の画素データを読み
出し、矩形データで得られる矩形領域内の多値の画素デ
ータを画像判別回路135に送出し、矩形領域外の画像
データを地肌用高効率符号化回路154に送出する。画
像判別回路135は矩形領域内の画像特性を判別して、
バッファメモリ制御回路133を介して矩形データに判
別結果を付加して矩形データ用バッファメモリ134に
格納する。画像判別回路135は、判別結果に基づいて
低周波画像用高効率符号化回路152又は高周波画像用
高効率符号化回路153に送出する。
The extraction processing circuit 132 is provided in the page memory 14
2, the multi-valued pixel data is read out by random access, the multi-valued pixel data in the rectangular area obtained by the rectangular data is sent to the image discriminating circuit 135, and the image data outside the rectangular area is converted to the high-efficiency coding circuit for the background. 154. The image determination circuit 135 determines the image characteristics in the rectangular area,
The determination result is added to the rectangular data via the buffer memory control circuit 133 and stored in the rectangular data buffer memory 134. The image discriminating circuit 135 sends the signal to the low-frequency image high-efficiency coding circuit 152 or the high-frequency image high-efficiency coding circuit 153 based on the discrimination result.

【0050】低周波画像用高効率符号化回路152、高
周波画像用高効率符号化回路153、地肌用高効率符号
化回路154で圧縮された符号化データが符号化データ
格納制御回路155を介して本体メモリ160に格納さ
れる。
The encoded data compressed by the high-efficiency encoding circuit for low-frequency image 152, the high-efficiency encoding circuit for high-frequency image 153, and the high-efficiency encoding circuit for background 154 are transmitted through the encoded data storage control circuit 155. It is stored in the main body memory 160.

【0051】前述の高効率符号化処理の終了により、矩
形データ圧縮回路156は矩形データを圧縮して図示し
ない本体制御回路の管理の元に本体メモリ160に格納
する。これにより、本体メモリ160の格納領域は本体
制御回路で管理されており、データ格納領域の制御及び
オーバフローチェック等によりデータの衝突を制御して
いる。
Upon completion of the high-efficiency encoding process, the rectangular data compression circuit 156 compresses the rectangular data and stores it in the main body memory 160 under the control of a main body control circuit (not shown). Thus, the storage area of the main body memory 160 is managed by the main body control circuit, and data collision is controlled by controlling the data storage area and performing an overflow check.

【0052】画像出力命令が発生すると、符号化した矩
形データを復号化し矩形データ用バッファメモリ134
へ一時保存する。画像展開制御回路171は矩形データ
用バッファメモリを参照して本体メモリ160から符号
化データを読み出して低周波画像用復号化回路172、
高周波画像用復号化回路173、地肌用復号化回路17
4に分別することにより、文字、写真画像及び地肌毎に
適切な復号化処理を実行する。かかる画像データは展開
画像格納制御回路175を介してページメモリ142に
格納されて、出力インターフェイス180から送出され
る。
When an image output command is issued, the encoded rectangular data is decoded and the rectangular data buffer memory 134 is decoded.
To save temporarily. The image expansion control circuit 171 reads the encoded data from the main memory 160 with reference to the buffer memory for rectangular data, and decodes the low-frequency image
High-frequency image decoding circuit 173, background decoding circuit 17
4 to perform appropriate decoding processing for each of characters, photographic images, and background. Such image data is stored in the page memory 142 via the developed image storage control circuit 175 and transmitted from the output interface 180.

【0053】次に本実施の形態における矩形分割処理回
路131の処理動作を詳細に説明する。
Next, the processing operation of the rectangular division processing circuit 131 in this embodiment will be described in detail.

【0054】図2〜図9を参照して本実施の形態におけ
る矩形分割処理回路131の処理動作を説明する。
The processing operation of the rectangular division processing circuit 131 in the present embodiment will be described with reference to FIGS.

【0055】図2は矩形分割処理回路131における概
略処理を示すフローチャートである。矩形分割処理回路
131は、縮小画像用メモリ124から縮小画像である
二値データを読み出し、当該二値データが画像領域内に
属するものであるかを判断し(ステップ1)、ステップ
1で二値データが画像領域内に属すると判断すれば、先
に抽出してある矩形領域以外の画素を見つけたかを確認
する(ステップ2)。
FIG. 2 is a flowchart showing a schematic process in the rectangular division processing circuit 131. The rectangular division processing circuit 131 reads out the binary data as the reduced image from the reduced image memory 124, determines whether the binary data belongs to the image area (step 1), If it is determined that the data belongs to the image area, it is confirmed whether a pixel other than the previously extracted rectangular area has been found (step 2).

【0056】矩形分割処理回路131は、ステップ2で
矩形領域以外の画素であると判断すれば、当該画素の座
標を黒画素開始位置として記憶する(ステップ3)。
If the rectangular division processing circuit 131 determines in step 2 that the pixel is outside the rectangular area, it stores the coordinates of the pixel as a black pixel start position (step 3).

【0057】矩形分割処理回路131は、黒画素開始位
置で探索方向を決定し、決定した方向に最大の探索距離
から探索範囲を動的に変更して探索する(ステップ
4)。
The rectangle division processing circuit 131 determines the search direction at the black pixel start position, and dynamically changes the search range from the maximum search distance in the determined direction to perform the search (step 4).

【0058】矩形分割処理回路131は、対角点位置を
検出すると、左側への探索の場合には黒画素開始位置と
対角点位置のX座標を入れ替える(ステップ5)。
When detecting the diagonal point position, the rectangular division processing circuit 131 replaces the X coordinate of the black pixel start position with the diagonal point position in the case of a search to the left (step 5).

【0059】矩形分割処理回路131は、黒画素開始位
置と対角点位置で決定される矩形領域が既に求めてある
他の矩形領域と重なるかを判断する(ステップ6)。
The rectangular division processing circuit 131 determines whether or not the rectangular area determined by the black pixel start position and the diagonal point position overlaps another rectangular area already obtained (step 6).

【0060】矩形分割処理回路131は、ステップ6で
重なると判断すれば、重なる矩形領域を統合した矩形領
域の矩形データを求める(ステップ7)。ここで、統合
処理とは、矩形データは双方向にポインタをもった矩形
リストとして矩形データ用バッファメモリ134に記憶
してある。従って、新たな矩形データが矩形リストに付
加されると、それ以外の矩形データと比較して矩形領域
の重なりを検出すれば、重なった矩形の最大外接矩形に
統合するものである。かかる統合処理は再帰的に行われ
て重なる矩形データが無くなるまで実行される。
If it is determined in step 6 that the rectangular areas overlap, the rectangular division processing circuit 131 obtains rectangular data of a rectangular area obtained by integrating the overlapping rectangular areas (step 7). Here, the integration processing means that the rectangular data is stored in the rectangular data buffer memory 134 as a rectangular list having pointers in both directions. Therefore, when new rectangle data is added to the rectangle list, if the overlap of the rectangular areas is detected by comparing it with the other rectangle data, it is integrated into the maximum circumscribed rectangle of the overlapped rectangles. This integration process is performed recursively until the overlapping rectangular data is eliminated.

【0061】一方、矩形分割処理回路131は、ステッ
プ6で重ならないと判断すれば、矩形領域データをバッ
ファメモリ制御回路133により矩形データ用バッファ
メモリ134上の矩形リストに追加する(ステップ
8)。
On the other hand, if the rectangular division processing circuit 131 determines in step 6 that they do not overlap, the rectangular area data is added to the rectangular list in the rectangular data buffer memory 134 by the buffer memory control circuit 133 (step 8).

【0062】矩形分割処理回路131は、ステップ1に
復帰して画像領域内をラスタスキャンしていないと判断
すれば、矩形領域データのリストが求められた(ステッ
プ1)として本ルーチンを終了する。
When the rectangular division processing circuit 131 returns to step 1 and determines that the image area is not raster-scanned, it determines that a list of rectangular area data has been obtained (step 1) and ends this routine.

【0063】以上のステップ1からステップ8が矩形分
割処理回路131の概略動作である。
Steps 1 to 8 described above are the schematic operations of the rectangular division processing circuit 131.

【0064】次に図2に示したステップ4における探索
方向の決定アルゴリズム及び動的に変更される探索範囲
を図3〜図5を参照して説明する。
Next, the algorithm for determining the search direction and the dynamically changed search range in step 4 shown in FIG. 2 will be described with reference to FIGS.

【0065】本実施の形態における矩形領域の探索動作
は、注目点を中心に水平方向及び垂直方向の指定距離に
応じた探索範囲を有する探索子を用いて、探索動作中に
指定距離を変更しながら、探索子の注目点から水平方向
と垂直方向に指定距離だけ離れた点を中心として探索範
囲で探索するものである。
In the search operation of the rectangular area in the present embodiment, the specified distance is changed during the search operation using a searcher having a search range corresponding to the specified distance in the horizontal and vertical directions centering on the point of interest. In the meantime, the search is performed in the search range around a point separated by a specified distance in the horizontal and vertical directions from the point of interest of the searcher.

【0066】次に図2に示すステップ4における探索子
の探索範囲の決定動作、これに続く探索子の移動動作を
図3〜図5を参照して説明する。
Next, the operation of determining the search range of the search element in step 4 shown in FIG. 2 and the subsequent operation of moving the search element will be described with reference to FIGS.

【0067】図3は図2のステップ4における探索子の
探索方向を決定するアルゴリズムを示した模式図であ
る。
FIG. 3 is a schematic diagram showing an algorithm for determining the search direction of the searcher in step 4 of FIG.

【0068】図3において、*は注目画素であり、矩形
分割処理回路131は、図中の太線で示すように注目画
素*の近傍の8画素のうち符号5,6,7,8で示した
隣接画素からなる左の領域と、符号1,2,3,4を付
した隣接画素からなる右の領域とに分割し、各領域の画
素値の合計Right−TotalとLeft−Tot
alを求める。矩形分割処理回路131は、Right
−TotalとLeft−Totalを比較して大きな
合計値の領域の方向を探索方向と決定する。
In FIG. 3, * is the pixel of interest, and the rectangular division processing circuit 131 has the reference numerals 5, 6, 7, and 8 among the eight pixels near the pixel of interest * as indicated by the bold line in the figure. The image is divided into a left area composed of adjacent pixels and a right area composed of adjacent pixels denoted by reference numerals 1, 2, 3, and 4, and a total of right-total and left-tot of pixel values of each area.
Find al. The rectangular division processing circuit 131
-Total and Left-Total are compared, and the direction of the region having the larger total value is determined as the search direction.

【0069】図4は探索子の探索範囲を示した模式図で
ある。
FIG. 4 is a schematic diagram showing a search range of a search element.

【0070】図4において、*は図3で示した注目画素
を示したものである。格子内の数字1,2,3,4は探
索距離rを示したものであり、かかる数値を付した画素
が各探索距離における探索中心点(cx,cy)となり
得るものである。
In FIG. 4, * indicates the pixel of interest shown in FIG. The numbers 1, 2, 3, and 4 in the grid indicate the search distance r, and the pixels with such numerical values can be the search center point (cx, cy) at each search distance.

【0071】図2のステップ4における探索範囲の決定
動作を一般化すれば、(x+r+1,y±t)となる。
rが偶数であれば、t=2*t−1(k=r/2で得ら
れる自然数であり)であり、rが奇数であれば、t=2
*k(k=[r/2]でえられる0を含めた整数であ
る。ここでr/2=iとすれば、[i]はiを越えない
最大の整数を示している。従って、rを3とすれば、k
=1となる。)である。
If the operation of determining the search range in step 4 in FIG. 2 is generalized, it becomes (x + r + 1, y ± t).
If r is an even number, t = 2 * t-1 (k is a natural number obtained by r / 2), and if r is an odd number, t = 2 * t-1.
* K (k is an integer including 0 obtained by [r / 2]. Here, if r / 2 = i, then [i] indicates the largest integer not exceeding i. If r is 3, then k
= 1. ).

【0072】従って、前述の式に従えば、例えば探索距
離rを1とすれば、注目画素から2画素だけ水平方向又
は垂直方向に離れた画素の8近傍を探索範囲として決定
する。探索距離rを2とすれば、水平方向に3画素離れ
た画素から垂直方向に1画素ずつ離れた2個の探索中心
点のそれぞれの8近傍を探索範囲として決定される。こ
のようにして求められた探索中心点の矢印で示した近傍
8画素が探索範囲である。
Therefore, according to the above formula, if the search distance r is 1, for example, eight neighboring pixels that are two pixels away from the target pixel in the horizontal or vertical direction are determined as the search range. Assuming that the search distance r is 2, eight search centers each of two search center points separated by one pixel in the vertical direction from three pixels separated in the horizontal direction are determined as the search range. Eight pixels near the search center point thus obtained, which are indicated by arrows, are the search range.

【0073】図5は図2に示す処理動作の一例を示した
模式図である。
FIG. 5 is a schematic diagram showing an example of the processing operation shown in FIG.

【0074】図5(a)は黒画素開始位置を記憶した状
態における矩形分割処理回路131の状態を示した模式
図であり、矩形領域の左上頂点を検出した状態である
が、探索子の探索方向は未だ決定されておらず、探索距
離rを2から開示する場合を示したものである。かかる
場合、図3に示すアルゴリズムを実行すれば、探索範囲
r=2の画素値の合計値が黒画素の値を1とすれば、T
H(これはtotalHの略称である。)=5であり、
V(これはtotalVの略称である。)=8となる
ので、TH<TVかつTH≠0であるので、水平方向に探
索距離rだけ進むことになる。
FIG. 5A is a schematic diagram showing the state of the rectangular division processing circuit 131 in a state where the black pixel start position is stored. In this state, the upper left vertex of the rectangular area is detected. The direction has not been determined yet, and the case where the search distance r is disclosed from 2 is shown. In such a case, if the algorithm shown in FIG. 3 is executed and the sum of the pixel values of the search range r = 2 is set to 1 for the black pixel, T
H (this is an abbreviation for totalH) = 5,
T V (which is an abbreviation of totalV.) = 8 and since, because it is T H <T V and T H ≠ 0, and the flow proceeds in the horizontal direction by a search distance r.

【0075】図5(b)は図5(a)の状態から図3に
示すアルゴリズムで探索方向を右に決定して探索距離r
=2だけ移動した状態を示している。
FIG. 5B shows a state in which the search direction is determined to the right by the algorithm shown in FIG.
= 2 has been moved.

【0076】図5(c)は図5(b)の状態から探索方
向の決定、探索子の移動処理を2度繰り返して移動した
状態を示したものである。従って、図5(a)から図5
(c)は何れも右方向に探索距離2で水平移動したこと
になる。図5(c)に示す状態でTH=0,TV=15
で、TV>0、かつTH=0であるので、探索距離r=2
のままで垂直方向に進むことになる。
FIG. 5C shows a state in which the process of determining the search direction and moving the searcher has been repeated twice from the state of FIG. 5B. Therefore, FIG.
In each of (c), the horizontal movement is performed to the right by the search distance 2. In the state shown in FIG. 5C, T H = 0 and T V = 15
Since T V > 0 and T H = 0, the search distance r = 2
It will proceed in the vertical direction as it is.

【0077】図5(d)は図5(c)の状態から探索距
離r=2で下方に垂直移動した状態を示したものであ
る。
FIG. 5 (d) shows a state in which the object is vertically moved downward at the search distance r = 2 from the state of FIG. 5 (c).

【0078】図5(e)は図5(d)の状態から探索距
離2で右方向に垂直移動した状態を示したものである。
FIG. 5 (e) shows a state in which the object is vertically moved rightward by a search distance 2 from the state of FIG. 5 (d).

【0079】図5(f)は図5(e)の状態から探索距
離2で下方に垂直方向に2度移動した状態を示したもの
である。かかる状態でTH,TV=0であるので、探索距
離rから1だけ減算して探索距離rを変更する。
FIG. 5 (f) shows a state where the object has been moved vertically downward twice at the search distance 2 from the state of FIG. 5 (e). In this state, since T H and T V = 0, the search distance r is changed by subtracting 1 from the search distance r.

【0080】図5(g)は、図5(f)で垂直水平方向
の探索範囲に黒画素がないので、探索距離r=1に変更
した状態を示したものである。これが本実施の形態にお
ける探索範囲の動的変更処理である。このようにして本
実施の形態で対角点を検出することになる。
FIG. 5 (g) shows a state in which the search distance r is changed to 1 since there is no black pixel in the search range in the vertical and horizontal directions in FIG. 5 (f). This is the process of dynamically changing the search range in the present embodiment. In this manner, a diagonal point is detected in the present embodiment.

【0081】次に図5を参照して説明した処理を実現す
るソフトウエアのアルゴリズムを図6〜図8を参照して
説明する。
Next, an algorithm of software for realizing the processing described with reference to FIG. 5 will be described with reference to FIGS.

【0082】図6は矩形分割処理回路131における矩
形領域の探索動作を示すフローチャートである。
FIG. 6 is a flowchart showing a rectangular area search operation in the rectangular division processing circuit 131.

【0083】矩形分割処理回路131は、縮小画像用メ
モリ124上に格納してある二値画像に対して実行する
ことにより、矩形領域に分割するものである。他の矩形
外の黒画素を見つけると、動的探索範囲変更を始める。
The rectangular division processing circuit 131 divides the binary image stored in the reduced image memory 124 into rectangular areas by executing the binary image. When it finds a black pixel outside the other rectangle, it starts changing the dynamic search range.

【0084】矩形分割処理回路131は、探索子の探索
範囲が0より大きいかを確認する(ステップ101)。
ステップ101の判断で探索範囲が0より大きいと判断
すれば、探索子の現在位置(sx,sy)が画像領域内
であるかを確認する(ステップ102)。
The rectangular division processing circuit 131 checks whether the search range of the search element is larger than 0 (step 101).
If it is determined in step 101 that the search range is larger than 0, it is checked whether the current position (sx, sy) of the search element is within the image area (step 102).

【0085】ステップ102で探索子が画像領域内にな
いと判断すれば、矩形分割処理回路131は現在位地
(sx,sy)が黒画素開始位置と異なるかを確認する
(ステップ119)。ステップ119の判断が肯定的で
あれば、探索結果として黒画素開始位置の対角点となる
現在位置(sx,sy)を対角点位置として記憶する
(ステップ120)。これにより、矩形分割処理回路1
31は矩形データを得ることができたので本ルーチンを
終了する。
If it is determined in step 102 that the search element is not within the image area, the rectangular division processing circuit 131 checks whether the current position (sx, sy) is different from the black pixel start position (step 119). If the determination in step 119 is affirmative, the current position (sx, sy), which is the diagonal point of the black pixel start position, is stored as the diagonal point position as a search result (step 120). Thereby, the rectangular division processing circuit 1
In step 31, since the rectangular data has been obtained, this routine ends.

【0086】一方、ステップ102の判断で探索子が画
像領域内にあると判断すれば、totalH,tota
lVを計算する(ステップ103)。
On the other hand, if it is determined in step 102 that the search element is within the image area, totalH, total
Calculate IV (step 103).

【0087】矩形分割処理回路131は、ステップ10
4〜ステップ108でtotalHとtotalVの値
を判別して探索方向を変更するか否かを決定する。具体
的には、ステップ104でtotalHとtotalV
とが等しいかを確認し、ステップ105でtotalH
<totalV、かつ、total|H|=0であるか
を確認し、ステップ106でtotalV<total
H、かつ、total|V|=0であるかを確認し、ス
テップ107でtotalHが0以下、かつ、tota
l|V|=0であるかを確認し、ステップ108でto
talVが0より大きく、totalHが0であるかを
確認する。
The rectangular division processing circuit 131 determines in step 10
In steps 4 to 108, the values of totalH and totalV are determined to determine whether to change the search direction. Specifically, in step 104, totalH and totalV
Are equal to each other, and in step 105, totalH
It is checked whether <totalV and total | H | = 0, and in step 106, totalV <total
H and total | V | = 0, and in step 107, totalH is 0 or less and total
It is checked whether l | V | = 0.
Check whether talV is greater than 0 and totalH is 0.

【0088】矩形分割処理回路131は、ステップ10
4、ステップ105又はステップ107の判断で肯定的
な判断をすれば、探索子の探索方向を垂直方向から水平
方向に変更し(ステップ110,111,113)、ス
テップ106又はステップ108で肯定的な判断をすれ
ば、探索子の探索方向を水平方向から垂直方向に変更し
(ステップ112,114)、ステップ108でも否定
的に判断されれば、探索方向を変更しないでそのままと
する(ステップ109)。
The rectangular division processing circuit 131 determines in step 10
4. If a positive determination is made in step 105 or step 107, the search direction of the searcher is changed from the vertical direction to the horizontal direction (steps 110, 111, and 113), and the search direction is positive in step 106 or step 108. If it is determined, the search direction of the searcher is changed from the horizontal direction to the vertical direction (steps 112 and 114). If the determination is negative in step 108, the search direction is left unchanged (step 109). .

【0089】矩形分割処理回路131は、ステップ11
5で決定された探索方向が水平方向であるかを確認する
(ステップ115)。
The rectangular division processing circuit 131 determines in step 11
It is confirmed whether the search direction determined in step 5 is the horizontal direction (step 115).

【0090】ステップ115の判断が肯定的であれば、
水平方向の探索処理を実行して(ステップ116)、探
索範囲を変更し(ステップ118)、ステップ101に
戻る。ステップ101の判断で探索範囲が0よりも小さ
ければ、その時の注目点の座標(sx,sy)を記憶
し、探索処理を終了して本ルーチンを終了する。
If the determination in step 115 is affirmative,
A horizontal search process is performed (step 116), the search range is changed (step 118), and the process returns to step 101. If the search range is smaller than 0 in the determination of step 101, the coordinates (sx, sy) of the target point at that time are stored, the search process ends, and the present routine ends.

【0091】ステップ115の判断が否定的であれば、
垂直方向の探索処理を実行して(ステップ117)、探
索範囲を変更し(ステップ118)、ステップ101に
戻る。ステップ101の判断で探索範囲が0よりも小さ
ければ本ルーチンを終了する。
If the determination in step 115 is negative,
A vertical search process is executed (step 117), the search range is changed (step 118), and the process returns to step 101. If it is determined in step 101 that the search range is smaller than 0, this routine ends.

【0092】図7は水平方向の探索動作サブルーチンを
示すフローチャートである。
FIG. 7 is a flowchart showing a horizontal search operation subroutine.

【0093】本フローチャートは図6のステップ116
の処理内容の詳細を示したものである。
This flowchart corresponds to step 116 in FIG.
3 shows details of the processing contents.

【0094】本サブルーチンが起動されると、矩形分割
処理回路131は探索方向が左であるかを確認し(ステ
ップ201)、水平探索範囲Xrangeを設定する
(ステップ202,203)。
When this subroutine is started, the rectangular division processing circuit 131 checks whether the search direction is left (step 201), and sets a horizontal search range Xrange (steps 202 and 203).

【0095】具体的には、矩形分割処理回路131は、
ステップ201で左方向であると判断すれば、水平方向
探索範囲Xrangeに現在の探索範囲に“−1”を掛
けた値を代入し(ステップ202)、ステップ201で
右方向であると判断すれば、水平探索範囲Xrange
をそのままとする(ステップ203)。
Specifically, the rectangular division processing circuit 131
If it is determined in step 201 that it is the left direction, a value obtained by multiplying the current search range by “−1” is substituted into the horizontal search range Xrange (step 202), and if it is determined in the step 201 that it is the right direction. , Horizontal search range Xrange
Is left as it is (step 203).

【0096】矩形分割処理回路131は、探索子の探索
範囲(sx+Xrange,sy)が画像領域内であれ
ば(ステップ204)、totalH,totalVを
計算する(ステップ205)。
If the search range (sx + Xrange, sy) of the search element is within the image area (step 204), the rectangular division processing circuit 131 calculates totalH and totalV (step 205).

【0097】矩形分割処理回路131は、ステップ20
6〜ステップ208でtotalH,totalVの値
に基づいて次の探索方向を決定し(ステップ209〜ス
テップ211)て探索子を移動する(ステップ21
2)。
The rectangular division processing circuit 131 determines in step 20
In steps 6 to 208, the next search direction is determined based on the values of totalH and totalV (steps 209 to 211), and the search element is moved (step 21).
2).

【0098】具体的には、ステップ206でtotal
H,totalVが共で0でないかを確認し、ステップ
207でtotalHとtotalVとが等しいかを確
認し、ステップ208でtotalH<totalVで
あるかを確認する。ステップ206でtotalH,t
otalVが共で0であると判断すれば、本ルーチンを
終了して図6に示すステップ116に復帰する。
More specifically, in step 206, total
It is checked whether H and totalV are not both 0, whether totalH is equal to totalV in step 207, and whether totalH <totalV is checked in step 208. In step 206, totalH, t
If it is determined that both the values of totalV are 0, the routine is terminated and the process returns to step 116 shown in FIG.

【0099】ステップ207で肯定的な判断がなされる
と、探索方向をそのままとして(ステップ209)、s
xにXrangeだけ加える(ステップ212)ことに
より探索子を移動して本ルーチンを終了して図6に示す
ステップ116に復帰する。
If a positive determination is made in step 207, the search direction is left as it is (step 209), and s
By adding Xrange to x (step 212), the search element is moved, the present routine ends, and the process returns to step 116 shown in FIG.

【0100】ステップ208で肯定的な判断がなされる
と、探索方向を水平方向に変更して(ステップ21
0)、sxにXrangeだけ加える(ステップ21
2)ことにより探索子を移動して本ルーチンを終了して
図6に示すステップ116に復帰する。
If an affirmative decision is made in step 208, the search direction is changed to the horizontal direction (step 21).
0), add only Xrange to sx (step 21)
2) Then, the search element is moved, the present routine ends, and the process returns to step 116 shown in FIG.

【0101】図8は垂直方向の探索動作サブルーチンを
示すフローチャートである。
FIG. 8 is a flowchart showing a subroutine for a vertical search operation.

【0102】本フローチャートは図6のステップ117
の処理内容の詳細を示したものである。
This flowchart corresponds to step 117 in FIG.
3 shows details of the processing contents.

【0103】本サブルーチンが起動されると、矩形分割
処理回路131は垂直探索範囲Yrangeに現在の探
索範囲を代入する(ステップ301)。
When this subroutine is started, the rectangular division processing circuit 131 substitutes the current search range into the vertical search range Yrange (step 301).

【0104】矩形分割処理回路131は、探索子の探索
範囲(sx,sy+Yrange)が画像領域内であれ
ば(ステップ302)、totalH,totalVを
計算する(ステップ303)。
If the search range (sx, sy + Yrange) of the search element is within the image area (step 302), the rectangular division processing circuit 131 calculates totalH and totalV (step 303).

【0105】矩形分割処理回路131は、ステップ30
4〜ステップ306でtotalH,totalVの値
に基づいて次の探索方向を決定し(ステップ307〜ス
テップ309)て探索子を移動する(ステップ31
0)。
The rectangular division processing circuit 131 determines in step 30
In steps 4 to 306, the next search direction is determined based on the values of totalH and totalV (steps 307 to 309), and the search element is moved (step 31).
0).

【0106】具体的には、ステップ304でtotal
H,totalVが共で0でないかを確認し、ステップ
305でtotalHとtotalVとが等しいかを確
認し、ステップ306でtotalH<totalVで
あるかを確認する。ステップ304でtotalH,t
otalVが共で0であると判断すれば、本ルーチンを
終了して図6に示すステップ117に復帰する。
Specifically, in step 304, total
It is checked whether both H and totalV are not 0, it is checked in step 305 whether totalH and totalV are equal, and in step 306, it is checked whether totalH <totalV. In step 304, totalH, t
If it is determined that both the values of totalV are 0, the present routine is terminated and the process returns to step 117 shown in FIG.

【0107】ステップ305で肯定的な判断がなされる
と、探索方向をそのままとして(ステップ307)、s
yにYrangeだけ加える(ステップ310)ことに
より探索子を移動して本ルーチンを終了して図6に示す
ステップ117に復帰する。
If a positive determination is made in step 305, the search direction is left as it is (step 307), and s
By adding Y only to y (step 310), the search element is moved, the present routine is terminated, and the process returns to step 117 shown in FIG.

【0108】ステップ306で肯定的な判断がなされる
と、探索方向を水平方向に変更して(ステップ30
8)、syにYrangeだけ加える(ステップ31
0)ことにより探索子を移動して本ルーチンを終了して
図6に示すステップ117に復帰する。
If a positive determination is made in step 306, the search direction is changed to the horizontal direction (step 30).
8) Add only Yrange to sy (step 31)
0), the search element is moved, the present routine ends, and the process returns to step 117 shown in FIG.

【0109】ステップ306で否定的な判断がなされる
と、探索方向を垂直方向に変更して(ステップ30
9)、syにYrangeだけ加える(ステップ31
0)ことにより探索子を移動して本ルーチンを終了して
図6に示すステップ117に復帰する。
If a negative determination is made in step 306, the search direction is changed to the vertical direction (step 30).
9) Add only Yrange to sy (step 31)
0), the search element is moved, the present routine ends, and the process returns to step 117 shown in FIG.

【0110】上述したように本実施の形態のデータ処理
回路によれば、原画像から文字領域及び写真画像を抽出
するのみならず、原画像から地肌領域のみを抽出するこ
とができるので、地肌の画像データは連続した一定の輝
度レベルの画素データとして扱えるので、画像データの
圧縮効率を向上させることができ、かつ、矩形領域に適
した圧縮法を選択することができるので、画像品質を落
とさずに圧縮率を向上することができる。探索子の移動
距離は文字間や文字列間などの小さなすき間を越えて探
索するようにしてある。これによっても高速処理を可能
にしてある。
As described above, according to the data processing circuit of the present embodiment, not only the character area and the photographic image can be extracted from the original image, but also the background area can be extracted from the original image. Since image data can be handled as continuous pixel data of a constant luminance level, compression efficiency of the image data can be improved, and a compression method suitable for a rectangular area can be selected, so that image quality is not reduced. The compression ratio can be improved. The searcher moves over a small gap such as between characters or character strings. This also enables high-speed processing.

【0111】又、上述の実施の形態のデータ処理回路に
よれば、前述の効果に加えて、矩形領域が一つの頂点と
その対角頂点を求めれば特定できることから探索処理を
単純にすべく探索子を水平方向と垂直方向のみに行うよ
うにし、かつ、探索開始当初に探索子の探索範囲を大き
くし、矩形領域の頂点付近で探索子の探索範囲を小さく
するように探索子の探索範囲を動的に変更できるように
してある。従って、本発明の探索処理は矩形領域の頂点
付近を正確かつ高速に探索できる。
According to the data processing circuit of the above-described embodiment, in addition to the above-described effects, a rectangular area can be specified by obtaining one vertex and its diagonal vertex. The search is performed only in the horizontal and vertical directions, and at the beginning of the search, the search range of the searcher is increased, and the search range of the searcher is reduced near the apex of the rectangular area. It can be changed dynamically. Therefore, the search processing of the present invention can accurately and quickly search near the vertices of the rectangular area.

【0112】[0112]

【発明の効果】請求項1又は請求項3から請求項5に記
載の発明は、上記構成を備えることにより、原画像から
文字領域及び写真画像を抽出するのみならず、原画像か
ら地肌領域のみを抽出することができるので、地肌の画
像データは連続した一定の輝度レベルの画素データとし
て扱えるので、画像データの圧縮効率を向上させること
ができ、かつ、矩形領域に適した圧縮法を選択すること
ができるので、画像品質を落とさずに圧縮率を向上する
ことができる。探索子の移動距離は文字間や文字列間な
どの小さなすき間を越えて探索するようにしてある。こ
れによっても高速処理を可能にしてある。
According to the first or third aspect of the present invention, not only the character region and the photographic image are extracted from the original image but also the background region is extracted from the original image. , The background image data can be treated as continuous pixel data of a constant luminance level, so that the compression efficiency of the image data can be improved and a compression method suitable for a rectangular area is selected. Therefore, the compression rate can be improved without deteriorating the image quality. The searcher moves over a small gap such as between characters or character strings. This also enables high-speed processing.

【0113】請求項2記載の発明は、前述の効果に加え
て、上記構成を備えることにより、矩形領域が一つの頂
点とその対角頂点を求めれば特定できることから探索処
理を単純にすべく探索子を水平方向と垂直方向のみに行
うようにし、かつ、探索開始当初に探索子の探索範囲を
大きくし、矩形領域の頂点付近で探索子の探索範囲を小
さくするように探索子の探索範囲を動的に変更できるよ
うにしてある。従って、本発明の探索処理は矩形領域の
頂点付近を正確かつ高速に探索できる。
According to the second aspect of the present invention, in addition to the above-described effects, by providing the above configuration, a rectangular area can be specified by obtaining one vertex and its diagonal vertex. The search is performed only in the horizontal and vertical directions, and at the beginning of the search, the search range of the searcher is increased, and the search range of the searcher is reduced near the apex of the rectangular area. It can be changed dynamically. Therefore, the search processing of the present invention can accurately and quickly search near the vertices of the rectangular area.

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

【図1】本実施の形態におけるデータ処理回路を示すブ
ロック図である。
FIG. 1 is a block diagram illustrating a data processing circuit according to the present embodiment.

【図2】矩形分割処理回路131における概略処理を示
すフローチャートである。
FIG. 2 is a flowchart showing a schematic process in a rectangular division processing circuit 131;

【図3】図2のステップ4における探索子の探索方向を
決定するアルゴリズムを示した模式図である。
FIG. 3 is a schematic diagram showing an algorithm for determining a search direction of a searcher in step 4 of FIG. 2;

【図4】探索子の探索範囲を示した模式図である。FIG. 4 is a schematic diagram showing a search range of a search element.

【図5】図2に示す処理動作の一例を示した模式図であ
る。
FIG. 5 is a schematic diagram showing an example of the processing operation shown in FIG. 2;

【図6】矩形分割処理回路131における矩形領域の探
索動作を示すフローチャートである。
FIG. 6 is a flowchart showing a rectangular area search operation in the rectangular division processing circuit 131;

【図7】水平方向の探索動作サブルーチンを示すフロー
チャートである。
FIG. 7 is a flowchart showing a horizontal search operation subroutine.

【図8】垂直方向の探索動作サブルーチンを示すフロー
チャートである。
FIG. 8 is a flowchart showing a vertical search operation subroutine.

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

111 スキャナI/F 112 スキャンバッファ 121 縮小処理回路 122 二値化処理回路 123 メモリ制御回路 124 縮小画像用メモリ 131 矩形分割処理回路 132 抽出処理回路 133 バッファメモリ制御回路 134 矩形データ用バッファメモリ 135 画像判別回路 141 ページメモリ制御回路 142 ページメモリ 152 低周波画像用高効率符号化回路 153 高周波画像用高効率符号化回路 154 地肌用高効率符号化回路 155 符号化データ格納制御回路 156 矩形データ圧縮回路 160 本体メモリ 171 画像展開制御回路 172 低周波画像用復号化回路 173 高周波画像用復号化回路 174 地肌用復号化回路 175 展開画像格納制御回路 111 Scanner I / F 112 Scan Buffer 121 Reduction Processing Circuit 122 Binarization Processing Circuit 123 Memory Control Circuit 124 Reduced Image Memory 131 Rectangular Division Processing Circuit 132 Extraction Processing Circuit 133 Buffer Memory Control Circuit 134 Rectangular Data Buffer Memory 135 Image Discrimination Circuit 141 Page memory control circuit 142 Page memory 152 High-efficiency encoding circuit for low-frequency image 153 High-efficiency encoding circuit for high-frequency image 154 High-efficiency encoding circuit for background 155 Encoded data storage control circuit 156 Rectangular data compression circuit 160 Main unit Memory 171 Image expansion control circuit 172 Low frequency image decoding circuit 173 High frequency image decoding circuit 174 Background decoding circuit 175 Expanded image storage control circuit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H03M 7/30 H04N 1/21 H04N 1/21 1/411 1/411 B41J 3/00 D ──────────────────────────────────────────────────続 き Continued on front page (51) Int.Cl. 6 Identification code FI H03M 7/30 H04N 1/21 H04N 1/21 1/411 1/411 B41J 3/00 D

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 文字と写真画像とが混在した原画から多
値の画素データとして読み取るスキャナと、当該スキャ
ナから送出される二次元的に隣接する多値の画素データ
の平均レベルを示す縮小データに変換する縮小処理手段
と、当該縮小処理手段から得られる縮小データを二値化
する二値化手段と、当該二値化手段から得られる二値デ
ータからページ上の矩形領域を決定して当該矩形領域の
矩形データを生成する矩形データ生成手段と、当該矩形
データ生成手段からの矩形データを格納する矩形データ
用メモリと、前記スキャナからの多値の画素データをペ
ージ単位で格納するページメモリと、前記矩形データで
規定される矩形領域に内包する前記ページメモリから読
み出された多値の画素データから画像特性を検出する画
像判別手段と、当該画像判別手段の判別結果に基づいて
前記ページメモリから読み出された多値の画素データを
低周波画像用高効率符号化手段と高周波画像用高効率符
号化手段と地肌用高効率符号化手段とのいずれかに送出
する抽出処理手段と、前記低周波画像用高効率符号化手
段と高周波画像用高効率符号化手段と地肌用高効率符号
化手段とで高効率符号化したデータを本体メモリに格納
する格納制御手段と、前記本体メモリから読み出した高
効率符号データを画像データに展開する複数の展開処理
手段を備えることを特徴とするデータ処理装置。
1. A scanner for reading as multi-valued pixel data from an original image in which characters and photographic images are mixed, and reduced data indicating an average level of two-dimensionally adjacent multi-valued pixel data transmitted from the scanner. Reduction processing means for converting, binarization means for binarizing reduced data obtained from the reduction processing means, and a rectangular area on a page which is determined by determining a rectangular area on a page from the binary data obtained from the binarization means Rectangular data generating means for generating rectangular data of an area, a rectangular data memory for storing rectangular data from the rectangular data generating means, and a page memory for storing multi-valued pixel data from the scanner in page units; Image discriminating means for detecting image characteristics from multi-valued pixel data read from the page memory included in a rectangular area defined by the rectangular data; The multi-valued pixel data read from the page memory based on the determination result of the image determining unit is a low-frequency image high-efficiency encoding unit, a high-frequency image high-efficiency encoding unit, and a background high-efficiency encoding unit. And the high-efficiency encoding means for the low-frequency image, the high-efficiency encoding means for the high-frequency image, and the high-efficiency encoding means for the background. A data processing apparatus comprising: storage control means for storing; and a plurality of expansion processing means for expanding high-efficiency code data read from the main body memory into image data.
【請求項2】 前記矩形データ生成手段は動的に探索範
囲を変更する探索子を用い、分割した矩形領域に重なり
を生じないように統合処理を行うことを特徴とする請求
項1記載のデータ処理装置。
2. The data according to claim 1, wherein said rectangular data generating means uses a search element for dynamically changing a search range, and performs integration processing so as not to cause overlapping of the divided rectangular areas. Processing equipment.
【請求項3】 前記画像判別手段は隣接する画素データ
との差分値から画像特性を検出することを特徴とする請
求項1記載のデータ処理装置。
3. The data processing apparatus according to claim 1, wherein said image discriminating means detects an image characteristic from a difference value between adjacent pixel data.
【請求項4】 前記高周波画像用高効率符号化手段は隣
り合う画素間の変化が少なく、画素間の相関の高い画像
に適したJPEG圧縮であり、前記低周波画像用高効率
符号化手段は隣り合う画素間の変化が多く、画素間の相
関の低いエッジ画像に適した圧縮であり、前記地肌用高
効率符号化手段は連続する一定レベルの画素データを高
効率符号化するものであることを特徴とする請求項1記
載のデータ処理装置。
4. The high-efficiency encoding means for high-frequency image is JPEG compression suitable for an image having a small change between adjacent pixels and having high correlation between pixels. The compression is suitable for an edge image in which there are many changes between adjacent pixels and the correlation between the pixels is low, and the background high-efficiency encoding means encodes continuous constant-level pixel data with high efficiency. The data processing device according to claim 1, wherein:
【請求項5】 前記矩形データは高効率符号化して本体
メモリに格納することを特徴とする請求項1記載のデー
タ処理装置。
5. The data processing apparatus according to claim 1, wherein said rectangular data is encoded with high efficiency and stored in a main body memory.
JP8260651A 1996-10-01 1996-10-01 Data-processing unit Pending JPH10108011A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8260651A JPH10108011A (en) 1996-10-01 1996-10-01 Data-processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8260651A JPH10108011A (en) 1996-10-01 1996-10-01 Data-processing unit

Publications (1)

Publication Number Publication Date
JPH10108011A true JPH10108011A (en) 1998-04-24

Family

ID=17350885

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8260651A Pending JPH10108011A (en) 1996-10-01 1996-10-01 Data-processing unit

Country Status (1)

Country Link
JP (1) JPH10108011A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004537220A (en) * 2001-07-24 2004-12-09 ヒューレット・パッカード・カンパニー Equipment for processing digital images
CN100395669C (en) * 2003-04-14 2008-06-18 北京启迪时代科技有限公司 Image coding/ decoding device of laser printing system and method
US7397960B2 (en) 2003-03-31 2008-07-08 Konica Minolta Business Technologies, Inc. Method of and computer system for executing area-division and compression of document image
US7599100B2 (en) 2003-10-01 2009-10-06 Seiko Epson Corporation Image processing apparatus
JP2010135975A (en) * 2008-12-03 2010-06-17 Sharp Corp Image forming device
JP2011109618A (en) * 2009-11-20 2011-06-02 Canon Inc Image processing apparatus and method for controlling the same
WO2020211021A1 (en) * 2019-04-17 2020-10-22 京东方科技集团股份有限公司 Image processing method and device, data transmission method and device, and storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004537220A (en) * 2001-07-24 2004-12-09 ヒューレット・パッカード・カンパニー Equipment for processing digital images
US7397960B2 (en) 2003-03-31 2008-07-08 Konica Minolta Business Technologies, Inc. Method of and computer system for executing area-division and compression of document image
CN100395669C (en) * 2003-04-14 2008-06-18 北京启迪时代科技有限公司 Image coding/ decoding device of laser printing system and method
US7599100B2 (en) 2003-10-01 2009-10-06 Seiko Epson Corporation Image processing apparatus
JP2010135975A (en) * 2008-12-03 2010-06-17 Sharp Corp Image forming device
JP2011109618A (en) * 2009-11-20 2011-06-02 Canon Inc Image processing apparatus and method for controlling the same
WO2020211021A1 (en) * 2019-04-17 2020-10-22 京东方科技集团股份有限公司 Image processing method and device, data transmission method and device, and storage medium
US11336906B2 (en) 2019-04-17 2022-05-17 Boe Technology Group Co., Ltd. Image processing method and device for image, data transmission method and device, and storage medium compression by combining rectangular regions of binarized images

Similar Documents

Publication Publication Date Title
US6272255B2 (en) Method and apparatus for pre-processing mixed raster content planes to improve the quality of a decompressed image and increase document compression ratios
US6334001B2 (en) Iterative smoothing technique for pre-processing mixed raster content planes to improve the quality of a decompressed image and increase document compression ratios
US5495538A (en) Segmentation-based JPEG image artifacts reduction
US5867598A (en) Method and apparatus for processing of a JPEG compressed image
US5751865A (en) Method and apparatus for image rotation with reduced memory using JPEG compression
CA2019133C (en) Method for high quality compression of binary text images
KR100234316B1 (en) Signal adaptive filter for reducing ringing noise and signal adaptive filering method thereof
US7317838B2 (en) Compression of bi-level images with explicit representation of ink clusters
JP5686499B2 (en) Image predictive encoding apparatus, method and program, image predictive decoding apparatus, method and program, and encoding / decoding system and method
JPS61161871A (en) Apparatus for compression of data of binary bit indicating pixel of image dithered in digital picture processing process
JPH0563996A (en) Image processor
JP3872217B2 (en) Dither image binary expression processing method, dither image compression binary expression decompression method, and dither image compression and decompression system
JPH10108011A (en) Data-processing unit
JP3108133B2 (en) Adaptive coding of color document images
EP1006714A2 (en) Method of processing mixed raster content planes
JPH0918877A (en) Fractal image compression device
JP3339256B2 (en) Fractal image compression data restoration device
JP3954032B2 (en) Image coding apparatus, image coding method, image coding program, and computer-readable recording medium on which image coding program is recorded
JP2001103315A (en) Image coding method and image coder
JPH07147638A (en) Image processor
JPH0595484A (en) Picture compressor and its method
JP3309892B2 (en) Image information encoding device and decoding device
EP1006711A2 (en) Method and apparatus for processing a pixel map
JP3265928B2 (en) Fractal image compression device
JPH11103461A (en) Image processor, method and storage medium