JPH0463586B2 - - Google Patents
Info
- Publication number
- JPH0463586B2 JPH0463586B2 JP58141147A JP14114783A JPH0463586B2 JP H0463586 B2 JPH0463586 B2 JP H0463586B2 JP 58141147 A JP58141147 A JP 58141147A JP 14114783 A JP14114783 A JP 14114783A JP H0463586 B2 JPH0463586 B2 JP H0463586B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- gravity
- memory
- halftone
- center
- 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 - Lifetime
Links
- 230000005484 gravity Effects 0.000 claims description 22
- 238000001514 detection method Methods 0.000 claims description 8
- 239000011159 matrix material Substances 0.000 description 8
- 238000003708 edge detection Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 4
- 239000000203 mixture Substances 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 1
Landscapes
- Facsimile Image Signal Circuits (AREA)
- Character Input (AREA)
Description
【発明の詳細な説明】
技術分野
本発明は画像処理装置に係り、特に入力された
画像をドツトマトリクスパターンにより出力する
に面した画像処理装置に関する。DETAILED DESCRIPTION OF THE INVENTION TECHNICAL FIELD The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus that outputs an input image in the form of a dot matrix pattern.
従来技術
近年、ドツトマトリツクスパターンにより画像
出力を行う画像処理装置、特にレーザービームプ
リンタやインクジエツトプリンタ、サーマルプリ
ンタ等によるハードコピー装置において中間調画
像を出力できるものが数多く提案されている。BACKGROUND OF THE INVENTION In recent years, many image processing apparatuses that output images using dot matrix patterns, particularly hard copy apparatuses using laser beam printers, inkjet printers, thermal printers, etc., that can output halftone images have been proposed.
これらの装置におてはドツト自体は2値的な画
像であるため、中間調を表現するために網点面積
により疑似中間調を作る方法が一般的である。 In these devices, since the dot itself is a binary image, it is common to create pseudo-halftones using halftone dot areas in order to express halftones.
ところがタイプ等の文字像と中間調画像とが混
在する画像全体を網点面積による疑似中間調で表
現した場合、文字の輪郭がぼけてしまつたり、文
字が小さい場合は表現できない等の不都合が生ず
る。 However, if an entire image containing a mixture of character images such as type and halftone images is expressed in pseudo-halftones using halftone dot areas, there are problems such as the outlines of the characters becoming blurred and small characters not being able to be expressed. arise.
この不都合を解消するためには、文字画像と中
間調画像が混在した画像を文字画像領域と中間調
画像領域に区分し、文字画像領域を小さい画素の
2値的なドツトパターンで表現し、中間調画像領
域を前述の疑似中間調のドツトパターンで表現す
ればよい。 In order to solve this problem, an image in which text images and halftone images are mixed is divided into a text image area and a halftone image area, and the text image area is expressed with a binary dot pattern of small pixels. The tone image area may be expressed by the aforementioned pseudo-halftone dot pattern.
このことを行なうために従来のハードコピー装
置においては印字前にプリントしたい画像を
CRTデイスプレイに写し出し、デイジタイザ等
を用いて操作者自身の操作により文字画像領域と
中間調画像領域を区分する方法が提案されてい
る。 In order to do this, in conventional hard copy devices, the image to be printed is printed before printing.
A method has been proposed in which a character image area and a halftone image area are separated by an operator's own operation using a digitizer or the like by displaying the image on a CRT display.
ところがこのような方法では操作者自身による
処理を含むため操作者に手間がかかるとともに、
画像形成時間が非常に長くかかつてしまう。 However, this method involves processing by the operator himself, which is time-consuming for the operator, and
The image forming time is extremely long.
目 的
本発明は以上のような事情に鑑みてなされたも
ので、入力された画像をドツトマトリクスパター
ンにより出力する画像処理装置において、中間調
画像と文字画像が混在した画像から中間調画像と
文字画像とを識別するものであり、これにより入
力する画像について適切なドツトパターン画像出
力を行なうことのできる画像処理装置を提供する
ことを目的としている。Purpose The present invention has been made in view of the above circumstances, and is an image processing device that outputs an input image in a dot matrix pattern. It is an object of the present invention to provide an image processing apparatus that can output an appropriate dot pattern image for an input image.
実施例
以下、図に基づいて本発明の詳細を説明する。
まず本発明の原理を第1図〜第4図を参照して説
明する。EXAMPLES Hereinafter, details of the present invention will be explained based on the drawings.
First, the principle of the present invention will be explained with reference to FIGS. 1 to 4.
第1図は画像サンプルを示し、この画像サンプ
ルには、中間調を含んで図に示すような機器を表
示した中間調画像1と、黒と白などの2値濃度で
「NEW」の文字を表示した2値文字像2および
「PRINTER」の文字を表示した2値文字像2′が
含まれている。 Figure 1 shows an image sample. This image sample includes a halftone image 1 that includes halftones and displays the equipment as shown in the figure, and a halftone image 1 that displays the device as shown in the figure, and the word "NEW" in binary density such as black and white. A displayed binary character image 2 and a binary character image 2' displaying the characters "PRINTER" are included.
第2図は第1図の画像サンプルの画像を所定濃
度値で2値化した画像を示す。 FIG. 2 shows an image obtained by binarizing the image of the image sample shown in FIG. 1 at a predetermined density value.
第3図は第2図の画像中の所定濃度であらわさ
れる図形の外側縁であるエツジ部分を示す。本発
明によればこのエツジ部分を検出し、さらに第4
図中のそれぞれの点に示されるようにエツジ部分
に包囲された図形の幾何学的重心を検出する。 FIG. 3 shows an edge portion, which is the outer edge of a figure expressed with a predetermined density in the image of FIG. According to the present invention, this edge portion is detected, and the fourth edge portion is further detected.
The geometric center of gravity of the figure surrounded by the edge portion is detected as indicated by each point in the figure.
さらに順次隣接する各重心間の距離を演算する
ことにより、各図形中周期性を有する図形を文字
画像として検出する。そしてこの検出結果に従つ
て、文字画像については文字画像用のドツトパタ
ーンで画像を出力し、その他の部分については中
間調画像用のドツトパターンで画像を出力する。 Furthermore, by sequentially calculating the distance between adjacent centers of gravity, a figure having periodicity among each figure is detected as a character image. According to this detection result, the character image is outputted in a dot pattern for character images, and the other parts are outputted in a dot pattern for halftone images.
次に以上のような本発明の原理を実現する。本
発明の具体的な実施例の構成を第5図に示し、詳
細を説明する。 Next, the principle of the present invention as described above will be realized. The configuration of a specific embodiment of the present invention is shown in FIG. 5, and details will be explained.
図において、符号3で示すものは画像読取装置
であり、例えば第1図の画像を走査して読み取
り、画像の濃淡に従つてアナログ電気信号を出力
する。この後段に接続されたデジタル化回路4は
ADコンパータで構成されており、入力されるア
ナログ電気信号を画素毎の濃度を示すデイジタル
信号に変換し、さらにその後段に接続されたイメ
ージメモリ5およびエツジ検出回路6に出力す
る。 In the figure, the reference numeral 3 designates an image reading device, which scans and reads the image shown in FIG. 1, for example, and outputs an analog electrical signal according to the shading of the image. The digitization circuit 4 connected to this latter stage is
It is composed of an AD converter, converts an input analog electrical signal into a digital signal indicating the density of each pixel, and further outputs it to the image memory 5 and edge detection circuit 6 connected at the subsequent stage.
イメージメモリ3は読み取られた画像全体をデ
ジタルデータとして記憶するメモリであり、入力
されるデジタル信号により各画素の位置に対応す
る各アドレスに濃度データを記憶する。 The image memory 3 is a memory that stores the entire read image as digital data, and stores density data at each address corresponding to the position of each pixel according to the input digital signal.
一方エツジ検出回路6は第3図に実線で示すエ
ツジ部分の画素のアドレスを検出する回路で、そ
の検出方法は後に詳述するが、入力されるデジタ
ルデータの値が所定のしきい値を超えるか割るか
する変化点の画素アドレスを検出することにより
行なう。 On the other hand, the edge detection circuit 6 is a circuit that detects the address of the pixel in the edge portion shown by the solid line in FIG. This is done by detecting the pixel address of the point of change where the change occurs.
エツジ検出回路6の後段にはメモリ7が接続さ
れており、同回路から入力されるエツジ部分の画
素アドレスを記憶する。この画素アドレスはメモ
リ7の後段に接続された重心検出手段8に読み取
られる。 A memory 7 is connected to the subsequent stage of the edge detection circuit 6, and stores the pixel address of the edge portion inputted from the circuit. This pixel address is read by the center of gravity detection means 8 connected after the memory 7.
重心検出手段8は第4図に点で示される重心、
すなわち第3図中の図形の幾何学的重心を検出す
る。これはメモリ7の画素アドレスデータから後
述する演算によつて求められる。 The center of gravity detection means 8 detects the center of gravity indicated by a dot in FIG.
That is, the geometric center of gravity of the figure in FIG. 3 is detected. This is obtained from the pixel address data in the memory 7 by a calculation described later.
さらに重心検出手段8の後段には識別回路9が
接続されており、同回路は各重心に対応する図形
が中間調画像であるか2値文字像であるか否かを
識別する。これはメモリ7の重心の画素アドレス
データから順次隣接する重心間の距離を演算する
ことにより各図形中から周期性を有する図形を2
値文字像として識別する。 Further, an identification circuit 9 is connected to the downstream of the center of gravity detection means 8, and the circuit identifies whether the figure corresponding to each center of gravity is a halftone image or a binary character image. This process calculates two figures with periodicity from each figure by sequentially calculating the distance between adjacent centroids from the pixel address data of the centroids in the memory 7.
Identifies as a value character image.
この識別により2値文字像であると識別された
図形の領域は、識別回路9に接続されたマツプメ
モリ10に記憶される。 The area of the figure identified as a binary character image through this identification is stored in a map memory 10 connected to the identification circuit 9.
マツプメモリ10および先述のイメージメモリ
5はドツトパターン発生回路11に接続されてい
る。このドツトパターン発生回路11はイメージ
メモリ5およびマツプメモリ10のデータに従つ
て全画像のドツトパターンを出力する回路であ
る。 The map memory 10 and the image memory 5 described above are connected to a dot pattern generation circuit 11. This dot pattern generation circuit 11 is a circuit that outputs a dot pattern of the entire image according to the data in the image memory 5 and map memory 10.
この回路には中間調画像出力用の例えば8×8
ドツトのドツトマトリクス発生回路と、2値文字
像出力用の例えば2×2ドツトの小さい画素のド
ツトマトリクス発生回路とが設けられており、さ
らにこの二回路をマツプメモリ10の内容に従つ
て選択して駆動させる制御手段とが設けられてい
る。 This circuit has, for example, 8×8 for outputting halftone images.
A dot matrix generation circuit for dots and a dot matrix generation circuit for small pixels such as 2×2 dots for outputting a binary character image are provided, and these two circuits are further selected according to the contents of the map memory 10. A control means for driving is provided.
次に以上の構成からなる本実施例の動作を説明
する。 Next, the operation of this embodiment having the above configuration will be explained.
最初に第1図に示す画像を画像読取装置3によ
り読み取るとする。読み取り装置3は画像を走査
し、画像の濃度に従つて強弱が変化するアナログ
電気信号をデジタル化回路4に出力する。 First, assume that the image shown in FIG. 1 is read by the image reading device 3. The reading device 3 scans the image and outputs to the digitizing circuit 4 an analog electrical signal whose strength changes depending on the density of the image.
デジタル化回路4は入力されたアナログ電気信
号をその強弱すなわち画像の濃度に応じて画素毎
に、例えば8ビツトで表わされ16進数で「00〜
FF」で表わされる256通りのデジタル信号に変換
し、イメージメモリ5およびエツジ検出回路6に
出力する。 The digitizing circuit 4 converts the input analog electrical signals into 8-bit hexadecimal numbers for each pixel according to their strength, that is, the density of the image.
FF" is converted into 256 digital signals and output to the image memory 5 and edge detection circuit 6.
イメージメモリ5は入力される画素毎のデジタ
ル信号のデータを各画素の位置に対応するアドレ
スに記憶することにより、画像全体を記憶する。 The image memory 5 stores the entire image by storing input digital signal data for each pixel at an address corresponding to the position of each pixel.
一方エツジ検出回路4は入力される画素毎のデ
ジタル信号のデータ値が例えば16進数で「80」の
しきい値より高いか低いかを調べ、「80」の値を
横ぎる変化点の画素のアドレス、すなわち「80」
を最初に超えた画素または「80」を最初に割つた
画素のアドレスを検出する。ここでデータ「80」
は2値文字像2,2′の濃度より低い所定濃度に
対応する。 On the other hand, the edge detection circuit 4 checks whether the data value of the input digital signal for each pixel is higher or lower than a threshold value of ``80'' in hexadecimal notation, and detects pixels at changing points that cross the value of ``80''. address, i.e. "80"
Detects the address of the first pixel that exceeds 80 or the first pixel that divides 80. Here data "80"
corresponds to a predetermined density lower than the density of the binary character images 2, 2'.
上記の動作は第3図に示されるエツジ部分の画
素アドレスを検出することに相当する。このよう
に検出されたエツジ部分の画素アドレスはメモリ
7に記憶される。 The above operation corresponds to detecting the pixel address of the edge portion shown in FIG. The pixel address of the edge portion detected in this way is stored in the memory 7.
次にメモリ7の格納データから重心検出手段に
より第4図に点で示す重心の画素のアドレスが検
出される。 Next, from the data stored in the memory 7, the center of gravity detecting means detects the address of the pixel of the center of gravity indicated by a dot in FIG.
この検出方法には例えば、エツジの画素に包囲
される図形に外装し、二辺が主走査線に平行で他
の二辺が副走査線に平行な長方形を演算により求
め、さらにその中心の画素を算出し重心とする等
の方法がある。 This detection method involves, for example, enclosing a figure surrounded by edge pixels, calculating a rectangle with two sides parallel to the main scanning line and the other two sides parallel to the sub-scanning line, and then There are methods such as calculating and using it as the center of gravity.
次に、検出された重心アドレスに周期性がある
か否かが識別回路9により調べられる。 Next, the identification circuit 9 checks whether the detected center of gravity address has periodicity.
すなわち識別回路9は隣接する重心アドレス間
の距離を順次算出し、その距離を順次比較する。
そしてその距離が順次略一定である重心どうしを
保存し、不定である重心どうしを削除する。 That is, the identification circuit 9 sequentially calculates the distance between adjacent centroid addresses and sequentially compares the distances.
Then, centroids whose distances are approximately constant are saved, and centroids whose distances are indeterminate are deleted.
この距離が略一定であるか否かの判断は、例え
ば順次隣接する重心の距離の差が2値文字像を出
力するためのドツトマトリクスサイズの2倍以内
であれば略一定であるとする方法により行なう。 To determine whether this distance is approximately constant, for example, if the difference in the distance between successively adjacent centroids is within twice the dot matrix size for outputting a binary character image, it is determined that the distance is approximately constant. This is done by
この場合第4図に示すように2値文字像2,
2′の重心どうしのみが略一定間隔であるので、
2値文字像2,2′の各重心が保存される。 In this case, as shown in FIG.
Since only the centers of gravity of 2′ are at approximately constant intervals,
The centroids of the binary character images 2 and 2' are stored.
しかる後、保存された各重心を含む図形領域す
なわち第3図中の2値文字像2,2′の領域がマ
ツプメモリ10に記憶される。 Thereafter, the graphic area including each saved center of gravity, that is, the area of the binary character images 2 and 2' in FIG. 3, is stored in the map memory 10.
次にドツトパターン発生回路11はマツプ10
の格納データを参照しながら、イメージメモリ5
の格納データに従つて順次全画像のドツトパター
ンを出力する。この場合マツプメモリ10の内容
を参照し、2値文字像2,2′の部分については
2×2のドツトマトリクス発生回路により小さい
画素で明瞭な輪郭を有するドツトパターンで画像
を出力する。またその他の中間調画像1を含む部
分については8×8のドツトマトリクス発生回路
により、例えば65階調の疑似網点のドツトパター
ンで画像を出力する。 Next, the dot pattern generation circuit 11 generates a map 10.
image memory 5 while referring to the data stored in the image memory 5.
The dot patterns of all images are sequentially output according to the stored data. In this case, referring to the contents of the map memory 10, for the binary character images 2 and 2', a 2.times.2 dot matrix generation circuit outputs an image as a dot pattern with small pixels and a clear outline. For the other portions including the halftone image 1, an 8.times.8 dot matrix generation circuit outputs an image in a dot pattern of pseudo halftone dots of, for example, 65 gradations.
以上の動作によれば入力された画像サンプルの
全画像の中から2値文字像2,2′が識別され、
その部分の画像については小さい画素で明瞭な輪
郭を有するドツトパターンで画像が出力され、中
間調画像1を含むその他の部分については疑似網
点のドツトパターンで画像が出力される。 According to the above operation, binary character images 2 and 2' are identified from all images of input image samples,
The image of that part is output as a dot pattern with small pixels and a clear outline, and the other part including the halftone image 1 is output as a dot pattern of pseudo halftone dots.
ところで上記の実施例においてはエツジに囲ま
れた各図形の重心により、各図形の周期性を検出
したが重心のかわりにそれに準ずる幾何学的な点
を用いてもよい。例えば重心を検出する際に算出
した長方形の中の所定方向の一頂点を用いてもよ
い。 Incidentally, in the above embodiment, the periodicity of each figure was detected using the center of gravity of each figure surrounded by edges, but a geometric point similar to the center of gravity may be used instead of the center of gravity. For example, one vertex in a predetermined direction within a rectangle calculated when detecting the center of gravity may be used.
効 果
以上の説明から明らかなように本発明による画
像処理装置にあつては、入力画像中の所定以上の
濃度領域からなる各図形から周期性により画像内
容を判断するので、これにより、文字画像部分に
ついては文字画像用のドツトパターンで画像出力
を行ない、その他の部分については中間調画像用
のドツトパターンで画像出力を行なわせれば、操
作者の処理を含まずに短時間で、文字と中間調画
像が混在した画像全体をそれぞれの画像に適切な
表現で出力することができる。Effects As is clear from the above explanation, in the image processing device according to the present invention, the image content is determined based on the periodicity from each figure consisting of a density area of a predetermined or higher density area in the input image. By outputting images using a dot pattern for character images for some parts, and outputting images for other parts using dot patterns for halftone images, characters and intermediate images can be output in a short time without any processing by the operator. It is possible to output an entire image containing a mixture of tone images with expressions appropriate for each image.
第1図〜第4図はそれぞれ本発明の原理を説明
するもので、第1図は画像サンプルを示す説明
図、第2図は第1図の画像を所定濃度で2値化し
た画像の説明図、第3図は第2図中の各図形のエ
ツジ部分を示す説明図、第4図は各図形の幾何学
的重心を示す説明図、第5図は本発明の構成を示
すブロツク図である。
1……中間調画像、2,2′……値文字像、3
……画像読取装置、4……デジタル化回路、5…
…イメージメモリ、6……エツジ検出回路、7…
…メモリ、8……重心検出手段、9……識別回
路、10……マツプメモリ、11……ドツトパタ
ーン発生回路。
Figures 1 to 4 each explain the principle of the present invention. Figure 1 is an explanatory diagram showing an image sample, and Figure 2 is an illustration of an image obtained by binarizing the image in Figure 1 at a predetermined density. Figure 3 is an explanatory diagram showing the edge portion of each figure in Figure 2, Figure 4 is an explanatory diagram showing the geometric center of gravity of each figure, and Figure 5 is a block diagram showing the configuration of the present invention. be. 1... Halftone image, 2, 2'... Value character image, 3
...Image reading device, 4...Digitization circuit, 5...
...Image memory, 6...Edge detection circuit, 7...
...Memory, 8...Gravity center detection means, 9...Identification circuit, 10...Map memory, 11...Dot pattern generation circuit.
Claims (1)
図形のエツジを検出する手段と、前記エツジから
演算により各図形の幾何学的な重心ないしはそれ
に準ずる点を検出する手段と、前記重心ないしは
それに準ずる点の間の距離演算により各図形中か
ら周期性を有する図形を検出する手段とを有し、
上記検出手段の検出結果に応じ入力画像が文字画
像か中間調画像かを判定することを特徴とする画
像処理装置。1. Means for detecting edges of each figure consisting of a density area of a predetermined density or higher in a human image; means for detecting the geometric center of gravity of each figure or a point equivalent thereto by calculation from said edges; and said center of gravity or a point equivalent thereto means for detecting a figure having periodicity from each figure by distance calculation between points,
An image processing apparatus characterized in that it determines whether an input image is a character image or a halftone image according to the detection result of the detection means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58141147A JPS6032474A (en) | 1983-08-03 | 1983-08-03 | Image processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58141147A JPS6032474A (en) | 1983-08-03 | 1983-08-03 | Image processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6032474A JPS6032474A (en) | 1985-02-19 |
| JPH0463586B2 true JPH0463586B2 (en) | 1992-10-12 |
Family
ID=15285241
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58141147A Granted JPS6032474A (en) | 1983-08-03 | 1983-08-03 | Image processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6032474A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0373072U (en) * | 1989-11-20 | 1991-07-23 |
-
1983
- 1983-08-03 JP JP58141147A patent/JPS6032474A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6032474A (en) | 1985-02-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5016118A (en) | Image determining method and apparatus | |
| JP4087528B2 (en) | Method of detecting pixels from which aliases are removed in rasterized image data | |
| US5742703A (en) | Method and apparatus for the resolution enhancement of gray-scale images that include text and line art | |
| US4414581A (en) | Image signal processing method and apparatus therefor | |
| US6144461A (en) | Method for generating rendering tags to facilitate the printing of antialiased images | |
| JPH11341286A (en) | Image processing method including pixels from which aliases have been removed | |
| JPH07322057A (en) | Increase of resolution of binary input picture and its increasing device together with improvement of appearance ofbinary input picture | |
| EP0415742B1 (en) | Image processing apparatus | |
| JPH0463586B2 (en) | ||
| JPS6032475A (en) | Image processing device | |
| JPH0335374A (en) | Method and instrument for discriminating between character region and photograph region in document | |
| JPH07242027A (en) | Printer | |
| JPH0490082A (en) | Device for detecting character direction in document | |
| JPS6035876A (en) | Image processing device | |
| JPS6080365A (en) | Processor of pseudo medium gradation picture | |
| JPH1044532A (en) | Printing method and printing system | |
| JP2936766B2 (en) | Image input device | |
| US6822751B1 (en) | Method and system for monochrome multi-beam printing with edge enhancement | |
| JPH01100590A (en) | Display control system | |
| JPH10334222A (en) | Image processing device | |
| JPH02112077A (en) | Halftone area detection method | |
| JPS61264865A (en) | Image reader | |
| JPH04307268A (en) | printing device | |
| JPS59163945A (en) | Device for discriminating picture region | |
| JPS62145968A (en) | Method for identifying character area |