JPH04287566A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH04287566A
JPH04287566A JP3052209A JP5220991A JPH04287566A JP H04287566 A JPH04287566 A JP H04287566A JP 3052209 A JP3052209 A JP 3052209A JP 5220991 A JP5220991 A JP 5220991A JP H04287566 A JPH04287566 A JP H04287566A
Authority
JP
Japan
Prior art keywords
resolution
image
image data
processing
processing section
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3052209A
Other languages
Japanese (ja)
Inventor
Masami Kato
政美 加藤
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP3052209A priority Critical patent/JPH04287566A/en
Publication of JPH04287566A publication Critical patent/JPH04287566A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To set optimum resolution automatically to send or store required information without leaving judgement to the operator. CONSTITUTION:A control section 15 reads a picture data at a maximum resolution of a picture read section 11 through preliminary scanning, and a binarizing processing section 12 implements nonmagnification resolution conversion, a binarizing processing section 13 binarizes the result and a resolution detection processing section 14 makes calculation for discriminating optimum resolution. When the preliminary scanning is finished, re-reading is started and the resolution conversion processing section 12 applies interleave processing to the picture data based on a magnification resulting from the result of discrimination and a binarizing processing section 13 binarizes the result and it is sent to a picture memory and a communication control section.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、ファクシミリ等の画像
処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus such as a facsimile machine.

【0002】0002

【従来の技術】従来、ファクシミリ、例えばG4ファク
シミリでは、読み取り画像の解像度として、400×4
00DPI(Dot Per Inch),200×2
00DPI,200×100DPIのような複数の解像
度を有し、操作者が予め送信する原稿の内容を判断し、
その結果により所望の解像度を選択して設定を行ってい
る。例えば、文書画像等のように、画像の品位よりその
内容を重視する場合は、高い解像度を設定し、また、送
信する原稿が高い解像度を必要としない場合には、通信
時間を節減するために低い解像度を設定している。
2. Description of the Related Art Conventionally, in a facsimile, for example, a G4 facsimile, the resolution of a read image is 400×4.
00DPI (Dot Per Inch), 200×2
It has multiple resolutions such as 00DPI and 200×100DPI, and the operator judges the content of the document to be sent in advance.
Based on the results, the desired resolution is selected and set. For example, if the content is more important than the quality of the image, such as a document image, set a high resolution, or if the document to be sent does not require high resolution, to save communication time. You are setting a low resolution.

【0003】0003

【発明が解決しようとしている課題】しかしながら、上
記従来例では、送信する画像に対して、操作者が常に最
適な読み取り解像度を設定することは困難であった。例
えば、必要な読み取り解像度より低い解像度を選択した
場合、情報が欠落してしまい、受信側で判読が不可能と
なり、また、必要な読み取り解像度より高い解像度を選
択した場合には、通信時間やコストが無駄となる等の問
題があった。
However, in the conventional example described above, it is difficult for the operator to always set the optimum reading resolution for the image to be transmitted. For example, if you select a resolution lower than the required reading resolution, information will be lost and become unreadable on the receiving side, and if you select a resolution higher than the required reading resolution, communication time and costs will increase. There were problems such as waste of money.

【0004】また、メモリに画像データを蓄積すること
が可能な装置では、蓄積された画像を一旦プリントアウ
トして送信解像度が正しく設定されているか、確認する
ことも可能であるが、操作が煩わしく、無駄な時間が生
じる等の問題もあった。本発明は、上記課題を解決する
ために成されたもので、操作者の判断に委ねることなく
、必要な情報を伝送或いは蓄積するために最適な解像度
を自動的に設定できる画像処理装置を提供することを目
的とする。
[0004] Furthermore, in devices that can store image data in memory, it is possible to print out the stored images and check whether the transmission resolution is set correctly, but this is a cumbersome operation. There were also problems such as wasted time. The present invention has been made to solve the above problems, and provides an image processing device that can automatically set the optimal resolution for transmitting or storing necessary information without relying on the operator's judgment. The purpose is to

【0005】[0005]

【課題を解決するための手段及び作用】かかる目的を達
成するために、本発明の画像処理装置は以下の構成から
なる。すなわち、2値化された画像データから解像度変
換の変換倍率を設定する設定手段と、該設定手段で設定
された変換倍率により読み取った画像データの解像度を
変換する解像度変換手段とを有する。
Means and Effects for Solving the Problems In order to achieve the above object, an image processing apparatus of the present invention has the following configuration. That is, it has a setting means for setting a conversion magnification for resolution conversion from binarized image data, and a resolution conversion means for converting the resolution of the read image data using the conversion magnification set by the setting means.

【0006】また好ましくは、画像データを単純2値化
する第1の2値化手段と、前記画像データを擬似中間調
処理する第2の2値化手段とを更に有し、前記設定手段
は、第1の2値化手段で2値化された画像データから変
換倍率を設定し、前記解像度変換手段で変換された画像
データを第2の2値化手段で2値化することを特徴とす
る。
Preferably, the invention further includes a first binarizing means for simply binarizing the image data, and a second binarizing means for performing pseudo-halftone processing on the image data, and the setting means includes: , a conversion magnification is set from the image data binarized by the first binarization means, and the image data converted by the resolution conversion means is binarized by the second binarization means. do.

【0007】更に好ましくは、同一原稿を再読み取りす
ることが可能な画像読取手段を更に有し、前記解像度変
換手段は、該画像読取手段で読み取った画像データの解
像度を変換することを特徴とする。
[0007] More preferably, the apparatus further includes an image reading means capable of re-reading the same original, and the resolution converting means converts the resolution of the image data read by the image reading means. .

【0008】[0008]

【実施例】以下、図面を参照して本発明に係る好適な一
実施例を詳細に説明する。図1は、本実施例における画
像処理装置の基本構成を示すブロック図である。図にお
いて、11は同一原稿が再読み取り可能な形状(いわゆ
るフラットベットタイプ等)の画像読取部であり、CC
D等の撮像素子により読み取られたアナログデータに対
し、シェーディング補正等を行った後、ディジタルデー
タにA/D変換して出力する機能を有する。12は解像
度変換処理部であり、再読み込み時に、後述する解像度
検出処理部14の判定結果に基づいて設定された倍率に
より解像度の変換を行う(例えば400×400DPI
の解像度で読み取つた画像を200×200DPIの解
像度に変換する)。13は2値化処理部であり、解像度
変換処理部12で変換された多値データを単純2値化処
理する。14は解像度検出処理部であり、プリスキャン
時に2値化処理部で2値化された画像データから、送信
に必要な解像度を判定する。15は制御部であり、マイ
クロプロセッサ(MPU),RAM,ROM等により構
成され、ROMに格納されている制御手順(プログラム
)に従って各処理部の動作を制御する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A preferred embodiment of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a block diagram showing the basic configuration of an image processing apparatus in this embodiment. In the figure, numeral 11 is an image reading unit with a shape (so-called flat bed type, etc.) that allows the same original to be read again.
It has a function of performing shading correction etc. on analog data read by an image sensor such as D, and then A/D converting the data into digital data and outputting the result. Reference numeral 12 denotes a resolution conversion processing unit, which converts the resolution using a magnification set based on the determination result of the resolution detection processing unit 14 (described later) at the time of rereading (for example, 400 x 400 DPI).
Converts an image read at a resolution of 200 x 200 DPI). A binarization processing section 13 performs simple binarization processing on the multivalued data converted by the resolution conversion processing section 12. Reference numeral 14 denotes a resolution detection processing section, which determines the resolution necessary for transmission from the image data binarized by the binarization processing section during pre-scanning. Reference numeral 15 denotes a control unit, which is composed of a microprocessor (MPU), RAM, ROM, etc., and controls the operation of each processing unit according to a control procedure (program) stored in the ROM.

【0009】次に、本実施例における処理手順を図2に
示すフローチャートに従って以下に説明する。なお、本
実施例では、最適な解像度を判定するためにプリスキャ
ン(ステップS1〜S5)動作を行い、そのプリスキャ
ンで得られた判定結果に基づく倍率により解像度変換を
行うように構成されている。
Next, the processing procedure in this embodiment will be explained below with reference to the flowchart shown in FIG. In this embodiment, a prescan operation (steps S1 to S5) is performed to determine the optimal resolution, and resolution conversion is performed using a magnification based on the determination result obtained in the prescan. .

【0010】まず、ステップS1において、制御部15
は画像読取部11に読み込み開始を指示し、画像読取部
11の有する最高解像度で画像データを読み込む。そし
て、ステップS2では、読み込んだ画像データを解像度
変換処理部12に送り、等倍の解像度変換を行う。次に
、解像度変換処理が終了すると、ステップS3へ処理を
進め、変換された画像データを2値化処理部13に送り
、2値化を行い、次のステップS4では、解像度検出処
理部14において最適な解像度を判定するための演算を
行う。次に、解像度検出処理部14での処理が終了する
と、ステップS5へ処理を進め、全画素に対して処理を
終了したか否かをチェックし、終了していなければステ
ップS1へ処理を戻し、上述の処理を繰り返す。
First, in step S1, the control section 15
instructs the image reading unit 11 to start reading, and reads the image data at the highest resolution that the image reading unit 11 has. Then, in step S2, the read image data is sent to the resolution conversion processing section 12, where it is converted to the same resolution. Next, when the resolution conversion process is completed, the process proceeds to step S3, and the converted image data is sent to the binarization processing unit 13 to be binarized, and in the next step S4, the resolution detection processing unit 14 Perform calculations to determine the optimal resolution. Next, when the processing in the resolution detection processing unit 14 is completed, the process advances to step S5, and it is checked whether the processing has been completed for all pixels, and if it has not been completed, the process returns to step S1, Repeat the above process.

【0011】一方、プリスキャンが終了すると、ステッ
プS6へ処理を進め、再読み込みを開始する。次のステ
ップS7では、解像度検出処理部14によってプリスキ
ャン時に得られた判定結果に基づく倍率により画像デー
タの間引き処理を行う。この間引き処理は、解像度変換
処理部12によって行われ、処理が終了すると、次のス
テップS8へ処理を進め、解像度変換された画像データ
を2値化処理部13に送り、2値化を行う。そして、次
のステップS9において、全画素に対して処理が終了し
たか否かをチェックし、終了していなければステップS
6へ処理を戻し、全画素に対して処理が終了するまで上
述の処理を繰り返す。その後、終了すると、解像度変換
された2値画像データが画像メモリや通信制御部へ送ら
れる。
On the other hand, when the pre-scan is completed, the process advances to step S6 and re-reading is started. In the next step S7, the image data is thinned out using a magnification based on the determination result obtained during pre-scanning by the resolution detection processing section 14. This thinning process is performed by the resolution conversion processing unit 12, and when the process is completed, the process advances to the next step S8, and the resolution-converted image data is sent to the binarization processing unit 13, where it is binarized. Then, in the next step S9, it is checked whether the processing has been completed for all pixels, and if it has not been completed, step S9 is performed.
The process returns to step 6, and the above-described process is repeated until the process is completed for all pixels. Thereafter, when the process is finished, the resolution-converted binary image data is sent to the image memory and communication control section.

【0012】次に、上述した各処理部の具体的な構成に
ついて詳細に説明する。まず、図3は、画像読取部11
で読み取られた画像信号のタイミング例を示す図である
。図示するように、画像データ34は、画像クロック3
3に同期して1画素のデータが入力され、更にライン同
期信号32に同期して1ライン分の画像データとなり、
そして、ページ同期信号31に同期して1ページ分の画
像データとして入力される。
Next, the specific configuration of each of the above-mentioned processing sections will be explained in detail. First, FIG. 3 shows the image reading section 11
FIG. 3 is a diagram illustrating an example of the timing of an image signal read in FIG. As shown in the figure, the image data 34 is stored in the image clock 3
One pixel data is input in synchronization with line synchronization signal 32, and becomes image data for one line in synchronization with line synchronization signal 32.
Then, it is input as image data for one page in synchronization with the page synchronization signal 31.

【0013】図4は、本実施例での解像度変換処理部1
2の構成を示すブロック図である。なお、本実施例では
、解像度変換処理として単純に間引きを行う場合につい
て説明する。図において、41は倍率設定部であり、解
像度検出処理部14で得られた変換倍率が設定される。 42はライン同期信号制御部であり、変換設定部41で
設定された値によってライン同期信号32の間引きを行
い、間引きされた変換ライン同期信号32´を出力する
。例えば、1/2倍の変換を行う場合、1ライン同期信
号おきにライン同期信号32を間引き処理する。そして
、43は画像クロック制御部であり、同様に変換設定部
41で設定された値によって画像クロック33の間引き
を行い、変換画像クロック33´を出力する。
FIG. 4 shows the resolution conversion processing section 1 in this embodiment.
2 is a block diagram showing the configuration of No. 2. FIG. In this embodiment, a case where thinning is simply performed as resolution conversion processing will be described. In the figure, 41 is a magnification setting section, in which the conversion magnification obtained by the resolution detection processing section 14 is set. 42 is a line synchronization signal control section, which thins out the line synchronization signal 32 according to the value set by the conversion setting section 41, and outputs the thinned out converted line synchronization signal 32'. For example, when performing 1/2 conversion, the line synchronization signal 32 is thinned out every other line synchronization signal. Reference numeral 43 denotes an image clock control section, which thins out the image clock 33 according to the value set by the conversion setting section 41 and outputs a converted image clock 33'.

【0014】このように、各制御信号の間引き処理を行
うことにより、画像データの解像度が変換される。図5
は、主走査,副走査それぞれ1/2に縮小した場合の各
同期信号を示す図である。図示するように、主走査,副
走査ともに1/2に変換する場合、データ量は1/4倍
となる(圧縮符号化しない場合)。図6は、本実施例に
おける2値化処理部13の構成を示すブロック図である
。図において、61はエッジ強調処理部であり、空間フ
ィルタであるラプラシアンフィルタなどを利用して画像
データのエッジ強調を行う。61はコンパレータであり
、入力信号を所定の閾値と比較して2値化を行う。
In this way, by thinning out each control signal, the resolution of image data is converted. Figure 5
2 is a diagram showing each synchronization signal when the main scanning and sub-scanning are each reduced to 1/2. As shown in the figure, when both the main scanning and sub-scanning are converted to 1/2, the amount of data becomes 1/4 (if not compressed and encoded). FIG. 6 is a block diagram showing the configuration of the binarization processing section 13 in this embodiment. In the figure, reference numeral 61 denotes an edge enhancement processing section, which enhances the edges of image data using a Laplacian filter, which is a spatial filter, or the like. A comparator 61 compares the input signal with a predetermined threshold value and performs binarization.

【0015】なお、本実施例ではエッジ強調処理を行っ
て2値化しているが、2値化処理部12の構成はこれに
限定されることなく、種々の変形が可能である。図7は
、本実施例での解像度検出処理部14の構成を示すブロ
ック図である。図において、71a,bは1ライン分の
ラインバッファであり、72a〜fは1画素遅延素子で
ある。73はパターンマッチング処理部であり、例えば
ROM等で構成される。74はパターンマッチング結果
をカウントするカウンタである。そして、75はカウン
ト74の結果から最適な解像度として高解像度と低解像
度(高解像度に対し主走査、副走査ともに1/2の解像
度)を判定する解像度判定部である。
In this embodiment, edge enhancement processing is performed to perform binarization, but the configuration of the binarization processing section 12 is not limited to this, and various modifications are possible. FIG. 7 is a block diagram showing the configuration of the resolution detection processing section 14 in this embodiment. In the figure, 71a and 71b are line buffers for one line, and 72a to 72f are one-pixel delay elements. Reference numeral 73 denotes a pattern matching processing section, which is composed of, for example, a ROM or the like. 74 is a counter that counts pattern matching results. Reference numeral 75 denotes a resolution determining unit that determines high resolution and low resolution (both main scanning and sub scanning resolutions are 1/2 of the high resolution) as the optimum resolution based on the result of the count 74.

【0016】以上の構成において、2値化された画像デ
ータは、ラインバッファ71a〜b及び1画素遅延素子
72a〜72fにより、図8に示すようなA〜Iの9画
素として取り出される。そして、パターンマッチング処
理部73で、予めプログラムされた細線パターンとマッ
チングが取られ、一致した場合は“1”が出力され、何
れにも該当しない場合は“0”が出力される。そのパタ
ーンマッチングの結果はカウンタ74に入力され、画像
データの1ページについて一致結果がカウントされる。 そして、1ページの処理が終了すると、解像度判定部7
5によってカウンタ74のカウント値に基づく解像度判
定結果が出力される。
In the above configuration, the binarized image data is extracted as nine pixels A to I as shown in FIG. 8 by line buffers 71a-b and one-pixel delay elements 72a-72f. Then, in the pattern matching processing section 73, a match is made with a preprogrammed thin line pattern, and if there is a match, "1" is output, and if none of them match, "0" is output. The pattern matching results are input to a counter 74, and the matching results are counted for one page of image data. When the processing for one page is completed, the resolution determination unit 7
5, the resolution determination result based on the count value of the counter 74 is output.

【0017】次に、上述のパターンマッチング処理につ
いて詳細に説明する。まず読み込む原稿が高い解像度を
必要とする場合(例えば小さい文字や線画等が多い場合
)、図9に示すような細線のパターンが多く検出される
。このような1画素分の幅の細線を多く有する画像を解
像度変換によって間引き処理すると、細線が消失する可
能性が多くなる。つまり、この場合、読み込んだ原稿を
これ以上低い解像度に変換すると、情報が欠落する事に
なり、例えばファクシミリでは受信原稿の読解が不可能
になる可能性もある。
Next, the above pattern matching process will be explained in detail. First, when the document to be read requires high resolution (for example, when there are many small characters, line drawings, etc.), many thin line patterns as shown in FIG. 9 are detected. If an image having many such thin lines with a width of one pixel is thinned out by resolution conversion, there is a high possibility that the thin lines will disappear. In other words, in this case, if the read original is converted to a resolution lower than this, information will be lost, and for example, there is a possibility that the received original cannot be read by facsimile.

【0018】そこで、本実施例では、パターンマッチン
グにより細線を含むブロック(3×3のマッチングブロ
ックが細線パターンであるとマッチングされたブロック
)を検出し、1ページ内の細線ブロックの数の総和を判
定基準として解像度の設定を行う。つまり、本実施例で
は、細線ブロックの総和が予め設定されている基準値を
越えた場合、高い解像度が必要であるとしてプリスキャ
ンと同じ最高解像度で読み込みを行う。例えば、ファク
シミリの場合、高い解像度(400×400DPI)で
伝送することができる。
Therefore, in this embodiment, blocks containing thin lines are detected by pattern matching (blocks in which a 3×3 matching block is matched as a thin line pattern), and the total number of thin line blocks in one page is calculated. Set the resolution as a criterion. That is, in this embodiment, if the sum of the thin line blocks exceeds a preset reference value, it is determined that a high resolution is required, and reading is performed at the same highest resolution as the prescan. For example, facsimile can be transmitted at high resolution (400 x 400 DPI).

【0019】一方、細線ブロックの総和が基準値以下の
場合には、読み取り解像度に冗長があると判断し、解像
度変換処理部15によって間引き処理を行い、低い解像
度(200×200DPI)で伝送を行う。そして、フ
ァクシミリでは、上述のように変換された解像度を実際
に送信する解像度パラメータとして、画像データを通信
回線上に送出する。
On the other hand, if the sum of the thin line blocks is less than the reference value, it is determined that there is redundancy in the reading resolution, the resolution conversion processing unit 15 performs thinning processing, and transmits at a lower resolution (200×200 DPI). . Then, in the facsimile, the image data is sent onto the communication line using the resolution converted as described above as the resolution parameter for actually sending.

【0020】[0020]

【他の実施例】次に、本発明に係る他の実施例を図面を
参照して詳細に説明する。前述した実施例では、疑似中
間調処理された2値画像に対し、解像度検出処理を行う
と、必要とする解像度に関わらず、読み取り画像に細線
パターンが多く発生し、正しい判定が不可能になる。
[Other Embodiments] Next, other embodiments of the present invention will be described in detail with reference to the drawings. In the embodiment described above, when resolution detection processing is performed on a binary image that has been subjected to pseudo-halftone processing, many fine line patterns occur in the read image regardless of the required resolution, making correct determination impossible. .

【0021】そこで、他の実施例では、疑似中間調画像
を対象とする場合、単純2値化処理結果を用いて解像度
の判定を行い、解像度判定後の再読み取り時に、疑似中
間調処理を行うものである。図11は、他の実施例にお
ける画像処理装置の構成を示すブロック図である。なお
、図1と同様な処理部には同一の符号を付し、説明は省
略する。
Therefore, in another embodiment, when a pseudo-halftone image is targeted, the resolution is determined using the simple binarization processing result, and the pseudo-halftone processing is performed when rereading after the resolution determination. It is something. FIG. 11 is a block diagram showing the configuration of an image processing device in another embodiment. Note that processing units similar to those in FIG. 1 are denoted by the same reference numerals, and explanations thereof will be omitted.

【0022】図示するように、解像度変換処理部12で
変換された多値データの疑似中間調処理を行う疑似中間
調処理部16と、多値データを単純2値化処理する単純
2値化処理部17と、操作者の設定に従って疑似中間調
画像を取り出すか、単純2値画像を取り出すかを選択す
る選択部18とを有する。図12は、疑似中間調処理部
16の詳細な構成を示す図であり、この例では、組織デ
ィザ法による2値化処理を行っている。71は比較器で
あり、閾値発生器72により得られる閾値と入力多値画
像データとを比較することにより、2値化処理を行う。 72は閾値発生器であり、ライン同期信号32と画像ク
ロック33をカウントすることにより、例えば73に示
すようなディザパターンを出力し、そのディザマトリク
ス73によって16階調の疑似中間調画像が得られる。
As shown in the figure, a pseudo halftone processing section 16 performs pseudo halftone processing on the multivalued data converted by the resolution conversion processing section 12, and a simple binarization processing that performs simple binarization processing on the multivalued data. 17, and a selection section 18 for selecting whether to extract a pseudo-halftone image or a simple binary image according to the operator's settings. FIG. 12 is a diagram showing a detailed configuration of the pseudo halftone processing section 16, and in this example, binarization processing is performed using the textured dither method. A comparator 71 performs binarization processing by comparing the threshold value obtained by the threshold value generator 72 and the input multivalued image data. 72 is a threshold generator, which outputs a dither pattern as shown in 73 by counting the line synchronization signal 32 and image clock 33, and the dither matrix 73 provides a pseudo halftone image of 16 gradations. .

【0023】次に、他の実施例における処理手順を図1
3に示すフローチャートに従って以下に説明する。まず
、ステップS11において、制御部15は画像読取部1
1に読み込み開始を指示し、画像読取部11の有する最
高解像度で画像データを読み込む。そして、ステップS
12では、読み込んだ画像データを解像度変換処理部1
2に送り、等倍の解像度変換を行う。次に、解像度変換
処理が終了すると、ステップS13へ処理を進め、変換
された画像データを単純2値化処理部17に送り、単純
2値化を行い、次のステップS14では、解像度検出処
理部14において最適な解像度を判定するための演算を
行う。次に、解像度検出処理部14での処理が終了する
と、ステップS15へ処理を進め、全画素に対して処理
を終了したか否かをチェックし、終了していなければス
テップS11へ処理を戻し、上述の処理を繰り返す。
Next, the processing procedure in another embodiment is shown in FIG.
This will be explained below according to the flowchart shown in 3. First, in step S11, the control section 15 controls the image reading section 1.
1 to start reading, and reads the image data at the highest resolution that the image reading unit 11 has. And step S
12, the read image data is sent to the resolution conversion processing unit 1.
2, and converts the resolution to the same size. Next, when the resolution conversion process is completed, the process advances to step S13, the converted image data is sent to the simple binarization processing unit 17, where simple binarization is performed, and in the next step S14, the resolution detection processing unit In step 14, calculations are performed to determine the optimal resolution. Next, when the processing in the resolution detection processing unit 14 is completed, the process advances to step S15, and it is checked whether the processing has been completed for all pixels, and if it has not been completed, the process returns to step S11, Repeat the above process.

【0024】一方、プリスキャンが終了すると、ステッ
プS16へ処理を進め、再読み込みを開始する。次のス
テップS17では、解像度検出処理部14によってプリ
スキャン時に得られた判定結果に基づく倍率により画像
データの間引き処理を行う。この間引き処理は、解像度
変換処理部12によって行われ、処理が終了すると、ス
テップS18及びS19へそれぞれ処理を進め、解像度
変換された画像データを単純2値化処理部17及び擬似
中間調処理部16に送り、それぞれの2値化を行う。そ
して、次のステップS20において、全画素に対して処
理が終了したか否かをチェックし、終了していなければ
ステップS16へ処理を戻し、全画素に対して処理が終
了するまで上述の処理を繰り返す。その後、処理が終了
すると、解像度変換されたそれぞれの2値画像データの
内、予め操作者によって選択されている2値画像データ
が選択部18によって選択され、画像メモリや通信制御
部へ送られる。
On the other hand, when the pre-scan is completed, the process advances to step S16 and re-reading is started. In the next step S17, the image data is thinned out using a magnification based on the determination result obtained during pre-scanning by the resolution detection processing section 14. This thinning processing is performed by the resolution conversion processing section 12, and when the processing is completed, the processing proceeds to steps S18 and S19, respectively, and the resolution-converted image data is processed by the simple binarization processing section 17 and the pseudo halftone processing section 16. and performs binarization of each. Then, in the next step S20, it is checked whether the processing has been completed for all pixels, and if it has not been completed, the processing is returned to step S16, and the above-mentioned processing is continued until the processing is completed for all pixels. repeat. Thereafter, when the processing is completed, the selection section 18 selects the binary image data selected in advance by the operator from among the resolution-converted binary image data and sends it to the image memory and the communication control section.

【0025】説明した実施例では、解像度変換を行うか
否かの設定をパターンマッチングにより設定しているが
、前述の方法に限るわけではなく、例えばランレングス
検出器を用い、ランレングスのヒストグラムによって画
像の複雑さを判定し、小さいランレングスの総和等を判
定基準として解像度変換の有無を設定する方法なども考
えられる。
In the embodiment described above, the setting of whether or not to perform resolution conversion is performed by pattern matching, but the method is not limited to the above-mentioned method. Another possible method is to determine the complexity of the image and set whether or not to perform resolution conversion using the sum of small run lengths as a determination criterion.

【0026】また、実施例では、高解像度と低解像度(
高解像度に対し主走査、副走査共に1/2の解像度)の
2種類の自動判定を説明したが、本発明はこれに限るわ
けではなく、解像度の種類は任意である。例えば、高解
像度,中解像度(高解像度に対し主走査、副走査共に1
/2の解像度),低解像度(高解像度に対し主走査、副
走査共に1/4の解像度)の3つの解像度に対し自動判
定を行う場合には、図10に示すようなサイズのマッチ
ングウインドウを用いて、線幅1、線幅2、線幅3の各
細線を検出し、それらの細線のヒストグラムから適当な
解像度を判定することも可能である。具体的には、線幅
1のブロックが多い場合には高解像度を選択し、線幅1
のブロックが少なく、線幅2及び線幅3のブロックが多
い場合には中解像度を選択し、そして線幅1,2,3の
各細線が少ない場合には低解像度を選択すれば良い。
In addition, in the embodiment, high resolution and low resolution (
Although two types of automatic determination have been described (both main scanning and sub-scanning resolutions are 1/2 of the high resolution), the present invention is not limited to this, and the type of resolution is arbitrary. For example, high resolution, medium resolution (for high resolution, both main scanning and sub scanning are 1
When performing automatic judgment for three resolutions: 1/2 resolution) and low resolution (1/4 resolution for both main scanning and sub-scanning compared to high resolution), a matching window of the size as shown in Figure 10 is used. It is also possible to detect each thin line having a line width of 1, a line width of 2, and a line width of 3 using the method, and determine an appropriate resolution from the histogram of these thin lines. Specifically, if there are many blocks with a line width of 1, select high resolution and
If there are few blocks with line width 2 and line width 3 and there are many blocks with line width 2 and line width 3, medium resolution may be selected, and when there are few thin lines with line widths 1, 2, and 3, low resolution may be selected.

【0027】更に、実施例では、解像度変換処理部を単
純間引き処理として説明しているが、本発明はこれに限
るわけではなく、従来提案されている補間処理等を用い
ても良い。また、画像メモリは半導体メモリだけでなく
、ハードディスクや光ディスク等どのようなものでも良
い。
Further, in the embodiment, the resolution conversion processing section is explained as simple thinning processing, but the present invention is not limited to this, and conventionally proposed interpolation processing or the like may be used. Further, the image memory is not limited to a semiconductor memory, and may be any type of memory such as a hard disk or an optical disk.

【0028】[0028]

【発明の効果】以上説明したように、本発明によれば、
操作者の判断に委ねることなく、必要な情報を伝送或い
は蓄積するために最適な解像度を自動的に設定できるこ
とで、通信時間やメモリの節減を可能とする。
[Effects of the Invention] As explained above, according to the present invention,
By automatically setting the optimal resolution for transmitting or storing necessary information without relying on the operator's judgment, it is possible to save communication time and memory.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本実施例における画像処理装置の基本構成を示
すブロック図である。
FIG. 1 is a block diagram showing the basic configuration of an image processing device in this embodiment.

【図2】本実施例における処理手順を示すフローチャー
トである。
FIG. 2 is a flowchart showing a processing procedure in this embodiment.

【図3】入力画像信号のタイミングを示す図である。FIG. 3 is a diagram showing the timing of input image signals.

【図4】解像度変換処理部の構成を示すブロック図であ
る。
FIG. 4 is a block diagram showing the configuration of a resolution conversion processing section.

【図5】解像度変換を示すタイミング信号である。FIG. 5 is a timing signal showing resolution conversion.

【図6】2値化処理部の構成を示すブロック図である。FIG. 6 is a block diagram showing the configuration of a binarization processing section.

【図7】解像度検出処理部の構成を示すブロック図であ
る。
FIG. 7 is a block diagram showing the configuration of a resolution detection processing section.

【図8】本実施例におけるパターンマッチングの参照画
素を示す図である。
FIG. 8 is a diagram showing reference pixels for pattern matching in this embodiment.

【図9】細線検出パターンの例を示す図である。FIG. 9 is a diagram showing an example of a thin line detection pattern.

【図10】3種類の解像度を判定するためのマトリクス
を示す図である。
FIG. 10 is a diagram showing a matrix for determining three types of resolution.

【図11】他の実施例における画像処理装置の基本構成
を示すブロック図である。
FIG. 11 is a block diagram showing the basic configuration of an image processing device in another embodiment.

【図12】擬似中間調処理部の構成を示すブロック図で
ある。
FIG. 12 is a block diagram showing the configuration of a pseudo halftone processing section.

【図13】他の実施例における処理手順を示すフローチ
ャートである。
FIG. 13 is a flowchart showing a processing procedure in another embodiment.

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

11  画像読取部 12  解像度変換処理部 13  2値化処理部 14  解像度検出処理部 15  制御部 16  疑似中間調処理部 17  単純2値化処理部 18  選択部 11 Image reading section 12 Resolution conversion processing section 13 Binarization processing section 14 Resolution detection processing section 15 Control section 16 Pseudo halftone processing section 17 Simple binarization processing section 18 Selection section

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  2値化された画像データから解像度変
換の変換倍率を設定する設定手段と、該設定手段で設定
された変換倍率により読み取った画像データの解像度を
変換する解像度変換手段とを有することを特徴とする画
像処理装置。
1. A setting means for setting a conversion magnification for resolution conversion from binarized image data, and a resolution conversion means for converting the resolution of read image data using the conversion magnification set by the setting means. An image processing device characterized by:
【請求項2】  画像データを単純2値化する第1の2
値化手段と、前記画像データを擬似中間調処理する第2
の2値化手段とを更に有し、前記設定手段は、第1の2
値化手段で2値化された画像データから変換倍率を設定
し、前記解像度変換手段で変換された画像データを第2
の2値化手段で2値化することを特徴とする請求項1に
記載の画像処理装置。
[Claim 2] A first method for simply binarizing image data.
a value converting means, and a second unit for performing pseudo halftone processing on the image data.
further comprising a binarization means, and the setting means includes a first binary
A conversion magnification is set from the image data binarized by the digitization means, and the image data converted by the resolution conversion means is converted into a second image data.
2. The image processing apparatus according to claim 1, wherein the image processing apparatus performs the binarization using a binarization means.
【請求項3】  同一原稿を再読み取りすることが可能
な画像読取手段を更に有し、前記解像度変換手段は、該
画像読取手段で読み取った画像データの解像度を変換す
ることを特徴とする請求項2に記載の画像処理装置。
3. The image reading apparatus further comprises an image reading means capable of re-reading the same document, and the resolution converting means converts the resolution of the image data read by the image reading means. 2. The image processing device according to 2.
JP3052209A 1991-03-18 1991-03-18 Picture processor Pending JPH04287566A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3052209A JPH04287566A (en) 1991-03-18 1991-03-18 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3052209A JPH04287566A (en) 1991-03-18 1991-03-18 Picture processor

Publications (1)

Publication Number Publication Date
JPH04287566A true JPH04287566A (en) 1992-10-13

Family

ID=12908376

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3052209A Pending JPH04287566A (en) 1991-03-18 1991-03-18 Picture processor

Country Status (1)

Country Link
JP (1) JPH04287566A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5706096A (en) * 1994-04-25 1998-01-06 Ricoh Company, Ltd. Optimum line density determining method and system
US6121982A (en) * 1994-07-05 2000-09-19 Sharp Kabushiki Kaisha Image forming apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5706096A (en) * 1994-04-25 1998-01-06 Ricoh Company, Ltd. Optimum line density determining method and system
US6121982A (en) * 1994-07-05 2000-09-19 Sharp Kabushiki Kaisha Image forming apparatus
US6124870A (en) * 1994-07-05 2000-09-26 Sharp Kabushiki Kaisha Image forming apparatus for forming an image while recording data to an optical system

Similar Documents

Publication Publication Date Title
US5649031A (en) Image information processor for producing high-quality output image
US5644366A (en) Image reproduction involving enlargement or reduction of extracted contour vector data for binary regions in images having both binary and halftone regions
JPS59223073A (en) Picture processor
EP0449528B1 (en) Image processing apparatus
JPH04287566A (en) Picture processor
JP2784278B2 (en) Image scaling processor
US20020051209A1 (en) Image processing apparatus
JPH04248766A (en) Image area separation system
JPH0730752A (en) Image area discriminating device
JPH04287564A (en) Picture processor
JPH04287565A (en) Picture processor
JP2851724B2 (en) Image processing device
CA2215555C (en) Image processing device
JPH099044A (en) Picture reader and processing method for read picture
JP3468966B2 (en) Image processing device
JP2646889B2 (en) Image processing device
JP3051144B2 (en) Halftone image processing device
JPH01177258A (en) Communication terminal equipment
JP2962742B2 (en) Image processing device
JP3466655B2 (en) Image processing device
JPH067626Y2 (en) Image information reader
JP2608964B2 (en) Image processing device
JPH05314251A (en) Pictorial communication equipment
JP2976386B2 (en) Binary image scaling device
JPH0787315A (en) Image resolution adaptive controller

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000218