Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6365189B2 - - Google Patents
[go: Go Back, main page]

JPS6365189B2 - - Google Patents

Info

Publication number
JPS6365189B2
JPS6365189B2 JP57015473A JP1547382A JPS6365189B2 JP S6365189 B2 JPS6365189 B2 JP S6365189B2 JP 57015473 A JP57015473 A JP 57015473A JP 1547382 A JP1547382 A JP 1547382A JP S6365189 B2 JPS6365189 B2 JP S6365189B2
Authority
JP
Japan
Prior art keywords
cell
mode
image
block
cell block
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
Application number
JP57015473A
Other languages
Japanese (ja)
Other versions
JPS58134576A (en
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 filed Critical
Priority to JP57015473A priority Critical patent/JPS58134576A/en
Publication of JPS58134576A publication Critical patent/JPS58134576A/en
Publication of JPS6365189B2 publication Critical patent/JPS6365189B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】 本発明は、文字や図形の如き2階調画像と写真
の如き中間調画像とが混在する画像において、中
間調画像領域を決定する画像処理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an image processing method for determining a halftone image area in an image containing a mixture of two-tone images such as characters and graphics and halftone images such as photographs.

文字や図形などは白と黒の2階調で表現しても
視覚上良好な画品質が期待できるが、写真などは
中間調をもたせて表現しなければ画像のもつ情報
が損われる。2階調画像領域(以下文字領域とい
う)と中間調画像領域(以下写真領域という)と
が混在する場合、一般的には、全画面を中間調で
表現するか、又はデイザ法に見られるように、2
階調で擬似的に中間調を表現しているが、前者で
は、画像の蓄積・伝送におけるデータ量が多くな
り、又、後者では文字領域における空間周波数の
高い部分の高品質は損われる。
Visually good image quality can be expected when characters and figures are expressed in two gradations of black and white, but the information contained in images is lost unless they are expressed in intermediate tones, such as photographs. When a two-tone image area (hereinafter referred to as a character area) and a halftone image area (hereinafter referred to as a photographic area) coexist, generally the entire screen is expressed in halftones, or a ni, 2
Halftones are expressed in a pseudo manner using gradation, but in the former case, the amount of data required for image storage and transmission increases, and in the latter case, the high quality of high spatial frequency parts in the character area is impaired.

従つて、文字領域は2階調で表現し、写真領域
はデイザ法その他の中間調で表現することが望ま
しい。
Therefore, it is desirable to express the text area in two gradations, and to express the photo area in halftones such as dithering.

本発明はデイザ画像に基づいて写真領域を決定
するものであり、その目的は文字領域を2階調で
表現し且つ写真領域をデイザ法その他の中間調で
表現できるようにすることにある。
The present invention determines a photographic area based on a dithered image, and its purpose is to allow character areas to be expressed in two gradations and photographic areas to be expressed in halftones using the dither method or other methods.

以下、本発明に係る第1及び第2の画像処理方
式について詳細に説明する。
Hereinafter, the first and second image processing methods according to the present invention will be explained in detail.

本発明の第1の画像処理方式においては、第1
段階として、画像をデイザ化することによつてデ
イザ画像へ変換する。
In the first image processing method of the present invention, the first
As a step, the image is converted into a dithered image by dithering.

第2段階として、デイザマトリツクスに対応し
た画素ブロツクのドツトパターンが、文字領域で
は隣接画素ブロツク相互間で類似性が低いか又は
類似度が高い場合はそのドツトパターンが画像の
地色に類似し、且つ写真領域では隣接画素ブロツ
ク相互間で類似性が高いことを利用してデイザ画
像の各部分の写真らしさを測定する。写真らしさ
の測定は、デイザマトリツクスの画素ブロツクの
整数倍の大きさを有する画素群をセルとして、各
セル毎に画素ブロツク相互のドツトパターンの類
似度を測定し、写真らしいセルをHモードとして
決定する。
As a second step, if the dot pattern of the pixel block corresponding to the dither matrix has low similarity or high similarity between adjacent pixel blocks in the character area, the dot pattern is similar to the background color of the image. In addition, in the photographic area, the photographicity of each part of the dithered image is measured by utilizing the high similarity between adjacent pixel blocks. To measure the photo-likeness, a group of pixels having a size that is an integral multiple of the pixel block of the dither matrix is used as a cell, and the similarity of dot patterns between pixel blocks is measured for each cell. Determine as.

次の段階すなわち第3段階として、複数形式の
隣接セル組を順次設定し且つ各形式の隣接セル組
に対応した形式でセルモード画像をラスタ走査
し、各着目セルにおける隣接セル組がHモードで
あることを条件にして非Hモードの各着目セルを
Hモードへ変換することによつて、写真らしいH
モードセルが集合した部分を略矩形状に変換す
る。
In the next step, that is, the third step, multiple formats of adjacent cell sets are sequentially set and the cell mode image is raster-scanned in a format corresponding to each format of adjacent cell sets, and the adjacent cell set in each focused cell is set in H mode. By converting each cell of interest in non-H mode to H mode under certain conditions, H
The part where mode cells are gathered is converted into a substantially rectangular shape.

最終段階すなわち第4段階として、Hモードセ
ルが集合した略矩形状の領域の大きさを測定し、
設定されたサイズよりも小さい領域におけるHモ
ードセルを非Hモードへ変換することによつて、
文字領域におけるHモードセルを非Hモードへ変
換する。
As the final step, that is, the fourth step, the size of the approximately rectangular area where the H-mode cells are gathered is measured,
By converting H mode cells in an area smaller than a set size to non-H mode,
Convert H mode cells in the character area to non-H mode.

又、本発明の第2の画像処理方式においては、
前述の第2段階の直後にセルを2次元的に複数個
統合したものをセルブロツクとして、セルモード
画像をこのセルブロツクを単位として分割し、各
セルブロツクを当該セルブロツク内のHモードの
セルの個数(以下、これをHモード量という)に
応じてHモードと決定し、すなわち前述の第3段
階以後の処理をセルブロツクによるモード画像を
対象として実行させることによつて、処理速度を
高めることもできる。
Furthermore, in the second image processing method of the present invention,
Immediately after the second step described above, a cell block is obtained by integrating a plurality of cells two-dimensionally, and the cell mode image is divided using this cell block as a unit. The processing speed can also be increased by determining the H mode according to the amount of H mode, that is, by executing the processing from the third stage described above on the cell block mode image.

第1図はデイザ画像の説明図であり、第2図は
本発明に係る画像処理装置の一例を示す機能ブロ
ツク図である。以下、第1図、第2図を参照して
前述の第2の画像処理方式に係る本発明の一実施
例について、詳細に説明する。
FIG. 1 is an explanatory diagram of a dithered image, and FIG. 2 is a functional block diagram showing an example of an image processing apparatus according to the present invention. Hereinafter, an embodiment of the present invention relating to the above-mentioned second image processing method will be described in detail with reference to FIGS. 1 and 2.

第1図に示したデイザマトリツクスは17階調表
示の1つのタイプであり、原稿画像Aの階調をこ
のようなデイザマトリツクス(DM)の対応した
しきい値で2値判定することによつてデイザ画像
Bとなる。
The dither matrix shown in Fig. 1 is one type of 17-gradation display, and the gradation of the original image A is judged binary using the corresponding threshold value of such a dither matrix (DM). This results in a dithered image B.

なお、第1図において、原稿画像Aの画素に付
した数字は原稿における各画素の階調の順位を示
し、0が最低濃度、15が最高濃度である。デイ
ザマトリツクス(DM)における0〜15なる数字
はしきい値の順位の例を示し、デイザ画像Bにお
ける0、1なる2値はデイザ画像のビツトパター
ンを示すものである。
In FIG. 1, the numbers attached to the pixels of the original image A indicate the gradation order of each pixel in the original, with 0 being the lowest density and 15 being the highest density. The numbers 0 to 15 in the dither matrix (DM) indicate an example of the order of threshold values, and the binary values 0 and 1 in the dither image B indicate the bit pattern of the dither image.

第2図において、1はデイザ画像の入力端子、
2はデイザ画像を一画面記憶するデイザ画像メモ
リ、3は同じ原稿画像を一様に設定されたしきい
値により2階調化した2階調画像の入力端子であ
り、4は2階調画像を記憶する2階調画像メモリ
である。両画像は、主副走査方向共に8画素/mm
程度の画素密度を有する。
In FIG. 2, 1 is an input terminal for dithered images;
2 is a dithered image memory that stores one screen of dithered images; 3 is an input terminal for a two-gradation image obtained by converting the same original image into two gradations using a uniformly set threshold value; and 4 is an input terminal for a two-gradation image. This is a two-tone image memory that stores . Both images are 8 pixels/mm in both main and sub-scanning directions.
It has a pixel density of approximately

セル判定部5は、主副走査方向共にデイザマト
リツクス対応の画素ブロツクを4倍したセル(2
mm×2mm相当)でデイザ画像面を分割し、各セル
毎に写真らしさを判定するものであり、まず、各
セル毎にその最上部の1画素行、すなわち16画素
のドツトパターンをデイザ画像メモリ2から取り
出し、デイザマトリツクスの画素ブロツクに対応
した4画素毎に分割し、画素ブロツク対応のドツ
トパターン相互が次の条件a、bを満すとき、当
該セルは写真らしさを備えているものとして、H
モードと決定する。
The cell determination unit 5 selects a cell (2
The dithered image plane is divided into sections (equivalent to 2mm x 2mm) and the photo-likeness of each cell is determined.First, the topmost 1 pixel row of each cell, that is, a 16-pixel dot pattern, is stored in the dithered image memory. If the dot patterns corresponding to the pixel blocks satisfy the following conditions a and b, then the cell has a photographic quality. As,H
Decide on mode.

条件a: 画素ブロツク対応の4ビツトのドツト
パターンが4画素ブロツク共に同じで
ある。
Condition a: The 4-bit dot pattern corresponding to each pixel block is the same for all 4 pixel blocks.

条件b: 4ビツトのドツトパターンが(0、
0、0、0)以外である。
Condition b: The 4-bit dot pattern is (0,
0, 0, 0).

第3図は、デイザ画像とセルとの関係を説明す
るために示した図であり、セルAでは画素ブロツ
ク対応の4ビツトのドツトパターンは全て(1、
0、1、0)であり且つこれは(0、0、0、
0)とは異なるから上記条件を満足し、Hモード
“1”と判定され、また、セルBではドツトパタ
ーンが異なつているため、非Hモード“0”と判
定される。このようにして、各々のセルについて
判定を下し、この結果を第2図におけるセルモー
ドメモリ6に記憶する。
FIG. 3 is a diagram shown to explain the relationship between a dither image and a cell. In cell A, all 4-bit dot patterns corresponding to pixel blocks are (1,
0, 1, 0) and this is (0, 0, 0,
0), the above condition is satisfied and the H mode is determined to be "1", and since the dot pattern in cell B is different, it is determined to be the non-H mode "0". In this manner, a determination is made for each cell, and the results are stored in the cell mode memory 6 in FIG.

第4図は、セルモードメモリ6におけるセルモ
ード画像の一例を示すものであり、2本の短かい
線分で示した部分がHモードのセル1個分に対応
し、Hモードセルが集中した2つの領域C1,C2
が写真領域に対応し、その他の部分は文字領域で
あるが、Hモードと判定されたセルが残存するこ
とを示している。セルサイズはその設定を大きく
すると、写真領域内で非Hモードセルが多くなる
ので、この例のように比較的小さい値が望まし
い。
FIG. 4 shows an example of a cell mode image in the cell mode memory 6, where the area indicated by two short line segments corresponds to one H mode cell, and the H mode cells are concentrated. Two areas C 1 and C 2
corresponds to a photo area, and the other parts are character areas, but it shows that cells determined to be in H mode remain. If the cell size setting is increased, non-H mode cells will increase in the photo area, so a relatively small value as in this example is desirable.

なお、このセル判定部5のように、各セル内少
数の画素で代表させて判定する場合は、デイザマ
トリツクスにおけるしきい値が大きく異るような
画素行もしくは画素列を選択すれば、セル内の最
上部、中央、最下部等のセル内の位置には余り関
係なくモード決定を行い得る。
Note that when making a determination using a small number of representative pixels in each cell as in this cell determination section 5, if pixel rows or pixel columns whose threshold values in the dither matrix are significantly different are selected, The mode decision may be made with little regard to the position within the cell, such as top, middle, bottom, etc. within the cell.

また、このセル判定部5では、画素ブロツク相
互間のドツトパターンの類似性を一致によつて判
定しているが、高度は階調でない限り、例えば10
数階調程度では十分実用的である。
In addition, this cell determination unit 5 determines the similarity of dot patterns between pixel blocks based on coincidence, but the altitude is, for example, 10
It is sufficiently practical for several gradations.

また、このセル判定部5では、地色を文字領域
とするために、地色のドツトパターン(0、0、
0、0)と一致するか否かによつて判定している
が、地色の変動が大きいことが予想される場合に
は、地色に近いドツトパターンも含めて非Hモー
ドと判定する方が望ましい。
In addition, this cell determination unit 5 uses a dot pattern (0, 0,
0, 0), but if it is expected that there will be a large variation in the background color, it is better to include a dot pattern close to the background color to determine the non-H mode. is desirable.

第2図におけるセルブロツク判定部7は、セル
モードメモリ6におけるセル画像を受けて、各々
のセルブロツクがHモードであるか否かを判定す
るものであり、セルを主副走査方向共に2個ずつ
2次元的に統合したものをセルブロツク(4mm×
4mm相当)とし、セルモード画像面をセルブロツ
クを単位として分割し、各セルブロツク毎に各々
のセルブロツク内のHモードのセルの個数すなわ
ちHモード量を取り出し、このHモード量が予め
設けた設定値(本実施例ではこの設定値は“2”
とする。)以上、すなわち当該セルブロツク内の
Hモードのセルの個数が2個以上であることを条
件として当該セルブロツクをHモードと判定し、
セルブロツクモードメモリ8に記憶する。セルブ
ロツクのサイズは文字と写真との間が4mm程度以
上あることを想定したものであり、その間隔が大
きい場合は、大きなサイズを設定することができ
る。このように、2×2のセルを1つのセルに統
合することによつて、次段以後の処理の対象の情
報量が1/4になり、処理時間が短縮すると共に、
文字領域におけるHモードのセルブロツクの数が
少なくなる。
The cell block determination unit 7 in FIG. 2 receives the cell image in the cell mode memory 6 and determines whether each cell block is in the H mode or not, and divides the cells into two cells in both the main and sub-scanning directions. Dimensionally integrated cell block (4mm x
4 mm equivalent), divide the cell mode image plane into cell blocks, take out the number of H mode cells in each cell block, that is, the H mode amount, and set this H mode amount to a preset value ( In this example, this setting value is “2”
shall be. ), that is, the cell block is determined to be in H mode on the condition that the number of H mode cells in the cell block is two or more,
Stored in cell block mode memory 8. The size of the cell block is based on the assumption that there is a distance of about 4 mm or more between the text and the photo, and if the distance is large, a larger size can be set. In this way, by integrating 2×2 cells into one cell, the amount of information to be processed in subsequent stages is reduced to 1/4, reducing processing time, and
The number of H mode cell blocks in the character area is reduced.

第5図は、セルブロツクモードメモリ8におけ
るセルブロツク画像を示したものであり、4本の
短かい線分がHモードのセルブロツクの1個を示
している。第5図から明らかなように、写真領域
C3,C4の全てのセルブロツクが全てHモードと
判定されているわけではなく、又、文字領域にお
いてもHモードのセルブロツクが残存する。
FIG. 5 shows a cell block image in the cell block mode memory 8, with four short line segments indicating one cell block in the H mode. As is clear from Figure 5, the photographic area
Not all cell blocks of C 3 and C 4 are determined to be in H mode, and some H mode cell blocks remain even in the character area.

第2図における領域判定部9は、セルブロツク
モードメモリ8におけるセルブロツクモード画像
を、Hモードセルブロツクの集合領域を矩形に近
づけるように拡大することによつて写真領域のほ
ぼ全てのセルブロツクをHモードへ変換するもの
であり、また、その拡大された領域が規定の大き
さよりも小さい場合に、Hモードセルブロツクを
非Hモードへ変換することによつて、文字領域に
Hモードセルブロツクが残存しないようにする。
The area determination unit 9 in FIG. 2 expands the cell block mode image in the cell block mode memory 8 so that the area where the H mode cell blocks are assembled approaches a rectangle, thereby converting almost all the cell blocks in the photographic area into an H image. mode, and if the enlarged area is smaller than the specified size, the H mode cell block remains in the character area by converting the H mode cell block to the non-H mode. Try not to.

第6図は、領域判定部9における矩形拡大処理
の説明図である。
FIG. 6 is an explanatory diagram of rectangular enlargement processing in the area determination section 9.

領域判定部9は、まず、第6図のイ−aに示す
ように、着目セルブロツクCB0の上側、左上側、
左側に隣接するセルブロツクCB1〜CB3の組を
設定し、それらのセルブロツクCB1〜CB3がH
モードであることを条件として、第6図のイ−b
に示すように、非Hモードの着目セルブロツク
CB0をHモードへ変換して、セルブロツクモー
ドメモリ8へ書き込む。領域判定部9は、この処
理を、セルブロツクメモリ8の画面を、左より右
へ1セルブロツクずつずらして行い、更にこれを
上から下へ1行セルブロツクずつずらしてラスタ
走査によつて行う。一画面の処理が終了すると、
領域判定部9は、第6図のロ−aに示すように、
左側、左下側、下側に隣接する隣接セルブロツク
組CB1〜CB3を設定し、それらのセルブロツク
組CB1〜CB3がHモードであることを条件とし
て、非Hモードの着目セルブロツクCB0をHモ
ードへ変換し、セルブロツクメモリ8へ書き込む
処理を、画面の下から上に且つ左から右へのラス
タ走査によつて行う。
First, as shown in A-a in FIG.
A set of cell blocks CB1 to CB3 adjacent to the left side is set, and those cell blocks CB1 to CB3 are set to H.
E-b in Figure 6 on the condition that the mode is
As shown in the figure, the cell block of interest in non-H mode is
Convert CB0 to H mode and write to cell block mode memory 8. The area determination section 9 performs this process by shifting the screen of the cell block memory 8 one cell block at a time from left to right, and then by raster scanning by shifting the screen one cell block at a time from top to bottom. When one screen has finished processing,
As shown in row a of FIG. 6, the area determination unit 9
Set adjacent cell block sets CB1 to CB3 adjacent to the left side, lower left side, and lower side, and convert the target cell block CB0 in non-H mode to H mode on the condition that these cell block sets CB1 to CB3 are in H mode. , the process of writing to the cell block memory 8 is performed by raster scanning from the bottom to the top of the screen and from left to right.

次いで領域判定部9は、第6図のハ−aに示す
ように、着目セルブロツクCB0の下側、右下側、
右側に隣接する隣接セルブロツク組CB1〜CB
3、及び第6図のニ−aに示すように、着目セル
ブロツクCB0の右側、右上側、上側に隣接する
隣接セルブロツク組CB1〜CB3を順次設定し、
隣接セルブロツク組CB1〜CB3の各形式に対応
したラスタ走査によつて同様の処理を行わせる。
Next, the area determining unit 9 determines the lower side, lower right side, and
Adjacent cell block groups CB1 to CB adjacent to the right side
3, and as shown in Knee-a in FIG.
Similar processing is performed by raster scanning corresponding to each type of adjacent cell block sets CB1 to CB3.

このように、領域判定部9は4形式の隣接セル
ブロツク組を設定して非Hモードのセルブロツク
をHモードへ変換する処理を2回繰り返して行
う。通常、イ−a,ロ−a,ハ−a,ニ−a,イ
−a(第6図参照)の如く、隣接セルブロツク組
を5回設定すれば矩形領域は殆んど拡大しなくな
り、前述の如く8回設定すれば、写真の質に依存
せず、写真領域のセルブロツクは殆んど全てHモ
ードとなる。
In this way, the area determining section 9 sets four types of adjacent cell block sets and repeats twice the process of converting a non-H mode cell block to an H mode. Normally, if adjacent cell block groups are set five times, such as E-a, R-a, H-a, Knee-a, E-a (see Figure 6), the rectangular area will hardly expand; If the settings are made 8 times as shown above, almost all cell blocks in the photo area will be in the H mode, regardless of the quality of the photo.

第7図は、4形式の隣接セルブロツク組を2回
繰り返して設定することによつて得たセルブロツ
クモード画像の例を示したものであり、写真領域
C5,C6は矩形のHモードセルブロツク領域で表
現されていることを示している。なお写真領域
C5,C6中の縦線で表わされている領域は、処理
前セルブロツクであり、黒塗部分は拡大セルブロ
ツク領域である。最終段階として、領域判定部9
は、写真領域の最低限の大きさとして、5×5の
セルブロツク領域(20mm×20mm)を設定し、これ
までの処理で得られたHモードの連結したセルブ
ロツク領域のうちで、この大きさ以下のものを誤
判定されたものと見做し、非Hモードへ変換す
る。この処理によつて、セルブロツクモードメモ
リ8において、第7図に示した文字領域に点在す
るHモードセルブロツクは非Hモードへ変換され
る。
Figure 7 shows an example of a cell block mode image obtained by repeatedly setting four types of adjacent cell block sets twice.
It shows that C 5 and C 6 are expressed by rectangular H-mode cell block regions. Furthermore, photography area
The area indicated by vertical lines in C 5 and C 6 is the cell block before processing, and the black area is the enlarged cell block area. As a final step, the area determination unit 9
For this, a 5 x 5 cell block area (20 mm x 20 mm) is set as the minimum size of the photo area, and among the connected cell block areas of H mode obtained in the previous processing, the cell block area is smaller than this size. It is regarded as a misjudgment and converted to non-H mode. By this process, in the cell block mode memory 8, the H mode cell blocks scattered in the character area shown in FIG. 7 are converted to the non-H mode.

第2図における画像合成部10は、セルブロツ
クモードメモリ8に記憶されている各セルブロツ
クのモード情報を取り出し、セルブロツクがHモ
ードの場合は、該当する位置のデイザ画像をデイ
ザ画像メモリ2から取り出して出力端子11へ出
力し、また、セルブロツクが非Hモードの場合は
該当する位置の2階調画像メモリ4から出して出
力端子11へ出力する。
The image synthesis section 10 in FIG. 2 takes out the mode information of each cell block stored in the cell block mode memory 8, and if the cell block is in H mode, takes out the dithered image at the corresponding position from the dithered image memory 2. If the cell block is in the non-H mode, it is output from the two-tone image memory 4 at the corresponding position and output to the output terminal 11.

なお、この実施例では、セル単位でHモードを
決定した際、主走査方向は16画素単位に論理積処
理を行つており、さらにセルブロツク単位では多
数決論理を用いているため、上記の処理で得られ
るHモードセルの集合は本来の中間調整領域より
左右がそれぞれ狭く判定されている可能性があ
り、副走査方向についても同様に、セル内16画素
行のうち最上部の1行を判定行としており、さら
にセルブロツクでは多数決論理を用いているた
め、上下がそれぞれ狭く判定されている可能性が
あるので、更に次の如き処理を追加することが望
ましい。すなわち、規定サイズ以下のHモードセ
ルブロツク領域のものを非Hモードへ変換した
後、セルブロツクモードメモリ8のセルブロツク
モード画像をラスタ走査し、Hモードセルブロツ
クに直接隣接する非HモードセルブロツクをHモ
ードへ変換し、各写真領域を上下左右で1セルブ
ロツク分ずつ拡大するとよい。
In this embodiment, when determining the H mode for each cell, AND processing is performed for each 16 pixel in the main scanning direction, and majority logic is used for each cell block, so that the result obtained by the above processing is There is a possibility that the set of H-mode cells that are displayed are determined to be narrower on the left and right sides than the original intermediate adjustment area, and in the same way in the sub-scanning direction, the topmost row of 16 pixel rows in the cell is used as the determination row. Furthermore, since majority logic is used in the cell block, there is a possibility that the upper and lower regions are each narrowly determined, so it is desirable to further add the following processing. That is, after converting the H mode cell block area smaller than the specified size to the non-H mode, the cell block mode image in the cell block mode memory 8 is raster scanned to convert the non-H mode cell block directly adjacent to the H mode cell block. It is recommended to convert the image to H mode and enlarge each photographic area by one cell block in the top, bottom, left and right directions.

以上説明したように、この実施例では、デイザ
画像の白と黒の画素の分布状態によりセル単位で
まず中間調領域であるか否かを判定し、これをも
とに、さらにセルブロツク単位で中間調領域であ
るかを判定しているため判定途中での記憶すべき
データ量が少ないため、回路が簡単になる。ま
た、小領域(セル)から大領域(セルブロツク)
へ統合することは大領域でセル単位を構成する場
合に比べ誤判定が少なくなる利点がある。
As explained above, in this embodiment, it is first determined for each cell whether or not it is a halftone region based on the distribution state of white and black pixels of the dithered image, and then based on this, the halftone region is further determined for each cell block. Since the determination is made as to whether it is in the key area, the amount of data to be stored during the determination is small, which simplifies the circuit. Also, from small area (cell) to large area (cell block)
This has the advantage of reducing false judgments compared to configuring cells in large areas.

上述した実施例は前述の本発明の第2の画像処
理方式を用いた場合についてのものである。
The embodiment described above is a case where the above-described second image processing method of the present invention is used.

次に前述の本発明の第1の画像処理方式を用い
る場合の例としては次の通りである。
Next, an example of the case where the above-described first image processing method of the present invention is used is as follows.

すなわち、原稿画像の性質が大体決まつてい
て、セルのHモード判定の際、セル内の各画素ブ
ロツクのドツトパターン間の予測が可能な場合
は、ドツトパターンの類似度測定の範囲を比較的
広く設定することにより、セルサイズを大きくす
ることができ、このような場合はセルブロツクへ
の統合を省略して直ちに矩形拡大の処理を行わせ
ることもできる。
In other words, if the properties of the original image are roughly determined and it is possible to predict the dot patterns of each pixel block within the cell when determining the H mode of the cell, the range of dot pattern similarity measurement can be set relatively. By setting it wide, the cell size can be increased, and in such a case, the integration into the cell block can be omitted and the process of rectangular expansion can be performed immediately.

以上の説明から明らかなように、本発明は中間
調領域を抽出することができ、画像の内容に応じ
て表示、伝送ができるのでフアクシミリに応用す
ることができる。また、画像編集を行う際に、従
来はライトペンによりCRT表示管上で位置を指
示していたが、本発明を応用することにより自動
的に領域分割が行われ、操作性が向上する。
As is clear from the above description, the present invention can extract halftone areas and display and transmit images according to the content of the image, so it can be applied to facsimile. Furthermore, when editing an image, conventionally a light pen was used to indicate the position on the CRT display tube, but by applying the present invention, area division is automatically performed, improving operability.

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

第1図はデイザ画像の説明図、第2図は本発明
に係る画像処理装置の一例を示す機能ブロツク
図、第3図はモード判定の説明図、第4図はセル
モード画像の一例を示す図、第5図はセルブロツ
クモード画像の一例を示す図、第6図は矩形拡大
の一例の説明図、第7図は矩形拡大によつて得た
セルブロツクモード画像の一例を示す図である。 1……デイザ画像の入力端子、2……デイザ画
像メモリ、3……入力端子、4……2階調画像メ
モリ、5……セル判定部、6……セルモードメモ
リ、7……セルブロツク判定部、8……セルブロ
ツクモードメモリ、9……領域判定部、10……
画像合成部、11……出力端子。
Fig. 1 is an explanatory diagram of a dither image, Fig. 2 is a functional block diagram showing an example of an image processing device according to the present invention, Fig. 3 is an explanatory diagram of mode determination, and Fig. 4 is an example of a cell mode image. 5 is a diagram showing an example of a cell block mode image, FIG. 6 is an explanatory diagram of an example of rectangular enlargement, and FIG. 7 is a diagram showing an example of a cell block mode image obtained by rectangular enlargement. . 1... Dither image input terminal, 2... Dither image memory, 3... Input terminal, 4... 2-gradation image memory, 5... Cell determination section, 6... Cell mode memory, 7... Cell block determination. section, 8... cell block mode memory, 9... area determination section, 10...
Image composition section, 11...output terminal.

Claims (1)

【特許請求の範囲】 1 画像をデイザ画像へ変換する第1段階と、 主副走査方向共にデイザマトリツクスの画素ブ
ロツクの整数倍の大きさを有する画素群をセルと
してデイザ画像面をセル単位で分割し、セル内で
主走査方向に連続する少なくとも1行の画素群及
びセル内で副走査方向に連続する少なくとも1列
の画素群の少なくとも一方を対象として、セル内
の画素ブロツクのドツトパターンの相互の類似度
を測定し、セル内のドツトパターンが相互に類似
すること及び当該ドツトパターンが地色のドツト
パターンに類似しないことを条件として当該セル
をHモードとして決定する第2段階と、 複数形式の隣接セル組を順次設定し且つ各隣接
セル組に対応した形式でセルモード画像をラスタ
走査し、当該隣接セル組がHモードであることを
条件にして非Hモードの着目セルをHモードへ変
換する第3段階と、 Hモードセルの集合が設定された大きさに満た
ないことを条件にしてその集合の各セルを非Hモ
ードへ変換する第4段階とを備えていることを特
徴とした画像処理方式。 2 画像をデイザ画像へ変換する第1段階と、 主副走査方向共にデイザマトリツクスの画素ブ
ロツクの整数倍の大きさを有する画素群をセルと
してデイザ画像面をセル単位で分割し、セル内で
主走査方向に連続する少なくとも1行の画素群及
びセル内で副走査方向に連続する少なくとも1列
の画素群の少なくとも一方を対象として、セル内
の画素ブロツクのドツトパターンの相互の類似度
を測定し、セル内のドツトパターンが相互に類似
すること及び当該ドツトパターンが地色のドツト
パターンに類似しないことを条件として当該セル
をHモードとして決定する第2段階と、 複数個の前記セルを2次元的に組合わせたもの
をセルブロツクとしてセルモード画像面をセルブ
ロツク単位で分割し、各セルブロツク内のHモー
ドのセルの個数で表わされるHモード量を各セル
ブロツクについて測定し、設定値以上のHモード
量であることを条件にして各セルブロツクをHモ
ードと決定する第3段階と、 複数形式の隣接セルブロツク組を順次設定し且
つ各隣接セルブロツク組に対応した形式でセルブ
ロツクモード画像をラスタ走査し、当該隣接セル
ブロツク組がHモードであることを条件にして非
Hモードの着目セルブロツクをHモードへ変換す
る第4段階と、 Hモードセルブロツクの集合が設定された大き
さに満たないことを条件にしてその集合の各セル
ブロツクを非Hモードへ変換する第5段階とを備
えていることを特徴とした画像処理方式。
[Claims] 1. A first step of converting an image into a dither image, and converting the dither image surface in cell units using pixel groups having a size that is an integral multiple of the pixel block of the dither matrix in both the main and sub-scanning directions. A dot pattern of pixel blocks in a cell is divided into at least one row of pixel groups continuous in the main scanning direction within the cell and at least one column of pixel groups continuous in the sub-scanning direction within the cell. a second step of determining the cell as H mode on the condition that the dot patterns in the cell are similar to each other and that the dot pattern is not similar to the dot pattern of the ground color; A cell mode image is raster-scanned by sequentially setting adjacent cell sets in multiple formats and in a format corresponding to each adjacent cell set, and the cell of interest in non-H mode is scanned in H mode on the condition that the adjacent cell set is in H mode. mode, and a fourth step of converting each cell in the set to a non-H mode, provided that the set of H-mode cells is less than a set size. Featured image processing method. 2 The first stage of converting an image into a dithered image is to divide the dithered image plane in units of cells using pixel groups whose size is an integral multiple of the pixel block of the dither matrix in both the main and sub-scanning directions, and to divide the dithered image plane into cells. The mutual similarity of dot patterns of pixel blocks in a cell is calculated for at least one of a group of pixels in at least one row continuous in the main scanning direction and a group of pixels in at least one column continuous in the sub-scanning direction within the cell. a second step of determining the cell as H mode on the condition that the dot patterns within the cell are similar to each other and that the dot pattern is not similar to the dot pattern of the ground color; A two-dimensional combination is used as a cell block, and the cell mode image plane is divided into cell blocks, and the amount of H mode expressed by the number of H mode cells in each cell block is measured for each cell block. The third step is to determine each cell block as H mode on the condition that it is the mode amount, and to sequentially set a plurality of adjacent cell block sets and raster scan the cell block mode image in a format corresponding to each adjacent cell block set. , a fourth step of converting the cell block of interest in non-H mode to H mode on the condition that the set of adjacent cell blocks is in H mode, and a fourth step on the condition that the set of H mode cell blocks does not reach a set size. and a fifth step of converting each cell block of the set into a non-H mode.
JP57015473A 1982-02-04 1982-02-04 Picture processing system Granted JPS58134576A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57015473A JPS58134576A (en) 1982-02-04 1982-02-04 Picture processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57015473A JPS58134576A (en) 1982-02-04 1982-02-04 Picture processing system

Publications (2)

Publication Number Publication Date
JPS58134576A JPS58134576A (en) 1983-08-10
JPS6365189B2 true JPS6365189B2 (en) 1988-12-14

Family

ID=11889765

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57015473A Granted JPS58134576A (en) 1982-02-04 1982-02-04 Picture processing system

Country Status (1)

Country Link
JP (1) JPS58134576A (en)

Also Published As

Publication number Publication date
JPS58134576A (en) 1983-08-10

Similar Documents

Publication Publication Date Title
US5335086A (en) Method of and apparatus for eliminating pin holes
US5572603A (en) Image processing method and device using such method
US4413286A (en) Method and apparatus involving digital screen generation
JPH11272252A (en) De-Half-on processing of digital images
US5930385A (en) Apparatus and method for image conversion
US5134668A (en) Masked combinations of video slices for computer display
US5615281A (en) Method of and apparatus for generating reduced image
EP0503606B1 (en) Method of and apparatus for coloring an image area
JPS60121878A (en) Duplicating system of picture scanning
JPH11298716A (en) Image processing device
JPS5875372A (en) Picture processor
US4796094A (en) Method for reconstructing a dither matrix
JPS6365189B2 (en)
JPH0614678B2 (en) Image recording method
JPS6359272A (en) Picture processor
US5533150A (en) Method and apparatus for improving the display of greys in a two-tone digitized image
JPS6223353B2 (en)
JP2907487B2 (en) Image processing method and apparatus
KR100245019B1 (en) Block superposition based image binarization apparatus and method
JP2777380B2 (en) Halftone area detection method
JP3184197B2 (en) Image processing device
US6687023B1 (en) Data processing system and method for producing shifted-element halftone screens
JP2618894B2 (en) Image signal processing device
JPH01276969A (en) Image signal processing device
JP3452202B2 (en) Image processing method