JP3249644B2 - Image processing method - Google Patents

Image processing method

Info

Publication number
JP3249644B2
JP3249644B2 JP16737593A JP16737593A JP3249644B2 JP 3249644 B2 JP3249644 B2 JP 3249644B2 JP 16737593 A JP16737593 A JP 16737593A JP 16737593 A JP16737593 A JP 16737593A JP 3249644 B2 JP3249644 B2 JP 3249644B2
Authority
JP
Japan
Prior art keywords
image data
image
page
valued
binary
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.)
Expired - Fee Related
Application number
JP16737593A
Other languages
Japanese (ja)
Other versions
JPH0774965A (en
Inventor
泰之 野水
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP16737593A priority Critical patent/JP3249644B2/en
Publication of JPH0774965A publication Critical patent/JPH0774965A/en
Application granted granted Critical
Publication of JP3249644B2 publication Critical patent/JP3249644B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Image Processing (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、多値画像データと二値
画像データを1ページ内に混在した画像ファイルのデー
タを符号化圧縮する画像処理方法およびスキャナを用い
て多値読み取りして得た多値画像データをページ単位に
符号化圧縮する画像処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method for encoding and compressing image file data in which multi-valued image data and binary image data are mixed in one page, and a multi-valued read-out using a scanner. The present invention relates to an image processing method for encoding and compressing multi-valued image data in page units.

【0002】[0002]

【従来の技術】一般に、画像データを符号化圧縮すると
きには、元の画像の内容にかかわらず、処理対象となる
画像の種類によって、多値画像圧縮符号化変換、また
は、二値画像圧縮符号化変換している。ここで、多値画
像符号化方式としては、例えば、JPEG方式のものが
あり、また、二値画像圧縮符号化方式としては、例え
ば、JBIG方式、MMR方式、MR方式、および、M
H方式などがある。
2. Description of the Related Art Generally, when image data is encoded and compressed, multi-value image compression encoding conversion or binary image compression encoding is performed depending on the type of image to be processed, regardless of the contents of the original image. Converting. Here, as the multi-valued image coding method, there is, for example, the JPEG method, and as the binary image compression coding method, for example, the JBIG method, the MMR method, the MR method, and the M
H method and the like.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、このよ
うな従来装置では、次のような不都合を生じていた。
However, such a conventional apparatus has the following disadvantages.

【0004】すなわち、画像の内容にかかわらず1ペー
ジ分の画像に対して多値画像圧縮符号化変換または二値
画像圧縮変換を適用すると、符号化効率が悪くなるとい
う不都合を生じることがある。
[0004] That is, if multi-valued image compression coding conversion or binary image compression conversion is applied to an image of one page regardless of the content of the image, there may be a problem that the coding efficiency is deteriorated.

【0005】本発明は、かかる実情に鑑みてなされたも
のであり、多値画像と二値画像が混在する画像ファイル
を効率よく符号化圧縮できる画像処理方法を提供するこ
とを目的としている。
The present invention has been made in view of such circumstances, and has as its object to provide an image processing method capable of efficiently encoding and compressing an image file in which a multi-valued image and a binary image are mixed.

【0006】[0006]

【課題を解決するための手段】本発明は、多値画像デー
タと二値画像データを1ページ内に混在した画像ファイ
ルのデータを符号化圧縮する画像処理方法において、処
理対象のページに含まれる多値画像データの割合が所定
値以上になっているときには、処理対象のページに含ま
れる二値画像データを多値画像データに変換するととも
に、1ページ分の画像データを多値画像圧縮符号化変換
し、処理対象のページに含まれる多値画像データの割合
が上記所定値に満たないときには、処理対象のページに
含まれる多値画像データを二値画像データに変換すると
ともに、1ページ分の画像データを二値画像圧縮符号化
変換するようにしたものである。
According to the present invention, there is provided an image processing method for encoding and compressing data of an image file in which multi-valued image data and binary image data are mixed in one page. When the ratio of the multi-valued image data is equal to or more than a predetermined value, the binary image data included in the processing target page is converted into the multi-valued image data, and the image data for one page is subjected to the multi-valued image compression coding. When the ratio of the multi-valued image data included in the page to be processed is less than the predetermined value, the multi-valued image data included in the page to be processed is converted into the binary image data, and the data for one page is converted. The image data is subjected to binary image compression coding conversion.

【0007】また、スキャナを用いて多値読み取りして
得た多値画像データをページ単位に符号化圧縮する画像
処理方法において、処理対象のページに含まれる多値画
像データが文字領域に属するか、または、非文字領域に
属するかを画素単位に判定し、文字領域として判定され
た画素の割合が所定値以上になっているときには、処理
対象のページの多値画像データを二値画像データに変換
するとともに、1ページ分の二値画像データを二値画像
圧縮符号化変換し、上記文字領域として判定された画素
の割合が上記所定値に満たないときには、処理対象のペ
ージに含まれる多値画像データを多値画像圧縮符号化変
換するようにしたものである。
In an image processing method for encoding and compressing multi-valued image data obtained by multi-value reading using a scanner in page units, it is determined whether the multi-valued image data included in the page to be processed belongs to a character area. Or, it is determined on a pixel-by-pixel basis whether the pixel belongs to a non-character area. In addition to the conversion, the binary image data for one page is subjected to the binary image compression coding conversion. When the ratio of the pixels determined as the character area is less than the predetermined value, the multi-valued data included in the page to be processed is processed. The image data is subjected to multi-value image compression coding conversion.

【0008】また、スキャナを用いて多値読み取りして
得た多値画像データをページ単位に符号化圧縮する画像
処理方法において、処理対象のページに含まれる多値画
像データが文字領域に属するか、または、非文字領域に
属するかを画素単位に判定し、文字領域として判定され
た画素の割合が所定値以上になっているときには、処理
対象のページの文字領域として判定された領域の画素に
ついては、多値画像データを二値画像データに変換し、
処理対象のページの非文字領域として判定された領域の
画素については多値画像データを擬似中間調二値化処理
して二値画像データに変換し、その変換後の1ページ分
の二値画像データを二値画像圧縮符号化変換し、上記文
字領域として判定された画素の割合が上記所定値に満た
ないときには、処理対象のページに含まれる多値画像デ
ータを多値画像圧縮符号化変換するようにしたものであ
る。
In an image processing method for encoding and compressing multi-valued image data obtained by multi-value reading using a scanner in page units, it is determined whether the multi-valued image data included in the page to be processed belongs to a character area. Or, it is determined whether a pixel belongs to a non-character area on a pixel-by-pixel basis. Converts multi-valued image data into binary image data,
For pixels in an area determined as a non-character area of a page to be processed, multi-valued image data is converted into binary image data by performing pseudo halftone binarization processing, and the converted binary image of one page The data is subjected to binary image compression encoding conversion, and when the ratio of pixels determined as the character area is less than the predetermined value, the multivalued image data included in the processing target page is subjected to multilevel image compression encoding conversion. It is like that.

【0009】[0009]

【作用】したがって、多値画像または二値画像のうち、
割合の大きい画像内容を適切に符号圧縮することができ
るので、符号化圧縮効率を向上することができる。
Therefore, of the multi-valued image or the binary image,
Since the image content having a large ratio can be appropriately code-compressed, the coding compression efficiency can be improved.

【0010】[0010]

【実施例】以下、添付図面を参照しながら、本発明の実
施例を詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

【0011】図1は、本発明の一実施例にかかるデータ
処理装置を示している。
FIG. 1 shows a data processing apparatus according to an embodiment of the present invention.

【0012】同図において、CPU(中央処理装置)1
は、このデータ処理装置の各部の動作制御処理や画像編
集処理などの各種の処理を実行するためのものであり、
ROM(リード・オンリ・メモリ)2は、CPU1が実
行する処理で参照する各種データなどを記憶するための
ものであり、RAM(ランダム・アクセス・メモリ)3
は、CPU1の主記憶やワークエリアなどを構成するた
めのものであり、時計装置4は、現在時刻情報などを出
力するためのものである。
In FIG. 1, a CPU (central processing unit) 1
Is for executing various processing such as operation control processing and image editing processing of each part of the data processing apparatus,
The ROM (read only memory) 2 is for storing various data and the like referred to in the processing executed by the CPU 1, and is a RAM (random access memory) 3
Is for configuring a main memory and a work area of the CPU 1, and the clock device 4 is for outputting current time information and the like.

【0013】カラースキャナ5は、所定の解像度で原稿
画像をフルカラー読み取り入力するためのものであり、
したがって、このカラースキャナ5から得られる画像デ
ータは、多値画像データである。また、カラープリンタ
6は、昇華型熱転写カラープリンタなど、フルカラー記
録が可能なプリンタである。
The color scanner 5 is for reading and inputting a full-color original image at a predetermined resolution.
Therefore, the image data obtained from the color scanner 5 is multi-valued image data. The color printer 6 is a printer capable of full-color recording, such as a sublimation type thermal transfer color printer.

【0014】二値画像符号化復号化部7は、例えば、J
BIG方式、MMR方式、MR方式、および、MH方式
などの二値画像符号化処理により二値画像データを符号
化圧縮するとともに、符号化圧縮されている二値画情報
を元の二値画像データに復号化するものである。
The binary image encoding / decoding unit 7 is, for example,
The binary image data is encoded and compressed by a binary image encoding process such as the BIG system, the MMR system, the MR system, and the MH system, and the binary image data that has been encoded and compressed is converted to the original binary image data. Is decrypted.

【0015】多値画像符号化復号化部8は、例えば、J
PEG方式の多値画像符号化処理により、多値画像デー
タを符号化圧縮するとともに、符号化圧縮されている多
値画情報を元の多値画像データに復号化するものであ
る。
The multi-valued image encoding / decoding unit 8 includes, for example, J
The multi-value image coding process of the PEG method encodes and compresses the multi-value image data and decodes the multi-value image information that has been subjected to the code compression into the original multi-value image data.

【0016】磁気ディスク装置9は、このデータ処理装
置のシステムプログラムや、画像編集アプリケーション
などのアプリケーションプログラムを記憶するととも
に、画像データおよび画情報を蓄積するためのものであ
る。
The magnetic disk device 9 is for storing a system program of the data processing device, an application program such as an image editing application, and accumulating image data and image information.

【0017】表示制御部10は、CRT表示装置11の
表示内容を制御するためのものであり、入力制御部12
は、キーボード装置13および画面指示装置14の入力
データを取り込むためのものである。
The display control unit 10 is for controlling display contents of the CRT display device 11, and is provided with an input control unit 12.
Is for taking in input data of the keyboard device 13 and the screen instruction device 14.

【0018】これらのCPU1、ROM2、RAM3、
時計装置4、カラースキャナ5、カラープリンタ6、二
値画像符号化復号化部7、多値画像符号化復号化部8、
磁気ディスク装置9、表示制御部10、および、入力制
御部12は、システムバス15に接続されており、これ
らの要素間のデータのやりとりは、主としてこのシステ
ムバス15を介して行われている。
These CPU1, ROM2, RAM3,
Clock device 4, color scanner 5, color printer 6, binary image encoding / decoding unit 7, multi-value image encoding / decoding unit 8,
The magnetic disk device 9, the display control unit 10, and the input control unit 12 are connected to a system bus 15, and data exchange between these elements is mainly performed through the system bus 15.

【0019】さて、このデータ処理装置では、画像編集
アプリケーションにより、1ページ内に多値画像と二値
画像が混在した画像を形成することができる。また、こ
のようにして形成された画像データは、その1ページが
1つの画像ファイルを構成している。
In this data processing apparatus, an image in which a multi-valued image and a binary image are mixed in one page can be formed by an image editing application. In the image data thus formed, one page of the image data constitutes one image file.

【0020】この画像は、図2に示したように、1つ以
上の矩形状のブロックを任意の態様で、1ページ内に配
置した構成をもち、おのおののブロックには、多値画像
または二値画像が配置される。また、おのおののブロッ
クは、その左上の点が座標の参照点として定義され、こ
の参照点からXY方向の寸法が指定されて、それぞれの
ブロックのサイズがあらわされる。
As shown in FIG. 2, this image has a configuration in which one or more rectangular blocks are arranged in one page in an arbitrary manner, and each block includes a multi-valued image or a binary image. A value image is arranged. The upper left point of each block is defined as a coordinate reference point, and the dimensions in the X and Y directions are specified from this reference point to indicate the size of each block.

【0021】また、画像編集アプリケーションが形成す
る画像ファイルのデータ型式は、まず、その全体が、図
3(a)に示したように、この画像ファイルを識別する
ためのファイルヘッダ、画像ファイルがあらわす画像デ
ータにおける1つ以上のブロックの配置状態をあらわす
レイアウト情報、および、おのおののブロックに配置さ
れる画像データの内容をあらわすコンテント情報からな
る。
As shown in FIG. 3A, the data format of the image file formed by the image editing application is firstly represented by a file header and an image file for identifying the image file. The layout information includes layout information indicating the arrangement state of one or more blocks in the image data, and content information indicating the contents of the image data arranged in each block.

【0022】ファイルヘッダは、同図(b)に示すよう
に、おのおのの画像ファイルを識別するためのファイル
名、この画像ファイルの作成日時、および、ユーザ(作
者)が任意に付加したコメントからなる。
As shown in FIG. 3B, the file header includes a file name for identifying each image file, the date and time when the image file was created, and a comment arbitrarily added by the user (author). .

【0023】レイアウト情報は、同図(c)に示すよう
に、この画像ファイルの画像データが配置されるページ
のサイズを記憶するためのページサイズ、この画像デー
タに含まれるブロックの数を記憶するためのブロック
数、および、おのおののブロックの配置状態をあらわす
ブロックレイアウト情報の並びからなる。
As shown in FIG. 2C, the layout information stores a page size for storing the size of a page on which the image data of the image file is arranged, and the number of blocks included in the image data. And the layout of block layout information indicating the arrangement state of each block.

【0024】1つのブロックレイアウト情報は、同図
(d)に示すように、おのおののブロックを識別するた
めのブロック識別情報(ID)、そのブロックの参照点
の座標をあらわす参照点アドレス、そのブロックのX方
向のサイズをあらわすX方向サイズ、そのブロックのY
方向のサイズをあらわすY方向サイズ、および、そのブ
ロックに配置される画像データの属性値をあらわすデー
タ属性からなる。
As shown in FIG. 3D, one block layout information includes block identification information (ID) for identifying each block, a reference point address indicating the coordinates of a reference point of the block, and the block. Size in the X direction, representing the size of the block in the X direction, and Y in the block
It consists of a Y-direction size representing the size in the direction and a data attribute representing the attribute value of the image data arranged in the block.

【0025】データ属性は、同図(e)に示すように、
画像データが多値画像データであるか二値画像データで
あるかの区別を示すデータ種別、X方向の解像度をあら
わすX方向解像度、および、Y方向の解像度をあらわす
Y方向解像度からなる。
The data attribute is, as shown in FIG.
The image data includes a data type indicating whether the image data is multi-valued image data or binary image data, an X-direction resolution indicating the X-direction resolution, and a Y-direction resolution indicating the Y-direction resolution.

【0026】また、コンテント情報は、同図(f)に示
すように、おのおののブロックの内容(コンテント)を
あらわすブロックコンテント情報の並びからなる。1つ
のブロックコンテント情報は、同図(g)に示すよう
に、おのおののブロックを識別するためのブロック識別
情報、画像データのデータ長をあらわすデータサイズ、
および、画像データからなる。ここで、ブロックコンテ
ント情報のブロック識別情報の値は、対応するブロック
レイアウト情報のブロック識別情報の値と等しい値が用
いられている。
The content information is, as shown in FIG. 1F, composed of an array of block content information representing the content (content) of each block. As shown in FIG. 3G, one piece of block content information includes block identification information for identifying each block, a data size representing the data length of image data,
And image data. Here, as the value of the block identification information of the block content information, a value equal to the value of the block identification information of the corresponding block layout information is used.

【0027】また、本実施例では、元の画像ファイルの
内容を符号化圧縮するときには、その画像ファイルの画
像データを、1ページに相当する1つのブロックからな
るとして処理する。
In this embodiment, when the contents of the original image file are encoded and compressed, the image data of the image file is processed as if it consists of one block corresponding to one page.

【0028】そして、多値画像データまたは二値画像デ
ータを符号化圧縮して形成された画情報ファイルは、図
4(a)に示したように、おのおのの画情報ファイルを
識別するためのファイルヘッダと、圧縮データから形成
される。
The image information file formed by encoding and compressing the multi-valued image data or the binary image data is a file for identifying each image information file as shown in FIG. It is formed from a header and compressed data.

【0029】ファイルヘッダは、同図(b)に示すよう
に、ファイル名、この画情報ファイルの属性、作成日
時、および、コメントからなる。なお、コメントの内容
は、元の画像ファイルのファイルヘッダのコメントの内
容がそのまま配置される。
The file header includes a file name, attributes of the image information file, creation date and time, and a comment, as shown in FIG. The content of the comment is the same as the content of the comment in the file header of the original image file.

【0030】また、属性は、同図(c)に示すように、
この画情報ファイルが多値符号化圧縮して形成された画
像データのファイルであるか、または、二値画像データ
のファイルであるかを示すファイル種別、ページサイ
ズ、X方向解像度、Y方向解像度、および、圧縮データ
サイズからなる。
The attribute is, as shown in FIG.
A file type indicating whether the image information file is a file of image data formed by multi-level encoding compression or a file of binary image data, a page size, an X-direction resolution, a Y-direction resolution, And a compressed data size.

【0031】図5、図6、および、図7は、画像編集ア
プリケーションが作成した画像データを符号化圧縮する
ときの処理例を示している。
FIG. 5, FIG. 6, and FIG. 7 show processing examples when encoding and compressing image data created by the image editing application.

【0032】まず、処理対象の画像ファイルのレイアウ
ト情報を読み込み(処理101)、変数i,AB,AM
の値を0に初期設定する(処理102)。
First, layout information of an image file to be processed is read (process 101), and variables i, AB, and AM are read.
Is initialized to 0 (process 102).

【0033】次に、ブロックレイアウト情報を1つ選択
し(処理103)、変数iの値を1つ増やす(処理10
4)。このときに選択したブロックレイアウト情報のデ
ータ属性のデータ種別の値が、二値画像データに対応し
た値になっているかどうかを調べる(判断105)。
Next, one block layout information is selected (step 103), and the value of the variable i is increased by one (step 10).
4). It is checked whether the value of the data type of the data attribute of the block layout information selected at this time is a value corresponding to the binary image data (decision 105).

【0034】判断105の結果がYESになるときは、
X方向サイズおよびY方向サイズに基づいてその選択し
たブロックレイアウト情報に対応したブロックの面積を
算出して、変数ABの値にその算出した面積の値を加算
し(処理106)、判断105の結果がNOになるとき
には、上述と同様にして算出した面積の値を、変数AM
の値に加算する(処理107)。
If the result of decision 105 is YES,
The area of the block corresponding to the selected block layout information is calculated based on the size in the X direction and the size in the Y direction, and the value of the calculated area is added to the value of the variable AB (process 106). Is NO, the value of the area calculated in the same manner as described above is replaced with the variable AM
(Process 107).

【0035】このようにして、1つのブロックレイアウ
ト情報に関する処理を終了すると、変数iの値が、ブロ
ック数(m)の値に等しくなったかどうかを調べ(判断
108)、判断108の結果がNOになるときには、処
理103に戻って、次のブロックレイアウト情報に関す
る処理を行う。
When the process for one block layout information is completed in this way, it is checked whether the value of the variable i has become equal to the value of the number of blocks (m) (decision 108), and the result of the decision 108 is NO. , The process returns to the process 103 to perform a process relating to the next block layout information.

【0036】判断108の結果がYESになるときに
は、変数ABの値が、変数AMの値以上になっているか
どうかを調べる(判断109)。判断109の結果がY
ESになるときには、そのときに処理する画像データの
二値画像の割合が多い場合なので、画像データ全体を二
値画像符号化処理する。
If the result of decision 108 is YES, it is checked whether the value of variable AB is greater than or equal to the value of variable AM (decision 109). The result of decision 109 is Y
When the ES becomes ES, the ratio of the binary image of the image data to be processed at that time is large, so that the entire image data is subjected to the binary image encoding process.

【0037】まず、変数iの値を0に初期設定し(処理
110)、変数iの値を1つ増やす(処理111)。そ
して、i番目のブロックを処理対象ブロックとして選択
し(処理112)、その選択したブロックに対応したブ
ロックレイアウト情報の内容を参照して、そのブロック
が二値画像ブロックであるかどうかを調べる(判断11
3)。
First, the value of the variable i is initialized to 0 (step 110), and the value of the variable i is increased by one (step 111). Then, the i-th block is selected as a processing target block (processing 112), and it is determined whether the block is a binary image block by referring to the contents of the block layout information corresponding to the selected block (determination). 11
3).

【0038】判断113の結果がYESになるときに
は、そのブロックのブロックコンテント情報の画像デー
タを、RAM3に形成したワークエリアに展開する(処
理114)。このとき、ワークエリア内の画像データの
アドレスは、ブロックレイアウト情報の内容を参照して
判定する。
If the result of the determination 113 is YES, the image data of the block content information of the block is developed in a work area formed in the RAM 3 (process 114). At this time, the address of the image data in the work area is determined by referring to the contents of the block layout information.

【0039】また、判断113の結果がNOになるとき
には、そのときに選択したブロックが多値画像データブ
ロックなので、そのブロックのブロックコンテント情報
の画像データを、周知の変換処理により、二値画像デー
タに変換するとともに、その変換後の二値画像データ
を、RAM3に形成したワークエリアに展開する(処理
115)。このときも、ワークエリア内の画像データの
アドレスは、ブロックレイアウト情報の内容を参照して
判定する。
When the result of the determination 113 is NO, the block selected at that time is a multi-valued image data block, and the image data of the block content information of the block is converted into binary image data by a well-known conversion process. And converts the converted binary image data into a work area formed in the RAM 3 (step 115). Also at this time, the address of the image data in the work area is determined by referring to the contents of the block layout information.

【0040】そして、変数iの値がブロック数(m)に
等しくなっているかどうかを調べる(判断116)。判
断116の結果がNOになるときには、処理110に戻
り、次の処理ブロックを選択して、その選択したブロッ
クに対する処理を行う。
Then, it is checked whether the value of the variable i is equal to the number of blocks (m) (decision 116). When the result of the determination 116 is NO, the process returns to the process 110, where the next processing block is selected and the process for the selected block is performed.

【0041】また、判断116の結果がYESになると
きには、そのときに符号化圧縮する1ページ分の画像デ
ータが、ワークエリアに展開できたので、そのワークエ
リアの画像データを二値画像符号化復号化部7によって
符号化圧縮し(処理117)、それによって得た符号化
データを、上述した圧縮データファイルにまとめて磁気
ディスク装置9に保存する(処理118)。
When the result of the determination 116 is YES, the image data for one page to be coded and compressed at that time has been developed in the work area. The data is encoded and compressed by the decoding unit 7 (process 117), and the coded data obtained thereby is collected into the above-described compressed data file and stored in the magnetic disk device 9 (process 118).

【0042】また、判断109の結果がYESになると
きには、そのときに処理する画像データの多値画像の割
合が多い場合なので、画像データ全体を多値画像符号化
処理する。
When the result of the judgment 109 is YES, it means that the ratio of the multivalued image of the image data to be processed at that time is large, so that the entire image data is subjected to the multivalued image encoding process.

【0043】まず、変数iの値を0に初期設定し(処理
119)、変数iの値を1つ増やす(処理120)。そ
して、i番目のブロックを処理対象ブロックとして選択
し(処理121)、その選択したブロックに対応したブ
ロックレイアウト情報の内容を参照して、そのブロック
が多値画像ブロックであるかどうかを調べる(判断12
2)。
First, the value of the variable i is initialized to 0 (step 119), and the value of the variable i is increased by one (step 120). Then, the i-th block is selected as a processing target block (processing 121), and it is checked whether the block is a multi-valued image block by referring to the contents of the block layout information corresponding to the selected block (determination). 12
2).

【0044】判断122結果がYESになるときには、
そのブロックのブロックコンテント情報の画像データ
を、RAM3に形成したワークエリアに展開する(処理
123)。このとき、ワークエリア内の画像データのア
ドレスは、ブロックレイアウト情報の内容を参照して判
定する。
When the result of decision 122 is YES,
The image data of the block content information of the block is developed in a work area formed in the RAM 3 (process 123). At this time, the address of the image data in the work area is determined by referring to the contents of the block layout information.

【0045】また、判断122の結果がNOになるとき
には、そのときに選択したブロックが二値画像データブ
ロックなので、そのブロックのブロックコンテント情報
の画像データを、周知の変換処理により、多値画像デー
タに変換するとともに、その変換後の多値画像データ
を、RAM3に形成したワークエリアに展開する(処理
124)。このときも、ワークエリア内の画像データの
アドレスは、ブロックレイアウト情報の内容を参照して
判定する。
If the result of the determination 122 is NO, the block selected at that time is a binary image data block, and the image data of the block content information of the block is converted into multi-valued image data by a well-known conversion process. And the converted multi-valued image data is developed in a work area formed in the RAM 3 (process 124). Also at this time, the address of the image data in the work area is determined by referring to the contents of the block layout information.

【0046】そして、変数iの値がブロック数(m)に
等しくなっているかどうかを調べる(判断125)。判
断125の結果がNOになるときには、処理120に戻
り、次の処理ブロックを選択して、その選択したブロッ
クに対する処理を行う。
Then, it is checked whether or not the value of the variable i is equal to the number of blocks (m) (decision 125). When the result of the determination 125 is NO, the process returns to the process 120, where the next processing block is selected, and the process for the selected block is performed.

【0047】また、判断125の結果がYESになると
きには、そのときに符号化圧縮する1ページ分の画像デ
ータが、ワークエリアに展開できたので、そのワークエ
リアの画像データを多値画像符号化復号化部8によって
符号化圧縮し(処理126)、処理118に移行し、そ
れによって得た符号化データを、上述した圧縮データフ
ァイルにまとめて磁気ディスク装置9に保存する。
If the result of the determination 125 is YES, the image data for one page to be coded and compressed at that time has been developed in the work area. The encoding is compressed by the decoding unit 8 (process 126), and the process proceeds to process 118, where the encoded data obtained is collected into the above-described compressed data file and stored in the magnetic disk device 9.

【0048】このようにして、画像編集アプリケーショ
ンが作成した画像データを符号化圧縮するときには、1
ページ分の画像データのうち、二値画像データの割合が
多いときにはそのページの画像データを二値画像符号化
圧縮し、多値画像データの割合が多いときにはそのペー
ジの画像データを多値画像符号化圧縮している。これに
より、効率よく、かつ、画質も良好に、画像データを符
号化圧縮することができる。
As described above, when encoding and compressing the image data created by the image editing application, 1
When the proportion of binary image data in the image data of a page is large, the image data of the page is subjected to binary image encoding and compression. When the proportion of multi-valued image data is large, the image data of the page is encoded with a multi-valued image code. Compression. As a result, the image data can be encoded and compressed efficiently and with good image quality.

【0049】図8は、カラースキャナ5を用いて原稿画
像を読み取り入力するときの画像符号化処理の一例を示
している。
FIG. 8 shows an example of an image encoding process when a document image is read and input using the color scanner 5.

【0050】まず、カラースキャナ5の画像読み取り動
作を開始させ(処理201)、カラースキャナ5から取
り込んだ多値画像データを所定のワークエリアに蓄積す
る画像蓄積処理を開始するとともに(処理202)、そ
の多値画像データに基づき、おのおのの画素について、
画素が文字領域に属するか否かを判定するための領域判
定処理を開始する(処理203)。
First, the image reading operation of the color scanner 5 is started (process 201), and an image storage process for storing multi-valued image data taken from the color scanner 5 in a predetermined work area is started (process 202). Based on the multi-valued image data, for each pixel,
An area determination process for determining whether a pixel belongs to a character area is started (process 203).

【0051】ここで、領域判定処理では、処理対象とな
っている注目画素に対する近傍画素の相関度を算出し、
その相関度が所定値以上になっているときには注目画素
が文字領域に属すると判定し、その相関度が所定値より
も小さくなっているときには注目画素が文字領域に属さ
ないと判定する処理を適用することができる。
Here, in the area determination processing, the degree of correlation between the neighboring pixel and the target pixel to be processed is calculated.
When the degree of correlation is equal to or more than a predetermined value, it is determined that the target pixel belongs to the character area, and when the degree of correlation is smaller than the predetermined value, it is determined that the pixel of interest does not belong to the character area. can do.

【0052】そして、1ページ分の画像の読み取りおよ
び蓄積が終了するまで待ち(判断204のNOルー
プ)、判断204の結果がYESになると、領域判定処
理の結果を入力して(処理205)、文字領域に属する
と判定した画素の数が、それ以外の画素の数よりも大き
く、そのときに二値画像符号化処理を適用するか否かを
判定する(判断206)。
Then, the process waits until the reading and accumulation of the image for one page is completed (NO loop of decision 204). When the result of decision 204 is YES, the result of the area decision processing is input (process 205). If the number of pixels determined to belong to the character area is greater than the number of other pixels, it is determined whether to apply the binary image encoding process at that time (decision 206).

【0053】判断206の結果がYESになるときに
は、処理対象の注目画素を設定し(処理207)、領域
判定処理の判定結果を参照して、その注目画素が文字領
域に属しているかどうかを調べる(判断208)。判断
208の結果がYESになるときには、その注目画素の
多値画像データを単純二値化処理し(処理209)、判
断208の結果がNOになるときには、その注目画素の
多値画像データを擬似中間調二値化処理する(処理21
0)。そして、これらの二値化処理で形成した二値画像
データを、その注目画素の位置に対応したワークエリア
(二値画像一時保存用のエリア)に保存する(処理21
1)。
When the result of the determination 206 is YES, the target pixel to be processed is set (process 207), and it is determined whether or not the target pixel belongs to the character area by referring to the determination result of the area determination processing. (Decision 208). When the result of the determination 208 is YES, the multi-valued image data of the target pixel is subjected to simple binarization processing (processing 209). When the result of the determination 208 is NO, the multi-valued image data of the target pixel is simulated. Halftone binarization processing (processing 21
0). Then, the binary image data formed by these binarization processes is stored in a work area (an area for temporarily storing a binary image) corresponding to the position of the target pixel (process 21).
1).

【0054】この二値化処理が全画素について終了した
かどうかを調べ(判断212)、判断212の結果がN
Oになるときには、処理207に戻り、次の注目画素の
二値化処理を実行する。
It is checked whether or not this binarization process has been completed for all pixels (decision 212).
When it becomes O, the process returns to the process 207 to execute the binarization process of the next target pixel.

【0055】判断212の結果がYESになるときに
は、ワークエリアの画像データを二値画像符号化復号化
部7で符号化圧縮し(処理213)、それによって得た
符号化データを、上述した圧縮データファイルにまとめ
て磁気ディスク装置9に保存する(処理214)。
When the result of the determination 212 is YES, the image data in the work area is encoded and compressed by the binary image encoding / decoding section 7 (process 213), and the encoded data obtained thereby is compressed as described above. The data files are collectively stored in the magnetic disk device 9 (process 214).

【0056】また、判断206の結果がNOになるとき
には、そのときに蓄積した多値画像データを、多値画像
符号化復号化部8で符号化圧縮し(処理215)、処理
214に移行し、それによって得た符号化データを、上
述した圧縮データファイルにまとめて磁気ディスク装置
9に保存する。
If the result of determination 206 is NO, the multi-valued image data accumulated at that time is encoded and compressed by the multi-valued image encoding / decoding unit 8 (process 215), and the process proceeds to process 214. Then, the encoded data obtained thereby is put together in the above-mentioned compressed data file and stored in the magnetic disk device 9.

【0057】このようにして、カラースキャナ5から画
像読み取りするときにも、画像の内容に応じて、二値画
像符号化処理または多値画像符号化処理を適用し、画像
を符号化圧縮している。
As described above, when reading an image from the color scanner 5, a binary image encoding process or a multi-value image encoding process is applied according to the content of the image, and the image is encoded and compressed. I have.

【0058】図9は、領域判定処理の一例を示してい
る。
FIG. 9 shows an example of the area determination processing.

【0059】まず、注目画素を設定し(処理301)、
上述した文字領域判定処理(処理302)を実行して、
その注目画素が文字領域に属するかどうかを調べる(判
断302)。判断302の結果がYESになるときに
は、注目画素を文字領域に設定し(処理304)、判断
302の結果がNOになるときは、注目画素を非文字領
域に設定する(処理305)。
First, a target pixel is set (process 301).
By executing the above-described character area determination processing (processing 302),
It is checked whether the target pixel belongs to the character area (decision 302). When the result of determination 302 is YES, the pixel of interest is set in the character area (step 304), and when the result of determination 302 is NO, the pixel of interest is set in the non-character area (step 305).

【0060】そして、すべての画素について処理を終了
したかを調べて(判断306)、判断306の結果がN
Oになるときには、処理301に戻り、次の注目画素に
ついて同様の処理を実行する。判断306の結果がYE
Sになるときには、この処理を終了する。
Then, it is checked whether the processing has been completed for all the pixels (decision 306), and the result of the decision 306 is N
When it becomes O, the process returns to the process 301, and the same process is executed for the next target pixel. The result of decision 306 is YE
When S is reached, this process ends.

【0061】図10は、圧縮データファイルを表示する
ときの処理例を示している。
FIG. 10 shows an example of processing when displaying a compressed data file.

【0062】まず、圧縮データファイルのファイルヘッ
ダを読み込んで(処理401)、そのときの圧縮データ
が二値画像であるかどうかを調べる(判断402)。判
断402の結果がYESになるときには、そのときの圧
縮データを二値画像符号化復号化部7で復号化し(処理
403)、判断402の結果がNOになるときには、そ
のときの圧縮データを多値画像符号化復号化部8で復号
化して(処理404)、それによって得た画像データを
CRT表示装置11に表示する(処理405)。
First, the file header of the compressed data file is read (process 401), and it is checked whether the compressed data at that time is a binary image (decision 402). When the result of the determination 402 is YES, the compressed data at that time is decoded by the binary image encoding / decoding unit 7 (process 403), and when the result of the determination 402 is NO, the compressed data at that time is increased. The image is decoded by the value image encoding / decoding unit 8 (process 404), and the obtained image data is displayed on the CRT display device 11 (process 405).

【0063】この状態で、ユーザから表示終了が指令さ
れるまで待ち(判断406のNOループ)、ユーザから
表示終了が指令されて判断406の結果がYESになる
と、表示を終了する(処理407)。
In this state, the system waits until the user issues a command to terminate the display (NO loop of decision 406). When the user issues a command to terminate the display and the result of decision 406 becomes YES, the display is terminated (step 407). .

【0064】図11は、本発明の他の実施例にかかるフ
ァクシミリ装置を示している。なお、同図において、図
1と同一部分および相当する部分には、同一符号を付し
ている。
FIG. 11 shows a facsimile apparatus according to another embodiment of the present invention. In the figure, the same parts as those in FIG. 1 and corresponding parts are denoted by the same reference numerals.

【0065】同図において、CPU21は、主としてこ
のグループ4ファクシミリ装置の各部の制御処理を行う
ものであり、ROM22は、CPU21が実行する制御
処理プログラム、および、処理プログラムを実行すると
きに必要な各種データなどを記憶するものであり、RA
M23は、CPU21のワークエリアを構成するもので
あり、操作表示部24は、このファクシミリ装置を操作
するためのもので、各種の操作キー、および、各種の表
示器からなる。
In the figure, a CPU 21 mainly performs control processing of each section of the group 4 facsimile apparatus, and a ROM 22 stores a control processing program executed by the CPU 21 and various kinds of programs necessary for executing the processing program. It stores data and the like.
M23 constitutes a work area of the CPU 21, and the operation display section 24 is for operating the facsimile apparatus, and is composed of various operation keys and various displays.

【0066】ISDNインタフェース回路25は、この
グループ4ファクシミリ装置をISDNに接続するとと
もに、レイヤ1の信号処理機能およびDチャネル(信号
チャネル)の信号と2つのBチャネル(情報チャネル)
の信号の統合/分離機能を備えたものであり、Dチャネ
ル伝送制御部26は、呼設定/呼解放手順処理などIS
DNのDチャネル上の信号処理を実行するためのもので
あり、Bチャネル伝送制御部27は、Bチャネル上で行
うグループ4ファクシミリ伝送手順機能を実現するため
のものである。
The ISDN interface circuit 25 connects the group 4 facsimile apparatus to the ISDN, and also performs a layer 1 signal processing function, a D channel (signal channel) signal, and two B channels (information channels).
The D-channel transmission control unit 26 has a function of integrating / separating signals such as call setup / call release procedure processing.
This is for performing signal processing on the D channel of the DN, and the B channel transmission control unit 27 is for realizing a group 4 facsimile transmission procedure function performed on the B channel.

【0067】そして、CPU21、ROM22、RAM
23、カラースキャナ5、カラープリンタ6、操作表示
部24、二値画像符号化復号化部7、多値画像符号化復
号化部8、磁気ディスク装置9、Dチャネル伝送制御部
26、および、Bチャネル伝送制御部27は、システム
バス28に接続されており、これらの各要素間でのデー
タのやりとりは、主としてこのシステムバス28を介し
て行われている。
Then, the CPU 21, ROM 22, RAM
23, a color scanner 5, a color printer 6, an operation display unit 24, a binary image encoding / decoding unit 7, a multi-level image encoding / decoding unit 8, a magnetic disk device 9, a D-channel transmission control unit 26, and B The channel transmission control unit 27 is connected to a system bus 28, and data exchange between these elements is mainly performed through the system bus 28.

【0068】図12は、このグループ4ファクシミリ装
置の、発呼時の処理例を示している。
FIG. 12 shows an example of processing performed by the group 4 facsimile apparatus when making a call.

【0069】まず、送信原稿画像の読み取りと、蓄積を
行った状態で、そのときに指定された宛先を発呼する
(処理501)。そして、所定の呼設定手順を実行して
(処理502)、相手端末との間に情報チャネル(Bチ
ャネル)を確立すると(処理503)、その確立した情
報チャネル上で所定の伝送前手順を実行して、相手端末
との間でそのときに使用する伝送機能の設定を行う(処
理504)。
First, in a state where the transmission original image is read and stored, a destination designated at that time is called (process 501). When a predetermined call setting procedure is executed (process 502) and an information channel (B channel) is established with the partner terminal (process 503), a predetermined pre-transmission procedure is executed on the established information channel. Then, the transmission function to be used at that time is set with the partner terminal (process 504).

【0070】このとき、相手端末が二値画像のみを取り
扱える場合で、判断505の結果がYESになるときに
は、蓄積した画像データを二値画像符号化処理(処理5
06)し、また、相手端末が多値画像を取り扱える場合
で、判断505の結果がNOになるときには、蓄積した
画像データを多値画像符号化復号化部8で符号化圧縮し
(処理507)、送信画情報を形成する。
At this time, if the partner terminal can handle only binary images, and if the result of determination 505 is YES, the stored image data is subjected to binary image encoding processing (processing 5).
06) If the partner terminal can handle multi-valued images and the result of determination 505 is NO, the accumulated image data is encoded and compressed by the multi-valued image encoding / decoding unit 8 (process 507). , Forming transmission image information.

【0071】そして、その形成した送信画情報を、所定
の手順にしたがって相手端末に送信し(処理508)、
その送信動作を終了すると、所定の伝送後手順を実行し
(処理509)、情報チャネルを終了して(処理51
0)、所定の回線切断解放手順を実行して(処理51
1)、一連の送信動作を終了する。
Then, the formed transmission image information is transmitted to the partner terminal according to a predetermined procedure (Step 508).
When the transmission operation is completed, a predetermined post-transmission procedure is executed (step 509), and the information channel is ended (step 51).
0), and executes a predetermined line disconnection / release procedure (process 51).
1), a series of transmission operations ends.

【0072】図13は、二値画像符号化処理の一例を示
している。
FIG. 13 shows an example of a binary image encoding process.

【0073】まず、蓄積している画像データについて、
上述と同様の領域判定処理を実行する(処理601)。
次いで、処理対象の注目画素を設定し(処理602)、
領域判定処理の判定結果を参照して、その注目画素が文
字領域に属しているかどうかを調べる(判断603)。
判断603の結果がYESになるときには、その注目画
素の多値画像データを単純二値化処理し(処理60
4)、判断603の結果がNOになるときには、その注
目画素の多値画像データを擬似中間調二値化処理する
(処理605)。そして、これらの二値化処理で形成し
た二値画像データを、その注目画素の位置に対応したワ
ークエリア(二値画像一時保存用のエリア)に保存する
(処理606)。
First, regarding the stored image data,
The same area determination processing as described above is executed (processing 601).
Next, a target pixel to be processed is set (process 602),
Referring to the determination result of the area determination processing, it is determined whether or not the pixel of interest belongs to the character area (determination 603).
When the result of the determination 603 is YES, the multivalued image data of the target pixel is subjected to simple binarization processing (processing 60
4) If the result of the determination 603 is NO, the multi-valued image data of the target pixel is subjected to pseudo halftone binarization processing (processing 605). Then, the binary image data formed by the binarization processing is stored in a work area (area for temporarily storing a binary image) corresponding to the position of the target pixel (process 606).

【0074】この二値化処理が全画素について終了した
かどうかを調べ(判断607)、判断607の結果がN
Oになるときには、処理602に戻り、次の注目画素の
二値化処理を実行する。
It is checked whether or not this binarization process has been completed for all pixels (decision 607).
When it becomes O, the process returns to the process 602 to execute the binarization process of the next target pixel.

【0075】また、判断607の結果がYESになると
きには、ワークエリアの画像データを二値画像符号化復
号化部7で符号化圧縮する(処理608)。
If the result of determination 607 is YES, the image data in the work area is encoded and compressed by the binary image encoding / decoding section 7 (process 608).

【0076】図14は、このグループ4ファクシミリ装
置が実行する着信検出時の処理例を示している。
FIG. 14 shows an example of processing performed by the group 4 facsimile apparatus when an incoming call is detected.

【0077】着信検出すると、そのときに受信した呼設
定メッセージSETUPの内容を解析して(処理70
1)、相手端末と接続可能であるかどうかを調べる(判
断702)。判断702の結果がNOになるときには、
そのときの着呼を無視する(処理703)。
When an incoming call is detected, the contents of the call setup message SETUP received at that time are analyzed (step 70).
1) It is checked whether or not connection with the partner terminal is possible (decision 702). When the result of the judgment 702 is NO,
The incoming call at that time is ignored (process 703).

【0078】判断702の結果がYESになるときに
は、応答メッセージCONNを応答して(処理70
4)、情報チャネルを確立し(処理705)、所定の伝
送前手順を実行して(処理706)、画情報を受信して
蓄積する(処理707)。
When the result of the judgment 702 is YES, a response message CONN is responded (step 70).
4) An information channel is established (process 705), a predetermined pre-transmission procedure is executed (process 706), and image information is received and stored (process 707).

【0079】画情報の受信を終了すると、所定の伝送後
手順を実行して(処理708)、情報チャネルを終了し
(処理709)、回線切断解放手順を実行する(処理7
10)。
When the reception of image information is completed, a predetermined post-transmission procedure is executed (step 708), the information channel is ended (step 709), and a line disconnection release procedure is executed (step 7).
10).

【0080】次に、そのときに受信した画情報が二値画
像のものであるかどうかを、相手端末から通知された画
像種別情報に基づいて判定する(判断711)。そし
て、判断711の結果がYESになるときには、蓄積し
た受信画情報を二値画像符号化復号化部7で元の画像デ
ータに復号化し(処理712)、また、判断711の結
果がNOになるときには、蓄積した受信画情報を多値画
像符号化復号化部8で元の画像データに復号化する(処
理713)。そして、このようにして形成した画像デー
タをカラープリンタ6に転送して、受信画像を記録出力
する(処理714)。
Next, it is determined whether or not the image information received at that time is that of a binary image based on the image type information notified from the partner terminal (decision 711). When the result of the determination 711 is YES, the stored received image information is decoded into the original image data by the binary image encoding / decoding unit 7 (processing 712), and the result of the determination 711 is NO. In some cases, the stored received image information is decoded into the original image data by the multi-level image encoding / decoding unit 8 (process 713). Then, the image data thus formed is transferred to the color printer 6, and the received image is recorded and output (process 714).

【0081】なお、上述した実施例では、グループ4フ
ァクシミリ装置に本発明を適用した場合について説明し
たが、それ以外のデータ伝送装置にも、本発明を同様に
して適用することができる。
In the above embodiment, the case where the present invention is applied to the group 4 facsimile apparatus has been described. However, the present invention can be similarly applied to other data transmission apparatuses.

【0082】[0082]

【発明の効果】以上説明したように、本発明によれば、
多値画像または二値画像のうち、割合の大きい画像内容
を適切に符号圧縮することができるので、符号化圧縮効
率を向上することができるという効果を得る。
As described above, according to the present invention,
Since the image content having a large ratio among the multi-valued image and the binary image can be appropriately code-compressed, the effect of improving the coding and compression efficiency can be obtained.

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

【図1】本発明の一実施例にかかるデータ処理装置を示
したブロック図。
FIG. 1 is a block diagram showing a data processing device according to one embodiment of the present invention.

【図2】画像データの一例を示した概略図。FIG. 2 is a schematic diagram showing an example of image data.

【図3】図1の装置が処理するデータの型式を例示した
概略図。
FIG. 3 is a schematic view illustrating the type of data processed by the apparatus of FIG. 1;

【図4】圧縮データファイルの一例を示した概略図。FIG. 4 is a schematic diagram showing an example of a compressed data file.

【図5】図1の装置の符号化処理の一部を示したフロー
チャート。
FIG. 5 is a flowchart showing a part of an encoding process of the apparatus shown in FIG. 1;

【図6】図1の装置の符号化処理の他の部分を示したフ
ローチャート。
FIG. 6 is a flowchart showing another part of the encoding process of the apparatus of FIG. 1;

【図7】図1の装置の符号化処理のさらに他の部分を示
したフローチャート。
FIG. 7 is a flowchart showing still another part of the encoding process of the apparatus in FIG. 1;

【図8】画像読み取り時の処理例を示したフローチャー
ト。
FIG. 8 is a flowchart illustrating a processing example when reading an image.

【図9】領域判定処理の一例を示したフローチャート。FIG. 9 is a flowchart illustrating an example of a region determination process.

【図10】表示処理の一例を示したフローチャート。FIG. 10 is a flowchart illustrating an example of a display process.

【図11】本発明の他の実施例にかかるグループ4ファ
クシミリ装置を示したブロック図。
FIG. 11 is a block diagram showing a group 4 facsimile apparatus according to another embodiment of the present invention.

【図12】図11の装置の発呼時の処理例を示したフロ
ーチャート。
FIG. 12 is a flowchart showing a processing example at the time of calling by the apparatus of FIG. 11;

【図13】二値画像符号化処理の一例を示したフローチ
ャート。
FIG. 13 is a flowchart illustrating an example of a binary image encoding process.

【図14】図11の装置の着呼時の処理例を示したフロ
ーチャート。
FIG. 14 is a flowchart showing a processing example at the time of an incoming call of the apparatus of FIG. 11;

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 多値画像データと二値画像データを1ペ
ージ内に混在した画像ファイルのデータを符号化圧縮す
る画像処理方法において、 処理対象のページに含まれる多値画像データの割合が所
定値以上になっているときには、処理対象のページに含
まれる二値画像データを多値画像データに変換するとと
もに、1ページ分の画像データを多値画像圧縮符号化変
換し、 処理対象のページに含まれる多値画像データの割合が上
記所定値に満たないときには、処理対象のページに含ま
れる多値画像データを二値画像データに変換するととも
に、1ページ分の画像データを二値画像圧縮符号化変換
することを特徴とする画像処理方法。
An image processing method for encoding and compressing data of an image file in which multi-valued image data and binary image data are mixed in one page, wherein a ratio of the multi-valued image data included in a page to be processed is predetermined. If the value is equal to or more than the value, the binary image data included in the processing target page is converted into multi-valued image data, and the image data for one page is subjected to multi-valued image compression encoding conversion, and is converted to the processing target page. When the ratio of the multivalued image data included is less than the predetermined value, the multivalued image data included in the page to be processed is converted into binary image data, and the image data for one page is converted into a binary image compression code. An image processing method, comprising:
【請求項2】 スキャナを用いて多値読み取りして得た
多値画像データをページ単位に符号化圧縮する画像処理
方法において、 処理対象のページに含まれる多値画像データが文字領域
に属するか、または、非文字領域に属するかを画素単位
に判定し、 文字領域として判定された画素の割合が所定値以上にな
っているときには、処理対象のページの多値画像データ
を二値画像データに変換するとともに、1ページ分の二
値画像データを二値画像圧縮符号化変換し、 上記文字領域として判定された画素の割合が上記所定値
に満たないときには、処理対象のページに含まれる多値
画像データを多値画像圧縮符号化変換することを特徴と
する画像処理方法。
2. An image processing method for encoding and compressing multi-valued image data obtained by multi-value reading using a scanner in page units, wherein the multi-valued image data included in a processing target page belongs to a character area. Or, it is determined for each pixel whether the pixel belongs to a non-character area, and when the ratio of the pixels determined as the character area is equal to or more than a predetermined value, the multi-valued image data of the processing target page is converted to the binary image data. The binary image data for one page is subjected to the binary image compression coding conversion, and when the ratio of the pixels determined as the character area is less than the predetermined value, the multi-valued data included in the page to be processed is converted. An image processing method, wherein image data is subjected to multi-level image compression coding conversion.
【請求項3】 スキャナを用いて多値読み取りして得た
多値画像データをページ単位に符号化圧縮する画像処理
方法において、 処理対象のページに含まれる多値画像データが文字領域
に属するか、または、非文字領域に属するかを画素単位
に判定し、 文字領域として判定された画素の割合が所定値以上にな
っているときには、処理対象のページの文字領域として
判定された領域の画素については、多値画像データを二
値画像データに変換し、処理対象のページの非文字領域
として判定された領域の画素については多値画像データ
を擬似中間調二値化処理して二値画像データに変換し、
その変換後の1ページ分の二値画像データを二値画像圧
縮符号化変換し、 上記文字領域として判定された画素の割合が上記所定値
に満たないときには、処理対象のページに含まれる多値
画像データを多値画像圧縮符号化変換することを特徴と
する画像処理方法。
3. An image processing method for encoding and compressing multi-valued image data obtained by multi-value reading using a scanner in page units, wherein the multi-valued image data included in the processing target page belongs to a character area. Or, it is determined whether a pixel belongs to a non-character area on a pixel-by-pixel basis. Converts the multi-valued image data into binary image data, and performs pseudo-halftone binarization processing on the multi-valued image data for pixels in an area determined as a non-character area of the page to be processed. To
The binary image data for one page after the conversion is subjected to the binary image compression coding conversion, and when the ratio of the pixels determined as the character area is less than the predetermined value, the multi-value included in the processing target page An image processing method, wherein image data is subjected to multi-level image compression coding conversion.
JP16737593A 1993-06-15 1993-06-15 Image processing method Expired - Fee Related JP3249644B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16737593A JP3249644B2 (en) 1993-06-15 1993-06-15 Image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16737593A JP3249644B2 (en) 1993-06-15 1993-06-15 Image processing method

Publications (2)

Publication Number Publication Date
JPH0774965A JPH0774965A (en) 1995-03-17
JP3249644B2 true JP3249644B2 (en) 2002-01-21

Family

ID=15848553

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16737593A Expired - Fee Related JP3249644B2 (en) 1993-06-15 1993-06-15 Image processing method

Country Status (1)

Country Link
JP (1) JP3249644B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003041394A1 (en) * 2001-11-05 2003-05-15 Nikon Corporation Image compression apparatus, image compression program, and image compression method

Also Published As

Publication number Publication date
JPH0774965A (en) 1995-03-17

Similar Documents

Publication Publication Date Title
US6985630B2 (en) Image processing apparatus and method, program and storage medium
JPH08125868A (en) Method and device for processing picture
JPH03204274A (en) Color picture transmission method
JPH07264417A (en) Image coding method
JP3249644B2 (en) Image processing method
JP3281183B2 (en) Image encoding / decoding method and image encoding / decoding device
JP3295507B2 (en) Binary image encoding / decoding method
JPH06121174A (en) Encoder/decoder
JP3361201B2 (en) Image encoding apparatus, image encoding / decoding apparatus, and image encoding / decoding method
JP3263212B2 (en) Image transmission method, image recording method, image transmission device, and image recording device
JP3247754B2 (en) Image transmission device
JP2003153008A (en) Image coding device and image decoding device
JP3059769B2 (en) Picture information predictive coding device
JP2002084425A (en) Multi-level image data compression device
JP3005200B2 (en) Color image transmission method
JP2966426B2 (en) Color image processing apparatus and method
JP3261206B2 (en) Image coding method
KR910002773B1 (en) Quast-medium picture data procossing method
JPH0125001Y2 (en)
JPH06217147A (en) Transmitting method for color document image
JPH0235504B2 (en)
JPS63138882A (en) Data compressor
JPH0918722A (en) Color image processor
JPH0435361A (en) Picture coding device and picture coding and decoding device
JPH07184060A (en) Image processing unit

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071109

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081109

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081109

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091109

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees