JPS6338741B2 - - Google Patents

Info

Publication number
JPS6338741B2
JPS6338741B2 JP55014703A JP1470380A JPS6338741B2 JP S6338741 B2 JPS6338741 B2 JP S6338741B2 JP 55014703 A JP55014703 A JP 55014703A JP 1470380 A JP1470380 A JP 1470380A JP S6338741 B2 JPS6338741 B2 JP S6338741B2
Authority
JP
Japan
Prior art keywords
memory
image
pixel
contour
stored
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
JP55014703A
Other languages
Japanese (ja)
Other versions
JPS56111885A (en
Inventor
Yoshio Arai
Hiroyuki Kataoka
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP1470380A priority Critical patent/JPS56111885A/en
Publication of JPS56111885A publication Critical patent/JPS56111885A/en
Publication of JPS6338741B2 publication Critical patent/JPS6338741B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Description

【発明の詳細な説明】 本発明は、2値形式で記録された文字、画像な
どの原画から等高線模様であらわされた画像を作
成する装置に関する。さらに詳しく言えば、第1
図aのような普通の入力画像の、輪郭から等距離
だけ離れた各点を結んで等高線様曲線を作り、こ
れをくり返すことによつて、第1図bのような等
高線模様で表わされた画像を作成する装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an apparatus for creating an image represented by a contour line pattern from an original image such as a character or image recorded in a binary format. To be more specific, the first
By connecting points equidistant from the contour of a normal input image as shown in Figure A to create a contour line-like curve, and repeating this process, a contour line pattern as shown in Figure 1B can be created. The present invention relates to a device for creating a captured image.

本発明の1実施例を第2図に示す。なお、この
例では、画像は主走査方向には2048画素よりなる
ものとしているが、本発明がこれに限定されるも
のでないことは明らかである。1および2は、そ
れぞれ1枚(フレーム)の画像の全画素を記憶で
きるAおよびBメモリ、3はクロツクおよび制御
信号発生器、4はフリツプフロツプ、5,6はそ
れぞれ2046ビツトシフトレジスタ、7〜9,5
1,52,61,62はそれぞれ1ビツトシフト
レジスタ、10は2ビツトカウンタ、11はアド
レスカウンタ、12はアドレス変換器である。
One embodiment of the invention is shown in FIG. In this example, it is assumed that the image consists of 2048 pixels in the main scanning direction, but it is clear that the present invention is not limited to this. 1 and 2 are A and B memories each capable of storing all pixels of one image (frame); 3 is a clock and control signal generator; 4 is a flip-flop; 5 and 6 are each 2046-bit shift registers; 7 to 9 ,5
1, 52, 61, and 62 are 1-bit shift registers, 10 is a 2-bit counter, 11 is an address counter, and 12 is an address converter.

スタート(START)信号が入力されると、ク
ロツクおよび制御信号発生器3はAおよびBメモ
リ1,2の全領域を走査する期間だけ、イニシア
ル(INITIAL)信号が“1”にされる。この信
号“1”がオアゲートO1,O2を介してメモリ
1,2に加えられるので、2つのメモリA、Bは
いずれも書き込みモードとなる。同時にアドレス
カウンタ11にはクロツク信号が入力され、Aお
よびBメモリの各番地を順次指定する。
When the start (START) signal is input, the clock and control signal generator 3 sets the initial (INITIAL) signal to "1" only during the period when all areas of the A and B memories 1 and 2 are scanned. Since this signal "1" is applied to memories 1 and 2 via OR gates O1 and O2, both memories A and B are in write mode. At the same time, a clock signal is input to the address counter 11 to sequentially designate each address in the A and B memories.

この時Aメモリ1にはアンドゲートA1を経て
新しいデータ(DATA)が供給されるので、新
しい読込みデータがAメモリに記憶される。一
方、Bメモリ2の入力にはイニシアル信号“1”
をインバータIによつて反転し信号“0”が入力
されるので、Bメモリの全領域はクリアされる。
クロツクおよび制御信号発生器3は、またリセツ
ト(RESET)信号を発生して、すべてのシフト
レジスタ、フリツプフロツプおよびカウンタをリ
セツトする。
At this time, new data (DATA) is supplied to A memory 1 via AND gate A1, so new read data is stored in A memory. On the other hand, the input of B memory 2 has an initial signal “1”.
is inverted by the inverter I and a signal "0" is input, so that the entire area of the B memory is cleared.
Clock and control signal generator 3 also generates a RESET signal to reset all shift registers, flip-flops and counters.

いま、第3図aに示すような画像が新データと
してAメモリ1に記憶されたと仮定して、第2図
装置の動作を設明する。まず最初に、アドレスカ
ウンタ一11がリセツトされ、イニシアル信号が
“0”になる。これによつて、A、Bメモリは読
出しモードに切換えられる。アドレスカウンタ1
1のカウント値が再び順々に増加して、Aおよび
Bメモリの読出し番地を指定する。
Now, assuming that an image as shown in FIG. 3a is stored in the A memory 1 as new data, the operation of the apparatus shown in FIG. 2 will be explained. First, the address counter 11 is reset and the initial signal becomes "0". As a result, the A and B memories are switched to read mode. address counter 1
The count value of 1 increases again in sequence to designate the read address of the A and B memories.

もつとも、この場合の番地指定は、Aメモリ1
に対するものの方がBメモリ2に対するものより
も1走査線分先行するように、アドレス変換器1
2が調節される。すなわち、Aメモリ1に対する
指定番地をADa、Bメモリ2に対するそれをADb
とすると、この例ではアドレスADaは〔ADb
2048〕になつている。
However, the address specification in this case is A memory 1.
address converter 1 so that the one for B memory 2 precedes the one for B memory 2 by one scanning line.
2 is adjusted. In other words, the specified address for A memory 1 is AD a , and that for B memory 2 is AD b.
Then, in this example, the address AD a is [AD b +
2048].

Aメモリの記憶データは順次読出されてシフト
レジスタ7に入力され、その後順次シフトレジス
タ8→9→6→61→62→5→51→52に転
送される。処理対象となつている画素の信号SR0
がシフトレジスタ61にあるとき、画面上でその
左上、真上、右上、左横、右横、左下、真下、右
下の各位置にある画素の信号は、第2図および第
4図に示したように、それぞれシフトレジスタ
7,8,9、シフトレジスタ6の最上位桁、シフ
トレジスタ62、シフトレジスタ5の最上位桁、
シフトレジスタ51および52からSR1〜SR8と
して出力されている。
The data stored in the A memory is sequentially read out and input to the shift register 7, and then sequentially transferred to the shift registers 8→9→6→61→62→5→51→52. Signal SR0 of the pixel being processed
is in the shift register 61, the signals of the pixels at the top left, right above, top right, left side, right side, bottom left, right below, and bottom right of the screen are shown in FIGS. 2 and 4. Shift registers 7, 8, 9, the most significant digit of shift register 6, shift register 62, the most significant digit of shift register 5,
The shift registers 51 and 52 output them as SR1 to SR8.

このときSR0が“0”ならば、アンドゲートA
2,A3が閉じられるので、各メモリのW/R信
号は“0”となる。すなわち、AおよびBメモリ
1,2は読出モードとなるので、Bメモリ2の内
容は変更されず、“0”のままに保たれる。一方、
SR0が“1”の場合は、第4図に示した周囲の点
の読取り信号SR1〜SR8が全部で“1”であるか
どうかをナンドゲートNAで調べる。全部“1”
ならば、その出力は“0”となつてアンドゲート
A2,A3が閉じられ、前記と同様にBメモリ2
の内容は変更されず、“0”のままに保たれる。
At this time, if SR0 is “0”, AND gate A
2. Since A3 is closed, the W/R signal of each memory becomes "0". That is, since the A and B memories 1 and 2 are in the read mode, the contents of the B memory 2 are not changed and are kept at "0". on the other hand,
If SR0 is "1", the NAND gate NA is used to check whether the read signals SR1 to SR8 of the surrounding points shown in FIG. 4 are all "1". All “1”
If so, the output becomes "0", AND gates A2 and A3 are closed, and B memory 2 is output as before.
The content of is not changed and remains at "0".

しかしながら、SR1〜SR8の全部が“1”でな
いとき、すなわちその中の少なくとも1つが
“0”(白)であるときは、ナンドゲートNAの出
力は“1”となつてアンドゲートA2,A3が開
かれる。その結果、Aメモリ1のW/R信号は
“1”、すなわち書込みモードとなるが、そのIN
信号は“0”であるから、Aメモリ1内では、処
理対象点の“1”が消されて“0”にされる。前
記のような条件を満たす点は輪郭の一部であり、
このような点はすべて消される。
However, when all of SR1 to SR8 are not "1", that is, when at least one of them is "0" (white), the output of NAND gate NA becomes "1" and AND gates A2 and A3 are opened. It will be done. As a result, the W/R signal of A memory 1 becomes “1”, that is, it is in write mode, but its IN
Since the signal is "0", in the A memory 1, the "1" at the processing target point is erased and becomes "0". Points that satisfy the above conditions are part of the contour,
All such points will be erased.

処理動作の初めに2ビツトカウンタ10はリセ
ツトされて“00”となつているので、ノアゲート
NORの出力は“1”であり、したがつてアンド
ゲートA3の出力も“1”である。それ故に、B
メモリ2は書込みモードとなり、このときイニシ
アル信号は“0”で、Bメモリ2のIN信号は
“1”であるから、第4図のSR0に相当するBメ
モリの番地には“1”が書込まれる。
Since the 2-bit counter 10 is reset to "00" at the beginning of the processing operation, the NOR gate
The output of NOR is "1", and therefore the output of AND gate A3 is also "1". Therefore, B
Memory 2 enters the write mode, and at this time the initial signal is "0" and the IN signal of B memory 2 is "1", so "1" is written to the address of B memory corresponding to SR0 in Figure 4. be included.

以上の操作を1フレームにわたつて行なうと、
Aメモリ1内に記憶されていた第3図aの画像は
同図cのように輪郭を削られてやせた形状に変換
され、一方Bメモリ2には同図aの画像の輪郭線
に相当する同図bの画像が記憶される。
If you perform the above operations for one frame,
The image in Figure 3a stored in the A memory 1 is converted into a thin shape with its outline shaved off as shown in Figure 3c, while the image in the B memory 2 has a contour line corresponding to the image in Figure 3a. The image shown in Figure b is stored.

前述の操作中に、Aメモリ1から読出されたデ
ータの中には“1”が1個以上含まれていたの
で、フリツプフロツプ14はセツト状態にされて
いる。
During the above operation, the data read from A memory 1 contained one or more "1"s, so flip-flop 14 was placed in the set state.

つぎに、前述と同様の処理を第3図cの画像に
ついて行なうが、この時2ビツトカウンタ10は
“01”となつているので、ノアゲートNORの出力
は“0”であり、アンドゲートA3が閉じられ
る。したがつて、輪郭の点(ビツト)が検出され
てもBメモリ2への書込みは行なわれない。しか
し、Aメモリ1内の記憶画像は、その輪郭が1画
素分削られる。さらに、同様な操作をくり返えし
て2ビツトカウンタの内容が“10”“11”となつ
たときも、同じようにアンドゲートA3が閉じら
れるので、Bメモリ2への輪郭線の書込みは行な
われず、Aメモリ1内の記憶画像が第3図dのよ
うに細るだけである。
Next, the same processing as described above is performed on the image shown in FIG. Closed. Therefore, even if a point (bit) on the contour is detected, writing to the B memory 2 is not performed. However, the outline of the stored image in the A memory 1 is removed by one pixel. Furthermore, when the same operation is repeated and the contents of the 2-bit counter become "10" or "11", AND gate A3 is closed in the same way, so the outline is not written to B memory 2. This is not done, and the stored image in the A memory 1 only becomes thinner as shown in FIG. 3d.

第4フレーム目では、2ビツトカウンタ10が
再び“00”になるので、前述の説明から明らかな
ように、その時のAメモリ1内の記憶画像の輪郭
がBメモリ2に記憶される。したがつて、この時
のA、Bメモリ内の記憶画像はそれぞれ第3図の
e,fのようになる。さらに同じ処理を行なう
と、Aメモリ1の記憶内容はすべて“0”にな
り、その次のフレーム処理終了時には、フリツプ
フロツプ4はリセツト状態を保つ。この時のフリ
ツプフロツプ4の出力をクロツクおよび制御信号
発生器3に供給し、処理動作を停止させる。
In the fourth frame, the 2-bit counter 10 becomes "00" again, so as is clear from the above description, the outline of the image stored in the A memory 1 at that time is stored in the B memory 2. Therefore, the stored images in the A and B memories at this time become as shown in e and f in FIG. 3, respectively. When the same processing is performed again, all the stored contents of the A memory 1 become "0", and the flip-flop 4 remains in the reset state when the next frame processing is completed. The output of the flip-flop 4 at this time is supplied to the clock and control signal generator 3 to stop the processing operation.

処理済の画像(第3図fのようなもの)、すな
わち隣接する輪郭線同士の間に1画素分の間隔ま
たは空白部をもつ輪郭線群がBメモリ2に記憶さ
れるので、これを公知の適当な出力装置(例えば
ラスタースキヤン方式のプリンタ等)に供給して
やれば、等高線模様に変換された可視画像を得る
ことができる。
The processed image (such as the one shown in FIG. 3 f), that is, a group of contour lines with a gap of one pixel or a blank space between adjacent contour lines, is stored in the B memory 2, so it is known that By supplying the image to a suitable output device (for example, a raster scan type printer, etc.), a visible image converted into a contour line pattern can be obtained.

本発明によつて作成された等高線模様画像は、
同日付の出願である記憶画像の欠落部の再生(特
願昭55−14708号)、再生画像の汚れやノイズ除
去、(特願昭55−14706号)、などに有用である外、
普通の文字等から輪郭だけを取出すようなレタリ
ング、および普通文字等の字画の中央部(稜部)
を取出す、いわゆる「骨出し」(光学的文字読取
の前処理としての)などにも有用である。
The contour line pattern image created by the present invention is
In addition to being useful for reproducing missing parts of stored images (Japanese Patent Application No. 55-14708), removing dirt and noise from reproduced images (Japanese Patent Application No. 14706-1987), etc., which was filed on the same date,
Lettering that extracts only the outline from ordinary letters, etc., and the center part (ridge) of the strokes of ordinary letters, etc.
It is also useful for so-called "bone extraction" (as a preprocessing for optical character reading).

なお、以上では画像部を等高線模様に変換する
例について述べたが、白黒を反転すれば画像の地
(背景)についても同様の処理を行なうことがで
きるし、等高線模様の間隔はアンドゲート3に入
力される2ビツトカウンタのサイズおよびその出
力の輪理演算形式を変えることによつて容易に変
更することができることは容易に理解されるであ
ろう。
In addition, above we have described an example of converting the image part into a contour line pattern, but the same process can be performed on the ground (background) of the image by inverting the black and white, and the interval between the contour line patterns can be changed using AND gate 3. It will be readily understood that this can be easily changed by changing the size of the input 2-bit counter and the circular arithmetic format of its output.

さらに、以上においては本発明を単位論理素子
の組合せによつて実施した例を示したが、電子計
算機等を適当にプログラムすることによつても実
施できることは明らかであろう。
Furthermore, although the present invention has been described above as an example of implementing it by combining unit logic elements, it is clear that it can also be implemented by appropriately programming an electronic computer or the like.

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

第1図は原画像および本発明によつて得られる
等高線模様付画像の1例を示す図、第2図は本発
明の1実施例のブロツク図、第3図および第4図
はその動作を説明するための図である。 1……Aメモリ、2……Bメモリ、3……クロ
ツクおよび制御信号発生器、5〜9,51,5
2,61,62……シフトレジスタ、10……2
ビツトカウンタ、11……アドレスカウンタ、1
2……アドレス変換器。
FIG. 1 is a diagram showing an example of an original image and a contour patterned image obtained by the present invention, FIG. 2 is a block diagram of an embodiment of the present invention, and FIGS. 3 and 4 illustrate its operation. It is a figure for explaining. 1...A memory, 2...B memory, 3...clock and control signal generator, 5-9, 51, 5
2, 61, 62...shift register, 10...2
Bit counter, 11...Address counter, 1
2...Address converter.

Claims (1)

【特許請求の範囲】 1 一原稿の画像情報全部を記憶できる2個のフ
レームメモリA、Bと、メモリAから読出された
1フレームに含まれる各処理対象画素について、
その周囲の画素の情報を検出する手段と、 前記手段によつて検出された情報に基づいて前
記処理対象画素が画像の輪郭部のものか否かを判
定する手段と、 輪郭部と判定された画素の集合によつて形成さ
れる各輪郭線を、隣接する輪郭線同士の間に少な
くとも1画素分の間隔を持たせて、メモリBに書
き込む手段と、 一原稿の情報について処理が終了した後、メモ
リB内の記憶情報を出力して記録、表示する手段
と、 前記各手段の処理を制御する制御部とから構成
されたことを特徴とする高等線模様画像作成装
置。
[Claims] 1. Two frame memories A and B capable of storing all the image information of one document, and each pixel to be processed included in one frame read from memory A.
means for detecting information on surrounding pixels; means for determining whether or not the pixel to be processed belongs to the contour portion of the image based on the information detected by the means; and the pixel determined to be the contour portion. a means for writing each contour line formed by a set of pixels into a memory B with an interval of at least one pixel between adjacent contour lines; 1. A high-level line pattern image creation device comprising: means for outputting, recording and displaying information stored in memory B; and a control section controlling processing of each of the means.
JP1470380A 1980-02-12 1980-02-12 Contour pattern image plotter Granted JPS56111885A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1470380A JPS56111885A (en) 1980-02-12 1980-02-12 Contour pattern image plotter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1470380A JPS56111885A (en) 1980-02-12 1980-02-12 Contour pattern image plotter

Publications (2)

Publication Number Publication Date
JPS56111885A JPS56111885A (en) 1981-09-03
JPS6338741B2 true JPS6338741B2 (en) 1988-08-02

Family

ID=11868531

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1470380A Granted JPS56111885A (en) 1980-02-12 1980-02-12 Contour pattern image plotter

Country Status (1)

Country Link
JP (1) JPS56111885A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5514707A (en) * 1978-07-18 1980-02-01 Ricoh Co Ltd Interphone circuit of data collection circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5514707A (en) * 1978-07-18 1980-02-01 Ricoh Co Ltd Interphone circuit of data collection circuit

Also Published As

Publication number Publication date
JPS56111885A (en) 1981-09-03

Similar Documents

Publication Publication Date Title
US4466123A (en) Apparatus and method for correcting contour line pattern images
JPS6357831B2 (en)
JPH0775397B2 (en) Image processing device
JPS6243589B2 (en)
JPS6338741B2 (en)
JPS5813066A (en) Picture size contracting system
JPS5853272A (en) Compressing and reproducing system of picture data
JPS6248941B2 (en)
JPS59125470A (en) Processing method for variable magnification of picture data
JP3009483B2 (en) Image processing device
JPS6336036B2 (en)
JPS6312309B2 (en)
JP3061830B2 (en) Image processing device
JP2868532B2 (en) Image synthesis device
JP2509448B2 (en) How to reduce the amount of image information
JPH03286676A (en) Picture processing unit
JPS63224472A (en) Reading system for area specifying sheet
JPS58169681A (en) Picture processing circuit
JPH0367873B2 (en)
JP2785269B2 (en) Noise removal device
JP2962613B2 (en) Pattern filling method
JPH09191390A (en) Device and method for image processing
JPH02277174A (en) Picture processing method
JPS641827B2 (en)
JPH02253376A (en) Picture editing device