JP2000295480A - Image processing unit and image forming device - Google Patents

Image processing unit and image forming device

Info

Publication number
JP2000295480A
JP2000295480A JP11097466A JP9746699A JP2000295480A JP 2000295480 A JP2000295480 A JP 2000295480A JP 11097466 A JP11097466 A JP 11097466A JP 9746699 A JP9746699 A JP 9746699A JP 2000295480 A JP2000295480 A JP 2000295480A
Authority
JP
Japan
Prior art keywords
data
image
divided
compression
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP11097466A
Other languages
Japanese (ja)
Other versions
JP3850006B2 (en
Inventor
Yasushi Oowa
寧司 大輪
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.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
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 Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP09746699A priority Critical patent/JP3850006B2/en
Publication of JP2000295480A publication Critical patent/JP2000295480A/en
Application granted granted Critical
Publication of JP3850006B2 publication Critical patent/JP3850006B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Record Information Processing For Printing (AREA)
  • Control Or Security For Electrophotography (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce data processing time and to decrease the consumed capacity of a storage medium by applying rotation processing to image data obtained from an original image, so as to make the image data coincide with a direction providing efficient compression and applying compression processing to the rotated image data. SOLUTION: An image memory 26 temporarily stores image data received from a scanner 23, and a character/image discrimination section 31 discriminates whether the image data are character image data or a photographic or illustration image data and the like, other than the character image data. In the case that the image data represents a character image, a sentence direction discriminating section 32 discriminates whether the arrangement of the image data coincides with the direction of a sentence or vertical to the direction of the sentence. When the arrangement of the image data is coincident with the direction of the sentence, a companding processing section 28 applies compression processing to the image data without modifications. When the arrangement of the image data is vertical to the direction of the sentence, a rotation processing section 27 rotates the image data by 90 degrees, and then the companding processing section 28 applies compression processing to the rotated image data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ディジタル複写機
やパーソナルコンピュータ等において入力画像データを
圧縮処理する画像処理装置及び画像形成装置に関する。
The present invention relates to an image processing apparatus and an image forming apparatus for compressing input image data in a digital copying machine, a personal computer, or the like.

【0002】[0002]

【従来の技術】ディジタル複写機等に用いられ、画像読
み取り装置により読み取った入力画像データを圧縮処理
しハードディスク等記憶媒体に記憶する画像処理装置に
あっては、従来入力画像データの圧縮走査方向は画像読
み取り装置による原稿走査方向に依存し、原稿走査方向
と同一に固定されていた。
2. Description of the Related Art In an image processing apparatus which is used in a digital copying machine or the like and compresses input image data read by an image reading apparatus and stores it in a storage medium such as a hard disk, the compression scanning direction of the conventional input image data is as follows. It depends on the direction of scanning of the original by the image reading device, and is fixed to be the same as the scanning direction of the original.

【0003】[0003]

【発明が解決しようとする課題】従来は、画像データの
内容にかかわらず画像処理装置内での入力画像データの
圧縮方向が固定されていた。このため、入力画像データ
によっては圧縮効率が悪く圧縮データのサイズが大きく
なり、圧縮データの記憶媒体への入出力性能が低下し処
理時間を要すると共に、記憶媒体の必要容量が大きくな
るという問題を有していた。
Conventionally, the compression direction of input image data in an image processing apparatus has been fixed regardless of the content of the image data. For this reason, depending on the input image data, the compression efficiency is low, the size of the compressed data is large, the input / output performance of the compressed data to the storage medium is reduced, the processing time is required, and the required capacity of the storage medium is increased. Had.

【0004】そこで本発明は上記課題を除去するもの
で、入力される画像データの特性にかかわらず圧縮効率
をより高めて圧縮データを小さくすることにより、デー
タ処理時間の短縮を図り、又記憶媒体の使用容量の低減
を図る事を目的とする。
Accordingly, the present invention has been made to solve the above-mentioned problem, and the data processing time can be shortened by increasing the compression efficiency and reducing the size of the compressed data regardless of the characteristics of the input image data. The purpose of the present invention is to reduce the used capacity of the device.

【0005】[0005]

【課題を解決するための手段】本発明は上記課題を解決
するための手段として、原稿画像から得られる画像デー
タを入力する画像入力手段と、この画像入力手段によっ
て入力された前記画像データから前記原稿画像の効率的
な圧縮方向を検出する方向検出手段と、前記画像データ
の配列が前記効率的な圧縮方向と一致するよう前記画像
データを回転処理する回転手段と、この回転手段による
回転処理後の回転データを圧縮処理する圧縮手段と、こ
の圧縮手段により形成される圧縮データを記憶するデー
タ記億手段と、このデータ記憶手段に記憶される前記圧
縮データを伸長処理すると共に回転処理して前記画像デ
ータを復元する復元手段とを具備するものである。
According to the present invention, as means for solving the above problems, there is provided image input means for inputting image data obtained from a document image, and the image data inputted from the image input means. Direction detecting means for detecting an efficient compression direction of a document image; rotating means for rotating the image data so that the arrangement of the image data coincides with the efficient compression direction; Compression means for compressing the rotated data, data storage means for storing compressed data formed by the compression means, and expansion processing and rotation processing of the compressed data stored in the data storage means. Restoring means for restoring image data.

【0006】また本発明は上記課題を解決するための手
段として、原稿画像から得られる画像データを入力する
画像入力手段と、この画像入力手段によって入力された
前記画像データから前記原稿画像の効率的な圧縮方向を
検出する方向検出手段と、前記画像データの配列が前記
効率的な圧縮方向と一致するよう前記画像データを回転
処理する回転手段と、この回転手段による回転処理後の
回転データを圧縮処理する圧縮手段と、この圧縮手段に
より形成される圧縮データを記憶するデータ記億手段
と、このデータ記憶手段に記憶される前記圧縮データを
伸長処理すると共に回転処理して前記画像データを復元
する復元手段と、この復元手段により復元される前記画
像データに基づき印刷画像を形成する画像出力手段とを
設けるものである。
According to another aspect of the present invention, there is provided an image input means for inputting image data obtained from an original image, and an efficient method for converting the original image from the image data input by the image input means. Direction detecting means for detecting a proper compression direction, rotating means for rotating the image data so that the arrangement of the image data coincides with the efficient compression direction, and compressing the rotated data after the rotating processing by the rotating means. Compression means for processing, data storage means for storing compressed data formed by the compression means, and expansion and rotation processing of the compressed data stored in the data storage means to restore the image data A restoring means; and an image output means for forming a print image based on the image data restored by the restoring means.

【0007】上記構成により本発明は、 入力される画
像データの内容に応じて、画像データを効率的な圧縮を
得られる方向に回転した後圧縮する事により、圧縮デー
タのサイズを低減して、データ処理時間を短縮し、又記
憶媒体の使用容量を低減し、機能向上を図るものであ
る。
With the above arrangement, the present invention reduces the size of the compressed data by rotating the image data in a direction to obtain an efficient compression in accordance with the content of the input image data and then compressing the image data. The object of the present invention is to shorten the data processing time, reduce the used capacity of the storage medium, and improve the functions.

【0008】又本発明は上記課題を解決するための手段
として、原稿画像から得られる画像データを入力する画
像入力手段と、この画像入力手段によって入力された前
記画像データを前記原稿画像の任意の領域毎に分割する
画像分割手段と、この画像分割手段により分割される前
記領域毎の分割データの効率的な圧縮方向を検出する方
向検出手段と、前記分割データの配列が前記効率的な圧
縮方向と一致するよう前記分割データを回転処理する回
転手段と、この回転手段による回転処理の分割回転デー
タを圧縮処理する圧縮手段と、この圧縮手段により形成
される分割圧縮データを記憶するデータ記億手段と、こ
のデータ記憶手段に記憶される前記分割圧縮データを伸
長処理すると共に回転処理して前記分割データを復元す
る復元手段とを設けるものである。
According to another aspect of the present invention, there is provided an image input unit for inputting image data obtained from an original image, and the image data input by the image input unit is transmitted to an arbitrary part of the original image. Image dividing means for dividing each area; direction detecting means for detecting an efficient compression direction of the divided data for each area divided by the image dividing means; Rotation means for rotating the divided data so as to match the data, compression means for compressing the divided rotation data of the rotation processing by the rotation means, and data storage means for storing the divided compressed data formed by the compression means And decompression means for decompressing and rotating the divided compressed data stored in the data storage means to decompress the divided data. Is shall.

【0009】又本発明は上記課題を解決するための手段
として、原稿画像から得られる画像データを入力する画
像入力手段と、この画像入力手段によって入力された前
記画像データを前記原稿画像の任意の領域毎に分割する
画像分割手段と、この画像分割手段により分割される前
記領域毎の分割データの効率的な圧縮方向を検出する方
向検出手段と、前記分割データの配列が前記効率的な圧
縮方向と一致するよう前記分割データを回転処理する回
転手段と、この回転手段による回転処理後の分割回転デ
ータを圧縮処理する圧縮手段と、この圧縮手段により形
成される分割圧縮データを記憶するデータ記億手段と、
このデータ記憶手段に記憶される前記分割圧縮データを
伸長処理すると共に回転処理して前記分割データを復元
する復元手段と、この復元手段により復元される前記分
割データを前記画像データに再構成する再構成手段と、
この再構成手段により再構成される前記画像データに基
づき印刷画像を形成する画像出力手段とを設けるもので
ある。
According to another aspect of the present invention, there is provided an image input unit for inputting image data obtained from an original image, and the image data input by the image input unit may be arbitrarily selected from the original image. Image dividing means for dividing each area; direction detecting means for detecting an efficient compression direction of the divided data for each area divided by the image dividing means; Rotation means for rotating the divided data so as to match the data, compression means for compressing the divided rotation data after the rotation processing by the rotation means, and data storage for storing the divided compressed data formed by the compression means. Means,
A restoring means for decompressing and rotating the divided compressed data stored in the data storage means to restore the divided data; and a reconstructing means for reconstructing the divided data restored by the restoring means into the image data. Constituent means,
And image output means for forming a print image based on the image data reconstructed by the reconstructing means.

【0010】上記構成により本発明は、 入力される画
像データの内容に応じて、必要な領域の画像データを効
率的な圧縮を得られる方向に回転した後圧縮する事によ
り、より画像データの内容に対応した圧縮処理が可能と
なり、圧縮データのサイズをより低減して、データ処理
時間の一層の短縮、記憶媒体の使用容量の一層の低減を
実現し、更なる機能向上を図るものである。
According to the present invention, according to the present invention, the image data in a necessary area is rotated in a direction in which efficient compression can be obtained and then compressed in accordance with the content of the input image data, whereby the content of the image data is further increased. Thus, the size of compressed data can be further reduced, the data processing time can be further reduced, the used capacity of a storage medium can be further reduced, and functions can be further improved.

【0011】[0011]

【発明の実施の形態】先ず本発明の原理を図1を参照し
て説明する。図1はディジタル複写機1のシステム構成
を示し、共通バス2により、CPU3には、スキャナ
4、プリンタ6、画像処理装置7が接続されている。画
像処理装置7は、画像メモリ8、圧縮伸長処理部10、
ハードディスク11から成っている。またCPU3には
メモリ12が接続されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS First, the principle of the present invention will be described with reference to FIG. FIG. 1 shows a system configuration of a digital copying machine 1. A scanner 4, a printer 6, and an image processing device 7 are connected to a CPU 3 by a common bus 2. The image processing device 7 includes an image memory 8, a compression / decompression processing unit 10,
It consists of a hard disk 11. The memory 3 is connected to the CPU 3.

【0012】このようなディジタル複写機1にあって
は、画像形成時、原稿に対応しその都度一部ずつ通常の
複写を行う場合には、スキャナ4により読み取った画像
データをそのままプリンタ6に転送して複写画像を得る
一方、複数枚の原稿による複数部の複写画像を形成する
場合は、スキャナ4により読み取った画像データを、一
旦画像処理装置7に記憶した後、この画像処理装置7か
ら順次画像データをプリンタ6に転送し複数部の複写画
像を得ている。
In such a digital copying machine 1, when normal copying is performed one by one in each case corresponding to a document at the time of image formation, the image data read by the scanner 4 is directly transferred to the printer 6. In the case of forming a copy image of a plurality of copies using a plurality of originals, image data read by the scanner 4 is temporarily stored in the image processing device 7, and then sequentially stored in the image processing device 7. The image data is transferred to the printer 6 to obtain a plurality of copy images.

【0013】そして一般に画像処理装置7内での画像デ
ータの記憶操作は、「スキャナ4からの画像データを画
像メモリ8に一時的に記憶し、次いで圧縮伸長処理部1
0で圧縮処理し、圧縮された圧縮データをハードディス
ク11に転送記憶する。」という工程を全ての原稿に対
して順次行うことにより実施する。この後プリンタ14
により複写画像を印刷形成する際には、圧縮データを記
憶する操作と全く逆の工程である、「ハードディスク1
1に記憶された圧縮データを圧縮伸長処理部10で伸長
処理して画像データを復元し、この復元された画像デー
タを画像メモリ8に一時的に記憶し、更に画像メモリ8
からプリンタ8に転送する。」という工程を順次行うこ
ととなる。更にこの印刷形成工程を繰り返して必要部数
の複写画像を得ている。
In general, the operation of storing image data in the image processing apparatus 7 is described as “temporarily storing image data from the scanner 4 in the image memory 8,
The compressed data is transferred to the hard disk 11 and stored. Is sequentially performed on all the originals. After this, the printer 14
When a copy image is formed by printing, the operation of storing the compressed data is the reverse of the operation of storing the compressed data.
1 is decompressed by a compression / decompression processing unit 10 to restore image data, and the restored image data is temporarily stored in an image memory 8;
To the printer 8. Are sequentially performed. Further, the print forming process is repeated to obtain a required number of copies of the copied image.

【0014】ここで、画像形成装置1の高速化を図るよ
う、単位時間あたりの処理画像枚数を多くするために
は、画像処理装置7内での画像データのハードディスク
11への記憶操作時間及びその読み出し操作時間を短縮
するために、圧縮伸長処理部10にて画像データのサイ
ズを極力小さく圧縮する必要がある。また、ハードディ
スク11の限られた記憶容量を節約するためにも画像1
枚あたりの圧縮データを極力小さくする必要がある。
Here, in order to increase the number of processed images per unit time so as to increase the speed of the image forming apparatus 1, the operation time of storing image data in the hard disk 11 in the image processing apparatus 7 and the time required In order to reduce the reading operation time, it is necessary for the compression / decompression processing unit 10 to compress the image data as small as possible. In order to save the limited storage capacity of the hard disk 11,
It is necessary to reduce compressed data per sheet as much as possible.

【0015】一方画像データは、隣接する画素情報がバ
ラバラである場合に比し、同じ要素の画素情報が連続し
ているデータの方が圧縮効率が高く、例えば、画像デー
タが文字データである場合には、文章方向と垂直方向に
圧縮する場合に比し、文章方向に沿って画像圧縮を行う
ほうが、高いデータ圧縮率を得られる。
On the other hand, in the case of image data, compression efficiency is higher for data in which pixel information of the same element is continuous than in the case where adjacent pixel information is scattered. For example, when image data is character data. For example, when the image is compressed along the text direction, a higher data compression rate can be obtained than when the image is compressed in the text direction and the vertical direction.

【0016】そこで本発明では、上記原理に基づき、画
像データを、同じ要素の画素情報が連続している圧縮効
率の高い方向で圧縮走査して、圧縮データサイズを小さ
くするものである。
Therefore, in the present invention, based on the above principle, image data is compressed and scanned in the direction of high compression efficiency in which pixel information of the same element is continuous to reduce the size of the compressed data.

【0017】以下本発明を図2乃至図5に示す第1の実
施の形態を参照して説明する。図2は画像形成装置であ
るディジタル複写機20のシステム構成を示し、共通バ
ス21により、ディジタル複写機20全体を制御するC
PU22には、原稿(図示せず)を読み取る画像入力手
段であるスキャナ23、画像データを印刷出力する画像
出力手段であるプリンタ24、スキャナ23より入力さ
れた画像データを画像処理しプリンタ24に転送する画
像処理装置25が接続されている。画像処理装置25
は、スキャナ23より入力された画像データを一時的に
記憶する画像メモリ26、画像データを回転処理する回
転処理部27、画像データを圧縮処理または圧縮された
画像データを伸長処理する圧縮伸長処理部28、圧縮伸
長処理部28により圧縮された圧縮データを記憶するハ
ードディスク30、画像データが文字画像かそれ以外の
写真、イラスト等の画像かを判別する文字画像判断部3
1、文字データの文章方向を判断する文章方向判断部3
2から成っている。またCPU22には、スキャナ2
3、プリンタ24及び画像処理装置25等の制御プログ
ラムを記憶するROM及びスキャナ23等からのデータ
や画像処理条件等を記憶するRAMからなるメモリ33
が接続されている。
Hereinafter, the present invention will be described with reference to the first embodiment shown in FIGS. FIG. 2 shows a system configuration of a digital copying machine 20 as an image forming apparatus.
The PU 22 has a scanner 23 as an image input unit for reading a document (not shown), a printer 24 as an image output unit for printing out image data, and processes image data input from the scanner 23 and transfers the image data to the printer 24. Image processing device 25 is connected. Image processing device 25
An image memory 26 for temporarily storing the image data input from the scanner 23, a rotation processing unit 27 for rotating the image data, a compression / decompression processing unit for compressing the image data or expanding the compressed image data 28, a hard disk 30 for storing the compressed data compressed by the compression / decompression processing unit 28, and a character image determination unit 3 for determining whether the image data is a character image or another image such as a photograph or illustration
1. Text direction determination unit 3 for determining the text direction of character data
Consists of two. The CPU 22 includes a scanner 2
3. A memory 33 composed of a ROM for storing control programs for the printer 24 and the image processing device 25, and a RAM for storing data from the scanner 23 and image processing conditions.
Is connected.

【0018】次に作用について述べる。先ず原稿に対応
しその都度一部ずつ通常の複写を行う場合は、先ずスキ
ャナ23により原稿画像を読み取り、読み取った画像デ
ータを共通バス21を経由してそのままプリンタ24に
転送し複写画像を形成する。
Next, the operation will be described. First, when a normal copy is to be performed partly each time corresponding to a document, the document image is first read by the scanner 23, and the read image data is directly transferred to the printer 24 via the common bus 21 to form a copy image. .

【0019】一方複数枚の原稿を複数部か複写するソー
ト機能を用いる複写操作の場合は、複数枚の原稿の画像
データを画像処理装置25内に一旦記憶して、この記憶
したデータをプリンタ24に転送して複写画像を形成す
る。即ち、スキャナ23により原稿画像を読み取った
後、この原稿画像の画像データを画像処理装置25内の
画像メモリ26に一時的に記憶する。この後画像データ
を圧縮伸長処理部28で圧縮処理し、圧縮された圧縮デ
ータをハードディスク30に記憶する。そしてプリンタ
24により複写画像を印刷形成する際にはハードディス
ク30に記憶した圧縮データを圧縮伸長処理部28で伸
長処理して画像データを復元し、この復元した画像デー
タを画像メモリ26に一時的に記憶し、更にプリンタ2
4に転送し複写画像を形成する。更にこのプリンタ24
による印刷形成工程を繰り返し、必要部数を得る。
On the other hand, in the case of a copy operation using a sort function for copying a plurality of copies of a plurality of documents, image data of the plurality of documents is temporarily stored in the image processing device 25, and the stored data is stored in the printer 24. To form a copy image. That is, after the document image is read by the scanner 23, the image data of the document image is temporarily stored in the image memory 26 in the image processing device 25. Thereafter, the image data is compressed by the compression / decompression processing unit 28, and the compressed data is stored in the hard disk 30. When a copy image is printed and formed by the printer 24, the compressed data stored in the hard disk 30 is decompressed by the compression / decompression processing unit 28 to restore the image data, and the restored image data is temporarily stored in the image memory 26. Memorize and then printer 2
4 to form a copied image. Furthermore, this printer 24
Is repeated to obtain the required number of copies.

【0020】次に画像処理装置25内での画像データの
圧縮処理を、図3に示すフローチャートを用いて詳述す
る。スキャナ23より入力される画像データを画像メモ
リ26に一時的に記憶したら、ステップ100で、文字
画像判断部31により画像データが文字画像なのかそれ
以外の写真、イラスト等の画像なのかを判別する。文字
画像でない場合は、ステップ103に進み圧縮伸長処理
部28により画像データをそのまま圧縮処理する。
Next, the compression processing of image data in the image processing device 25 will be described in detail with reference to the flowchart shown in FIG. After the image data input from the scanner 23 is temporarily stored in the image memory 26, in step 100, the character image determination unit 31 determines whether the image data is a character image or another image such as a photograph or illustration. . If it is not a character image, the process proceeds to step 103, where the compression / decompression processing unit 28 directly compresses the image data.

【0021】画像データが文字画像である場合は、ステ
ップ101に進み、文章方向判断部32により、画像デ
ータの配列が、文章方向と一致しているか、文章方向と
垂直方向であるかを判別する。画像データの配列が文章
方向と一致している場合は、ステップ103に進み圧縮
伸長処理部28により画像データをそのまま圧縮処理す
る。画像データが文章方向と垂直方向である場合は、ス
テップ102に進み回転処理部27で、画像データを9
0°回転処理した後ステップ103に進み、圧縮伸長処
理部28により回転した画像データを圧縮処理する。
If the image data is a character image, the process proceeds to step 101, where the sentence direction determining unit 32 determines whether the arrangement of the image data matches the sentence direction or is perpendicular to the sentence direction. . If the arrangement of the image data matches the sentence direction, the process proceeds to step 103, where the compression / decompression processing unit 28 directly compresses the image data. If the image data is in the vertical direction with respect to the text direction, the process proceeds to step 102 and the rotation processing unit 27
After the 0 ° rotation processing, the process proceeds to step 103, where the compression / decompression processing unit 28 compresses the rotated image data.

【0022】即ち、図4(a)に示すように、原稿36
上の文章方向がスキャナ23による矢印s方向の読み取
り走査方向と平行であり、画像データが文章方向に配列
されている場合は、データの圧縮効率が高いことからそ
のまま圧縮処理する一方、図4(b)に示すように、原
稿36上の文章方向が、スキャナ23による矢印s方向
の読み取り走査方向と垂直になり、画像データの配列が
文章方向に対し垂直になる場合は、画像データを90°
回転して文章方向をスキャナ23による矢印s方向の読
み取り走査方向と一致させて、データの圧縮効率を高め
てから圧縮処理する。尚図5に示すようにすべての原稿
について、圧縮処理時に画像データを回転したか否かの
回転情報を、メモリ33の管理テーブル33aに記憶す
る。
That is, as shown in FIG.
When the upper sentence direction is parallel to the reading scanning direction in the arrow s direction by the scanner 23 and the image data is arranged in the sentence direction, the compression processing is performed as it is because the data compression efficiency is high, while FIG. As shown in b), when the text direction on the document 36 is perpendicular to the scanning direction of the arrow s read by the scanner 23 and the image data array is perpendicular to the text direction, the image data is set to 90 °.
After rotation, the text direction is made to match the scanning direction of the arrow s by the scanner 23 to increase the data compression efficiency, and then the data is compressed. As shown in FIG. 5, the rotation information indicating whether or not the image data has been rotated during the compression process for all the originals is stored in the management table 33a of the memory 33.

【0023】このようにステップ103で画像データを
圧縮処理し、圧縮データをハードディスク30に記憶す
る。次いで複写画像印刷のため、ハードディスク30に
記憶された圧縮データを圧縮伸長処理部28で伸長処理
し、この後、メモリ33に記憶される図5に示す管理テ
ーブルの回転情報に基づき、圧縮処理前に回転した画像
データは、回転処理部27で圧縮処理時と逆方向に90
°戻して、画像データを復元後、画像メモリ26に記憶
し、プリンタ24に転送して複写画像を形成する。
In step 103, the image data is compressed, and the compressed data is stored in the hard disk 30. Next, for printing the copied image, the compressed data stored in the hard disk 30 is expanded by the compression / expansion processing unit 28, and then, based on the rotation information in the management table shown in FIG. The image data rotated in the direction 90
After returning, the image data is restored and stored in the image memory 26 and transferred to the printer 24 to form a copied image.

【0024】この様に構成すれば、スキャナ23から入
力される画像データが文字データである場合には、文字
データの文章方向と圧縮走査方向とを一致させて圧縮効
率を高めるよう画像データを回転した後に圧縮するの
で、圧縮データサイズをより小さくする事が出来、画像
データの処理時間の短縮及びハードディスク30内の使
用容量の低減を図れ、画像処理装置及び画像形成装置の
性能を向上出来る。
With this configuration, when the image data input from the scanner 23 is character data, the image data is rotated so that the text direction of the character data and the compression scanning direction are matched to increase the compression efficiency. After compression, the size of the compressed data can be further reduced, the processing time of the image data can be shortened, the used capacity in the hard disk 30 can be reduced, and the performance of the image processing apparatus and the image forming apparatus can be improved.

【0025】次に本発明を図6乃至図9に示す第2の実
施の形態を参照して説明する。本実施の形態は入力画像
を複数の領域に分割し分割した画像領域毎に文字データ
をその文章方向と圧縮走査方向が一致するよう回転した
後画像圧縮するものであり、他は第1の実施の形態と同
様であることから同一部分については同一符号を付しそ
の説明を省略する。図6に示すディジタル複写機35の
画像処理装置36は、画像メモリ26、回転処理部2
7、圧縮伸長処理部28、ハードディスク30、文字画
像判断部31、文章方向判断部32と、文字画像判断部
31及び文章方向判断部32により、文字領域とそれ以
外の領域を認識し、あるいは文章方向毎に領域を認識
し、画像を夫々の領域に分割処理しまたは分割した領域
を再構成処理する画像分割再構成処理部37から成って
いる。
Next, the present invention will be described with reference to a second embodiment shown in FIGS. In the present embodiment, an input image is divided into a plurality of regions, and character data is rotated for each divided image region so that the text direction and the compression scanning direction match, and then image compression is performed. Therefore, the same portions are denoted by the same reference numerals and description thereof will be omitted. The image processing device 36 of the digital copying machine 35 shown in FIG.
7. The compression / decompression processing unit 28, the hard disk 30, the character image determination unit 31, the text direction determination unit 32, and the character image determination unit 31 and the text direction determination unit 32 recognize the character area and the other area, or It comprises an image division reconstruction processing unit 37 that recognizes an area for each direction, divides an image into respective areas, and reconstructs the divided areas.

【0026】次に具体例を参照して、画像処理装置36
内での画像データの圧縮処理について述べる。 (具体例1)具体例1は図7に示すように、第1の文字
データ38a、写真データ38b、第2の文字データ3
8cからなる画像データ38が表示される原稿40を、
ソート機能を用いて複写操作する際に、原稿40の画像
領域を定型分割するものである。画像処理装置36の画
像分割再構成処理部37によりL−L´線より上の第1
の文字データ38a、写真データ38bからなる分割領
域40aと、 L−L´線より下の第2の文字データ3
8cからなる分割領域40bの上下1/2の定型領域に
分割する。そして文章方向判断部32で、上の分割領域
40aの第1の文字データ38aの文章方向が矢印t方
向の圧縮走査方向に対して垂直方向である一方、下の分
割領域40bの第2の文字データ38cの文章方向が矢
印t方向の圧縮走査方向と一致していることを判断す
る。
Next, referring to a specific example, the image processing device 36
The following describes the compression processing of image data in the inside. (Specific Example 1) As shown in FIG. 7, a specific example 1 includes first character data 38a, photograph data 38b, and second character data 3b.
The original 40 on which the image data 38 composed of 8c is displayed is
When performing a copy operation using the sort function, the image area of the document 40 is divided into fixed regions. The first image above the line LL 'by the image division reconstruction processing unit 37 of the image processing device 36
, A divided area 40a including character data 38a and photo data 38b, and second character data 3 below the line LL '.
8c is divided into fixed upper and lower half regions of the divided region 40b. Then, the text direction judging unit 32 determines that the text direction of the first character data 38a in the upper divided area 40a is perpendicular to the compression scanning direction in the direction of the arrow t, while the second character in the lower divided area 40b is It is determined that the text direction of the data 38c matches the compression scanning direction of the arrow t.

【0027】従って、下の分割領域40bの分割画像デ
ータは圧縮伸長処理部28によりそのまま圧縮処理する
一方、上の分割領域40aの分割画像データは圧縮効率
を向上するために回転処理部27で90°回転処理した
後圧縮伸長処理部28により圧縮処理して形成された分
割領域毎に夫々形成された分割圧縮データをハードディ
スク30に記憶する。尚メモリ33の管理テーブルに
は、原稿40について上分割領域40a及び下分割領域
40bの夫々についての回転情報を記憶する。
Therefore, the divided image data of the lower divided area 40b is directly compressed by the compression / expansion processing unit 28, while the divided image data of the upper divided area 40a is processed by the rotation processing unit 27 in order to improve the compression efficiency. After the rotation process, the divided compressed data formed for each divided region formed by compression processing by the compression / decompression processing unit 28 is stored in the hard disk 30. In the management table of the memory 33, rotation information about each of the upper divided area 40a and the lower divided area 40b of the document 40 is stored.

【0028】次いで複写画像印刷のため、ハードディス
ク30に記憶された分割圧縮データを夫々圧縮伸長処理
部28で伸長処理し、この後メモリ33に記憶される管
理テーブルの回転情報に基づき、圧縮処理前に回転した
上の分割領域40aの分割画像データを90°戻し更に
画像分割再構成処理部37にて上下分割領域40a、4
0bを再構成して画像データを復元し、画像メモリ26
に記憶し、プリンタ24に転送して複写画像を形成す
る。
Next, for printing a copied image, the divided compressed data stored in the hard disk 30 is decompressed by the compression / decompression processing unit 28, and thereafter, based on the rotation information of the management table stored in the memory 33, the pre-compression processing is performed. The divided image data of the upper divided region 40a rotated by 90 ° is returned by 90 °, and the upper and lower divided regions 40a, 4
0b is reconstructed to restore the image data,
And transfer it to the printer 24 to form a copy image.

【0029】これにより、上の分割領域40aの分割画
像データの第1の文字データ38aの文章方向が圧縮走
査方向と一致され、分割画像データの圧縮効率が向上さ
れる事から、分割圧縮データサイズをより小さく出来、
ひいては原稿40の画像データ38全体の圧縮データサ
イズをより小さく出来る。
As a result, the text direction of the first character data 38a of the divided image data in the upper divided area 40a matches the compression scanning direction, and the compression efficiency of the divided image data is improved. Can be made smaller,
As a result, the compressed data size of the entire image data 38 of the document 40 can be reduced.

【0030】(具体例2)具体例2は図8に示すよう
に、第3の文字データ42a、第1のイラストデータ4
2b、第2のイラストデータ42c、第4の文字データ
42dからなる画像データ42が表示される原稿43
を、ソート機能を用いて複写操作する際に、原稿の画像
領域を画像データ42の内容に応じて任意に分割するも
のである。画像処理装置36の文字画像判断部31によ
り原稿43の画像が、A点を起点とするA分割領域43
a に第3の文字データ42a を有し、B点を起点とす
るB分割領域43b に第1のイラストデータ42b を
有し、C点を起点とするC分割領域43cに第2のイラ
ストデータ42cを有し、 D点を起点とするD分割領
域43dに第4の文字データ42d を有することを判
断し、画像分割再構成処理部37により夫々 A点、B
点、C点、D点を起点とする分割領域43a〜43dに
分割する。
(Specific Example 2) As shown in FIG. 8, the specific example 2 includes the third character data 42a and the first illustration data 4a.
Document 43 on which image data 42 including 2b, second illustration data 42c, and fourth character data 42d is displayed
When a copy operation is performed using the sort function, the image area of the document is arbitrarily divided according to the contents of the image data 42. The image of the document 43 is converted by the character image determination unit 31 of the image processing device 36 into the A divided area 43 starting from the point A.
a has third character data 42a, a B illustration area 43b starting from point B has first illustration data 42b, and a C illustration area 43c starting from point C has second illustration data 42c. It is determined that there is the fourth character data 42d in the D division area 43d starting from the point D, and the image division reconstruction processing unit 37 determines that the fourth character data 42d
The image is divided into divided areas 43a to 43d starting from points, points C and D.

【0031】又文章方向判断部32で、A分割領域43
aの第3の文字データ42aの文章方向が矢印u方向の
圧縮走査方向に対して垂直方向である一方、 D分割領
域43dの第4の文字データ42dの文章方向が矢印u
方向の圧縮走査方向と一致していることを判断する。
The sentence direction judging section 32 sets the A divided area 43
a, the text direction of the third character data 42a is perpendicular to the compression scanning direction in the direction of the arrow u, while the text direction of the fourth character data 42d in the D divided area 43d is the direction of the arrow u
It is determined that the direction matches the compression scanning direction.

【0032】従って、 B、C、D分割領域43b〜4
3dの分割画像データは圧縮伸長処理部28によりその
まま圧縮処理する一方、 A分割領域43aの第3の文
字データ42aは圧縮効率を向上するために回転処理部
27で90°回転処理した後圧縮伸長処理部28により
圧縮処理して、各分割領域43a〜43d毎に夫々形成
された分割圧縮データをハードディスク30に記憶す
る。
Therefore, the B, C, and D divided areas 43b to 43b
The 3d divided image data is directly compressed by the compression / decompression processing unit 28, while the third character data 42a in the A divided area 43a is rotated by 90 ° by the rotation processing unit 27 in order to improve the compression efficiency, and then compressed / decompressed. The compression processing is performed by the processing unit 28, and the divided compressed data formed for each of the divided areas 43a to 43d is stored in the hard disk 30.

【0033】尚メモリ33の管理テーブルには、図9に
示すように各分割領域43a〜43dのA点〜D点の各
起点の位置情報及び各分割領域43a〜43dの幅及び
高さを記憶し、又圧縮処理前に各分割領域43a〜43
dの回転情報を記憶する。
In the management table of the memory 33, as shown in FIG. 9, the position information of the starting points A to D of the divided areas 43a to 43d and the width and height of each of the divided areas 43a to 43d are stored. Before the compression processing, each divided area 43a-43
The rotation information of d is stored.

【0034】次いで複写画像印刷のため、ハードディス
ク30に記憶された分割圧縮データを夫々圧縮伸長処理
部28で伸長処理し、この後メモリ33に記憶される管
理テーブルの回転情報に基づき、圧縮処理前に回転した
領域の分割画像データを90°戻し更に画像分割再構成
処理部37にて管理テーブルの位置情報、サイズ情報に
基づき各分割領域43a〜43dを再構成して画像デー
タを復元し、画像メモリ26に記憶し、プリンタ24に
転送して複写画像を形成する。
Next, for printing a copied image, the divided compressed data stored in the hard disk 30 is decompressed by the compression / decompression processing unit 28, and then, based on the rotation information of the management table stored in the memory 33, the pre-compression processing is performed. The divided image data of the rotated region is returned by 90 °, and the image data is restored by reconstructing the divided regions 43a to 43d based on the position information and the size information of the management table in the image division reconstruction processing unit 37. The image is stored in the memory 26 and transferred to the printer 24 to form a copy image.

【0035】これにより、原稿43の画像領域を画像デ
ータの内容に応じてA分割領域43a〜D分割領域43
dの領域に分割し、A分割領域43aの分割データを回
転して第3の文字データ42aの文章方向を圧縮走査方
向と一致する事により、A分割領域43aにおける分割
画像データの圧縮効率を向上出来、A分割領域43aの
第3の文字データ42aの圧縮データサイズをより小さ
く出来、ひいては原稿43の画像データ42全体の圧縮
データサイズをより小さく出来る。
Thus, the image area of the original 43 can be divided into A divided areas 43a to D divided areas 43a according to the contents of the image data.
d, the divided data of the A divided area 43a is rotated, and the text direction of the third character data 42a matches the compression scanning direction, thereby improving the compression efficiency of the divided image data in the A divided area 43a. As a result, the compressed data size of the third character data 42a in the A-divided area 43a can be made smaller, and the compressed data size of the entire image data 42 of the document 43 can be made smaller.

【0036】本実施の形態によれば、原稿を複数領域に
分割し、文字データの文章方向を圧縮走査方向と一致さ
せるために画像データの回転を必要とする領域にあって
は、分割画像データを回転した後圧縮処理することによ
り、原稿の画像内容に対応して、各領域毎に圧縮効率の
向上を図れ、圧縮データサイズをより効果的に小さく出
来、ひいては画像データの処理時間の短縮及びハードデ
ィスク30内の使用容量の低減を効率的に得られ、画像
処理装置及び画像形成装置の性能をより向上出来る。
According to the present embodiment, a document is divided into a plurality of areas, and in an area where image data needs to be rotated in order to match the text direction of character data with the compression scanning direction, the divided image data By rotating and compressing, the compression efficiency can be improved for each area according to the image content of the original, the compressed data size can be reduced more effectively, and the processing time of the image data can be shortened and The capacity used in the hard disk 30 can be efficiently reduced, and the performance of the image processing apparatus and the image forming apparatus can be further improved.

【0037】次に本発明を図10乃至図14に示す第3
の実施の形態を参照して説明する。本実施の形態は、複
数の走査方向での画像データのライン毎の画素の分布状
況を比較して、圧縮効率の高いライン方向を検出し、こ
のライン方向を画像データの圧縮走査方向に一致するよ
う、画像データを回転した後画像圧縮するものであり、
他は第1の実施の形態と同様であることから同一部分に
ついては同一符号を付しその説明を省略する。図10に
示すディジタル複写機45の画像処理装置46は、画像
メモリ26、回転処理部27、圧縮伸長処理部28、ハ
ードディスク30、度数カウンタ47及び平坦方向判断
部48から成っている。度数カウンタ47は、入力され
た画像データのライン毎に画素数の合計(度数)を求め
る手段であり、平坦方向判断部48は、度数カウンタ4
7で求められた各ラインの度数を所定の上閾値及び所定
の下閾値と比較し、上閾値を上回ったライン数と、下閾
値を下回ったライン数の合計を求め、更に合計値の最も
大きい平坦方向を選択する手段である。
Next, the present invention will be described with reference to FIGS.
This will be described with reference to the embodiment. In the present embodiment, a distribution direction of pixels for each line of image data in a plurality of scanning directions is compared to detect a line direction having a high compression efficiency, and this line direction matches the compression scanning direction of the image data. In this way, image data is compressed after rotating the image data.
Other parts are the same as those of the first embodiment, and therefore the same parts are denoted by the same reference numerals and description thereof will be omitted. The image processing device 46 of the digital copying machine 45 shown in FIG. 10 includes an image memory 26, a rotation processing unit 27, a compression / decompression processing unit 28, a hard disk 30, a frequency counter 47, and a flat direction determination unit 48. The frequency counter 47 is means for calculating the total number of pixels (frequency) for each line of input image data.
The frequency of each line obtained in step 7 is compared with a predetermined upper threshold and a predetermined lower threshold, and the sum of the number of lines exceeding the upper threshold and the number of lines falling below the lower threshold is obtained. This is a means for selecting a flat direction.

【0038】次に具体例を参照して、画像処理装置36
内での画像データの圧縮処理について述べる。 (具体例3)図11に示すように、画素部50a及び非
画素部50bが配列される画像データを有する原稿50
を、ソート機能を用いて複写操作する場合、先ず図12
(a)に示すように画像処理装置46の度数カウンタ4
7にて、圧縮走査方向に沿った矢印v方向における画像
データの各ライン毎の画素部50aの合計である度数を
求め、次いで平坦方向判断部48で、度数が、上閾値
(3)以上のライン数及び下閾値(1)以下のライン数
の合計1を求める。他方、図12(b)に示すように画
像処理装置46の度数カウンタ47にて、圧縮走査方向
と垂直の矢印w方向における画像データの各ライン毎の
画素部50aの合計である度数を求め、次いで平坦方向
判断部48で、度数が、上閾値(3)以上のライン数及
び下閾値(1)以下のライン数の合計4を求め、矢印v
方向のライン数1と矢印w方向のライン数4とを比較し
て、矢印w方向が大きいことから、矢印w方向が平坦方
向であり、圧縮効率が高いライン方向であると判断す
る。
Next, referring to a specific example, the image processing device 36
The following describes the compression processing of image data in the inside. (Specific Example 3) As shown in FIG. 11, a document 50 having image data in which a pixel portion 50a and a non-pixel portion 50b are arranged.
Is copied using the sort function, first, FIG.
The frequency counter 4 of the image processing device 46 as shown in FIG.
At 7, the frequency which is the sum of the pixel units 50a for each line of the image data in the arrow v direction along the compression scanning direction is obtained, and then the flat direction determining unit 48 determines that the frequency is equal to or higher than the upper threshold (3). A total of 1 is obtained for the number of lines and the number of lines below the lower threshold (1). On the other hand, as shown in FIG. 12B, the frequency counter 47 of the image processing device 46 calculates the frequency that is the sum of the pixel units 50a for each line of the image data in the arrow w direction perpendicular to the compression scanning direction. Next, the flat direction determination unit 48 obtains a total of 4 of the number of lines whose frequency is equal to or higher than the upper threshold value (3) and the number of lines whose frequency is equal to or lower than the lower threshold value (1).
Comparing the number of lines 1 in the direction and the number of lines 4 in the direction of the arrow w, it is determined that the direction of the arrow w is a flat direction and the direction of the compression efficiency is high because the direction of the arrow w is large.

【0039】従って画像データの圧縮効率を向上するた
めに画像データを90°回転して、平坦ライン方向を、
圧縮走査方向と一致させて、データの圧縮効率を高めて
から圧縮伸長処理部28により圧縮処理し、圧縮データ
をハードディスク30に記憶する。尚メモリ33の管理
テーブルに各原稿毎の回転情報を記憶する。
Therefore, in order to improve the compression efficiency of the image data, the image data is rotated by 90 ° so that the direction of the flat line is
The data is compressed by the compression / decompression processing unit 28 to increase the data compression efficiency in accordance with the compression scanning direction, and the compressed data is stored in the hard disk 30. The rotation information for each document is stored in the management table of the memory 33.

【0040】次いで複写画像印刷のため、ハードディス
ク30に記憶された圧縮データを圧縮伸長処理部28で
伸長処理し、この後メモリ33に記憶される管理テーブ
ルの回転情報に基づき、圧縮処理前に回転した画像デー
タは、回転処理部27で圧縮処理時と逆方向に90°戻
して、画像データを復元後、画像メモリ26に記憶し、
プリンタ24に転送して複写画像を形成する。
Next, in order to print a copied image, the compressed data stored in the hard disk 30 is expanded by the compression / expansion processing unit 28, and then, based on the rotation information in the management table stored in the memory 33, the data is rotated before the compression processing. The rotated image data is returned by 90 ° in the direction opposite to the compression process by the rotation processing unit 27, and after the image data is restored, the image data is stored in the image memory 26.
The image is transferred to the printer 24 to form a copy image.

【0041】これにより、文字データに限らず、画像デ
ータの圧縮効率の高い平坦ライン方向を検出後、平坦ラ
イン方向と圧縮走査方向とを一致させて圧縮効率を高め
るよう画像データを回転した後に圧縮するので、圧縮デ
ータサイズをより小さくする事が出来、画像データの処
理時間の短縮及びハードディスク30内の使用容量の低
減を図れ、画像処理装置及び画像形成装置の性能を向上
出来る。 (具体例4)図13に示すように、画素部51a及び非
画素部51bが配列される画像データを有する原稿51
を、ソート機能を用いて複写操作する場合、先ず図14
(a)に示すように画像処理装置46の度数カウンタ4
7にて、圧縮走査方向に沿った矢印v方向における画像
データの1ラインおきの画素部51aの合計である度数
を求め、次いで平坦方向判断部48で、度数が、上閾値
(5)以上のライン数及び下閾値(1)以下のライン数
の合計0を求める。他方、図14(b)に示すように画
像処理装置46の度数カウンタ47にて、圧縮走査方向
と垂直の矢印w方向における画像データの1ラインおき
のの画素部51aの合計である度数を求め、次いで平坦
方向判断部48で、度数が、上閾値(5)以上のライン
数及び下閾値(1)以下のライン数の合計2を求め、矢
印v方向のライン数0と矢印w方向のライン数2とを比
較して、矢印w方向が大きいことから、矢印w方向が平
坦方向であり、圧縮効率が高いライン方向であると判断
する。
Thus, after detecting a flat line direction having high compression efficiency not only for character data but also for image data, the image data is compressed after rotating the image data so as to increase the compression efficiency by matching the flat line direction with the compression scanning direction. Therefore, the size of the compressed data can be further reduced, the processing time of the image data can be reduced, the capacity used in the hard disk 30 can be reduced, and the performance of the image processing apparatus and the image forming apparatus can be improved. (Specific Example 4) As shown in FIG. 13, a document 51 having image data in which a pixel portion 51a and a non-pixel portion 51b are arranged.
Is copied using the sort function, first, FIG.
The frequency counter 4 of the image processing device 46 as shown in FIG.
At 7, the frequency which is the sum of the pixel portions 51a of every other line of the image data in the arrow v direction along the compression scanning direction is obtained, and then the frequency is determined by the flat direction determination section 48 to be equal to or higher than the upper threshold (5). The total 0 of the number of lines and the number of lines equal to or less than the lower threshold (1) is obtained. On the other hand, as shown in FIG. 14B, the frequency counter 47 of the image processing device 46 calculates the frequency which is the sum of the pixel portions 51a of every other line of the image data in the direction of the arrow w perpendicular to the compression scanning direction. Then, the flat direction determination unit 48 obtains a total of 2 of the number of lines whose frequency is equal to or more than the upper threshold (5) and the number of lines equal to or less than the lower threshold (1), and determines the number of lines 0 in the arrow v direction and the number of lines in the arrow w direction. As compared with Equation 2, since the direction of the arrow w is large, it is determined that the direction of the arrow w is the flat direction and the direction of the line with high compression efficiency.

【0042】従って画像データの圧縮効率を向上するた
めに画像データを90°回転して、平坦ライン方向を、
圧縮走査方向と一致させて、データの圧縮効率を高めて
から圧縮伸長処理部28により圧縮処理し、圧縮データ
をハードディスク30に記憶する。尚メモリ33の管理
テーブルに各原稿毎の回転情報を記憶する。
Therefore, in order to improve the compression efficiency of the image data, the image data is rotated by 90 ° to change the direction of the flat line.
The data is compressed by the compression / decompression processing unit 28 to increase the data compression efficiency in accordance with the compression scanning direction, and the compressed data is stored in the hard disk 30. The rotation information for each document is stored in the management table of the memory 33.

【0043】次いで複写画像印刷のため、ハードディス
ク30に記憶された圧縮データを圧縮伸長処理部28で
伸長処理し、この後メモリ33に記憶される管理テーブ
ルの回転情報に基づき、圧縮処理前に回転した画像デー
タは、回転処理部27で圧縮処理時と逆方向に90°戻
して、画像データを復元後、画像メモリ26に記憶し、
プリンタ24に転送して複写画像を形成する。
Next, in order to print a copied image, the compressed data stored in the hard disk 30 is expanded by the compression / expansion processing unit 28, and then, based on the rotation information of the management table stored in the memory 33, the data is rotated before the compression processing. The rotated image data is returned by 90 ° in the direction opposite to the compression process by the rotation processing unit 27, and after the image data is restored, the image data is stored in the image memory 26.
The image is transferred to the printer 24 to form a copy image.

【0044】これにより、文字データに限らず、画像デ
ータの圧縮効率の高い平坦ライン方向を検出後、平坦ラ
イン方向と圧縮走査方向とを一致させて圧縮効率を高め
るよう画像データを回転した後に圧縮するので、圧縮デ
ータサイズをより小さくする事が出来、画像データの処
理時間の短縮及びハードディスク30内の使用容量の低
減を図れ、画像処理装置及び画像形成装置の性能を向上
出来る。しかも、平坦ライン方向を検出する際1ライン
おきに度数を求めているので、全ラインについて求める
場合に比しその処理時間を1/2に短縮可能となる。
Thus, after detecting a flat line direction having high compression efficiency not only for character data but also for image data, compression is performed after rotating the image data so as to increase the compression efficiency by matching the flat line direction with the compression scanning direction. Therefore, the size of the compressed data can be further reduced, the processing time of the image data can be reduced, the capacity used in the hard disk 30 can be reduced, and the performance of the image processing apparatus and the image forming apparatus can be improved. In addition, since the frequency is calculated every other line when detecting the direction of the flat line, the processing time can be reduced to 比 compared with the case where the frequency is calculated for all the lines.

【0045】尚具体例3及び具体例4のいずれの場合
も、平坦ラインを検知した結果、矢印v方向、矢印w方
向のいずれも同じライン数であ理、いずれの方向でも圧
縮効率が同じ場合は、そのまま画像圧縮する。
In each of the specific examples 3 and 4, as a result of detecting a flat line, the same number of lines is used in both the arrow v direction and the arrow w direction, and the compression efficiency is the same in both directions. Compresses the image as it is.

【0046】次に本発明を図15乃至図16に示す第4
の実施の形態を参照して説明する。本実施の形態は入力
画像を複数の領域に分割し分割した画像領域毎に平坦ラ
イン方向と圧縮走査方向が一致するよう回転した後画像
圧縮するものであり、他は第3の実施の形態と同様であ
ることから同一部分については同一符号を付しその説明
を省略する。図15に示すディジタル複写機52の画像
処理装置53は、画像メモリ26、回転処理部27、圧
縮伸長処理部28、ハードディスク30、度数カウンタ
47、平坦方向判断部48及び、画像を規定領域に分割
処理しまたは分割した領域を再構成処理する画像分割再
構成処理部54から成っている。
Next, the present invention will be described with reference to FIGS.
This will be described with reference to the embodiment. In this embodiment, an input image is divided into a plurality of regions, and the image is compressed after rotating so that the flat line direction and the compression scanning direction coincide with each other for each of the divided image regions. Since they are the same, the same parts are denoted by the same reference numerals and description thereof will be omitted. The image processing device 53 of the digital copying machine 52 shown in FIG. 15 includes an image memory 26, a rotation processing unit 27, a compression / decompression processing unit 28, a hard disk 30, a frequency counter 47, a flat direction determination unit 48, and a divided image into specified areas. It comprises an image division reconstruction processing unit 54 for reconstructing a processed or divided area.

【0047】そして例えば図16に示すように、画素部
57a及び非画素部57bが配列される画像データを有
する原稿58を、ソート機能を用いて複写操作する際
に、原稿58の画像領域を定型分割するものである。即
ち画像処理装置53の画像分割再構成処理部54により
M−M´線より上の分割領域58aと、 M−M´線よ
り下の分割領域58bの上下1/2の定型領域に分割す
る。
For example, as shown in FIG. 16, when a document 58 having image data in which the pixel portions 57a and the non-pixel portions 57b are arranged is copied using the sort function, the image area of the document 58 is fixed. It is to divide. That is, the image dividing / reconstructing unit 54 of the image processing device 53 divides the divided region 58a above the line MM 'and the fixed upper and lower half of the divided region 58b below the line MM'.

【0048】そして各分割領域58a、58b毎に、第
3の実施の形態と同様にして平坦ライン方向を選択す
る。即ち、上の分割領域58aにあっては、矢印v方向
のライン数1と矢印w方向のライン数4とを比較して、
矢印w方向が大きいことから、矢印w方向が平坦方向で
あり、圧縮効率が高いライン方向であると判断する。一
方下の分割領域58bにあっては、矢印v方向のライン
数4と矢印w方向のライン数0とを比較して、矢印v方
向が大きいことから、矢印v方向が平坦方向であり、圧
縮効率が高いライン方向であると判断する。
Then, a flat line direction is selected for each of the divided areas 58a and 58b in the same manner as in the third embodiment. That is, in the upper divided area 58a, the number of lines 1 in the direction of the arrow v is compared with the number of lines 4 in the direction of the arrow w, and
Since the direction of the arrow w is large, it is determined that the direction of the arrow w is the flat direction and the direction of the line with high compression efficiency. On the other hand, in the lower divided region 58b, the number of lines in the direction of arrow v is compared with the number of lines in the direction of arrow w, and the direction of arrow v is large. It is determined that the line direction is high in efficiency.

【0049】従って画像データの圧縮効率を向上するた
めに上の分割領域58aの画像データを90°回転し
て、平坦ライン方向を、圧縮走査方向と一致させて、デ
ータの圧縮効率を高めてから圧縮伸長処理部28により
圧縮処理する一方、下の分割領域58bの画像データ
は、そのままで平坦ライン方向が圧縮走査方向と一致す
る事から、回転することなく圧縮伸長処理部28により
圧縮処理し、両分割領域58a、58bの圧縮データを
ハードディスク30に記憶する。尚メモリ33の管理テ
ーブルに各分割領域毎の回転情報を記憶する。
Therefore, in order to improve the compression efficiency of the image data, the image data of the upper divided area 58a is rotated by 90 °, the flat line direction is made coincident with the compression scan direction, and the data compression efficiency is increased. While the compression processing is performed by the compression / decompression processing unit 28, the image data of the lower divided region 58b is compressed by the compression / decompression processing unit 28 without rotating because the flat line direction matches the compression scanning direction as it is, The compressed data of both divided areas 58a and 58b is stored on the hard disk 30. The rotation information for each divided area is stored in the management table of the memory 33.

【0050】次いで複写画像印刷のため、ハードディス
ク30に記憶された圧縮データを圧縮伸長処理部28で
伸長処理し、この後メモリ33に記憶される管理テーブ
ルの回転情報に基づき、圧縮処理前に回転した上分割領
域58aの画像データを90°戻し、更に画像分割再構
成処理部37にて上下分割領域58a、58bを再構成
して画像データを復元し、画像メモリ26に記憶し、プ
リンタ24に転送して複写画像を形成する。
Next, in order to print a copied image, the compressed data stored in the hard disk 30 is expanded by the compression / expansion processing unit 28, and then, based on the rotation information in the management table stored in the memory 33, the data is rotated before the compression processing. The image data of the upper divided area 58a is returned by 90 °, and the upper and lower divided areas 58a and 58b are reconstructed by the image division reconstruction processing unit 37 to restore the image data, stored in the image memory 26, and stored in the printer 24. Transfer to form a copied image.

【0051】この様に構成すれば、文字データに限ら
ず、画像データの圧縮効率の高い平坦ライン方向を検出
後、平坦ライン方向と圧縮走査方向とを一致させて圧縮
効率を高めるよう画像データを回転した後に圧縮するの
で、圧縮データサイズをより小さくする事が出来、画像
データの処理時間の短縮及びハードディスク30内の使
用容量の低減を図れ、画像処理装置及び画像形成装置の
性能を向上出来る。しかも画像領域を分割して、分割領
域毎に平坦ライン方向の検出及び画像データの回転を行
えることから、より画像内容に沿った平坦ライン方向を
検出出来、画像データの圧縮効率の一層の向上を得られ
る。
With this configuration, after detecting a flat line direction having high compression efficiency not only for character data but also for image data, the image data is converted so as to match the flat line direction with the compression scanning direction to increase the compression efficiency. Since the compression is performed after the rotation, the size of the compressed data can be further reduced, the processing time of the image data can be reduced, the capacity used in the hard disk 30 can be reduced, and the performance of the image processing apparatus and the image forming apparatus can be improved. Moreover, since the image area is divided and the flat line direction can be detected and the image data can be rotated for each divided area, the flat line direction can be detected more in line with the image content, and the compression efficiency of the image data can be further improved. can get.

【0052】次に本発明を図17乃至図19に示す第5
の実施の形態を参照して説明する。本実施の形態は、複
数の走査方向での画像データのライン毎に隣接画素が異
なる割合(画素のバラツキ)を比較して、圧縮効率の高
いライン方向を検出し、このライン方向を画像データの
圧縮走査方向に一致するよう、画像データを回転した後
画像圧縮するものであり、他は第1の実施の形態と同様
であることから同一部分については同一符号を付しその
説明を省略する。図17に示すディジタル複写機60の
画像処理装置61は、画像メモリ26、回転処理部2
7、圧縮伸長処理部28、ハードディスク30、差分カ
ウンタ62及び平坦方向判断部63から成っている。差
分カウンタ62は、入力された画像データのライン毎に
隣接画素が異なる数の合計(差分)を求める手段であ
り、平坦方向判断部63は、差分カウンタ62で求めら
れた各ラインの差分を所定の下閾値と比較し、下閾値を
下回ったライン数の合計を求め、更に合計値の最も大き
い平坦ライン方向を選択する手段である。
Next, the present invention will be described with reference to FIGS.
This will be described with reference to the embodiment. In this embodiment, a line direction having a high compression efficiency is detected by comparing different ratios (pixel variations) of adjacent pixels for each line of image data in a plurality of scanning directions, and this line direction is determined by the image data. The image data is rotated and compressed so that the image data coincides with the compression scanning direction. Since the other components are the same as those in the first embodiment, the same components are denoted by the same reference numerals and description thereof is omitted. The image processing device 61 of the digital copying machine 60 shown in FIG.
7, a compression / decompression processing unit 28, a hard disk 30, a difference counter 62, and a flat direction determination unit 63. The difference counter 62 is means for calculating the sum (difference) of the number of adjacent pixels different for each line of the input image data. The flat direction determination unit 63 determines the difference of each line obtained by the difference counter 62 in a predetermined manner. This is a means for comparing with the lower threshold value, calculating the total number of lines below the lower threshold value, and selecting the flat line direction having the largest total value.

【0053】そして例えば図18に示すように、黒画素
部64、グレー画素部66、非画素部67が配列される
画像データを有する原稿68を、ソート機能を用いて複
写操作する場合、先ず図19(a)に示すように画像処
理装置61の差分カウンタ62にて、圧縮走査方向に沿
った矢印x方向における画像データの各ライン毎に隣接
画素が異なる数の合計である差分を求め(例えば隣接画
素が黒とグレーあるいは黒と白のように画素が異なる場
合を1とし、白と白あるいは黒と黒のように同じが連続
する場合は0として、各ライン毎にその数値の合計を求
める。)、次いで平坦方向判断部63で、差分が、下閾
値(1)以下のライン数の合計1を求める。他方、図1
9(b)に示すように画像処理装置61の差分カウンタ
62にて、圧縮走査方向と垂直の矢印y方向における画
像データの各ライン毎に隣接画素が異なる数の合計であ
る差分を求め、次いで平坦方向判断部63で、差分が、
下閾値(1)以下のライン数の合計2を求め、矢印x方
向のライン数1と矢印y方向のライン数2とを比較し
て、矢印y方向が大きいことから、矢印y方向が平坦方
向であり、圧縮効率が高いライン方向であると判断す
る。
For example, as shown in FIG. 18, when a document 68 having image data in which a black pixel portion 64, a gray pixel portion 66, and a non-pixel portion 67 are arranged is copied by using a sort function, first, FIG. As shown in FIG. 19A, the difference counter 62 of the image processing device 61 obtains a difference which is the sum of the number of different adjacent pixels for each line of the image data in the arrow x direction along the compression scanning direction (for example, The value of 1 is determined when adjacent pixels are different from each other such as black and gray or black and white, and 0 when the same is continuous such as white and white or black and black. ), And then the flat direction determination unit 63 calculates a total of 1 of the number of lines whose difference is equal to or smaller than the lower threshold (1). On the other hand, FIG.
As shown in FIG. 9B, the difference counter 62 of the image processing device 61 obtains a difference that is the sum of the number of different adjacent pixels for each line of image data in the arrow y direction perpendicular to the compression scanning direction. In the flat direction determination unit 63, the difference is
The total number of lines equal to or less than the lower threshold value (1) is calculated as 2 and the number of lines in the direction of the arrow x is compared with the number of lines in the direction of the arrow y. , And it is determined that the compression direction is a line direction with high compression efficiency.

【0054】従って画像データの圧縮効率を向上するた
めに画像データを90°回転して、平坦ライン方向を、
圧縮走査方向と一致させて、データの圧縮効率を高めて
から圧縮伸長処理部28により圧縮処理し、圧縮データ
をハードディスク30に記憶する。尚メモリ33の管理
テーブルに各原稿毎の回転情報を記憶する。
Therefore, in order to improve the compression efficiency of the image data, the image data is rotated by 90 ° so that the direction of the flat line is
The data is compressed by the compression / decompression processing unit 28 to increase the data compression efficiency in accordance with the compression scanning direction, and the compressed data is stored in the hard disk 30. The rotation information for each document is stored in the management table of the memory 33.

【0055】次いで複写画像印刷のため、ハードディス
ク30に記憶された圧縮データを圧縮伸長処理部28で
伸長処理し、この後メモリ33に記憶される管理テーブ
ルの回転情報に基づき、圧縮処理前に回転した画像デー
タは、回転処理部27で圧縮処理時と逆方向に90°戻
して、画像データを復元後、画像メモリ26に記憶し、
プリンタ24に転送して複写画像を形成する。
Next, in order to print a copied image, the compression data stored in the hard disk 30 is expanded by the compression / expansion processing unit 28, and then, based on the rotation information in the management table stored in the memory 33, the data is rotated before the compression processing. The rotated image data is returned by 90 ° in the direction opposite to the compression process by the rotation processing unit 27, and after the image data is restored, the image data is stored in the image memory 26.
The image is transferred to the printer 24 to form a copy image.

【0056】この様に構成すれば、文字データに限ら
ず、画像データの圧縮効率の高い平坦ライン方向を検出
後、平坦ライン方向と圧縮走査方向とを一致させて圧縮
効率を高めるよう画像データを回転した後に圧縮するの
で、圧縮データサイズをより小さくする事が出来、画像
データの処理時間の短縮及びハードディスク30内の使
用容量の低減を図れ、画像処理装置及び画像形成装置の
性能を向上出来る。しかも平坦ライン方向を検出する
際、隣接する画素が異なる数を合計するので、3種類以
上の異なる画素からなる画像(多値画像)であっても平
坦ライン方向の検出が可能となる。
With this configuration, after detecting a flat line direction having a high compression efficiency not only for the character data but also for the image data, the image data is compressed so as to match the flat line direction with the compression scanning direction to increase the compression efficiency. Since the compression is performed after the rotation, the size of the compressed data can be further reduced, the processing time of the image data can be reduced, the capacity used in the hard disk 30 can be reduced, and the performance of the image processing apparatus and the image forming apparatus can be improved. Moreover, when detecting the direction of the flat line, the number of adjacent pixels is different, so that the flat line direction can be detected even for an image (multi-valued image) composed of three or more different pixels.

【0057】次に本発明を図20及び図21に示す第6
の実施の形態を参照して説明する。本実施の形態は入力
画像を複数の領域に分割し分割した画像領域毎に平坦ラ
イン方向と圧縮走査方向が一致するよう回転した後画像
圧縮するものであり、他は第5の実施の形態と同様であ
ることから同一部分については同一符号を付しその説明
を省略する。図20に示すディジタル複写機70の画像
処理装置71は、画像メモリ26、回転処理部27、圧
縮伸長処理部28、ハードディスク30、差分カウンタ
62、平坦方向判断部63及び、画像を規定領域に分割
処理しまたは分割した領域を再構成処理する画像分割再
構成処理部72から成っている。
Next, the present invention will be described with reference to FIGS.
This will be described with reference to the embodiment. In this embodiment, the input image is divided into a plurality of regions, and the image is compressed after rotating so that the flat line direction and the compression scanning direction match each other for each of the divided image regions. Since they are the same, the same parts are denoted by the same reference numerals and description thereof will be omitted. The image processing device 71 of the digital copying machine 70 shown in FIG. 20 includes an image memory 26, a rotation processing unit 27, a compression / expansion processing unit 28, a hard disk 30, a difference counter 62, a flat direction determination unit 63, and an image divided into defined areas. It comprises an image division reconstruction processing section 72 for reconstructing a processed or divided area.

【0058】そして例えば図21に示すように、黒画素
部73、グレー画素部74、非画素部76が配列される
画像データを有する原稿77を、ソート機能を用いて複
写操作する際に、原稿77の画像領域を定型分割するも
のである。即ち画像処理装置71の画像分割再構成処理
部72によりN−N´線より上の分割領域77aと、N
−N´線より下の分割領域77bの上下1/2の定型領
域に分割する。
As shown in FIG. 21, for example, when a document 77 having image data in which a black pixel portion 73, a gray pixel portion 74, and a non-pixel portion 76 are arranged is copied using a sort function, The image area 77 is divided into fixed areas. That is, the image segmentation reconstruction processing section 72 of the image processing apparatus 71 sets the divided area 77a above the line NN '
It is divided into fixed upper and lower halves of the divided area 77b below the -N 'line.

【0059】そして各分割領域77a、77b毎に、第
5の実施の形態と同様にして平坦ライン方向を選択す
る。即ち、上の分割領域77aにあっては、矢印x方向
のライン数1と矢印y方向のライン数2とを比較して、
矢印y方向が大きいことから、矢印y方向が平坦方向で
あり、圧縮効率が高いライン方向であると判断する。一
方下の分割領域77bにあっては、矢印x方向のライン
数2と矢印y方向のライン数1とを比較して、矢印x方
向が大きいことから、矢印x方向が平坦方向であり、圧
縮効率が高いライン方向であると判断する。
Then, a flat line direction is selected for each of the divided areas 77a and 77b in the same manner as in the fifth embodiment. That is, in the upper divided area 77a, the number of lines 1 in the arrow x direction and the number of lines 2 in the arrow y direction are compared, and
Since the direction of the arrow y is large, it is determined that the direction of the arrow y is the flat direction and the direction of the line with high compression efficiency. On the other hand, in the lower divided region 77b, the number of lines in the direction of the arrow x is compared with the number of lines in the direction of the arrow 1, and since the direction of the arrow x is large, the direction of the arrow x is flat. It is determined that the line direction is high in efficiency.

【0060】従って画像データの圧縮効率を向上するた
めに上の分割領域77aの画像データを90°回転し
て、平坦ライン方向を、圧縮走査方向と一致させて、デ
ータの圧縮効率を高めてから圧縮伸長処理部28により
圧縮処理する一方、下の分割領域77bの画像データ
は、そのままで平坦ライン方向が圧縮走査方向と一致す
る事から、回転することなく圧縮伸長処理部28により
圧縮処理し、両分割領域77a、77bの圧縮データを
ハードディスク30に記憶する。尚メモリ33の管理テ
ーブルに各分割領域毎の回転情報を記憶する。
Therefore, in order to improve the compression efficiency of the image data, the image data in the upper divided area 77a is rotated by 90 °, and the flat line direction is made coincident with the compression scanning direction to increase the data compression efficiency. While the compression processing is performed by the compression / decompression processing unit 28, the image data of the lower divided area 77b is compressed by the compression / decompression processing unit 28 without rotating because the flat line direction matches the compression scanning direction as it is, The compressed data of both divided areas 77a and 77b is stored in the hard disk 30. The rotation information for each divided area is stored in the management table of the memory 33.

【0061】次いで複写画像印刷のため、ハードディス
ク30に記憶された圧縮データを圧縮伸長処理部28で
伸長処理し、この後メモリ33に記憶される管理テーブ
ルの回転情報に基づき、圧縮処理前に回転した上分割領
域77aの画像データを90°戻し、更に画像分割再構
成処理部72にて上下分割領域77a、77bを再構成
して画像データを復元し、画像メモリ26に記憶し、プ
リンタ24に転送して複写画像を形成する。
Next, in order to print a copied image, the compression data stored in the hard disk 30 is expanded by the compression / expansion processing unit 28, and then, based on the rotation information of the management table stored in the memory 33, the data is rotated before the compression processing. The image data of the upper divided area 77a is returned by 90 °, and the upper and lower divided areas 77a and 77b are reconstructed by the image division reconstruction processing unit 72 to restore the image data, stored in the image memory 26, and stored in the printer 24. Transfer to form a copied image.

【0062】この様に構成すれば、文字データに限ら
ず、画像データの圧縮効率の高い平坦ライン方向を検出
後、平坦ライン方向と圧縮走査方向とを一致させて圧縮
効率を高めるよう画像データを回転した後に圧縮するの
で、圧縮データサイズをより小さくする事が出来、画像
データの処理時間の短縮及びハードディスク30内の使
用容量の低減を図れ、画像処理装置及び画像形成装置の
性能を向上出来る。しかも画像領域を分割して、分割領
域毎に平坦ライン方向の検出及び画像データの回転を行
えることから、より画像内容に沿った平坦ライン方向を
検出出来、画像データの圧縮効率の一層の向上を得られ
る。更に多値画像からなる画像データであっても、より
効率の高い画像圧縮が可能となる。
With this configuration, after detecting a flat line direction having a high compression efficiency not only for character data but also for image data, the image data is converted so that the flat line direction and the compression scanning direction are matched to increase the compression efficiency. Since the compression is performed after the rotation, the size of the compressed data can be further reduced, the processing time of the image data can be reduced, the capacity used in the hard disk 30 can be reduced, and the performance of the image processing apparatus and the image forming apparatus can be improved. Moreover, since the image area is divided and the flat line direction can be detected and the image data can be rotated for each divided area, the flat line direction can be detected more in line with the image content, and the compression efficiency of the image data can be further improved. can get. Furthermore, even with image data composed of multi-valued images, more efficient image compression is possible.

【0063】尚本発明は上記実施の形態に限られるもの
では無く、その趣旨を変えない範囲での変更は可能であ
って、例えば画像データを分割する際に、定型分割であ
る場合は、上下、左右、あるいは多数に分割可能である
し、画像内容を読み取って分割する場合は、全く任意で
ある。又画像各画素の色等限定されないし、多値画像の
画素の数等も任意である。更に、平坦ライン方向を検出
する場合の、ラインの走査方向も自由であるし、2方向
からのみでなく、多数の方向から走査する等任意であ
る。
It should be noted that the present invention is not limited to the above-described embodiment, and can be changed without departing from the spirit of the present invention. The image can be divided into left, right, and many, and the case where image contents are read and divided is completely arbitrary. The color of each pixel of the image is not limited, and the number of pixels of the multi-valued image is arbitrary. Further, when detecting the direction of the flat line, the scanning direction of the line is free, and the scanning is not limited to two directions, but may be arbitrary, such as scanning from many directions.

【0064】[0064]

【発明の効果】以上説明したように本発明によれば、画
像データの内容に応じて、圧縮効率の高い方向に回転し
た後圧縮処理を行う事から、圧縮データのサイズを小さ
く出来、記憶媒体に対して圧縮データを入出に要するデ
ータ処理時間を短縮出来、更に圧縮データによる記憶媒
体の使用容量を低減出来、画像処理装置、ひいては画像
形成装置の性能向上を得られる。
As described above, according to the present invention, the compression processing is performed after rotating in the direction of high compression efficiency in accordance with the content of the image data. The data processing time required for inputting / outputting compressed data can be shortened, the capacity of the storage medium used for the compressed data can be reduced, and the performance of the image processing apparatus and the image forming apparatus can be improved.

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

【図1】本発明の原理のディジタル複写機のシステム構
成を示す概略構成図である。
FIG. 1 is a schematic configuration diagram showing a system configuration of a digital copying machine according to the principle of the present invention.

【図2】本発明の第1の実施の形態のディジタル複写機
のシステム構成を示す概略構成図である。
FIG. 2 is a schematic configuration diagram showing a system configuration of the digital copying machine according to the first embodiment of the present invention.

【図3】本発明の第1の実施の形態の画像データの圧縮
処理過程を示すフローチャートである。
FIG. 3 is a flowchart illustrating a process of compressing image data according to the first embodiment of the present invention.

【図4】本発明の第1の実施の形態における画像データ
の取り扱いを示し、(a)はその文章方向と圧縮方向が
一致する場合、(b)はその文章方向と圧縮方向が垂直
である場合を示す概略説明図である。
4A and 4B show handling of image data according to the first embodiment of the present invention. FIG. 4A shows a case where the text direction and the compression direction match, and FIG. 4B shows a case where the text direction and the compression direction are perpendicular. It is a schematic explanatory view showing a case.

【図5】本発明の第1の実施の形態のメモリに記憶され
る管理テーブルの内容の一部を示す概略説明図である。
FIG. 5 is a schematic explanatory diagram showing a part of the contents of a management table stored in a memory according to the first embodiment of this invention.

【図6】本発明の第2の実施の形態のディジタル複写機
のシステム構成を示す概略構成図である。
FIG. 6 is a schematic configuration diagram showing a system configuration of a digital copying machine according to a second embodiment of the present invention.

【図7】本発明の第2の実施の形態の具体例1の原稿を
示す概略説明図である。
FIG. 7 is a schematic explanatory diagram illustrating a document according to Example 1 of the second embodiment of the present invention.

【図8】本発明の第2の実施の形態の具体例2の原稿を
示す概略説明図である。
FIG. 8 is a schematic explanatory diagram showing a document of a specific example 2 of the second embodiment of the present invention.

【図9】本発明の第2の実施の形態のメモリに記憶され
る管理テーブルの内容の一部を示す概略説明図である。
FIG. 9 is a schematic explanatory diagram showing a part of the contents of a management table stored in a memory according to the second embodiment of this invention.

【図10】本発明の第3の実施の形態のディジタル複写
機のシステム構成を示す概略構成図である。
FIG. 10 is a schematic configuration diagram showing a system configuration of a digital copying machine according to a third embodiment of the present invention.

【図11】本発明の第3の実施の形態の具体例3の原稿
を示す概略説明図である。
FIG. 11 is a schematic explanatory view showing a document of Example 3 of the third embodiment of the present invention.

【図12】本発明の第3の実施の形態の具体例3の平坦
ライン方向の検出操作を示し、(a)はその圧縮走査方
向のライン毎の度数を求める場合、(b)はその圧縮走
査方向と垂直方向のライン毎の度数を求める場合を示す
概略説明図である。
12A and 12B show a detection operation in the flat line direction according to the third example of the third embodiment of the present invention. FIG. 12A shows the case where the frequency of each line in the compression scanning direction is obtained, and FIG. FIG. 5 is a schematic explanatory diagram showing a case where a frequency is obtained for each line in a scanning direction and a vertical direction.

【図13】本発明の第3の実施の形態の具体例4の原稿
を示す概略説明図である。
FIG. 13 is a schematic explanatory diagram showing a document of Example 4 of the third embodiment of the present invention.

【図14】本発明の第3の実施の形態の具体例4の平坦
ライン方向の検出操作を示し、(a)はその圧縮走査方
向の1ラインおきの度数を求める場合、(b)はその圧
縮走査方向と垂直方向の1ラインおきの度数を求める場
合を示す概略説明図である。
14A and 14B show a detection operation in the flat line direction according to Example 4 of the third embodiment of the present invention. FIG. 14A shows the case where the frequency of every other line in the compression scanning direction is obtained, and FIG. FIG. 7 is a schematic explanatory diagram showing a case where the frequency is obtained every other line in the compression scanning direction and the vertical direction.

【図15】本発明の第4の実施の形態のディジタル複写
機のシステム構成を示す概略構成図である。
FIG. 15 is a schematic configuration diagram showing a system configuration of a digital copying machine according to a fourth embodiment of the present invention.

【図16】本発明の第4の実施の形態の原稿を示す概略
説明図である。
FIG. 16 is a schematic explanatory view showing a document according to a fourth embodiment of the present invention.

【図17】本発明の第5の実施の形態のディジタル複写
機のシステム構成を示す概略構成図である。
FIG. 17 is a schematic configuration diagram showing a system configuration of a digital copying machine according to a fifth embodiment of the present invention.

【図18】本発明の第5の実施の形態の原稿を示す概略
説明図である。
FIG. 18 is a schematic explanatory view showing a document according to a fifth embodiment of the present invention.

【図19】本発明の第5の実施の形態の平坦ライン方向
の検出操作を示し、(a)はその圧縮走査方向のライン
毎の差分を求める場合、(b)はその圧縮走査方向と垂
直方向のライン毎の差分を求める場合を示す概略説明図
である。
19A and 19B show a detection operation in the flat line direction according to the fifth embodiment of the present invention, wherein FIG. 19A shows a case where a difference for each line in the compression scanning direction is obtained, and FIG. FIG. 9 is a schematic explanatory diagram showing a case where a difference for each line in a direction is obtained.

【図20】本発明の第6の実施の形態のディジタル複写
機のシステム構成を示す概略構成図である。
FIG. 20 is a schematic configuration diagram showing a system configuration of a digital copying machine according to a sixth embodiment of the present invention.

【図21】本発明の第6の実施の形態の原稿を示す概略
説明図である。
FIG. 21 is a schematic explanatory view showing a document according to a sixth embodiment of the present invention.

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

20…ディジタル複写機 21…共通バス 22…CPU 23…スキャナ 24…プリンタ 25…画像処理装置 26…画像メモリ 27…回転処理部 28…圧縮伸長処理部 30…ハードディスク 31…文字画像判断部 32…文章方向判断部 33…メモリ DESCRIPTION OF SYMBOLS 20 ... Digital copying machine 21 ... Common bus 22 ... CPU 23 ... Scanner 24 ... Printer 25 ... Image processing device 26 ... Image memory 27 ... Rotation processing unit 28 ... Compression / decompression processing unit 30 ... Hard disk 31 ... Character image judgment unit 32 ... Text Direction determination unit 33 ... Memory

フロントページの続き Fターム(参考) 2C087 BB10 BC02 BC05 BC14 BD24 BD40 CA13 2H027 EC19 EE08 FD02 FD08 5C078 CA27 CA31 DA01 DA02 DA21 DB16 9A001 BB03 EE02 HH22 HH24 HH27 HH34 JJ35 KK31 KK42 Continued on front page F-term (reference) 2C087 BB10 BC02 BC05 BC14 BD24 BD40 CA13 2H027 EC19 EE08 FD02 FD08 5C078 CA27 CA31 DA01 DA02 DA21 DB16 9A001 BB03 EE02 HH22 HH24 HH27 HH34 JJ35 KK31 KK42

Claims (22)

【特許請求の範囲】[Claims] 【請求項1】 原稿画像から得られる画像データを入力
する画像入力手段と、この画像入力手段によって入力さ
れた前記画像データから前記原稿画像の効率的な圧縮方
向を検出する方向検出手段と、前記画像データの配列が
前記効率的な圧縮方向と一致するよう前記画像データを
回転処理する回転手段と、この回転手段による回転処理
後の回転データを圧縮処理する圧縮手段と、この圧縮手
段により形成される圧縮データを記憶するデータ記億手
段と、このデータ記憶手段に記憶される前記圧縮データ
を伸長処理すると共に回転処理して前記画像データを復
元する復元手段とを具備することを特徴とする画像処理
装置。
An image input unit for inputting image data obtained from an original image; a direction detecting unit for detecting an efficient compression direction of the original image from the image data input by the image input unit; A rotation unit configured to rotate the image data so that an array of the image data matches the efficient compression direction; a compression unit configured to compress the rotation data after the rotation processing by the rotation unit; and a compression unit formed by the compression unit. Image storing means for storing compressed data stored in the storage means, and decompressing means for decompressing and rotating the compressed data stored in the data storing means to decompress the image data. Processing equipment.
【請求項2】 原稿画像から得られる画像データを入力
する画像入力手段と、この画像入力手段によって入力さ
れた前記画像データから前記原稿画像の効率的な圧縮方
向を検出する方向検出手段と、前記画像データの配列が
前記効率的な圧縮方向と一致するよう前記画像データを
回転処理する回転手段と、この回転手段による回転処理
後の回転データを圧縮処理する圧縮手段と、この圧縮手
段により形成される圧縮データを記憶するデータ記億手
段と、このデータ記憶手段に記憶される前記圧縮データ
を伸長処理すると共に回転処理して前記画像データを復
元する復元手段と、この復元手段により復元される前記
画像データに基づき印刷画像を形成する画像出力手段と
を具備することを特徴とする画像形成装置。
2. An image input means for inputting image data obtained from an original image, a direction detecting means for detecting an efficient compression direction of the original image from the image data input by the image input means, A rotation unit configured to rotate the image data so that an array of the image data matches the efficient compression direction; a compression unit configured to compress the rotation data after the rotation processing by the rotation unit; and a compression unit formed by the compression unit. Data storage means for storing compressed data to be stored, decompression means for decompressing and rotating the compressed data stored in the data storage means to restore the image data, and An image forming apparatus comprising: an image output unit that forms a print image based on image data.
【請求項3】 原稿画像から得られる画像データを入力
する画像入力手段と、この画像入力手段によって入力さ
れた前記画像データを前記原稿画像の任意の領域毎に分
割する画像分割手段と、この画像分割手段により分割さ
れる前記領域毎の分割データの効率的な圧縮方向を検出
する方向検出手段と、前記分割データの配列が前記効率
的な圧縮方向と一致するよう前記分割データを回転処理
する回転手段と、この回転手段による回転処理の分割回
転データを圧縮処理する圧縮手段と、この圧縮手段によ
り形成される分割圧縮データを記憶するデータ記億手段
と、このデータ記憶手段に記憶される前記分割圧縮デー
タを伸長処理すると共に回転処理して前記分割データを
復元する復元手段とを具備することを特徴とする画像処
理装置。
3. Image input means for inputting image data obtained from a document image, image dividing means for dividing the image data input by the image input means into arbitrary regions of the document image, Direction detecting means for detecting an efficient compression direction of the divided data for each of the areas divided by the dividing means; and rotation for rotating the divided data so that the arrangement of the divided data matches the efficient compression direction. Means, compression means for compressing the divided rotation data of the rotation processing by the rotation means, data storage means for storing the divided compressed data formed by the compression means, and the division stored in the data storage means An image processing apparatus comprising: a decompression unit for decompressing and rotating compressed data to decompress the divided data.
【請求項4】 原稿画像から得られる画像データを入力
する画像入力手段と、この画像入力手段によって入力さ
れた前記画像データを前記原稿画像の任意の領域毎に分
割する画像分割手段と、この画像分割手段により分割さ
れる前記領域毎の分割データの効率的な圧縮方向を検出
する方向検出手段と、前記分割データの配列が前記効率
的な圧縮方向と一致するよう前記分割データを回転処理
する回転手段と、この回転手段による回転処理の分割回
転データを圧縮処理する圧縮手段と、この圧縮手段によ
り形成される分割圧縮データを記憶するデータ記億手段
と、このデータ記憶手段に記憶される前記分割圧縮デー
タを伸長処理すると共に回転処理して前記分割データを
復元する復元手段と、この復元手段により復元される前
記分割データを前記画像データに再構成する再構成手段
と、この再構成手段により再構成される前記画像データ
に基づき印刷画像を形成する画像出力手段とを具備する
ことを特徴とする画像形成装置。
4. Image input means for inputting image data obtained from a document image, image dividing means for dividing the image data input by the image input means into arbitrary regions of the document image, Direction detecting means for detecting an efficient compression direction of the divided data for each of the areas divided by the dividing means; and rotation for rotating the divided data so that the arrangement of the divided data matches the efficient compression direction. Means, compression means for compressing the divided rotation data of the rotation processing by the rotation means, data storage means for storing the divided compressed data formed by the compression means, and the division stored in the data storage means Restoring means for decompressing and rotating the compressed data to restore the divided data; and An image forming apparatus comprising: reconstructing means for reconstructing image data; and image output means for forming a print image based on the image data reconstructed by the reconstructing means.
【請求項5】 原稿画像から得られる画像データを入力
する画像入力手段と、この画像入力手段によって入力さ
れた前記画像データが文字データか否かを判別する文字
判断手段と、前記文字データの文章方向を判断する文章
方向判断手段と、前記文字データの配列が前記文章方向
と一致するよう前記画像データを回転処理する回転手段
と、この回転手段による回転処理後の回転データを圧縮
処理する圧縮手段と、この圧縮手段により形成される圧
縮データを記憶するデータ記億手段と、このデータ記憶
手段に記憶される前記圧縮データを伸長処理すると共に
回転処理して前記画像データを復元する復元手段とを具
備することを特徴とする画像処理装置。
5. Image input means for inputting image data obtained from a document image, character determination means for determining whether the image data input by the image input means is character data, and text of the character data Text direction determining means for determining a direction, rotating means for rotating the image data so that the arrangement of the character data matches the text direction, and compressing means for compressing the rotated data after the rotating processing by the rotating means. Data storage means for storing compressed data formed by the compression means; and decompression means for decompressing and rotating the compressed data stored in the data storage means to restore the image data. An image processing apparatus comprising:
【請求項6】 原稿画像から得られる画像データを入力
する画像入力手段と、この画像入力手段によって入力さ
れた前記画像データが文字データか否かを判別する文字
判断手段と、前記文字データの文章方向を判断する文章
方向判断手段と、前記文字データの配列が前記文章方向
と一致するよう前記画像データを回転処理する回転手段
と、この回転手段による回転処理後の回転データを圧縮
処理する圧縮手段と、この圧縮手段により形成される圧
縮データを記憶するデータ記億手段と、このデータ記憶
手段に記憶される前記圧縮データを伸長処理すると共に
回転処理して前記画像データを復元する復元手段と、こ
の復元手段により復元される前記画像データに基づき印
刷画像を形成する画像出力手段とを具備することを特徴
とする画像形成装置。
6. Image input means for inputting image data obtained from a document image, character determination means for determining whether the image data input by the image input means is character data, and text of the character data Text direction determining means for determining a direction, rotating means for rotating the image data so that the arrangement of the character data matches the text direction, and compressing means for compressing the rotated data after the rotating processing by the rotating means. Data storage means for storing compressed data formed by the compression means; decompression means for decompressing and rotating the compressed data stored in the data storage means to restore the image data; An image output unit for forming a print image based on the image data restored by the restoration unit. .
【請求項7】 原稿画像から得られる画像データを入力
する画像入力手段と、この画像入力手段によって入力さ
れた前記画像データを前記原稿画像の任意の領域毎に定
型分割する画像分割手段と、この画像分割手段により分
割される前記領域毎の分割データが分割文字データか否
かを判別する文字判断手段と、前記分割文字データの文
章方向を判断する文章方向判断手段と、前記分割文字デ
ータの配列が前記文章方向と一致するよう前記分割デー
タを回転処理する回転手段と、この回転手段による回転
処理後の分割回転データを圧縮処理する圧縮手段と、こ
の圧縮手段により形成される分割圧縮データを記憶する
データ記億手段と、このデータ記憶手段に記憶される前
記分割圧縮データを伸長処理すると共に回転処理して前
記分割データを復元する復元手段とを具備することを特
徴とする画像処理装置。
7. Image input means for inputting image data obtained from a document image, image dividing means for dividing the image data input by the image input means into fixed regions for each area of the document image, Character determining means for determining whether or not the divided data for each area divided by the image dividing means is divided character data; text direction determining means for determining the text direction of the divided character data; and an array of the divided character data Means for rotating the divided data so as to match the sentence direction, compression means for compressing the divided rotation data after the rotation processing by the rotating means, and storing the divided compressed data formed by the compression means. Data storage means for performing expansion processing and rotation processing on the divided compressed data stored in the data storage means to restore the divided data. An image processing apparatus comprising:
【請求項8】 原稿画像から得られる画像データを入力
する画像入力手段と、前記画像入力手段によって入力さ
れた前記画像データを前記原稿画像の任意の領域毎に定
型分割する画像分割手段と、この画像分割手段により分
割される前記領域毎の分割データが分割文字データか否
かを判別する文字判断手段と、前記分割文字データの文
章方向を判断する文章方向判断手段と、前記分割文字デ
ータの配列が前記文章方向と一致するよう前記分割デー
タを回転処理する回転手段と、この回転手段による回転
処理後の分割回転データを圧縮処理する圧縮手段と、こ
の圧縮手段により形成される分割圧縮データを記憶する
データ記億手段と、このデータ記憶手段に記憶される前
記分割圧縮データを伸長処理すると共に回転処理して前
記分割データを復元する復元手段と、この復元手段によ
り復元される前記分割データを前記画像データに再構成
する再構成手段と、この再構成手段により再構成される
前記画像データに基づき印刷画像を形成する画像出力手
段とを具備することを特徴とする画像形成装置。
8. An image inputting means for inputting image data obtained from a document image, an image dividing means for dividing the image data inputted by the image inputting means into fixed regions for each area of the document image, Character determining means for determining whether or not the divided data for each area divided by the image dividing means is divided character data; text direction determining means for determining the text direction of the divided character data; and an array of the divided character data Means for rotating the divided data so as to match the sentence direction, compression means for compressing the divided rotation data after the rotation processing by the rotating means, and storing the divided compressed data formed by the compression means. Data storage means for performing expansion processing and rotation processing on the divided compressed data stored in the data storage means to restore the divided data. Restoring means, reconstructing means for reconstructing the divided data restored by the restoring means into the image data, and image output means for forming a print image based on the image data reconstructed by the reconstructing means An image forming apparatus comprising:
【請求項9】 原稿画像から得られる画像データを入力
する画像入力手段と、この画像入力手段によって入力さ
れた前記画像データから文字画像領域を抽出する文字領
域抽出手段と、この文字領域抽出手段により抽出された
前記文字画像領域を区分する画像分割手段と、この画像
分割手段により分割される前記文字画像領域の分割文字
データの文章方向を判断する文章方向判断手段と、前記
分割文字データの配列が前記文章方向と一致するよう前
記分割データを回転処理する回転手段と、この回転手段
による回転処理後の分割回転文字データを圧縮処理する
圧縮手段と、この圧縮手段により形成される分割圧縮デ
ータを記憶するデータ記億手段と、このデータ記憶手段
に記憶される前記分割圧縮データを伸長処理すると共に
回転処理して前記分割文字データを復元する復元手段と
を具備することを特徴とする画像処理装置。
9. An image input means for inputting image data obtained from a document image, a character area extracting means for extracting a character image area from the image data input by the image input means, and a character area extracting means. An image dividing unit for dividing the extracted character image region; a text direction determining unit for determining a text direction of the divided character data of the character image region divided by the image dividing device; and an array of the divided character data. A rotating means for rotating the divided data so as to match the sentence direction; a compressing means for compressing the divided rotated character data after the rotating processing by the rotating means; and storing the divided compressed data formed by the compressing means. Data storage means for expanding and compressing the divided compressed data stored in the data storage means and rotating the divided compressed data. An image processing apparatus, comprising: restoring means for restoring split character data.
【請求項10】 原稿画像から得られる画像データを入
力する画像入力手段と、この画像入力手段によって入力
された前記画像データから文字画像領域を抽出する文字
領域抽出手段と、この文字領域抽出手段により抽出され
た前記文字画像領域を区分する画像分割手段と、この画
像分割手段により分割される前記文字画像領域の分割文
字データの文章方向を判断する文章方向判断手段と、前
記分割文字データの配列が前記文章方向と一致するよう
前記分割データを回転処理する回転手段と、この回転手
段による回転処理後の分割回転文字データを圧縮処理す
る圧縮手段と、この圧縮手段により形成される分割圧縮
データを記憶するデータ記億手段と、このデータ記憶手
段に記憶される前記分割圧縮データを伸長処理すると共
に回転処理して前記分割文字データを復元する復元手段
と、この復元手段により復元される前記分割文字データ
を前記画像データの前記文字画像領域に戻して前記画像
データを再構成する再構成手段と、この再構成手段によ
り再構成される前記画像データに基づき印刷画像を形成
する画像出力手段とを具備することを特徴とする画像形
成装置。
10. An image input means for inputting image data obtained from a document image, a character area extracting means for extracting a character image area from the image data input by the image input means, and a character area extracting means. An image dividing unit for dividing the extracted character image region; a text direction determining unit for determining a text direction of the divided character data of the character image region divided by the image dividing device; and an array of the divided character data. A rotating means for rotating the divided data so as to match the sentence direction; a compressing means for compressing the divided rotated character data after the rotating processing by the rotating means; and storing the divided compressed data formed by the compressing means. Data storage means for performing expansion processing and rotation processing on the divided compressed data stored in the data storage means, Restoring means for restoring the divided character data, reconstructing means for returning the divided character data restored by the restoring means to the character image area of the image data to reconstruct the image data, An image output unit configured to form a print image based on the reconstructed image data.
【請求項11】 原稿画像から得られる画像データを入
力する画像入力手段と、 この画像入力手段によって入力された前記画像データか
ら前記原稿画像を複数方向に走査する事により得られる
複数の走査データを抽出する走査データ抽出手段と、 この走査データ抽出手段によって得られる前記複数の走
査データ毎に、前記走査方向に沿ったラインにおけるデ
ータ度数を抽出し、この抽出された前記データ度数が所
定の上閾値以上である上ライン数及び前記データ度数が
所定の下閾値以下である下ライン数を合計し、この合計
された合計ライン数が最大となる所定のライン方向を判
断する平坦ライン方向判別手段と、 前記画像データの配列が前記平坦ライン方向判別手段に
より判断された前記所定のライン方向と一致するよう前
記画像データを回転処理する回転手段と、この回転手段
による回転処理後の回転データを圧縮処理する圧縮手段
と、この圧縮手段により形成される圧縮データを記憶す
るデータ記億手段と、このデータ記憶手段に記憶される
前記圧縮データを伸長処理すると共に回転処理して前記
画像データを復元する復元手段とを具備することを特徴
とする画像処理装置。
11. An image input means for inputting image data obtained from a document image, and a plurality of scan data obtained by scanning the document image in a plurality of directions from the image data input by the image input means. Scanning data extracting means for extracting, and for each of the plurality of scanning data obtained by the scanning data extracting means, extracting a data frequency in a line along the scanning direction, wherein the extracted data frequency is a predetermined upper threshold. Flat line direction discriminating means for summing the number of upper lines and the number of lower lines for which the data frequency is equal to or less than a predetermined lower threshold, and judging a predetermined line direction in which the total number of total lines is maximized, The image data is arranged such that the arrangement of the image data matches the predetermined line direction determined by the flat line direction determination unit. Rotation means for performing rotation processing, compression means for compressing rotation data after rotation processing by the rotation means, data storage means for storing compressed data formed by the compression means, and data stored in the data storage means A decompression unit for decompressing and rotating the compressed data to decompress the image data.
【請求項12】 データ度数を、走査方向に沿った全ラ
インの中から所定間隔でサンプリングしてなるサンプリ
ングラインについて抽出する事を特徴とする請求項11
に記載の画像処理装置。
12. The method according to claim 11, wherein the data frequency is extracted from sampling lines formed by sampling at predetermined intervals from all the lines along the scanning direction.
An image processing apparatus according to claim 1.
【請求項13】 原稿画像から得られる画像データを入
力する画像入力手段と、 この画像入力手段によって入力された前記画像データか
ら前記原稿画像を複数方向に走査する事により得られる
複数の走査データを抽出する走査データ抽出手段と、 この走査データ抽出手段によって得られる前記複数の走
査データ毎に、前記走査方向に沿ったラインにおけるデ
ータ度数を抽出し、この抽出された前記データ度数が所
定の上閾値以上である上ライン数及び前記データ度数が
所定の下閾値以下である下ライン数を合計し、この合計
された合計ライン数が最大となる所定のライン方向を判
断する平坦ライン方向判別手段と、 前記画像データの配列が前記平坦ライン方向判別手段に
より判断された前記所定のライン方向と一致するよう前
記画像データを回転処理する回転手段と、この回転手段
による回転処理後の回転データを圧縮処理する圧縮手段
と、この圧縮手段により形成される圧縮データを記憶す
るデータ記億手段と、このデータ記憶手段に記憶される
前記圧縮データを伸長処理すると共に回転処理して前記
画像データを復元する復元手段と、この復元手段により
復元される前記画像データに基づき印刷画像を形成する
画像出力手段とを具備することを特徴とする画像形成装
置。
13. An image input means for inputting image data obtained from a document image, and a plurality of scan data obtained by scanning the document image in a plurality of directions from the image data input by the image input means. Scanning data extracting means for extracting, and for each of the plurality of scanning data obtained by the scanning data extracting means, extracting a data frequency in a line along the scanning direction, wherein the extracted data frequency is a predetermined upper threshold. Flat line direction discriminating means for summing the number of upper lines and the number of lower lines for which the data frequency is equal to or less than a predetermined lower threshold, and judging a predetermined line direction in which the total number of total lines is maximized, The image data is arranged such that the arrangement of the image data matches the predetermined line direction determined by the flat line direction determination unit. Rotation means for performing rotation processing, compression means for compressing rotation data after rotation processing by the rotation means, data storage means for storing compressed data formed by the compression means, and data stored in the data storage means Restoration means for restoring the image data by expanding and rotating the compressed data, and image output means for forming a print image based on the image data restored by the restoration means. Image forming apparatus.
【請求項14】 データ度数を、走査方向に沿った全ラ
インの中から所定間隔でサンプリングしてなるサンプリ
ングラインについて抽出する事を特徴とする請求項14
に記載の画像形成装置。
14. The data frequency is extracted from sampling lines formed by sampling at predetermined intervals from all lines along the scanning direction.
An image forming apparatus according to claim 1.
【請求項15】 原稿画像から得られる画像データを入
力する画像入力手段と、 この画像入力手段によって入力された前記画像データを
前記原稿画像の任意の領域毎に分割する画像分割手段
と、 この画像分割手段により分割される前記領域毎の分割デ
ータから前記原稿画像の任意の領域を複数方向に走査す
る事により得られる複数の分割走査データを抽出する走
査データ抽出手段と、 この走査データ抽出手段によって得られる前記複数の分
割走査データ毎に、前記走査方向に沿った分割ラインに
おける分割データ度数を抽出し、この抽出された前記分
割データ度数が所定の上閾値以上である分割上ライン数
及び前記分割データ度数が所定の下閾値以下である分割
下ライン数を合計し、この合計された分割合計ライン数
が最大となる所定の分割ライン方向を判断する平坦ライ
ン方向判別手段と、 前記分割データの配列が前記平坦ライン方向判別手段に
より判断された前記所定の分割ライン方向と一致するよ
う前記分割データを回転処理する回転手段と、この回転
手段による回転処理後の分割回転データを圧縮処理する
圧縮手段と、この圧縮手段により形成される分割圧縮デ
ータを記憶するデータ記億手段と、このデータ記憶手段
に記憶される前記分割圧縮データを伸長処理すると共に
回転処理して前記分割データを復元する復元手段とを具
備することを特徴とする画像処理装置。
15. An image input means for inputting image data obtained from a document image, an image dividing means for dividing the image data input by the image input means into arbitrary regions of the document image, Scanning data extracting means for extracting a plurality of divided scan data obtained by scanning an arbitrary area of the document image in a plurality of directions from the divided data for each area divided by the dividing means; For each of the plurality of obtained divided scan data, a divided data frequency in a divided line along the scanning direction is extracted, and the extracted divided data frequency is equal to or greater than a predetermined upper threshold, and The number of divided lower lines whose data frequency is equal to or less than a predetermined lower threshold value is summed up, and a predetermined divided line in which the total number of divided lines becomes the maximum is obtained. Flat line direction determining means for determining a line direction; rotating means for rotating the divided data so that the arrangement of the divided data matches the predetermined divided line direction determined by the flat line direction determining means; Compression means for compressing the divided rotation data after the rotation processing by the rotation means, data storage means for storing the divided compression data formed by the compression means, and the divided compression data stored in the data storage means An image processing apparatus comprising: a decompression unit that performs decompression processing and rotation processing to recover the divided data.
【請求項16】 分割データ度数を、走査方向に沿った
全分割ラインの中から所定間隔でサンプリングしてなる
サンプリング分割ラインについて抽出する事を特徴とす
る請求項15に記載の画像処理装置。
16. The image processing apparatus according to claim 15, wherein the division data frequency is extracted for sampling division lines obtained by sampling at predetermined intervals from all division lines along the scanning direction.
【請求項17】 原稿画像から得られる画像データを入
力する画像入力手段と、 この画像入力手段によって入力された前記画像データを
前記原稿画像の任意の領域毎に分割する画像分割手段
と、 この画像分割手段により分割される前記領域毎の分割デ
ータから前記原稿画像の任意の領域を複数方向に走査す
る事により得られる複数の分割走査データを抽出する走
査データ抽出手段と、 この走査データ抽出手段によって得られる前記複数の分
割走査データ毎に、前記走査方向に沿った分割ラインに
おける分割データ度数を抽出し、この抽出された前記分
割データ度数が所定の上閾値以上である分割上ライン数
及び前記分割データ度数が所定の下閾値以下である分割
下ライン数を合計し、この合計された分割合計ライン数
が最大となる所定の分割ライン方向を判断する平坦ライ
ン方向判別手段と、 前記分割データの配列が前記平坦ライン方向判別手段に
より判断された前記所定の分割ライン方向と一致するよ
う前記分割データを回転処理する回転手段と、この回転
手段による回転処理後の分割回転データを圧縮処理する
圧縮手段と、この圧縮手段により形成される分割圧縮デ
ータを記憶するデータ記億手段と、このデータ記憶手段
に記憶される前記分割圧縮データを伸長処理すると共に
回転処理して前記分割データを復元する復元手段と、こ
の復元手段により復元される前記分割データを前記画像
データに再構成する再構成手段と、この再構成手段によ
り再構成される前記画像データに基づき印刷画像を形成
する画像出力手段とを具備することを特徴とする画像形
成装置。
17. An image input means for inputting image data obtained from a document image, an image dividing means for dividing the image data input by the image input means into arbitrary regions of the document image, Scanning data extracting means for extracting a plurality of divided scan data obtained by scanning an arbitrary area of the document image in a plurality of directions from the divided data for each area divided by the dividing means; For each of the plurality of obtained divided scan data, a divided data frequency in a divided line along the scanning direction is extracted, and the extracted divided data frequency is equal to or greater than a predetermined upper threshold, and The number of divided lower lines whose data frequency is equal to or less than a predetermined lower threshold value is summed up, and a predetermined divided line in which the total number of divided lines becomes the maximum is obtained. Flat line direction determining means for determining a line direction; rotating means for rotating the divided data so that the arrangement of the divided data matches the predetermined divided line direction determined by the flat line direction determining means; Compression means for compressing the divided rotation data after the rotation processing by the rotation means, data storage means for storing the divided compression data formed by the compression means, and the divided compression data stored in the data storage means Restoring means for performing decompression processing and rotation processing to restore the divided data, reconstructing means for reconstructing the divided data restored by the restoring means into the image data, and reconstructing by the reconstructing means An image forming apparatus comprising: an image output unit that forms a print image based on the image data.
【請求項18】 分割データ度数を、走査方向に沿った
全分割ラインの中から所定間隔でサンプリングしてなる
サンプリング分割ラインについて抽出する事を特徴とす
る請求項17に記載の画像形成装置。
18. The image forming apparatus according to claim 17, wherein the division data frequency is extracted from sampling division lines obtained by sampling at predetermined intervals from all division lines along the scanning direction.
【請求項19】 原稿画像から得られる画像データを入
力する画像入力手段と、 この画像入力手段によって入力された前記画像データか
ら前記原稿画像を複数方向に走査する事により得られる
複数の走査データを抽出する走査データ抽出手段と、 この走査データ抽出手段によって得られる前記複数の走
査データ毎に、前記走査方向に沿ったラインにおける隣
接画素との非連続数を合計し、この合計された合計非連
続数が最小となる所定のライン方向を判断する平坦ライ
ン方向判別手段と、 前記画像データの配列が前記平坦ライン方向判別手段に
より判断された前記所定のライン方向と一致するよう前
記画像データを回転処理する回転手段と、この回転手段
による回転処理後の回転データを圧縮処理する圧縮手段
と、この圧縮手段により形成される圧縮データを記憶す
るデータ記億手段と、このデータ記憶手段に記憶される
前記圧縮データを伸長処理すると共に回転処理して前記
画像データを復元する復元手段とを具備することを特徴
とする画像処理装置。
19. An image input means for inputting image data obtained from a document image, and a plurality of scan data obtained by scanning the document image in a plurality of directions from the image data input by the image input means. Scanning data extracting means to be extracted, and for each of the plurality of scanning data obtained by the scanning data extracting means, the number of discontinuities with adjacent pixels in a line along the scanning direction is summed, Flat line direction discriminating means for judging a predetermined line direction that minimizes the number; rotating processing of the image data so that the arrangement of the image data matches the predetermined line direction judged by the flat line direction judging means Rotating means for performing rotation processing, compression means for compressing rotation data after rotation processing by the rotating means, and compression means formed by the compression means. Image storage means for storing compressed data to be stored, and decompression means for decompressing and rotating the compressed data stored in the data storage means to decompress the image data. Processing equipment.
【請求項20】 原稿画像から得られる画像データを入
力する画像入力手段と、 この画像入力手段によって入力された前記画像データか
ら前記原稿画像を複数方向に走査する事により得られる
複数の走査データを抽出する走査データ抽出手段と、 この走査データ抽出手段によって得られる前記複数の走
査データ毎に、前記走査方向に沿ったラインにおける隣
接画素との非連続値を合計し、この合計された合計非連
続値が最小となる所定のライン方向を判断する平坦ライ
ン方向判別手段と、 前記画像データの配列が前記平坦ライン方向判別手段に
より判断された前記所定のライン方向と一致するよう前
記画像データを回転処理する回転手段と、この回転手段
による回転処理後の回転データを圧縮処理する圧縮手段
と、この圧縮手段により形成される圧縮データを記憶す
るデータ記億手段と、このデータ記憶手段に記憶される
前記圧縮データを伸長処理すると共に回転処理して前記
画像データを復元する復元手段と、この復元手段により
復元される前記画像データに基づき印刷画像を形成する
画像出力手段とを具備することを特徴とする画像形成装
置。
20. Image input means for inputting image data obtained from a document image, and a plurality of scan data obtained by scanning the document image in a plurality of directions from the image data input by the image input means. Scanning data extraction means to be extracted; and for each of the plurality of scanning data obtained by the scanning data extraction means, a sum of discontinuous values of adjacent pixels in a line along the scanning direction, Flat line direction determining means for determining a predetermined line direction having a minimum value; and rotating the image data so that the arrangement of the image data matches the predetermined line direction determined by the flat line direction determining means. Rotating means for performing rotation processing, compression means for compressing rotation data after rotation processing by the rotating means, and compression means formed by the compression means. Data storage means for storing compressed data to be restored, decompression means for decompressing and rotating the compressed data stored in the data storage means to restore the image data, and An image forming apparatus comprising: an image output unit that forms a print image based on image data.
【請求項21】 原稿画像から得られる画像データを入
力する画像入力手段と、 この画像入力手段によって入力された前記画像データを
前記原稿画像の任意の領域毎に分割する画像分割手段
と、 この画像分割手段により分割される前記領域毎の分割デ
ータから前記原稿画像の任意の領域を複数方向に走査す
る事により得られる複数の分割走査データを抽出する走
査データ抽出手段と、 この走査データ抽出手段によって得られる前記複数の分
割走査データ毎に、前記走査方向に沿った分割ラインに
おける隣接画素との分割非連続数を合計し、この合計さ
れた分割合計非連続数が最小となる所定の分割ライン方
向を判断する平坦ライン方向判別手段と、 前記分割データの配列が前記平坦ライン方向判別手段に
より判断された前記所定の分割ライン方向と一致するよ
う前記分割データを回転処理する回転手段と、この回転
手段による回転処理後の分割回転データを圧縮処理する
圧縮手段と、この圧縮手段により形成される分割圧縮デ
ータを記憶するデータ記億手段と、このデータ記憶手段
に記憶される前記分割圧縮データを伸長処理すると共に
回転処理して前記分割データを復元する復元手段とを具
備することを特徴とする画像処理装置。
21. Image input means for inputting image data obtained from a document image; image dividing means for dividing the image data input by the image input means into arbitrary regions of the document image; Scanning data extracting means for extracting a plurality of divided scan data obtained by scanning an arbitrary area of the document image in a plurality of directions from the divided data for each area divided by the dividing means; For each of the plurality of obtained divided scan data, the number of division discontinuities with adjacent pixels in the division line along the scanning direction is summed, and a predetermined division line direction in which the sum of the division total discontinuity is minimized Flat line direction determining means for determining whether the predetermined divided line is determined by the flat line direction determining means. Rotation means for rotating the divided data so as to match the direction, compression means for compressing the divided rotation data after the rotation processing by the rotation means, and data storage for storing the divided compressed data formed by the compression means. An image processing apparatus comprising: a memory means; and a decompression means for decompressing and rotating the divided compressed data stored in the data storage means to decompress the divided data.
【請求項22】 原稿画像から得られる画像データを入
力する画像入力手段と、 この画像入力手段によって入力された前記画像データを
前記原稿画像の任意の領域毎に分割する画像分割手段
と、 この画像分割手段により分割される前記領域毎の分割デ
ータから前記原稿画像の任意の領域を複数方向に走査す
る事により得られる複数の分割走査データを抽出する走
査データ抽出手段と、 この走査データ抽出手段によって得られる前記複数の分
割走査データ毎に、前記走査方向に沿った分割ラインに
おける隣接画素との分割非連続数を合計し、この合計さ
れた分割合計非連続数が最小となる所定の分割ライン方
向を判断する平坦ライン方向判別手段と、 前記分割データの配列が前記平坦ライン方向判別手段に
より判断された前記所定の分割ライン方向と一致するよ
う前記分割データを回転処理する回転手段と、この回転
手段による回転処理後の分割回転データを圧縮処理する
圧縮手段と、この圧縮手段により形成される分割圧縮デ
ータを記憶するデータ記億手段と、このデータ記憶手段
に記憶される前記分割圧縮データを伸長処理すると共に
回転処理して前記分割データを復元する復元手段と、こ
の復元手段により復元される前記分割データを前記画像
データに再構成する再構成手段と、この再構成手段によ
り再構成される前記画像データに基づき印刷画像を形成
する画像出力手段とを具備することを特徴とする画像形
成装置。
22. Image input means for inputting image data obtained from a document image; image dividing means for dividing the image data input by the image input means into arbitrary regions of the document image; Scanning data extracting means for extracting a plurality of divided scan data obtained by scanning an arbitrary area of the document image in a plurality of directions from the divided data for each area divided by the dividing means; For each of the plurality of obtained divided scan data, the number of division discontinuities with adjacent pixels in the division line along the scanning direction is summed, and a predetermined division line direction in which the sum of the division total discontinuity is minimized Flat line direction determining means for determining whether the predetermined divided line is determined by the flat line direction determining means. Rotation means for rotating the divided data so as to match the direction, compression means for compressing the divided rotation data after the rotation processing by the rotation means, and data storage for storing the divided compressed data formed by the compression means. Means for decompressing and compressing the divided compressed data stored in the data storage means to restore the divided data, and the divided data restored by the restoration means to the image data. An image forming apparatus comprising: reconstructing means for reconstructing; and image output means for forming a print image based on the image data reconstructed by the reconstructing means.
JP09746699A 1999-04-05 1999-04-05 Image processing apparatus and image forming apparatus Expired - Fee Related JP3850006B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP09746699A JP3850006B2 (en) 1999-04-05 1999-04-05 Image processing apparatus and image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP09746699A JP3850006B2 (en) 1999-04-05 1999-04-05 Image processing apparatus and image forming apparatus

Publications (2)

Publication Number Publication Date
JP2000295480A true JP2000295480A (en) 2000-10-20
JP3850006B2 JP3850006B2 (en) 2006-11-29

Family

ID=14193089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP09746699A Expired - Fee Related JP3850006B2 (en) 1999-04-05 1999-04-05 Image processing apparatus and image forming apparatus

Country Status (1)

Country Link
JP (1) JP3850006B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008092089A (en) * 2006-09-29 2008-04-17 Sharp Corp Image coder, image decoder, cellular telephone, image coding method, image decoding method, image coding program and image decoding program
US7406768B2 (en) 2003-04-23 2008-08-05 Jtekt Corporation One-way clutch integrated with a rolling bearing, and method of producing the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7406768B2 (en) 2003-04-23 2008-08-05 Jtekt Corporation One-way clutch integrated with a rolling bearing, and method of producing the same
JP2008092089A (en) * 2006-09-29 2008-04-17 Sharp Corp Image coder, image decoder, cellular telephone, image coding method, image decoding method, image coding program and image decoding program

Also Published As

Publication number Publication date
JP3850006B2 (en) 2006-11-29

Similar Documents

Publication Publication Date Title
EP0411231B1 (en) Method for digitizing information written into forms by means of very large symbol matching
US5715070A (en) Freely configurable image processing apparatus
JP2000101851A (en) Image processor
US7133559B2 (en) Image processing device, image processing method, image processing program, and computer readable recording medium on which image processing program is recorded
US20050047660A1 (en) Image processing apparatus, image processing method, program, and storage medium
US8218911B2 (en) Image processing apparatus and image processing method
JPH0879536A (en) Picture processing method
JP3915652B2 (en) Image processing device
JP3062382B2 (en) Image processing apparatus and method
US6341178B1 (en) Method and apparatus for lossless precompression of binary images
JPH1070654A (en) Image processor
JP2000295480A (en) Image processing unit and image forming device
JP2004104435A (en) Picture reading method, picture reader and network system
JP4001446B2 (en) Method, apparatus and computer-readable recording medium for specifying image background color
US6728426B1 (en) Compression of form images in gray-level
JP3997696B2 (en) Apparatus, method and recording medium for image processing
JP3866568B2 (en) Image compression method
CN113365071B (en) Image layered compression method and image layered compression device
JP4035696B2 (en) Line segment detection apparatus and image processing apparatus
TWI657410B (en) Method and image processing system of image angle detection
JP3756318B2 (en) Image processing device
JP2000011088A (en) Method for exracting feature information of read image, image processor and mail address reader
JP3774490B2 (en) Image processing apparatus and image processing method
JP4027016B2 (en) Image processing apparatus, image processing method, and storage medium
JPH11313182A (en) Image forming device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060210

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20060213

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060222

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20060213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060516

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060714

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060822

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060828

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees