JP2977608B2 - Image edge processing device - Google Patents

Image edge processing device

Info

Publication number
JP2977608B2
JP2977608B2 JP33468590A JP33468590A JP2977608B2 JP 2977608 B2 JP2977608 B2 JP 2977608B2 JP 33468590 A JP33468590 A JP 33468590A JP 33468590 A JP33468590 A JP 33468590A JP 2977608 B2 JP2977608 B2 JP 2977608B2
Authority
JP
Japan
Prior art keywords
data
circuit
image
output
shadowing
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
Application number
JP33468590A
Other languages
Japanese (ja)
Other versions
JPH04200169A (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.)
Kyocera Mita Industrial Co Ltd
Original Assignee
Mita Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mita Industrial Co Ltd filed Critical Mita Industrial Co Ltd
Priority to JP33468590A priority Critical patent/JP2977608B2/en
Publication of JPH04200169A publication Critical patent/JPH04200169A/en
Application granted granted Critical
Publication of JP2977608B2 publication Critical patent/JP2977608B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Color, Gradation (AREA)

Description

【発明の詳細な説明】 <産業上の利用分野> この発明は、画像のディジタル処理して画像のふちど
りを行う装置に関するものであり、特に、ディジタル複
写機やディジタルプリンタ等のための画像のふちどり処
理装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for digitally processing an image to perform image trimming, and more particularly, to an image trimming apparatus for a digital copying machine, a digital printer, and the like. It relates to a processing device.

<従来の技術> たとえば最近のディジタル複写機には、画像のふちど
り処理ができるものがある。この種の装置に備えられた
画像のふちどり処理装置は、従来、画像を構成する多数
のピクセルに順次着目し、着目したピクセルに対してそ
の周囲のピクセルが着目ピクセルと等しい濃度か異なる
濃度かを判別し、着目ピクセル濃度に対してその周囲の
いずれかのピクセルが異なる濃度の場合に、そこに画像
の境界があると判断し、画像のふちどり処理が行われて
いた。
<Related Art> For example, some recent digital copying machines can perform image trimming processing. Conventionally, an image trimming processing device provided in this type of apparatus focuses on a large number of pixels constituting an image sequentially, and determines whether a surrounding pixel of the focused pixel has the same density as the focused pixel or a different density. In the case where the density of one of the surrounding pixels is different from the density of the target pixel, it is determined that there is a boundary of the image, and the image is trimmed.

<発明が解決しようとする課題> ところで、ディジタル複写機等においては、画像はラ
インCCD等によって主走査方向に読取られ、かつ、ライ
ンCCD等と画像との相対的な位置関係が主走査方向と直
交する副走査方向に変化されて、副走査方向に画像が読
取られる仕組になっている。
<Problems to be Solved by the Invention> Meanwhile, in a digital copying machine or the like, an image is read in the main scanning direction by a line CCD or the like, and the relative positional relationship between the line CCD or the like and the image is different from that in the main scanning direction. The mechanism is such that the image is read in the sub-scanning direction while being changed in the orthogonal sub-scanning direction.

このため、従来の画像のふちどり処理装置において、
ふちどり線の幅を太くしようとすると、幅走査方向に太
くしたい分だけのラインメモリを設けなければならなか
った。なぜならば、ラインCCD等が読取った1ラインの
画像データをふちどり線の幅分だけ保持しておかなけれ
ばならないからである。
For this reason, in the conventional image edge processing device,
In order to increase the width of the border line, it is necessary to provide a line memory for the width to be increased in the width scanning direction. This is because one line of image data read by a line CCD or the like must be held by the width of the trimming line.

今、ディジタル複写機の解像度が、たとえば200ドッ
ト/インチ(DPI)程度の場合には、1ラインメモリに
よって幅が約1/8mmのふちどり線を描くことができる。
よって、たとえばふちどり線の幅を0.5mmにしようとす
れば、ラインメモリを4つ設ければよいことになる。
Now, when the resolution of the digital copying machine is, for example, about 200 dots / inch (DPI), a border line having a width of about 1/8 mm can be drawn by one line memory.
Therefore, for example, if the width of the outline line is set to 0.5 mm, four line memories may be provided.

ところが、ディジタル複写機の解像度が高くなり、た
とえば600DPI、800DPI、1200DPIと高解像度になればな
るほど、0.5mmの幅のふちどり線を描くために、12個の
ラインメモリ、16個のラインメモリ、24個のラインメモ
リ、というように多数のラインメモリが必要になる。
However, the higher the resolution of digital copiers is, for example, 600 DPI, 800 DPI, and 1200 DPI, the more twelve line memories, 16 line memories, 24 A large number of line memories are required, such as one line memory.

ラインメモリに多数設けることは、装置全体のコスト
アップにつながるばかりでなく、制御回路の複雑化を招
く等の欠点がある。
Providing a large number of line memories not only leads to an increase in the cost of the entire device, but also has a drawback that the control circuit becomes complicated.

そこでこの発明は、このような欠点を解消して、少な
いラインメモリによって十分に太いふちどり線を描くこ
とのできる画像のふちどり処理装置を提供することを目
的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to solve the above-mentioned drawbacks and to provide an image trimming processing apparatus capable of drawing a sufficiently thick trimming line with a small number of line memories.

<課題を解決するための手段> この発明は、画像のふちどり処理装置に関するもので
あって、複数の影付け回路を有し、各影付け回路は、そ
れぞれ、与えられるディジタル画像データを記憶するた
めの1ラインメモリ手段、1ラインメモリ手段の出力を
該1ラインメモリ手段の入力側にフィードバックするた
めのフィードバック手段、フィードバック手段中に設け
られ、フィードバックされるデータから予め定める値を
減算して影画像データを生成するための変化処理手段、
フィードバックされるデータをシフトさせるシフト設定
手段、新たに与えられるディジタル画像データと、変化
処理手段で生成された影画像データとの論理和を求め、
得られたデータを1ラインメモリ手段へ与える演算手
段、および1ラインメモリ手段の出力を影画像データと
影画像データ以外のデータとに2値化する出力処理手
段、を含む構成であり、かつ、各影付け回路によって得
られる影の延びる方向が相互に異なる方向となるよう
に、各影付け回路のシフト設定手段にはシフト方向が設
定されており、さらに、複数の影付け回路の出力を合成
するための合成手段を含むことを特徴とするものであ
る。
<Means for Solving the Problems> The present invention relates to an image trimming processing device, which has a plurality of shadowing circuits, each of which stores given digital image data. Feedback means for feeding back the output of the one-line memory means to the input side of the one-line memory means, provided in the feedback means, and subtracting a predetermined value from the fed-back data to obtain a shadow image Change processing means for generating data;
Shift setting means for shifting the data to be fed back, calculating the logical sum of the newly given digital image data and the shadow image data generated by the change processing means,
An arithmetic means for providing the obtained data to the one-line memory means; and an output processing means for binarizing the output of the one-line memory means into shadow image data and data other than the shadow image data, and A shift direction is set in the shift setting means of each of the shadow-casting circuits so that the directions in which the shadows obtained by the shadow-casting circuits extend are different from each other, and the outputs of the plurality of shadow-casting circuits are combined. And a synthesizing means for performing the processing.

またこの発明は、前記画像のふちどり処理装置におい
て、影付け回路は2つ1組の対が3つ設けられており、
3つの影付け回路から出力される影の延びる方向が、そ
れぞれ、与えられる画像の左下45゜方向、真下方向、右
下45゜方向となるように、各シフト設定回路が調整され
ていることを特徴とするものである。
Further, according to the present invention, in the image trimming device, three pairs of two shadowing circuits are provided.
Each of the shift setting circuits is adjusted so that the direction in which the shadow output from the three shadowing circuits extends is the lower left 45 ° direction, the lower right direction, and the lower right 45 ° direction of the given image, respectively. It is a feature.

<作用> この発明によれば、複数の影付け回路においてそれぞ
れ影画像データが作成され、影画像が出力される。各影
付け回路から出力される影の延びる方向は、相互に異な
る方向にされている。そして、合成手段では、複数の影
付け回路から出力される相互に異なる方向に延びる影画
像が合成され、全体として、画像の周囲を取囲むふちど
り線が形成され、出力される。
<Operation> According to the present invention, shadow image data is created in each of the plurality of shadowing circuits, and a shadow image is output. The directions in which the shadows output from the respective shadowing circuits extend are different from each other. Then, the combining means combines the shadow images output from the plurality of shadowing circuits and extending in mutually different directions, and forms a border line surrounding the image as a whole and outputs.

<実施例> 以下には、この発明の一実施例としてて、ディジタル
複写機に備えられた画像のふちどり処理装置について詳
細に説明をする。
Embodiment Hereinafter, as one embodiment of the present invention, an image trimming processing device provided in a digital copying machine will be described in detail.

まず、画像のふちどり処理装置に含まれている影付け
回路における影付けの原理について説明をする。
First, the principle of shadowing in the shadowing circuit included in the image trimming processing device will be described.

影付の原理 ディジタル複写機におけるCCDラインイメージセンサ
によって原稿画像を読取る場合、CCDラインイメージセ
ンサから読込まれるデータは、原稿画像をイメージセン
サの読取ピッチごと(たとえば400ドット/インチ)の
2次元配列の画素に分割されて処理される。
Principle of shadowing When an original image is read by a CCD line image sensor in a digital copying machine, the data read from the CCD line image sensor is based on a two-dimensional arrangement of the original image at each reading pitch of the image sensor (for example, 400 dots / inch). And processed.

つまり、CCDラインイメージセンサの読取方向(長さ
方向)を主走査方向Xとし、CCDラインイメージセンサ
と原稿画像との相対的な変位方向を副走査方向Yとすれ
ば、CCDラインイメージセンサで読み取られる原稿画像
データは、第2図に示すように、(Xi,Yj)の2次元配
列の集合として表わすことができる。
That is, if the reading direction (length direction) of the CCD line image sensor is defined as the main scanning direction X and the relative displacement direction between the CCD line image sensor and the original image is defined as the sub-scanning direction Y, the reading is performed by the CCD line image sensor. The original image data to be obtained can be represented as a set of a two-dimensional array of (Xi, Yj) as shown in FIG.

そして、第2図に示すようなCCDラインイメージセン
サの読込みデータは、1ライン((X0,Yj)〜(Xm,Y
j):但し、jは0〜n)ごとに、時系列的に処理回路
へ与えられる。
Then, the read data of the CCD line image sensor as shown in FIG. 2 includes one line ((X 0 , Yj) to (Xm, Y
j): However, j is given to the processing circuit in a time series for every 0 to n).

次に、具体的な例を上げて説明する。 Next, a specific example will be described.

第3図に示す原稿画像をCCDラインイメージセンサで
読取る場合を与える。第3図において、Xは主走査方
向、Yは副走査方向を示している。第3図に示す原稿画
像は、CCDラインイメージセンサによって読取られる
と、たとえば第4図に示すような多数の画像集合の画像
として認識される。この場合において、CCDラインイメ
ージセンサの読取出力データは、第5図に示す(Xi,Y
j)の2次元配列の集合となる。
The case where the original image shown in FIG. 3 is read by the CCD line image sensor is given. In FIG. 3, X indicates the main scanning direction, and Y indicates the sub-scanning direction. When the original image shown in FIG. 3 is read by the CCD line image sensor, it is recognized as, for example, an image of a large number of images as shown in FIG. In this case, the read output data of the CCD line image sensor is shown in FIG. 5 (Xi, Y
j) is a set of two-dimensional arrays.

なお、この場合、第3図の原稿画像の黒データは“F
F"(16進数表示)、白データは“00"(16進数表示)で
読込まれた場合である。表現を変えれば、第3図に示す
原稿画像が“FF"と“00"で2値化されたということがで
きる。
In this case, the black data of the original image in FIG.
F "(hexadecimal notation) and white data are read as" 00 "(hexadecimal notation). In other words, the original image shown in FIG. 3 is binary with" FF "and" 00 ". It can be said that it was made.

次に、第5図に示すデータがCCDラインイメージセン
サから時系列的に出力される場合に、このデータを処理
して立体影付を行うための処理手順の説明をする。
Next, when the data shown in FIG. 5 is output in chronological order from the CCD line image sensor, a processing procedure for processing the data and performing three-dimensional shadowing will be described.

(1) 1ライン分のメモリエリアを有するラインメモ
リを用意する。
(1) A line memory having a memory area for one line is prepared.

ここで、このラインメモリは、CCDラインイメージセ
ンサの読取画像数(主走査方向Xの読取画素数)と等数
のメモリエリアを持つものを用意する。たとえば、FIFO
(first in first out)メモリでもよいし、ランダムア
セスメモリでもよい。
Here, a line memory having a memory area equal to the number of read images (the number of read pixels in the main scanning direction X) of the CCD line image sensor is prepared. For example, FIFO
(First in first out) memory or random access memory.

便宜上、ラインメモリのメモリエリアは、CCDライン
イメージセンサの画素番号(Xi)と対比する形で、 (Z0)(Z1)…(Zi)…(Zm) と番号付されているものとする。
For convenience, it is assumed that the memory area of the line memory is numbered as (Z 0 ) (Z 1 )... (Zi)... (Zm) in comparison with the pixel number (Xi) of the CCD line image sensor. .

(2) ラインメモリのメモリエリアを、全て、占デー
タ(00)に初期化する。すなわち、式で表わせば、 Zi←00(i=0〜m) とする。
(2) Initialize the entire memory area of the line memory to the occupation data (00). That is, when expressed by an equation, Zi ← 00 (i = 0 to m).

(3) ラインメモリの各メモリエリアのデータから、
定数K(たとえば、K=22h:但し、hは“22"が16進数
表示であることを表わす符号、以下においても同じ)を
減算する。この処理行を処理aと呼ぶことにする。
(3) From the data in each memory area of the line memory,
A constant K (for example, K = 22h: where h is a code indicating that “22” is a hexadecimal number, the same applies to the following) is subtracted. This processing line will be referred to as processing a.

なお、処理aを行う場合において、メモリエリアのデ
ータが白データ(00)の場合、そのデータはそれ以下に
はならないから、データは白データ(00)のままであ
る。
In the case where the process a is performed, if the data in the memory area is white data (00), the data does not become less than that, so the data remains white data (00).

(4) 次に、処理aを施したデータを、メモリエリア
内で0→m方向に1ずつシフトする。このシフト処理を
処理bと呼ぶことにする。
(4) Next, the data subjected to the processing a is shifted one by one in the 0 → m direction in the memory area. This shift process will be referred to as process b.

処理bを行った結果、メモリエリア(Zm)のデータは
捨てられ、メモリエリア(Z0)には白データ(00)がス
トアされる。
As a result of the processing b, the data in the memory area (Zm) is discarded, and the white data (00) is stored in the memory area (Z 0 ).

(5) 処理bを行ったラインメモリのデータと、CCD
ラインイメージセンサから与えられる第1ライン目のデ
ータ(第5図にで示すラインデータ)との論理和を求
め、その結果をラインメモリに再びストアする。この処
理を処理cと呼ぶことにする。
(5) The data of the line memory that performed the process b and the CCD
The logical sum with the data of the first line (the line data shown in FIG. 5) given from the line image sensor is obtained, and the result is stored again in the line memory. This process is called process c.

以上の処理a〜処理cを、式で表わせば、 Zo←(00)v(Xo,Yo) Zi←(Zi-1−K)v(Xi,Yo) (但し、v:ビットごとの論理和を意味する記号 i=1〜m) となる。The above processing a to processing c can be expressed by the following equation: Zo ← (00) v (Xo, Yo) Zi ← (Zi −1− K) v (Xi, Yo) (where, v: logic for each bit) The symbol i = 1 to m which means the sum is obtained.

(6) 処理cを施したラインメモリの内容をプリンタ
部に出力する。この場合に、出力をプリンタに合せて2
値化等する。この処理を処理dと呼ぶことにする。
(6) Output the contents of the line memory that has been subjected to the process c to the printer unit. In this case, adjust the output to match the printer.
Value conversion etc. This process is called process d.

(7) 上記説明した処理a〜処理dを、CCDラインイ
メージセンサから1ライン分の読取データが与えられる
ごとに、それに同期して行い、〜のラインデータの
出力が終わるまで、すなわち副走査が終了するまで繰返
す。
(7) Each time one line of read data is supplied from the CCD line image sensor, the processes a to d described above are performed in synchronization with the read data, and until the output of the line data of Repeat until done.

それを数式で表示すれば、 Zo←(00)v(Xo,Yj) Zi←(Zi-1−K)v(Xi,Yj) (但し、v:ビットごとの論理和を意味する記号 i=1〜m, j=1〜n) Zi→画像出力 (但し、i=0〜m) となる。If it is represented by a mathematical expression, Zo ← (00) v (Xo, Yj) Zi ← (Zi −1− K) v (Xi, Yj) (where, v: a symbol meaning a logical sum for each bit i = 1 to m, j = 1 to n) Zi → image output (where i = 0 to m).

また、第5図に示すデータに、処理a〜処理dを施し
て行く様子を時系列的に順に表わしたものが第6A図、第
6B図、第6C図である。処理は、第6A図→第6B図→第6C図
と進む。
FIG. 6A and FIG. 6A show the time sequence of performing the processes a to d on the data shown in FIG.
FIG. 6B and FIG. 6C. The processing proceeds from FIG. 6A to FIG. 6B to FIG. 6C.

そして、第6A図、第6B図および第6C図における1−d,
2−d,3−d,4−d…,22−dが付されたデータがプリンタ
部に出力され、それをまとめると、第7図に示す2次元
配列のデータとなる。
6A, 6B and 6C, 1-d,
Data marked with 2-d, 3-d, 4-d ..., 22-d is output to the printer unit, and when the data is put together, it becomes data in a two-dimensional array shown in FIG.

処理dによって、第7図に示すデータを、白データ
(00)、黒データ(FF)または中間データに3値化し、
それをプリントアウトすると、第8図に示すような立体
影付がされた画像が得られる。
By the process d, the data shown in FIG. 7 is ternarized into white data (00), black data (FF) or intermediate data,
When it is printed out, an image with a three-dimensional shadow as shown in FIG. 8 is obtained.

上述の処理aにおいて、減算する定数Kを変化させる
ことにより、立体影付けの長さを変化させることができ
る。
By changing the constant K to be subtracted in the above-described process a, the length of stereoscopic shadowing can be changed.

また、処理bにおけるデータのシフト量を、0→m方
向に、“+1"するのに代えて、“−1"にしたり、または
“0"にすることによって、立体影付けの傾きを、左下45
゜方向にしたり、真下方向にしたりすることができる。
Also, by setting the data shift amount in the process b to “−1” or “0” instead of “+1” in the direction from 0 to m, the inclination of the stereoscopic shadow is set to the lower left. 45
It can be in the ゜ direction or just below.

以上が、この発明に備えられた影付け回路における影
付け、特に立体影付けの原理である。
The above is the principle of shadowing in the shadowing circuit provided in the present invention, in particular, the principle of three-dimensional shadowing.

次に、この発明の一実施例の具体的な構成について説
明をする。
Next, a specific configuration of an embodiment of the present invention will be described.

具体的な装置 第9図は、この発明の一実施例に係る画像のふちどり
処理装置が与えられたディジタル複写機の全体構成の概
要図である。
Specific Apparatus FIG. 9 is a schematic diagram of the entire configuration of a digital copying machine provided with an image trimming processing apparatus according to one embodiment of the present invention.

ディジタル複写機には、本体11の上面に原稿12をセッ
トするためのコンタクトガラス13が備えられており、そ
の上には開閉自在な原稿カバー14設けられている。
The digital copying machine is provided with a contact glass 13 for setting a document 12 on an upper surface of a main body 11, and an openable / closable document cover 14 is provided thereon.

本体11の内部上方には、コンタクトガラス13の下面に
沿って矢印A1方向へ移動可能な光源15が備えられてい
る。光源15は紙面に垂直方向に延びる長手の円筒状をし
たもので、光源15によって照射された原稿12の反射光は
ミラー16,1718および集光レンズ19を介してCCDラインイ
メージセンサ20へ与えられる。そして、該イメージセン
サ20によって原稿画像が読込まれる。
Above the inside of the main body 11, a light source 15 that is movable in the direction of arrow A1 along the lower surface of the contact glass 13 is provided. The light source 15 has a long cylindrical shape extending in the direction perpendicular to the plane of the drawing, and the reflected light of the document 12 illuminated by the light source 15 is given to the CCD line image sensor 20 via the mirrors 16 and 1718 and the condenser lens 19. . Then, the original image is read by the image sensor 20.

CCDラインイメージセンサ20は紙面に対して垂直方向
に延びる長手形状のセンサで、その長さ方向が主走査方
向Xとなっている。
The CCD line image sensor 20 is a sensor having a longitudinal shape extending in a direction perpendicular to the paper surface, and its length direction is the main scanning direction X.

CCDラインイメージセンサ20で読込まれた原稿画像
は、該イメージセンサ20から画像処理回路21へ与えら
れ、後述する画像処理が施される。そして、画像処理回
路21の出力はレーザダイオード22へ与えられてレーザダ
イオード22を発行させる。レーザダイオード22から出力
されるレーザ光はポリゴンミラー23で誘導され、ミラー
24を介して感光体ドラム25へ与えられる。
The document image read by the CCD line image sensor 20 is provided from the image sensor 20 to an image processing circuit 21 and subjected to image processing described later. Then, the output of the image processing circuit 21 is given to the laser diode 22 to cause the laser diode 22 to emit light. The laser light output from the laser diode 22 is guided by the polygon mirror 23,
The light is supplied to the photosensitive drum 25 via 24.

感光体ドラム25の周囲には帯電チャージャ26、現像装
置27、転写,分離チャージャ28、クリーナ29等の公知の
部材が配置されており、電子写真方式によって感光体ド
ラム25表面に静電潜像が形成され、潜像はトナー像に現
像される。そしてトナー像は、用紙カセット30から取込
まれ、レジストローラ31によってタイミングが合わされ
て感光体ドラム25へ与えられる用紙には転写される。そ
して、トナー像が転写された用紙は搬送ベルト32で搬送
され、定着装置33へ送られる。定着装置33で用紙上のト
ナー像が定着され、定着が完了したコピー済用紙は排出
トレイ34へ排出される。
Known members such as a charger 26, a developing device 27, a transfer / separation charger 28, and a cleaner 29 are arranged around the photoconductor drum 25. An electrostatic latent image is formed on the surface of the photoconductor drum 25 by an electrophotographic method. Once formed, the latent image is developed into a toner image. Then, the toner image is taken from the paper cassette 30, and is transferred to the paper supplied to the photosensitive drum 25 at a timing adjusted by the registration roller 31. Then, the sheet on which the toner image has been transferred is conveyed by the conveying belt 32 and sent to the fixing device 33. The toner image on the paper is fixed by the fixing device 33, and the copied paper on which the fixing is completed is discharged to the discharge tray.

第10図は、上述したディジタル複写機における画像処
理関係部分の構成を示すブロック図である。CCDライン
イメージセンサ20で読込まれた画像データは、増幅器41
で増幅され、A/Dコンバータ42でアナログデータからデ
ィジタルデータに変換されて、画像処理回路21へ与えら
れる。そして、画像処理回路21で処理された出力画像デ
ータは、レーザダイオード22へ出力されて、レーザダイ
オード22を発光させる。
FIG. 10 is a block diagram showing a configuration of a part related to image processing in the digital copying machine described above. The image data read by the CCD line image sensor 20 is supplied to the amplifier 41
, And is converted from analog data to digital data by the A / D converter 42 and supplied to the image processing circuit 21. Then, the output image data processed by the image processing circuit 21 is output to the laser diode 22 to cause the laser diode 22 to emit light.

また、クロック発振器46およびライン同期信号発生回
路45が備えられている。クロック発振器46から出力され
る基準クロックCKは、タイミング発生回路44、A/Dコン
バータ42および画像処理回路21へ与えられ、また、ライ
ン同期信号発生回路45から出力されるライン同期信号Hs
yncは、画像処理回路21およびタイミング発生回路44へ
与えられる。
Further, a clock oscillator 46 and a line synchronization signal generation circuit 45 are provided. The reference clock CK output from the clock oscillator 46 is supplied to the timing generation circuit 44, the A / D converter 42, and the image processing circuit 21, and the line synchronization signal Hs output from the line synchronization signal generation circuit 45
ync is supplied to the image processing circuit 21 and the timing generation circuit 44.

ここに、タイミング発生回路44は、CCDラインイメー
ジセンサ20の画像データ読取タイミングおよび画像デー
タ出力タイミングを制御するためのものである。つま
り、CCDラインイメージセンサ20は、クロック発振器46
から出力される基準クロックCKに同期して動作を行うと
ともに、ライン同期信号発生回路45から出力されるライ
ン同期信号Hsyncによって、ラインごとに同期して動作
を行う。画像処理回路21も、同様に、基準クロックCKお
よびライン同期信号Hsyncに同期して動作を行う。
Here, the timing generation circuit 44 is for controlling the image data reading timing and the image data output timing of the CCD line image sensor 20. That is, the CCD line image sensor 20 is
The operation is performed in synchronization with the reference clock CK output from the CPU, and the operation is performed in synchronization with each line by the line synchronization signal Hsync output from the line synchronization signal generation circuit 45. Similarly, the image processing circuit 21 operates in synchronization with the reference clock CK and the line synchronization signal Hsync.

さらに、画像処理回路21は、ディジタル複写機の全体
動作を制御するためのCPU47の制御下に置かれている。
Further, the image processing circuit 21 is under the control of a CPU 47 for controlling the entire operation of the digital copying machine.

第1図は、第10図に示す画像処理回路21の構成を示す
ブロック図であある。第1図に示すように、画像処理回
路21には並列に接続された6つの影付け回路211,212,21
3,214,215,216が備えられており、画像処理回路21へ与
えられる画像データは、並列に、これら6つの影付け回
路211〜216へ与えられる。また、6つの影付け回路211
〜216のうちの3つの影付け回路214,215,216には、その
前段に、それぞれ、画像反転回路217,218,219が挿入さ
れている。したがって、これら3つの影付け回路214,21
5,216へは、反転された画像データが与えられる。
FIG. 1 is a block diagram showing a configuration of the image processing circuit 21 shown in FIG. As shown in FIG. 1, the image processing circuit 21 has six shadowing circuits 211, 212, 21 connected in parallel.
3, 214, 215, and 216, and the image data supplied to the image processing circuit 21 is supplied in parallel to these six shadowing circuits 211 to 216. Also, six shadowing circuits 211
Image inverting circuits 217, 218, and 219 are inserted in the preceding stages of the three shadowing circuits 214, 215, and 216 among the circuits 216 to 216, respectively. Therefore, these three shadowing circuits 214, 21
5,216 is supplied with inverted image data.

さらに、画像処理回路21には合成手段としてのORゲー
ト回路220が備えられている。このORゲート回路220によ
って、6つの影付け回路211〜216で処理された画像デー
タが合成されて、後述するようにふちどり画像が出力さ
れる。
Further, the image processing circuit 21 is provided with an OR gate circuit 220 as a synthesizing means. The OR gate circuit 220 combines the image data processed by the six shadowing circuits 211 to 216, and outputs a trimmed image as described later.

第1図の6つの影付け回路211〜216は、いずれも同じ
回路構成になっている。そこで次に、影付け回路211を
取上げて、その詳細な構成を説明する。
All of the six shadowing circuits 211 to 216 in FIG. 1 have the same circuit configuration. Therefore, next, the shadowing circuit 211 will be taken up and its detailed configuration will be described.

第11図は、影付け回路211の回路構成を示すブロック
図であり、第12図は、第11図の回路をより具体的に表わ
したブロック図である。
FIG. 11 is a block diagram showing a circuit configuration of the shadowing circuit 211, and FIG. 12 is a block diagram more specifically showing the circuit of FIG.

まず、第11図を参照して説明すると、影付け回路211
には、ディジタル画像データが与えられる入力処理回路
51と、入力処理回路51の出力が与えられる論理和回路52
と、論理和回路52の出力が与えられるFIFOメモリ53と、
FIFOメモリ53の出力が与えられる出力処理回路54と、FI
FOメモリ53の出力が与えられる減算回路55とが含まれて
いる。そして、減算回路55の出力は論理和回路52へ与え
られ、論理和回路52で入力処理回路51の出力との論理和
がとられる。
First, a description will be given with reference to FIG.
Is an input processing circuit to which digital image data is given.
And an OR circuit 52 to which the output of the input processing circuit 51 is given
And a FIFO memory 53 to which an output of the OR circuit 52 is given,
An output processing circuit 54 to which an output of the FIFO memory 53 is given;
And a subtraction circuit 55 to which the output of the FO memory 53 is given. Then, the output of the subtraction circuit 55 is given to the OR circuit 52, and the OR of the output of the input processing circuit 51 is obtained by the OR circuit 52.

FIFOメモリ53は、CCDラインイメージセンサ20の読取
画素数と同じだけのメモリエリアを有するラインメモリ
である。
The FIFO memory 53 is a line memory having a memory area equal to the number of read pixels of the CCD line image sensor 20.

また、FIFOメモリ53において行われる前述した処理b
のデータシフト量を制御するためのFIFOタイミング回路
56が備えられている。
Further, the above-described processing b performed in the FIFO memory 53
FIFO timing circuit to control the amount of data shift
56 are provided.

そして、前述したクロック発振器46から出力されるク
ロックCKは、入力処理回路51、論理和回路52、出力処理
回路54およびFIFOタイミング回路56へ動作クロックとし
て与えられる。また、FIFOタイミング回路56には前述し
たライン同期信号発生回路45から出力されるライン同期
信号Hsyncが与えられる。
The clock CK output from the above-described clock oscillator 46 is supplied to the input processing circuit 51, the OR circuit 52, the output processing circuit 54, and the FIFO timing circuit 56 as operation clocks. The FIFO timing circuit 56 is supplied with the line synchronization signal Hsync output from the line synchronization signal generation circuit 45 described above.

さらに、影付け回路211には、CPU47(第10図参照)か
らの命令が与えられて動作を開始するコントロールCPU5
7が備えられている。このコントロールCPU57からは、入
力処理回路51、減算回路55、出力処理回路54およびFIFO
タイミング回路56へデータおよびコントロール処理が与
えられる。
Further, the shadowing circuit 211 receives an instruction from the CPU 47 (see FIG. 10) and starts the operation of the control CPU 5.
7 are provided. From the control CPU 57, an input processing circuit 51, a subtraction circuit 55, an output processing circuit 54 and a FIFO
Data and control processing are applied to the timing circuit 56.

次に、第11図の回路の動作を、先の影付の原理の説明
を引用しながら説明する。
Next, the operation of the circuit of FIG. 11 will be described with reference to the explanation of the principle of the shadowing.

コントロールCPU57によって入力処理回路51を制御す
ることによって、FIFOメモリ53のメモリエリアを白デー
タ(00)に初期化する(影付の原理の説明(2)参
照)。
By controlling the input processing circuit 51 by the control CPU 57, the memory area of the FIFO memory 53 is initialized to white data (00) (see the explanation of the shaded principle (2)).

次に、ディジタル画像データが入力処理回路51へ与え
られると、入力処理回路51は、クロックCKに基づいて、
ディジタル画像データを1ドットず2値化し、それを論
理和回路52へ与える。
Next, when the digital image data is given to the input processing circuit 51, the input processing circuit 51
The digital image data is binarized instead of one dot, and supplied to the OR circuit 52.

一方、FIFOメモリ53の出力は、FIFOタイミング回路56
で設定される所定の読出しタイミングで減算回路55へ与
えられ(処理bが施されるわけである。)、減算回路55
においては、コントロールCPU57によって与えられた予
め定める定数K(たとえばK=22h)をメモリ53の出力
から減算する(処理aが施されるわけである)。よっ
て、論理和回路52へは減算後のデータが与えられる。
On the other hand, the output of the FIFO memory 53 is
Is given to the subtraction circuit 55 at a predetermined read timing set by (1) (processing b is performed), and the subtraction circuit 55
In, a predetermined constant K (for example, K = 22h) given by the control CPU 57 is subtracted from the output of the memory 53 (processing a is performed). Therefore, the data after the subtraction is supplied to the OR circuit 52.

論理和回路52は、入力処理回路51から与えられるデー
タと、減算回路55から与えられるデータとの論理和をと
る(処理cが施されるわけである。)。
The logical sum circuit 52 performs a logical sum of the data supplied from the input processing circuit 51 and the data supplied from the subtraction circuit 55 (processing c is performed).

そして、次のクロックCKに応答して、論理和回路52の
出力はFIFOメモリ53へストアされる。
Then, in response to the next clock CK, the output of the OR circuit 52 is stored in the FIFO memory 53.

以上の処理によって、影付の原理で説明した処理a、
処理bおよび処理cが行われる。なお、処理aと処理b
とは順序が逆になっているが、問題はない。
By the above processing, the processing a described with the shadowing principle,
Processing b and processing c are performed. Processing a and processing b
Although the order is reversed, there is no problem.

FIFOメモリ53でストアされたデータは、ファーストイ
ンファーストアウトの順序で出力処理回路54与えられ
る。そして、出力処理回路54において、影画像データ
と、原画像および背景データとに2値化され、影画像の
みがたとえば黒くされた画像データが出力されるよう
に、処理dが行われる。
The data stored in the FIFO memory 53 is supplied to the output processing circuit 54 in a first-in first-out order. Then, in the output processing circuit 54, a process d is performed so that the image data is binarized into the shadow image data, the original image and the background data, and only the shadow image is output, for example, blackened.

次いで、第12図の回路を説明する。 Next, the circuit of FIG. 12 will be described.

影付け回路211の入力処理回路51は、クロックCKに応
答してラッチ動作を行う画像データラッチ回路511と、
コントロールCPU57から与えられる2値化しきい値デー
タをラッチするためのCPUデータラッチ回路512と、8ビ
ット比較演算回路513とによって構成することができ
る。8ビット比較演算回路513は、画像データラッチ回
路511の出力とCPUデータラッチ回路512の出力、すなわ
ちしきい値とを比較して2値化処理を行う。
The input processing circuit 51 of the shadowing circuit 211 includes an image data latch circuit 511 that performs a latch operation in response to the clock CK,
It can be composed of a CPU data latch circuit 512 for latching binarized threshold data provided from the control CPU 57, and an 8-bit comparison operation circuit 513. The 8-bit comparison operation circuit 513 performs a binarization process by comparing the output of the image data latch circuit 511 with the output of the CPU data latch circuit 512, that is, the threshold value.

また、論理和回路52は、たとえば8ビット論理和回路
521および8ビットゲート回路522の直列接続によって構
成することができる。8ビットゲート回路522は、FIFO
メモリ53を初期化するために必要な回路である。
The OR circuit 52 is, for example, an 8-bit OR circuit.
It can be configured by connecting a 521 and an 8-bit gate circuit 522 in series. The 8-bit gate circuit 522 is a FIFO
This is a circuit necessary to initialize the memory 53.

また、減算回路55は、たとえば8ビット加算回路551
およびCPUデータラッチ回路552によって構成することが
できる。コントロールCPU57の出力データを変化させれ
ば、ラッチ回路552の出力が変わるので、減算定数を変
化させることができる。
The subtraction circuit 55 includes, for example, an 8-bit addition circuit 551.
And the CPU data latch circuit 552. If the output data of the control CPU 57 is changed, the output of the latch circuit 552 is changed, so that the subtraction constant can be changed.

さらに、出力処理回路54は、ふちどり設定選択RAM54
1、ふちどりデータ設定用ラッチ回路542、ふちどりデー
タアドレス選択回路543およびふちどりデータアドレス
設定用ラッチ回路544によって構成することができる。
これら回路の動作を簡単に説明すると、次のとおりであ
る。
Further, the output processing circuit 54 has a border setting selection RAM 54.
1. It can be configured by a trimming data setting latch circuit 542, a trimming data address selection circuit 543, and a trimming data address setting latch circuit 544.
The operation of these circuits will be briefly described as follows.

初期化により、ふちどりデータ設定選択RAM541に所定
のデータを書込む。これは、コントロールCPU57からの
コントロール信号をハイにして、ふちどりデータアドレ
ス選択回路543のB入力がQ出力となるようにし、ふち
どりデータアドレス設定用ラッチ回路544から順次「F
F」「FE」「FD」……「01」「00」というデータを出力
させ、当該データをふちどりデータアドレス選択回路54
3のQ出力としてふちどりデータ設定選択RAM541のアド
レス入力へ与える。またこの処理に同期して、ふちどり
データ設定用ラッチ回路542から「0」「1」「1」…
…1」「0」というデータを、ふちどりデータ設定選択
RAM541のデータ入力へ与える。ふちどりデータ設定選択
RAM541は、コントロールCPU57からのコントロール信号
がハイであることから書込モードにされているので、該
RAM541には、「FF」→「0」、「FE」〜「01」→
「1」、「00」→「0」というように、アドレスとそれ
に対応するデータとが記憶される。
By initialization, predetermined data is written to the frame data setting selection RAM 541. This is done by making the control signal from the control CPU 57 high so that the B input of the trimming data address selection circuit 543 becomes the Q output, and sequentially from the trimming data address setting latch circuit 544 to "F".
F ”,“ FE ”,“ FD ”... Output data of“ 01 ”and“ 00 ”, and sort the data to a data address selection circuit 54
The Q output of 3 is given to the address input of the trimming data setting selection RAM 541. In addition, in synchronization with this processing, “0”, “1”, “1”,.
… Select data of “1” and “0” as trimming data
Give to RAM541 data input. Frame data setting selection
RAM 541 is in the write mode because the control signal from control CPU 57 is high,
RAM 541 contains "FF" → "0", "FE"-"01" →
An address and data corresponding to the address are stored, such as “1”, “00” → “0”.

以上の初期化処理が行われる。そして、コントロール
CPU57からのコントロール信号はローとなり、ふちどり
データアドレス選択回路543は、そのA入力がQ出力と
なるように設定される。また、ふちどりデータ設定選択
RAM541は、アドレス入力に応じてデータが読出される状
態になる。
The above initialization processing is performed. And control
The control signal from the CPU 57 becomes low, and the trimming data address selection circuit 543 is set so that its A input becomes a Q output. Also, select the border data setting
The RAM 541 is in a state where data is read according to the address input.

したがって、FIFOメモリ53からデータが出力され、そ
のデータが「FF」の原画像データおよび「00」の背景デ
ータのときには、ふちどり設定選択RAM541から「0」の
1ビットデータが出力される。一方、FIFOメモリ53から
「FE」〜「01」の影画像データが出力されると、それに
対応してふちどり設定選択RAM541から「0」の1ビット
データが出力される。
Therefore, data is output from the FIFO memory 53, and when the data is the original image data of “FF” and the background data of “00”, 1-bit data of “0” is output from the frame setting selection RAM 541. On the other hand, when the shadow image data of “FE” to “01” is output from the FIFO memory 53, 1-bit data of “0” is output from the trimming setting selection RAM 541 correspondingly.

このように、FIFOメモリ53から出力されるデータが原
画像データである黒データ(FF)および背景データであ
る白データ(00)のときは、ふちどり設定選択RAM541か
ら「0」の1ビットデータが出力される。
As described above, when the data output from the FIFO memory 53 is the black data (FF) as the original image data and the white data (00) as the background data, the 1-bit data “0” is output from the trimming setting selection RAM 541. Is output.

一方、FIFOメモリ53から出力されるデータが黒データ
と白データとの間の中間調で表わされた影画像データの
場合には、ふちどり設定選択RAM541から「1」の1ビッ
トデータが出力される。
On the other hand, when the data output from the FIFO memory 53 is shadow image data expressed in halftone between black data and white data, 1-bit data “1” is output from the frame setting selection RAM 541. You.

ところで、第11図の影付け回路211では、FIFOタイミ
ング回路56は、読出タイミングをシフトするためのプロ
グラマブルシフト回路561およびそのシフト量を設定保
持するためのCPUデータラッチ回路562によって構成され
ている。CPUデータラッチ回路562には、コントロールCP
Uからのデータおよびコントロール信号が与えられ、シ
フト量が設定保持される。
Meanwhile, in the shadowing circuit 211 of FIG. 11, the FIFO timing circuit 56 includes a programmable shift circuit 561 for shifting the read timing and a CPU data latch circuit 562 for setting and holding the shift amount. The CPU data latch circuit 562 has a control CP
The data and control signal from U are supplied, and the shift amount is set and held.

この影付け回路211における処理bのシフト量は、主
走査方向に“−1"になるようにされている。
The shift amount of the processing b in the shadowing circuit 211 is set to “−1” in the main scanning direction.

第1図に示す他の影付け回路212,213,214,215,216
も、前述したように、第12図に示す影付け回路211と等
しい構成であるが、プログラマブルシフト回路561およ
びCPUデータラッチ回路562によるシフト量が、影付け回
路211のシフト量と異ならされている。
Other shadowing circuits 212, 213, 214, 215, 216 shown in FIG.
As described above, the configuration is the same as that of the shadowing circuit 211 shown in FIG. 12, but the shift amount by the programmable shift circuit 561 and the CPU data latch circuit 562 is different from the shift amount of the shadowing circuit 211. .

すなわち、影付け回路212は上記シフト量が主走査方
向に“0"、影付け回路213は上記シフト量が主走査方向
に“+1"、影付け回路214は上記シフト量が主走査方向
に“−1"、影付け回路215は上記シフト量が主走査方向
に“0"、影付け回路216は上記シフト量が主走査方向に
“+1"に設定されている。
That is, the shadowing circuit 212 sets the shift amount to “0” in the main scanning direction, the shadowing circuit 213 sets the shift amount to “+1” in the main scanning direction, and the shadowing circuit 214 sets the shift amount to “1” in the main scanning direction. For the shadowing circuit 215, the shift amount is set to "0" in the main scanning direction, and for the shadowing circuit 216, the shift amount is set to "+1" in the main scanning direction.

なお、いずれの影付け回路211〜216においても、副走
査方向への画像のシフト量は、減算回路55によってデー
タが減算処理される関係上、減算データは入力データに
対して1ライン遅延されるので、副走査方向へのシフト
量は、いずれの回路においても“+1"である。
In any of the shadowing circuits 211 to 216, the amount of shift of the image in the sub-scanning direction is delayed by one line with respect to the input data because the subtraction circuit 55 subtracts the data. Therefore, the shift amount in the sub-scanning direction is “+1” in any circuit.

次に、たとえば第13図に示す画像、すなわち着色され
た円を第9図に示すディジタル複写機のCCDラインイメ
ージセンサ20で読取り、その読取データを第1図に示す
回路で処理して第13図の画像のふちどり画像を得る場合
について説明する。
Next, for example, the image shown in FIG. 13, that is, the colored circle is read by the CCD line image sensor 20 of the digital copying machine shown in FIG. 9, and the read data is processed by the circuit shown in FIG. A case where a framed image of the illustrated image is obtained will be described.

第13図の画像データは、第1図の影付け回路211で処
理されると第14図(A)の画像となる。また、影付け回
路212で処理されると第14図(B)の画像となる。同様
に、影付け回路213で処理されると第14図(C)の画像
となる。
The image data in FIG. 13 is processed by the shadowing circuit 211 in FIG. 1 to become an image in FIG. 14 (A). When processed by the shadowing circuit 212, an image shown in FIG. 14B is obtained. Similarly, when processed by the shadowing circuit 213, an image shown in FIG. 14C is obtained.

また、影付け回路214で処理されると、処理前の画像
は第13図の画像が反転された画像のため、影付け回路21
4の出力画像は第14図(D)となる。同様に、影付け回
路215の画像は第14図(E)に示す画像に、影付け回路2
16の出力画像は第14図(F)に示す画像になる。
When processed by the shadowing circuit 214, the image before processing is an image obtained by inverting the image in FIG.
FIG. 14D shows the output image of FIG. Similarly, the image of the shadowing circuit 215 is added to the image shown in FIG.
The 16 output images become the images shown in FIG. 14 (F).

そして、ORゲート回路220で6つの影付け回路211〜21
6の出力が合成されると、その出力画像は第15図とな
る。第15図の画像は、厳密には第13図に示す着色された
円の輪郭線が正確にトレースされたものではなく、影付
け処理の性質上、わずかに歪んだ円のふちどり画像とな
っている。
Then, the OR gate circuit 220 generates six shadowing circuits 211 to 21.
When the outputs of 6 are combined, the output image is as shown in FIG. Strictly speaking, the image of FIG. 15 does not accurately trace the outline of the colored circle shown in FIG. 13 and, due to the nature of the shadowing process, is a slightly distorted circle frame image. I have.

しかしながら、このような多少の画像の歪を除いて
は、わずか6つのラインメモリと少しの周辺回路とによ
って、ふちどり線の太さが最大254ライン(なぜならば8
bit=256であり、原画像を表わす黒データ(FF)および
背景画像を表わす白データ(00)は関与しないので、25
6−2=254ラインとなる)の太さのふちどり画像を得る
ことができる。
However, except for such a slight image distortion, only six line memories and a few peripheral circuits allow the thickness of the outline to be up to 254 lines (because of eight lines).
Since bit = 256 and black data (FF) representing the original image and white data (00) representing the background image are not involved, 25
(2−2 = 254 lines) can be obtained.

上述の実施例において、第12図のふちどり設定選択RA
M541、ふちどりデータ設定用ラッチ回路542、ふちどり
データアドレス選択回路543およびふちどりデータアド
レス設定用ラッチ回路544からなる出力処理回路54を、
たとえば予めちどりデータとアドレスとの関係が設定さ
れたふちどり設定用ROMのみを用いて簡単に構成するこ
ともできる。
In the embodiment described above, the border setting selection RA shown in FIG.
M541, a trimming data setting latch circuit 542, a trimming data address selection circuit 543, and an output processing circuit 54 including a trimming data address setting latch circuit 544.
For example, the configuration can be easily made using only the trimming setting ROM in which the relationship between the trimming data and the address is set in advance.

また、上述の実施例では、第1図に示すように、画像
処理回路21には6つの影付け回路211〜216が備えられて
いるが、より簡単には、このうちの影付け回路211、21
3、214および216という4つの影付け回路を用いて構成
することもできる。なぜならば、第14図に示す出力画像
から明らかなように、これら4つの影付け回路の出力に
よって、第13図の画像のふちどり画像を得ることができ
るからである。もっとも、ふちどり画像の幅は、場所に
よって多少太くなったり細くなったりはする。
Further, in the above-described embodiment, as shown in FIG. 1, the image processing circuit 21 is provided with the six shadowing circuits 211 to 216. twenty one
It is also possible to use four shading circuits 3, 214 and 216. This is because, as is apparent from the output image shown in FIG. 14, a framed image of the image shown in FIG. 13 can be obtained by the outputs of these four shadowing circuits. However, the width of the framed image may be slightly thicker or thinner depending on the location.

<発明の効果> この発明は、以上のようにラインメモリと少しの周辺
回路とからなる影付け回路を複数個、たとえば4つまた
は6つ等用いてふちどり処理回路を構成することがで
き、少ない数のラインメモリによって従来に比べて非常
に太い幅のふちどり画像を得ることのできる画像のふち
どり処理回路を提供することができる。
<Effects of the Invention> According to the present invention, a trimming processing circuit can be configured by using a plurality of, for example, four or six, shading circuits each including a line memory and a small number of peripheral circuits. With the number of line memories, it is possible to provide an image trimming processing circuit capable of obtaining a trimmed image having a much wider width than the conventional one.

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

第1図は、この発明の一実施例にかかる画像のふちどり
処理回路の構成を示すブロック図である。 第2図は、CCDラインイメージセンサで読取られる原稿
画像データを2次元配列の集合として表わした図であ
る。 第3図は、CCDラインイメージセンサで読取られる原稿
画像の一例を表わす図である。 第4図は、第3図の原稿画像がCCDラインイメージセン
サで読取られた場合に、CCDラインイメージセンサで認
識される画像を表わす図である。 第5図は、第4図の画像に対応するCCDラインイメージ
センサの読取出力データを表わす図である。 第6A図、第6B図及び第6C図、第5図に示すデータに、処
理a〜処理dを施していく様子を時系列的に表わす図で
ある。 第7図は、第6A図、第6B図および第6C図における1−d,
2−d,…,22−dが付されたデータを2次元配列で表わし
た図である。 第8図は、第7図に示すデータに基づいて立体影付がさ
れた画像を表わす図である。 第9図は、この発明の一実施例に係るディジタル画像デ
ータ処理装置が適用されたディジタル複写機の全体構成
の概要図である。 第10図は、上記ディジタル複写機における画像処理関係
部分の構成を示すブロック図である。 第11図は、影付け回路の構成を示すブロック図である。 第12図は、第11図の回路のより具体的な構成例を示すブ
ロック図である。 第13図は、この実施例にかかるディジタル複写機にあた
えられる原画像の一例を示す図である。 第14図(A)〜(F)は、それぞれ、影付け回路211〜2
16によってそれぞれ第13図の画像が処理された場合の出
力画像を表わす図である。 第15図は、画像処理回路21から出力されるふちどり画像
を表わす図である。 図において、20……CCDラインイメージセンサ、21……
画像処理回路、45……ライン同期信号発生回路、46……
クロック発振器、51……入力処理回路、52……論理和回
路、53……FIFOメモリ、54……出力処理回路、55……減
算回路、56……FIFOタイミング回路、211,212,213,214,
215,216……影付け回路、217,218,219……画像反転回
路、220……ORゲート回路、を示す。
FIG. 1 is a block diagram showing a configuration of an image trimming processing circuit according to an embodiment of the present invention. FIG. 2 is a diagram showing document image data read by a CCD line image sensor as a set of two-dimensional arrays. FIG. 3 is a diagram illustrating an example of a document image read by a CCD line image sensor. FIG. 4 is a diagram showing an image recognized by the CCD line image sensor when the original image of FIG. 3 is read by the CCD line image sensor. FIG. 5 is a diagram showing read output data of a CCD line image sensor corresponding to the image of FIG. FIG. 6C is a diagram showing in chronological order the manner in which processes a to d are performed on the data shown in FIGS. 6A, 6B, 6C, and 5. FIG. 7 shows 1-d, FIG. 6A, FIG. 6B and FIG. 6C.
It is the figure which expressed the data to which 2-d, ..., 22-d was attached by a two-dimensional array. FIG. 8 is a diagram showing an image shaded three-dimensionally based on the data shown in FIG. FIG. 9 is a schematic diagram of an entire configuration of a digital copying machine to which a digital image data processing device according to one embodiment of the present invention is applied. FIG. 10 is a block diagram showing a configuration of a part related to image processing in the digital copying machine. FIG. 11 is a block diagram showing the configuration of the shadowing circuit. FIG. 12 is a block diagram showing a more specific configuration example of the circuit of FIG. FIG. 13 is a diagram showing an example of an original image provided to the digital copying machine according to this embodiment. FIGS. 14 (A) to (F) show the shadowing circuits 211 to 2 respectively.
FIG. 14 is a diagram showing output images when the images of FIG. 13 are processed by 16 respectively. FIG. 15 is a diagram illustrating a framed image output from the image processing circuit 21. In the figure, 20 ... CCD line image sensor, 21 ...
Image processing circuit, 45 ... Line synchronization signal generation circuit, 46 ...
Clock oscillator, 51: Input processing circuit, 52: OR circuit, 53: FIFO memory, 54: Output processing circuit, 55: Subtraction circuit, 56: FIFO timing circuit, 211, 212, 213, 214,
215, 216: shadowing circuit; 217, 218, 219: image inverting circuit; 220: OR gate circuit.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数の影付け回路を有し、 各影付け回路は、それぞれ、 与えられるディジタル画像データを記憶するための1ラ
インメモリ手段、 1ラインメモリ手段の出力を該1ラインメモリ手段の入
力側にフィードバックするためのフィードバック手段、 フィードバック手段中に設けられ、フィードバックされ
るデータから予め定める値を減算して影画像データを生
成するための変化処理手段、 フィードバックされるデータをシフトさせるシフト設定
手段、 新たに与えられるディジタル画像データと、変化処理手
段で生成された影画像データとの論理和を求め、得られ
たデータを1ラインメモリ手段へ与える演算手段、およ
び 1ラインメモリ手段の出力を影画像データと影画像デー
タ以外のデータとに2値化する出力処理手段、 を含む構成であり、 かつ、各影付け回路によって得られる影の延びる方向が
相互に異なる方向となるように、各影付け回路のシフト
設定手段にはシフト方向が設定されており、 さらに、複数の影付け回路の出力を合成するための合成
手段を含むことを特徴とする、 画像のふちどり処理装置。
1. A plurality of shadowing circuits, each of which has a one-line memory means for storing given digital image data, and an output of the one-line memory means. Feedback means for feeding back to the input side; change processing means provided in the feedback means for subtracting a predetermined value from the fed back data to generate shadow image data; shift setting for shifting the fed back data Means for calculating a logical sum of newly provided digital image data and shadow image data generated by the change processing means, and applying the obtained data to the one-line memory means; Output processing means for binarizing the shadow image data and data other than the shadow image data The shift direction is set in the shift setting means of each shadow-casting circuit so that the directions in which the shadows obtained by the shadow-casting circuits extend are different from each other. An image trimming processing device, comprising: synthesizing means for synthesizing an output of an attaching circuit.
【請求項2】請求項1記載の画像のふちどり処理装置に
おいて、 影付け回路は2つ1組の対が3つ設けられており、3つ
の影付け回路から出力される影の延びる方向が、それぞ
れ、与えられる画像の左下45゜方向、真下方向、右下45
゜方向となるように、各シフト設定回路が調整されてい
ることを特徴とするものである。
2. The image trimming processing device according to claim 1, wherein the shadowing circuit comprises three pairs of pairs, and the direction in which the shadow output from the three shadowing circuits extends is 45 °, lower right, lower right 45 ° of the given image, respectively
Each shift setting circuit is adjusted to be in the ゜ direction.
JP33468590A 1990-11-29 1990-11-29 Image edge processing device Expired - Lifetime JP2977608B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33468590A JP2977608B2 (en) 1990-11-29 1990-11-29 Image edge processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33468590A JP2977608B2 (en) 1990-11-29 1990-11-29 Image edge processing device

Publications (2)

Publication Number Publication Date
JPH04200169A JPH04200169A (en) 1992-07-21
JP2977608B2 true JP2977608B2 (en) 1999-11-15

Family

ID=18280089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33468590A Expired - Lifetime JP2977608B2 (en) 1990-11-29 1990-11-29 Image edge processing device

Country Status (1)

Country Link
JP (1) JP2977608B2 (en)

Also Published As

Publication number Publication date
JPH04200169A (en) 1992-07-21

Similar Documents

Publication Publication Date Title
JPH07231384A (en) Digital recorder
US5414800A (en) Image data processing apparatus in which the state of mounting in delay memory is detected
JP2977608B2 (en) Image edge processing device
JP3137334B2 (en) Digital image data processing device
JP3021027B2 (en) Digital image data processing device
JP2922629B2 (en) Digital image data processing device
US5103320A (en) Image reading apparatus with correction of two-dimensional shading
JP2978012B2 (en) Image forming device
JP2877603B2 (en) Image processing device
JP3793050B2 (en) Multiple arithmetic circuit
JP3151729B2 (en) Image reading device and image forming device
JPH03174875A (en) Digital picture data processor
JPH057804Y2 (en)
JPH03174871A (en) Digital picture data processor
JP2953895B2 (en) Image reading device
JPH1081032A (en) Digital writing device
JPH03174872A (en) Digital picture data processor
JP3632830B2 (en) Error diffusion processing method and error diffusion processing apparatus
JPH03174873A (en) Digital picture data processor
JP2000037908A (en) Image forming apparatus
JP2930128B2 (en) Image forming device with shadow
JP3948645B2 (en) Image data processing device
JP2719473B2 (en) Image forming device
JPH03174874A (en) Digital picture data processor
JPH0636549B2 (en) Digital copier