JP3302060B2 - Area discriminating method and apparatus - Google Patents

Area discriminating method and apparatus

Info

Publication number
JP3302060B2
JP3302060B2 JP29452192A JP29452192A JP3302060B2 JP 3302060 B2 JP3302060 B2 JP 3302060B2 JP 29452192 A JP29452192 A JP 29452192A JP 29452192 A JP29452192 A JP 29452192A JP 3302060 B2 JP3302060 B2 JP 3302060B2
Authority
JP
Japan
Prior art keywords
pixel
area
tone
edge
pixel value
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
JP29452192A
Other languages
Japanese (ja)
Other versions
JPH06152942A (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.)
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 JP29452192A priority Critical patent/JP3302060B2/en
Publication of JPH06152942A publication Critical patent/JPH06152942A/en
Application granted granted Critical
Publication of JP3302060B2 publication Critical patent/JP3302060B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、1画像内の多階調領域
と単階調領域を判別する方法及び装置に関し、より具体
的には、写真のような多階調画像と文字や図形、グラフ
などの単階調画像の混在する画像の多階調領域と単階調
領域を判別する方法及び装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and an apparatus for discriminating between a multi-tone area and a single-tone area in one image, and more specifically, to a multi-tone image such as a photograph and a character or graphic. The present invention relates to a method and an apparatus for determining a multi-tone region and a single-tone region of an image in which a single-tone image such as a graph is mixed.

【0002】[0002]

【従来の技術】写真のような多階調画像と文字や図形、
グラフなどの単階調画像とでは、例えばプリント出力や
圧縮符号化等を考慮すれば分かるように、夫々に適した
画像処理方法がある。従って、多階調画像と単階調画像
の混在する画像を処理する場合にも、夫々に適した処理
を適用するようにしたいとする要望がある。
2. Description of the Related Art Multi-tone images such as photographs, characters and figures,
For a single-tone image such as a graph, there are image processing methods suitable for each, as can be understood by considering, for example, print output and compression encoding. Accordingly, there is a demand that even when processing an image in which a multi-tone image and a single-tone image are mixed, it is desired to apply processing suitable for each of the images.

【0003】例えば、ページ・プリンタを例にとると、
階調が多く解像度の低い印刷モードと、階調が少なく解
像度が高い印刷モードを単一ページ中で選択可能とし、
多階調画像部分を前者の印刷モードで印刷出力し、単階
調画像部分を後者の印刷モードで印刷出力する構成が考
えられている。このためには多階調画像部分と単階調画
像部分を領域分離する必要があり、その領域判定方法と
して以下の2つの方法が提案されている。
For example, taking a page printer as an example,
A print mode with many gradations and low resolution and a print mode with low gradation and high resolution can be selected in a single page.
A configuration is considered in which a multi-tone image portion is printed out in the former print mode, and a single-tone image portion is printed out in the latter print mode. For this purpose, it is necessary to separate a multi-tone image portion and a single-tone image portion into regions, and the following two methods have been proposed as region determination methods.

【0004】第1の方法では、輝度信号のレベル変化又
は画面間の輝度比較などにより画像のエッジを検出し、
検出したエッジにより領域分離する。各領域内の画素値
の変化を調べ、単階調であれば単階調領域であるとし、
その他の領域を多階調領域であるとする。
In the first method, an edge of an image is detected by a change in the level of a luminance signal or a luminance comparison between screens.
A region is separated by the detected edge. The change of the pixel value in each area is examined, and if it is a single tone, it is determined that the area is a single tone area,
The other area is assumed to be a multi-tone area.

【0005】第2の方法は、RGB又はCMYKの特定
色についてエッジ判定し、エッジ部分と判定された領域
を単階調領域、その他の部分を多階調領域とする。
In a second method, an edge is determined for a specific color of RGB or CMYK, a region determined to be an edge portion is defined as a single tone region, and the other portion is defined as a multi-tone region.

【0006】[0006]

【発明が解決しようとする課題】しかしこのような領域
判別方法では、判別精度があまり高くなかった。例え
ば、本来多階調領域と判断されるべきものであって、エ
ッジ間の1画素を単階調と認識したり、エッジ間の2画
素以上の画素値がたまたま一致する場合に単階調と認識
してしまうことがあった。
However, in such an area discriminating method, the discriminating accuracy is not so high. For example, one pixel between edges should be recognized as a single tone, and a single tone between edges should be recognized as a single tone. I sometimes recognized it.

【0007】本発明は、単階調領域と多階調領域をより
精度良く判別できる領域判別方法及び装置を提示するこ
とを目的とする。
An object of the present invention is to provide an area discriminating method and apparatus which can discriminate a single tone area and a multi-tone area with higher accuracy.

【0008】[0008]

【課題を解決するための手段】本発明に係る領域判別方
法は、所定方向に画素を走査し、エッジ判定結果により
1画像内の多階調領域及び単階調領域を判別する方法で
あって、注目画素の、当該所定方向に交差する方向で隣
接する画素がエッジでなく、且つ、当該注目画素と当該
隣接する画素の画素値が実質的に不一致のときに、当該
注目画素を多階調領域に属すると判定する第1ステップ
と、注目画素と同じ走査方向上にある比較画素であっ
て、当該所定走査方向に交差する方向でエッジでなく階
調を持つものと画素値が実質的に一致するときに、当該
注目画素を多階調領域に属すると判定する第2ステップ
を設けたことを特徴とする。
An area discriminating method according to the present invention is a method of scanning pixels in a predetermined direction and discriminating a multi-tone area and a single-tone area in one image based on an edge judgment result. When the pixel adjacent to the target pixel in the direction intersecting the predetermined direction is not an edge and the pixel values of the target pixel and the adjacent pixel do not substantially match, the target pixel is multi-tone. A first step of determining that the pixel belongs to the region; and a comparison pixel that is located in the same scanning direction as the pixel of interest and has a gradation instead of an edge in a direction that intersects with the predetermined scanning direction. A second step is provided for determining that the target pixel belongs to the multi-tone area when the values match.

【0009】本発明に係る領域判別装置は、所定方向に
画素を走査し、エッジ判定結果により1画像内の多階調
領域及び単階調領域を判別する領域判別装置であって、
指定した画素がエッジであるか否かを判定するエッジ判
定手段と、2つの画素の画素値を実質的に比較する画素
値比較手段、少なくとも1つの画素値を記憶する画素値
記憶手段と、注目画素の、当該所定方向に交差する方向
で隣接する画素がエッジでなく、且つ、当該注目画素と
当該隣接する画素の画素値が実質的に不一致のときに、
当該注目画素を多階調領域に属すると判定し、注目画素
と同じ走査方向上にある比較画素であって、当該所定走
査方向に交差する方向でエッジでなく階調を持つものと
画素値が実質的に一致するときに、当該注目画素を多階
調領域に属すると判定する判定手段とを設けたことを特
徴とする。
An area discriminating apparatus according to the present invention is an area discriminating apparatus that scans pixels in a predetermined direction and discriminates a multi-tone area and a single-tone area in one image based on an edge judgment result.
Edge determination means for determining whether the designated pixel is an edge, pixel value comparison means for substantially comparing pixel values of two pixels, pixel value storage means for storing at least one pixel value, When the pixel adjacent to the pixel in the direction intersecting with the predetermined direction is not an edge and the pixel value of the pixel of interest and the pixel value of the adjacent pixel do not substantially match,
It is determined that the pixel of interest belongs to the multi-tone region, and a comparison pixel that is on the same scanning direction as the pixel of interest and has a gradation instead of an edge in a direction intersecting the predetermined scanning direction and a pixel value And determining means for determining that the target pixel belongs to the multi-tone area when the values substantially match.

【0010】[0010]

【作用】上記第1及び第2ステップ又は判定手段によ
り、エッジ間の1画素も確実に判別でき、一律に単階調
と認識することがなくなる。また、エッジ間の2画素以
上の画素値がたまたま一致する場合に単階調と認識して
しまうことがなくなる。
According to the first and second steps or the determination means, one pixel between edges can be reliably determined, and it is not uniformly recognized as a single tone. In addition, when pixel values of two or more pixels between edges coincide with each other, they are not recognized as a single tone.

【0011】[0011]

【実施例】以下、図面を参照して本発明の実施例を説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

【0012】図1は、本発明の一実施例の概略構成ブロ
ック図を示す。10は、領域判別対象のカラー画像デー
タが格納される画像メモリである。RGBデータ又は、
輝度色差データが格納される。12は注目画素値を記憶
する注目画素値記憶回路、14は、指定した画素がエッ
ジであるか否かを判定するエッジ判定回路である。本実
施例では、エッジ判定回路14は、nライン離れた同じ
水平位置の画素値との変化量(絶対値)を算出し、それ
が所定閾値以上であるときにエッジと判定する。
FIG. 1 is a schematic block diagram showing the configuration of an embodiment of the present invention. Reference numeral 10 denotes an image memory in which color image data to be subjected to region determination is stored. RGB data or
The luminance / color difference data is stored. Reference numeral 12 denotes a target pixel value storage circuit that stores a target pixel value, and reference numeral 14 denotes an edge determination circuit that determines whether a designated pixel is an edge. In the present embodiment, the edge determination circuit 14 calculates the amount of change (absolute value) from the pixel value at the same horizontal position that is n lines away, and determines that the edge is an edge when it is equal to or greater than a predetermined threshold.

【0013】16は、指定する2つの画素値を比較する
画素値比較回路である。この比較は色成分の全てについ
て行なう。何れかの色成分が相違すれば、不一致と判定
する。いうまでもないが、画素値比較回路16は、一定
の誤差範囲内で画素値が一致する場合に、等しいと判定
する。
Reference numeral 16 denotes a pixel value comparison circuit for comparing two specified pixel values. This comparison is made for all the color components. If any one of the color components is different, it is determined that they do not match. Needless to say, the pixel value comparison circuit 16 determines that the pixel values are equal when the pixel values match within a certain error range.

【0014】18は、多階調領域又は単階調領域の判別
結果を記憶する領域記憶回路である。例えば、1画素に
1ビットを割り当て、多階調領域に属する画素のアドレ
スに”1”を記憶し、単階調領域に属する画素のアドレ
スに”0”を記憶するようにしてもよい。また、2つの
画像メモリからなり、多階調領域の画像データと単階調
領域の画像データを各画像メモリに記憶するようにして
もよい。
Reference numeral 18 denotes an area storage circuit for storing a result of discrimination between a multi-tone area and a single-tone area. For example, one bit may be assigned to one pixel, and “1” may be stored in an address of a pixel belonging to a multi-tone area, and “0” may be stored in an address of a pixel belonging to a single-tone area. Further, two image memories may be used, and the image data of the multi-tone area and the image data of the single-tone area may be stored in each image memory.

【0015】20は全体を制御する主制御回路である。
画像メモリ10、注目画素値記憶回路12、エッジ判定
回路14、画素値比較回路16、領域記憶回路18及び
主制御回路20は、バス22を介して相互に接続する。
主制御回路20は例えばマイクロコンピュータからな
り、注目画素値記憶回路12、エッジ判定回路14、画
素値比較回路16及び領域記憶回路18の幾つかの機能
をそのマイクロコンピュータの制御ソフトウエアにより
実現してもよいことは明らかである。
Reference numeral 20 denotes a main control circuit for controlling the whole.
The image memory 10, the target pixel value storage circuit 12, the edge determination circuit 14, the pixel value comparison circuit 16, the area storage circuit 18, and the main control circuit 20 are mutually connected via a bus 22.
The main control circuit 20 is composed of, for example, a microcomputer, and realizes some functions of the target pixel value storage circuit 12, the edge determination circuit 14, the pixel value comparison circuit 16 and the area storage circuit 18 by the control software of the microcomputer. Obviously it is good.

【0016】図2、図3及び図4に示すフローチャート
を参照して、本実施例の動作を詳細に説明する。なお、
ここでは、1画面は640画素×480ラインであると
する。iは1ライン上で画素を走査する変数、jはライ
ンを示す変数であり、注目画素の画面上でのアドレスを
示す。(i,j)に位置する画素値をI(i,j)で表
わす。
The operation of this embodiment will be described in detail with reference to the flowcharts shown in FIGS. 2, 3 and 4. In addition,
Here, it is assumed that one screen is 640 pixels × 480 lines. i is a variable that scans a pixel on one line, j is a variable that indicates a line, and indicates the address of the pixel of interest on the screen. The pixel value located at (i, j) is represented by I (i, j).

【0017】先ず、i,jを初期化する(S1)。ライ
ンの最初の画素値I(0,j)については(S2)、注
目画素値記憶回路12に記憶し(S3)、図3に示すプ
ロセス#2を実行する(S4)。ラインの先頭画素以外
で、注目画素がエッジであるときには、その注目画素値
I(i,j)を注目画素値記憶回路12に記憶し(S
6)、図4に示すプロセス#3を実行する(S7)。エ
ッジ判定回路14が、エッジか否かを判定する。
First, i and j are initialized (S1). The first pixel value I (0, j) of the line (S2) is stored in the target pixel value storage circuit 12 (S3), and the process # 2 shown in FIG. 3 is executed (S4). When the target pixel is an edge other than the first pixel of the line, the target pixel value I (i, j) is stored in the target pixel value storage circuit 12 (S
6), the process # 3 shown in FIG. 4 is executed (S7). The edge determination circuit 14 determines whether the edge is an edge.

【0018】iをインクリメントしながら(S8)、1
ラインの端に到達するまで(S9)、S2〜S7を繰り
返す。1ラインが終了すれば、次のラインについて同様
の処理を繰り返す。即ち、jをインクリメントし、iを
クリアし(S10)、最終ラインの処理を終了していな
いことを確認して(S11)、S2に戻る。
While incrementing i (S8), 1
S2 to S7 are repeated until the end of the line is reached (S9). When one line is completed, the same processing is repeated for the next line. That is, j is incremented, i is cleared (S10), it is confirmed that the processing of the last line has not been completed (S11), and the process returns to S2.

【0019】図3に示すプロセス#2を説明する。プロ
セス#2では、注目画素(i,k)の隣からライン終端
までの間で比較画素を走査し、注目画素値と一致しない
画素を検出する。即ち、比較画素のライン上の位置を示
す変数kにi+1を代入し(S21)、kが640(ラ
イン終端)に到達するまで(S22)、注目画素値I
(i,j)と比較画素値I(k,j)を比較する(S2
3)。この比較は画素値比較回路16で行なわれる。実
質的に一致する場合には、kをインクリメントして(S
24)、次の比較画素値と比較する。
The process # 2 shown in FIG. 3 will be described. In the process # 2, the comparison pixel is scanned from a position adjacent to the target pixel (i, k) to the end of the line, and a pixel that does not match the target pixel value is detected. That is, i + 1 is substituted for a variable k indicating the position of the comparison pixel on the line (S21), and the target pixel value I is maintained until k reaches 640 (end of line) (S22).
(I, j) is compared with the comparison pixel value I (k, j) (S2
3). This comparison is performed by the pixel value comparison circuit 16. If they substantially match, k is incremented (S
24) Compare with the next comparison pixel value.

【0020】比較画素と注目画素の画素値が実質的に不
一致の場合には(S23)、エッジ判定回路14により
比較画素がエッジが否かを調べ(S25)、エッジの場
合には、注目画素が単階調領域に属すると判定し(S2
6)、エッジでない場合には、注目画素が多階調領域に
属すると判定する(S27)。それぞれの判定結果を領
域記憶回路18に記憶する。
If the pixel value of the comparison pixel does not substantially match the pixel value of the target pixel (S23), the edge determination circuit 14 checks whether or not the comparison pixel has an edge (S25). Is determined to belong to the single tone area (S2
6) If it is not an edge, it is determined that the target pixel belongs to the multi-tone area (S27). Each determination result is stored in the area storage circuit 18.

【0021】また、注目画素値と比較画素値が一致する
まま、比較画素がライン終端に到達した場合には(S2
2)、注目画素が単階調領域に属すると判定し(S2
6)、判定結果を領域記憶回路18に記憶する。
When the comparison pixel reaches the end of the line while the target pixel value and the comparison pixel value match (S2
2) It is determined that the target pixel belongs to the single tone area (S2
6), the determination result is stored in the area storage circuit 18.

【0022】プロセス#2は、同じライン上でのエッジ
間での画素値の変化の有無により多階調領域か単階調領
域かを判別している。
In the process # 2, whether a pixel is a multi-tone area or a single-tone area is determined based on whether a pixel value changes between edges on the same line.

【0023】図4に示すプロセス#3を説明する。先
ず、注目画素の上又は下の画素がエッジであるか否かを
エッジ判定回路14により判定する(S31)。エッジ
である場合には、注目画素はエッジに近接するものであ
り、従来の判定ルーチンであるプロセス#2で領域判定
できる。即ち、エッジである場合(S31)、注目画素
値I(i,j)を注目画素値記憶回路12に記憶して
(S32)、プロセス#2を実行する(S33)。
The process # 3 shown in FIG. 4 will be described. First, the edge determination circuit 14 determines whether the pixel above or below the target pixel is an edge (S31). If it is an edge, the target pixel is close to the edge, and the area can be determined by process # 2, which is a conventional determination routine. That is, if it is an edge (S31), the target pixel value I (i, j) is stored in the target pixel value storage circuit 12 (S32), and the process # 2 is executed (S33).

【0024】注目画素の上の画素も下の画素もエッジで
ない場合(S31)、画素値比較回路16が、注目画素
値I(i,j)とその上及び下の画素値I(i,j±
1)とを比較する(S35)。注目画素値が少なくとも
上及び下の画素値の一方と一致しない場合(S35)、
この注目画素はラインに交差する方向で階調を持ってい
ることになる。従って、注目画素が多階調領域に属する
と判定する(S35)。
If neither the pixel above nor below the target pixel is an edge (S31), the pixel value comparison circuit 16 determines the target pixel value I (i, j) and the pixel values I (i, j) above and below it. ±
1) is compared (S35). If the target pixel value does not match at least one of the upper and lower pixel values (S35),
This pixel of interest has a gradation in the direction crossing the line. Therefore, it is determined that the target pixel belongs to the multi-tone area (S35).

【0025】S31及びS34により、注目画素がエッ
ジに近接する場合と、ラインに交差する方向で階調を持
っている画素を適切に分類できる。
According to S31 and S34, it is possible to appropriately classify a case where the target pixel is close to the edge and a pixel having a gradation in a direction intersecting the line.

【0026】注目画素値がその上及び下の画素値と一致
する場合(S34)、注目画素の隣の画素を比較画素に
設定し(S36)、ライン終端に到達するか(S3
7)、注目画素値I(i,j)と比較画素値I(k,
j)が不一致になるか(S38)、又は注目画素値I
(i,j)と比較画素の上下の画素値I(k,j±1)
とが不一致になるまで、比較画素を順に隣に移動する
(S40)。
If the pixel value of interest matches the pixel values above and below it (S34), the pixel next to the pixel of interest is set as the comparison pixel (S36) and the end of the line is reached (S3).
7), the target pixel value I (i, j) and the comparison pixel value I (k,
j) does not match (S38) or the target pixel value I
(I, j) and pixel values I (k, j ± 1) above and below the comparison pixel
The comparison pixels are sequentially moved to the next position until (S40) does not match (S40).

【0027】何もなくライン終端に到達すれば(S3
7)、注目画素が単階調領域に属すると判定する(S4
1)。
If the end of the line is reached without anything (S3
7), it is determined that the target pixel belongs to the single tone area (S4)
1).

【0028】注目画素値と比較画素値が不一致になった
ときには(S38)、比較画素がエッジか否かを調べる
(S42)。比較画素がエッジであれば、注目画素が単
階調領域に属すると判定する(S41)。比較画素がエ
ッジでなければ(S42)、階調が変化しているのであ
るから、注目画素が多階調領域に属すると判定する(S
43)。
When the target pixel value and the comparison pixel value do not match (S38), it is checked whether or not the comparison pixel is an edge (S42). If the comparison pixel is an edge, it is determined that the target pixel belongs to the single gradation area (S41). If the comparison pixel is not an edge (S42), since the gradation has changed, it is determined that the target pixel belongs to the multi-gradation area (S42).
43).

【0029】注目画素値I(i,j)が比較画素の上及
び下の画素値I(k,j±1)の少なくとも一方と不一
致になると(S39)、比較画素の上又は下の画素がエ
ッジであるか否かを調べる(S44)。比較画素の上又
は下の画素がエッジの場合(S44)、注目画素値を注
目画素値記憶回路12に記憶し(S45)、プロセス#
2を実行する(S46)。比較画素の上及び下の画素が
共にエッジでない場合(S44)、ラインに交差する方
向で階調が変化しているのであるから、注目画素が多階
調領域に属すると判定する(S43)。
When the pixel value of interest I (i, j) does not match at least one of the pixel values I (k, j ± 1) above and below the comparison pixel (S39), the pixel above or below the comparison pixel becomes It is checked whether or not it is an edge (S44). If the pixel above or below the comparison pixel is an edge (S44), the target pixel value is stored in the target pixel value storage circuit 12 (S45), and the process #
2 is executed (S46). If neither the upper nor lower pixel of the comparison pixel is an edge (S44), it is determined that the target pixel belongs to the multi-tone area (S43) because the tone is changing in the direction intersecting the line.

【0030】本実施例では、注目画素を含むライン及び
その上下のラインの合計3本のラインの画素値から単階
調領域か多階調領域かを判定したが、上下の探索範囲を
より広げてもよいことはいうまでもない。また、本実施
例では、先ず、ライン方向に比較画素を走査したが、ラ
インに直交する方向に比較画素を走査してもよいことは
いうまでもない。
In this embodiment, a single gradation area or a multi-gradation area is determined from the pixel values of the line including the target pixel and the three lines above and below it. It goes without saying that this may be done. Further, in this embodiment, first, the comparative pixels are scanned in the line direction, but it goes without saying that the comparative pixels may be scanned in the direction orthogonal to the line.

【0031】エッジ判定回路14で、その前処理とし
て、図5に示すように、エッジ判定対象の画素Xとその
直前画素Fとを画素値比較すると共に、前ラインの近接
する複数、例えば3個の画素A,B,Cとも画素値比較
し、注目画素Xと前画素Fとの値変化が少なく、且つ、
注目画素Xの画素値が画素A,B又はCの何れかの画素
値と実質的に一致する場合には、エッジ判定の閾値を小
さくする。このようにすると、一定のエッジ判定閾値を
用いる場合には見落としてしまうエッジも、正しくエッ
ジとして検出でき、従って、多階調領域及び単階調領域
の領域判定も、より正確になる。
As shown in FIG. 5, the edge determination circuit 14 compares the pixel X to be edge-determined with the immediately preceding pixel F as a pre-process, as well as a plurality of pixels adjacent to the previous line, for example, three pixels. The pixel values of the pixels A, B, and C are compared, and the value change between the target pixel X and the previous pixel F is small, and
If the pixel value of the target pixel X substantially matches any of the pixel values of the pixels A, B, and C, the threshold value for edge determination is reduced. In this way, an edge that is overlooked when a certain edge determination threshold is used can be correctly detected as an edge, and therefore, the area determination of the multi-tone area and the single-tone area becomes more accurate.

【0032】更に、注目画素の上下何れか一方の画素が
単階調領域に属しており、且つ、画素値が一致する場
合、注目画素がエッジであっても、画素値が一致する画
素から連なるエッジであると考えることができるので、
単階調領域であると判定する。即ち、注目画素は、上下
の単階調領域に連続し、ライン方向には孤立したエッジ
になっている。
Further, when one of the upper and lower pixels of the target pixel belongs to the single gradation area, and the pixel values match, even if the target pixel is an edge, it is continued from the pixels having the same pixel value. Since it can be considered an edge,
It is determined that the area is a single tone area. That is, the target pixel is continuous with the upper and lower single tone areas, and has an isolated edge in the line direction.

【0033】上記実施例では、領域判別結果を領域記憶
回路18に記憶し、画像メモリ10に記憶される画像を
例えばプリント出力する際に、当該領域記憶回路18の
記憶情報をにより印刷モードを制御することになるが、
例えば、1つのページの1以上の多階調領域(又は単階
調領域)の画像をまとめて印刷するような場合には、上
記実施例による領域判別処理の後、領域記憶回路18の
情報を参照して、多階調領域(又は単階調領域)の画像
データを画像メモリ10から読み出し、印刷回路系に印
加することになる。
In the above embodiment, the area discrimination result is stored in the area storage circuit 18, and when the image stored in the image memory 10 is printed out, for example, the print mode is controlled based on the information stored in the area storage circuit 18. Will be
For example, in a case where images of one or more multi-tone areas (or single-tone areas) of one page are collectively printed, after the area determination processing according to the above-described embodiment, the information of the area storage circuit 18 is stored. With reference to this, the image data of the multi-tone area (or the single-tone area) is read out from the image memory 10 and applied to the print circuit system.

【0034】また、領域判別結果を領域記憶回路18に
記憶せず、例えば、多階調領域に属すると判別された画
像データを領域判別処理に続いて画素毎に順に印刷し、
もう1回領域判別を行ない、今度は、単階調領域に属す
ると判別された画像データを画素毎に順に印刷するよう
にしてもよい。その場合、領域記憶回路18は不要にな
り、画像メモリ10とは別に、単階調領域の画像データ
を記憶する画像メモリと多階調領域の画像データを記憶
する画像メモリを別個に設ける必要もなくなる。
Also, without storing the area determination result in the area storage circuit 18, for example, image data determined to belong to a multi-tone area is sequentially printed for each pixel following the area determination processing.
The area determination may be performed once more, and the image data determined to belong to the single tone area may be sequentially printed for each pixel. In this case, the area storage circuit 18 becomes unnecessary, and it is also necessary to separately provide an image memory for storing image data in a single-tone area and an image memory for storing image data in a multi-tone area, separately from the image memory 10. Disappears.

【0035】[0035]

【発明の効果】以上の説明から容易に理解できるよう
に、本発明によれば、多階調画像と単階調画像が1画面
又は1ページに混在する画像から、多階調領域と単階調
領域を適切に分離することができる。
As can be easily understood from the above description, according to the present invention, a multi-tone image and a single-tone image are mixed from one image or one page into a multi-tone image and a single-tone image. The tone regions can be properly separated.

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

【図1】 本発明の一実施例の概略構成ブロック図であ
る。
FIG. 1 is a schematic block diagram of an embodiment of the present invention.

【図2】 本実施例の主たる動作フローチャートであ
る。
FIG. 2 is a main operation flowchart of the embodiment.

【図3】 図2のプロセス#2のフローチャートであ
る。
FIG. 3 is a flowchart of a process # 2 of FIG. 2;

【図4】 図2のプロセス#3のフローチャートであ
る。
FIG. 4 is a flowchart of a process # 3 in FIG. 2;

【図5】 別のエッジ判定方法の説明図である。FIG. 5 is an explanatory diagram of another edge determination method.

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

10:画像メモリ 12:注目画素値記憶回路 14:
エッジ判定回路 16:画素値比較回路 18:領域記
憶回路 20:主制御回路 22:バス
10: Image memory 12: Target pixel value storage circuit 14:
Edge determination circuit 16: Pixel value comparison circuit 18: Area storage circuit 20: Main control circuit 22: Bus

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−40752(JP,A) 特開 平2−196564(JP,A) 特開 平3−207164(JP,A) 特開 平2−162477(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 1/40 - 1/409 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-4-40752 (JP, A) JP-A-2-196564 (JP, A) JP-A-3-207164 (JP, A) JP-A-2-207 162477 (JP, A) (58) Field surveyed (Int. Cl. 7 , DB name) H04N 1/40-1/409

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 所定方向に画素を走査し、エッジ判定結
果により1画像内の多階調領域及び単階調領域を判別す
る方法であって、注目画素の、当該所定方向に交差する
方向で隣接する画素がエッジでなく、且つ、当該注目画
素と当該隣接する画素の画素値が実質的に不一致のとき
に、当該注目画素を多階調領域に属すると判定する第1
ステップと、注目画素と同じ走査方向上にある比較画素
であって、当該所定走査方向に交差する方向でエッジで
なく階調を持つものと画素値が実質的に一致するとき
に、当該注目画素を多階調領域に属すると判定する第2
ステップを設けたことを特徴とする領域判別方法。
1. A method of scanning a pixel in a predetermined direction to determine a multi-tone area and a single-tone area in one image based on an edge determination result, wherein the multi-tone area and the single-tone area in one image are determined in a direction intersecting the predetermined direction. When the adjacent pixel is not an edge and the pixel value of the pixel of interest and the pixel value of the adjacent pixel do not substantially match, a first determination is made that the pixel of interest belongs to the multi-tone region.
A step and a comparison pixel in the same scanning direction as the pixel of interest, the pixel having a gradation instead of an edge in a direction intersecting the predetermined scanning direction, when the pixel value substantially matches the pixel of interest. Is determined to belong to the multi-tone area.
An area discriminating method comprising a step.
【請求項2】 所定方向に画素を走査し、エッジ判定結
果により1画像内の多階調領域及び単階調領域を判別す
る領域判別装置であって、指定した画素がエッジである
か否かを判定するエッジ判定手段と、2つの画素の画素
値を実質的に比較する画素値比較手段、少なくとも1つ
の画素値を記憶する画素値記憶手段と、注目画素の、当
該所定方向に交差する方向で隣接する画素がエッジでな
く、且つ、当該注目画素と当該隣接する画素の画素値が
実質的に不一致のときに、当該注目画素を多階調領域に
属すると判定し、注目画素と同じ走査方向上にある比較
画素であって、当該所定走査方向に交差する方向でエッ
ジでなく階調を持つものと画素値が実質的に一致すると
きに、当該注目画素を多階調領域に属すると判定する判
定手段とを設けたことを特徴とする領域判別装置。
2. An area discriminating apparatus that scans a pixel in a predetermined direction and discriminates a multi-tone area and a single-tone area in one image based on an edge judgment result, and determines whether a designated pixel is an edge. , A pixel value comparison unit that substantially compares the pixel values of two pixels, a pixel value storage unit that stores at least one pixel value, and a direction intersecting the target pixel with the predetermined direction. When the adjacent pixel is not an edge and the pixel value of the pixel of interest and the pixel of the adjacent pixel do not substantially match, it is determined that the pixel of interest belongs to the multi-tone region, and the same scanning as the pixel of interest is performed. When the pixel value substantially coincides with a comparative pixel on the direction that has a gradation instead of an edge in a direction intersecting the predetermined scanning direction, the pixel of interest belongs to the multi-gradation area. Judgment means is provided. An area discriminating apparatus characterized by the following.
JP29452192A 1992-11-02 1992-11-02 Area discriminating method and apparatus Expired - Fee Related JP3302060B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29452192A JP3302060B2 (en) 1992-11-02 1992-11-02 Area discriminating method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29452192A JP3302060B2 (en) 1992-11-02 1992-11-02 Area discriminating method and apparatus

Publications (2)

Publication Number Publication Date
JPH06152942A JPH06152942A (en) 1994-05-31
JP3302060B2 true JP3302060B2 (en) 2002-07-15

Family

ID=17808860

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29452192A Expired - Fee Related JP3302060B2 (en) 1992-11-02 1992-11-02 Area discriminating method and apparatus

Country Status (1)

Country Link
JP (1) JP3302060B2 (en)

Also Published As

Publication number Publication date
JPH06152942A (en) 1994-05-31

Similar Documents

Publication Publication Date Title
US6608926B1 (en) Image processing method, image processing apparatus and recording medium
EP0262801B1 (en) Method or system for processing image data
JP2595158B2 (en) Automatic picture / character separation apparatus for image information and its method
JP3902265B2 (en) Contrast improvement method
EP0234590B1 (en) Method of and apparatus for generating high-resolution binary image data with respect to linear edges
US6377711B1 (en) Methods and systems for detecting the edges of objects in raster images using diagonal edge detection
JPH0244437B2 (en)
US6381376B1 (en) Restoring a single image by connecting a plurality of character, shadow or picture input images
US5073959A (en) Image processing apparatus with contour extraction
JP2000175208A (en) Interpolation processing unit and recoding medium recording interpolation processing program
JP3950551B2 (en) Image processing method, apparatus, and recording medium
JP3302060B2 (en) Area discriminating method and apparatus
US5542029A (en) System and method for halftoning using an overlapping threshold array
US20010043749A1 (en) Image processing apparatus
JP2000022943A (en) Device and method for discriminating image area, and recording medium recorded with image area discriminating program
JPS6359272A (en) Picture processor
JP3359377B2 (en) Background concentration detector
JPS6174453A (en) Picture display device
JPH0824339B2 (en) Image signal processor
JP2777378B2 (en) Halftone area detection method
JP3115065B2 (en) Image information edge enhancement device
JP2972171B2 (en) Halftone area detection method
JP3004245B2 (en) Halftone area detection method
JP2778669B2 (en) Halftone area detection method
JP2978550B2 (en) Mark detection device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020409

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

Free format text: PAYMENT UNTIL: 20090426

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090426

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100426

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees