JPH04178779A - Picture processing device - Google Patents

Picture processing device

Info

Publication number
JPH04178779A
JPH04178779A JP30662890A JP30662890A JPH04178779A JP H04178779 A JPH04178779 A JP H04178779A JP 30662890 A JP30662890 A JP 30662890A JP 30662890 A JP30662890 A JP 30662890A JP H04178779 A JPH04178779 A JP H04178779A
Authority
JP
Japan
Prior art keywords
picture
image
closed area
processing
outside
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.)
Pending
Application number
JP30662890A
Other languages
Japanese (ja)
Inventor
Sohei Shibazaki
芝崎 宗平
Yukio Sawano
沢野 行男
Hiroto Nagashima
長島 裕人
Masataka Sato
政孝 佐藤
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 Holdings Corp
Original Assignee
Fuji Photo Film 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 Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP30662890A priority Critical patent/JPH04178779A/en
Publication of JPH04178779A publication Critical patent/JPH04178779A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PURPOSE:To obtain a beautiful print picture by commanding contents of picture processing to the inside and the outside of a closed area to not only subject a picture forming the closed area to line thinning process but also perform the picture processing of contents commanded to the inside and the outside of the closed area. CONSTITUTION:A monitor 70 is arranged on the deep side on the upper face of a retaining plate 52, and a keyboard 72 as the input means is arranged on the front side, and the keyboard 72 or the like is used to perform coloring and editing work. Meanwhile, a CPU 84 as the processing means expands coordinates of a change point stored in a RAM 88 and information of color and pattern following this point to obtain data for each picture element and prints a picture while restoring the state of this bit image, and at this time, a picture L is subjected to line thinning process and this thinned picture is colored and patterned to print out the picture. Thus, lines of the picture on a document are sufficiently thinned and are inconspicuously printed out though they are thick, and a beautiful picture is outputted.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、スキャナで読取った画像の画線で囲まれた閉
領域を指定して着色などの所定の画像処理を施す画像処
理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an image processing device that specifies a closed area surrounded by lines in an image read by a scanner and performs predetermined image processing such as coloring. It is.

(発明の技術的背景) 原稿をスキャナによって読込み、この読込んだ画像を基
にして画像に着色したり、画像の一部を切出して編集し
たり、他の画像と組合せたり、種々の画像処理をしてプ
リンタに出力するようにした画像処理装置が考えられて
いる。
(Technical background of the invention) A manuscript is read by a scanner, and an image is colored based on the read image, a part of the image is cut out and edited, a part of the image is cut out, and a part of the image is combined with other images, and various image processing is performed. An image processing apparatus has been proposed that outputs the image data to a printer.

このような装置の使用態様の一つとして、読取った画像
の線すなわち画線で囲まれた閉領域内あるいはこの閉領
域外を一定の色や模様に画像処理することが考えられる
。ここに原稿の画線が太いとこの太い画線が黒くハツキ
リと残ることになり、特にこの閉領域の中と外との色が
薄い場合にはこの画線が明確に残って美しいプリント画
像が得られなくなるなどの問題があった。
One way of using such a device is to image-process the inside or outside of a closed area surrounded by lines or drawing lines of a read image into a certain color or pattern. If the original has thick lines, these thick lines will remain black and sharp, and especially if the inside and outside of this closed area are pale in color, these lines will remain clearly and create a beautiful printed image. There were problems such as not being able to obtain it.

(発明の目的) 本発明はこのような事情に鑑みなされたものであり、読
取った画線で囲まれる閉領域の内側あるいは外側に着色
などの所定の画像処理を施す場合に、この画線を細くし
たり消したりして目立たなくし、美しいプリント画像を
得られるようにした画像処理装置を提供することを目的
とするものである。
(Objective of the Invention) The present invention has been made in view of the above circumstances, and when performing predetermined image processing such as coloring on the inside or outside of a closed area surrounded by a read object line, it is possible to It is an object of the present invention to provide an image processing device that makes it possible to obtain beautiful printed images by thinning or erasing images to make them less noticeable.

(発明の構成) 本発明によればこの目的は、原稿を読取るスキャナと、
この読取った画像を表示する画像モニタと、前記読取っ
た画像の画線で囲まれた閉領域を指定するデジタイザと
、この閉領域内・外に対する画像処理の内容を指令する
処理内容入力手段と、前記閉領域を形成する画線を細線
化処理すると共に前記閉領域の内・外に対し前記指令さ
れた内容の画像処理を行う処理手段とを備えることを特
徴とする画像処理装置、により達成される。
(Structure of the Invention) According to the present invention, the purpose is to provide a scanner for reading a document;
an image monitor for displaying the read image; a digitizer for specifying a closed area surrounded by lines of the read image; and a processing content input means for instructing the content of image processing for inside and outside the closed area; This is achieved by an image processing device characterized by comprising processing means for thinning the drawing lines forming the closed area and for performing image processing according to the commanded content on the inside and outside of the closed area. Ru.

ここに前記処理手段は、細線化処理した画線に前記閉領
域内・外のいずれかと同じ画像処理を施し、結果的に画
線を消すようにすることができる。
Here, the processing means can perform the same image processing on the thinned object line as either inside or outside the closed area, and erase the object line as a result.

(作用) 原稿はスキャナにおいてその画像が読取られメモリされ
る。デジタイザにおいてこの原稿の中から画線で囲まれ
た閉領域を指定し、この閉領域の内側あるいは外側に施
すべき処理、例λば所定の色や模様を施すなどの処理の
内容を指定する。すると処理手段はこの閉領域に対して
この指定された内容の処理を行う。ここに処理手段は画
線の細線化処理を行い、画線を十分に細くして目立たな
くしたり、この細線化した画線をこの画線の内側あるい
は外側の色・模様と同じになるように処理する。この処
理の結果は、プリンタから出力したり、互いに接続され
た他のコンピュータや画像処理装置などに送られたり、
また光ディスクなどの外部記憶装置に記憶される。
(Operation) The image of the original is read by a scanner and stored in memory. In the digitizer, a closed area surrounded by drawing lines is specified in the document, and the contents of the process to be applied to the inside or outside of this closed area, such as applying a predetermined color or pattern, for example, are specified. Then, the processing means processes the specified contents for this closed area. Here, the processing means performs thinning processing on the drawing line, making the drawing line sufficiently thin to make it inconspicuous, or making the thinned drawing line the same color or pattern as the inside or outside of the drawing line. Process. The results of this processing can be output from a printer or sent to other computers or image processing devices connected to each other.
It is also stored in an external storage device such as an optical disk.

(実施例) 第1図は本発明の一実施例の斜視図、第2図はその内部
構造を示す透視図、第3図は側面の透視図、第4図は正
面の透視図、第5図はスキャナの押え蓋の上面を示す図
、第6図はブロック図、第7図は代表的な処理としての
色付は編集処理の動作を示す流れ図、第8図は細線化処
理の説明図である。
(Example) Fig. 1 is a perspective view of an embodiment of the present invention, Fig. 2 is a perspective view showing its internal structure, Fig. 3 is a side perspective view, Fig. 4 is a front perspective view, and Fig. 5 is a perspective view of an embodiment of the present invention. The figure shows the top surface of the scanner presser cover, Figure 6 is a block diagram, Figure 7 is a flowchart showing the operation of editing processing with coloring as a typical process, and Figure 8 is an explanatory diagram of line thinning process. It is.

まず第1〜4図に基づき各部の配置構造を説明する。第
1図において符号1oは横長の筐体であり、この筐体1
0は左右一対の足部12.12により水平に保たれてい
る。筐体10の上面は上方へ開閉可能な[14となって
いる。また足12.12の下部はメンバー16により連
結され、このメンバー16にはプリント済みの用紙を受
けるラック18が掛は止められている。
First, the arrangement structure of each part will be explained based on FIGS. 1 to 4. In FIG. 1, reference numeral 1o indicates a horizontally elongated casing, and this casing 1
0 is kept horizontal by a pair of left and right feet 12.12. The upper surface of the casing 10 can be opened and closed upward [14]. The lower portions of the legs 12.12 are connected by a member 16, and a rack 18 for receiving printed sheets is hooked onto this member 16.

筐体1oの内部には、第2.3図に示すようにプリンタ
20が収容されている。このプリンタ20は横向きに平
行に配設された給紙ロール22と、プラテン24とを有
する。このプラテン24は給紙ロール22の手前側に位
置し、給紙ロール22の下縁から引出された用紙26は
プラテン24に掛は回されてプラテン24の前縁から下
方へ導かれる。プラテン24はフィードモータ28によ
りベルト駆動される。
A printer 20 is housed inside the housing 1o, as shown in FIG. 2.3. This printer 20 includes a paper feed roll 22 and a platen 24, which are arranged laterally in parallel. This platen 24 is located in front of the paper feed roll 22, and the paper 26 pulled out from the lower edge of the paper feed roll 22 is hooked onto the platen 24, rotated, and guided downward from the front edge of the platen 24. The platen 24 is belt driven by a feed motor 28.

プリンタ20は、プラテン24の前面に沿って左右に走
行する印字ヘッド30を備える。この印字ヘッド30は
ガイドロッド32にガイドされ、キャリッジモータ34
に巻き掛けたベルト36により左右に送られる。印字ヘ
ッド3oはこの実施例ではインクジェット方式のもので
あり、その復帰位置(ホームポジション)ではインク噴
出ノズルがキャッピング部38により塞がれ、インク噴
出ノズルの乾燥が防止され、また清掃される。
The printer 20 includes a print head 30 that runs left and right along the front surface of the platen 24. This print head 30 is guided by a guide rod 32 and is driven by a carriage motor 34.
It is sent left and right by a belt 36 wrapped around the. In this embodiment, the print head 3o is of an inkjet type, and at its return position (home position), the ink ejection nozzle is closed by a capping portion 38 to prevent the ink ejection nozzle from drying out and to clean it.

4oは清掃のためにこのキャビング部38に噴出された
廃液(廃棄インク)を集める廃液タンクである。なおこ
の印字ヘッド30にはイエロー、マゼンタ、シアン、ブ
ラックの4色のインクタンクとノズルとが取付けられて
いる。第4図で42はこの印字ヘッド30による印字領
域を示している。
4o is a waste liquid tank that collects waste liquid (waste ink) ejected into the cabin portion 38 for cleaning. The print head 30 is equipped with ink tanks and nozzles for four colors: yellow, magenta, cyan, and black. In FIG. 4, reference numeral 42 indicates a printing area by this print head 30.

44はカッタであり、プラテン24の下方にあってプリ
ント用紙26を切断する。すなわちプリント用紙26を
挟んで固定刃と可動刃とが対向し、可動刃がモータによ
り移動すると固定刃側に移動して用紙26をカットする
ものである。
A cutter 44 is located below the platen 24 and cuts the print paper 26. That is, a fixed blade and a movable blade face each other with the printing paper 26 in between, and when the movable blade is moved by a motor, it moves toward the fixed blade and cuts the paper 26.

50はスキャナであり、蓋14の上面の右側に位置する
。このスキャナ50は、蓋14に上方から載せられた押
え蓋52と、この押え蓋52と筐体1oの蓋14との間
に原稿53を挟んで右から左へ送る搬送機構と、筐体1
0内に収容されたCCDラインセンサ54と、原稿53
の搬送方向に直交する主走査ライン上の画像をこのライ
ンセンサ54に導く光学系とを備える。搬送機構は第4
図に示すように原稿53を上下から挟んで右から左へ送
る4個の送りローラ56で構成され、筐体10側の2つ
のローラ56はモータ(図示せず)によって回転駆動さ
れる。光学系は適宜数のミラー58と、レンズ60とで
構成される。なお62は光源である。
A scanner 50 is located on the right side of the top surface of the lid 14. The scanner 50 includes a presser lid 52 placed on the lid 14 from above, a transport mechanism that sandwiches the document 53 between the presser lid 52 and the lid 14 of the housing 1o, and transports the document 53 from right to left.
The CCD line sensor 54 housed in the 0 and the original 53
and an optical system that guides the image on the main scanning line perpendicular to the conveyance direction to the line sensor 54. The transport mechanism is the fourth
As shown in the figure, it is composed of four feed rollers 56 that sandwich the original 53 from above and below and feed it from right to left, and the two rollers 56 on the side of the casing 10 are rotationally driven by a motor (not shown). The optical system is composed of an appropriate number of mirrors 58 and lenses 60. Note that 62 is a light source.

64はデジタイザであり、このスキャナ50の原稿53
の排出側、すなわち左側に隣接して蓋14の上面に設け
られている。このデジタイザ64は座標検出板66とス
タイラスペン68とを備える。検出板66は全面に広が
る抵抗体をもち、スタイラスペン68の先端でこの検出
板66を押圧したときの抵抗値の変化から、座標を検出
するものである。検出板66には、例えば右上隅が基準
位置として決められ、原稿53の右上隅をこの基準位置
に位置合せして固定される。
64 is a digitizer, and the document 53 of this scanner 50 is
It is provided on the upper surface of the lid 14 adjacent to the discharge side, that is, the left side. This digitizer 64 includes a coordinate detection plate 66 and a stylus pen 68. The detection plate 66 has a resistor spread over the entire surface, and the coordinates are detected from the change in resistance value when the detection plate 66 is pressed with the tip of the stylus pen 68. For example, the upper right corner of the detection plate 66 is determined as a reference position, and the upper right corner of the document 53 is aligned and fixed to this reference position.

70は液晶板からなる画像モニタ、72は画像処理内容
などを人力するためのキーボードであり、これらはスキ
ャナ50の押え蓋52の上面に取付けられている。すな
わち第1.5図に示すように、押え板52の上面の奥側
にモニタ7oか、その手前側に入力手段としてのキーボ
ード72か配列されている。このキーボード72の操作
については後記する。なおスキャナ50の手前側には、
第1図に示すように確認キー74、スタートキー76、
プリント枚数入カキ−78、モード選択キー90、細線
化処理による線幅を設定するための設定器92等が配設
されている。
Reference numeral 70 is an image monitor consisting of a liquid crystal panel, and 72 is a keyboard for manually inputting image processing contents, which are attached to the upper surface of the presser cover 52 of the scanner 50. That is, as shown in FIG. 1.5, a monitor 7o is arranged on the back side of the upper surface of the presser plate 52, and a keyboard 72 as an input means is arranged on the front side thereof. The operation of this keyboard 72 will be described later. Note that on the front side of the scanner 50,
As shown in FIG. 1, a confirmation key 74, a start key 76,
A print number input key 78, a mode selection key 90, a setting device 92 for setting the line width by thinning processing, and the like are provided.

プリンタ20と、スキャナ50と、デジタイザ64と、
モニタ70と、キーボード72と、さらにはキー74.
76.78.90、設定器92などとはそれぞれインタ
ーフェース80a−eを介してバス82に接続される(
第6図)。ROM86にはCPU84の動作プログラム
や種々の定数などがメモリされている。バス82にはま
た処理手段としてのCPU84、ROM86、RAM8
8、画像メモリF(F、、F2)などが接続される。こ
のバス82を介して他のCPUなどに接続し、相互に画
像情報の送受信を行うようにしてもよい。
A printer 20, a scanner 50, a digitizer 64,
A monitor 70, a keyboard 72, and even keys 74.
76, 78, 90, setting device 92, etc. are connected to the bus 82 via interfaces 80a-e, respectively (
Figure 6). The ROM 86 stores operating programs for the CPU 84 and various constants. The bus 82 also includes a CPU 84, ROM 86, and RAM 8 as processing means.
8, image memory F (F, , F2), etc. are connected. It may also be connected to another CPU or the like via this bus 82 to mutually transmit and receive image information.

(色付は編集操作) 次にこの実施例の基本的画像処理の一例として色付は編
集の操作を第5.7図等を用いて説明する。
(Coloring is an editing operation) Next, as an example of the basic image processing of this embodiment, the coloring and editing operation will be explained using FIG. 5.7 and the like.

まずモード選択キー90を定形モードに設定した後、原
稿53をその表面(画像面)を下にし、裏面を上にして
スキャナ50の右側の挿入口にセットする(第7図、ス
テップ200)。そしてスタートキー76を押せばスキ
ャナ50が始動し、原稿53を左へ送りつつその下面(
表面)の画像をラインセンサ54で読取って行((ステ
ップ202)。この読取った画像データはCPU84で
画像処理されてRAM88にメモリされると共に、モニ
タ70に送られてここにこの画像が表示される。
First, after setting the mode selection key 90 to the standard mode, the document 53 is set in the right insertion slot of the scanner 50 with its front side (image side) facing down and its back side facing up (FIG. 7, step 200). Then, by pressing the start key 76, the scanner 50 starts, and while feeding the original 53 to the left, the lower surface (
The image of the front surface) is read by the line sensor 54 (step 202). This read image data is image-processed by the CPU 84 and stored in the RAM 88, and is also sent to the monitor 70 where this image is displayed. Ru.

スキャナ50を通過して押え蓋52の左側に排出された
原稿53は、この排出口に隣接するデジタイザ64の検
出板66上に表を上にして載せられ、基準位置(右上隅
)に原稿53の右上隅がセットされる(ステップ204
)。
The original 53 that has passed through the scanner 50 and is ejected to the left side of the presser cover 52 is placed face up on the detection plate 66 of the digitizer 64 adjacent to this ejection port, and the original 53 is placed at the reference position (upper right corner). The upper right corner of is set (step 204
).

次に、キーボード72などを用いて色付は編集作業が行
われる(ステップ206)。まずモニタ70に表われた
画像に対する作業内容はモード208A、21OA、2
12Aのいずれかから選ぶ。モード208Aは、画像の
線すなわち画線L(第5図参照)で囲まれた閉領域Sを
、所定の色に塗りつぶす場合に選ぶ(ステップ2o8)
。この塗りつぶしを行う場合には1点指定キー214A
を押しくステップ214)、デジタイザ64のスタイラ
スペン68で塗り潰す領域内の1点を指定すればこの塗
り潰す領域が入力され(ステップ216)、この指定し
た点が小丸のマークMで表示される。
Next, coloring is edited using the keyboard 72 or the like (step 206). First, the work contents for the image displayed on the monitor 70 are in modes 208A, 21OA, and 2.
Choose from 12A. Mode 208A is selected when a closed area S surrounded by image lines, that is, object lines L (see Figure 5) is to be filled with a predetermined color (step 2o8).
. When performing this filling, use the 1-point designation key 214A.
Step 214) and specify one point within the area to be filled in with the stylus pen 68 of the digitizer 64, this area to be filled in will be input (step 216), and this specified point will be displayed as a small circle mark M. .

本発明は、この1点指定キー214Aにより塗りつぶす
閉鎖域Sを指定する場合に適用されるものである。すな
わちスキャナ50で読取った画像の線(画線)Lを細線
化処理するものである。この細線化処理については後記
する。
The present invention is applied to the case where a closed area S to be filled is specified using this one point specifying key 214A. That is, the line (object line) L of the image read by the scanner 50 is thinned. This thinning process will be described later.

モード210Aは望みの領域の色を変換する作業を選ぶ
ものであり(ステップ210)、この領域の指定方法は
2点指定と多点指定とが選択可能である。2点指定は領
域の対角位置の座標を指定するもので、2点指定キー2
18Aで指定する(ステップ218)。多点指定は領域
の角を順次指定して行(ものであり多点指定キー220
Aで指定する(ステップ220)。領域指定の方法をこ
のようにキー218Aまたは22OAから入力した後、
デジタイザ64から座標を入力すればよい(ステップ2
16)。
Mode 210A is for selecting an operation for converting the color of a desired area (step 210), and two-point specification and multi-point specification can be selected as the method of specifying this area. 2-point specification is to specify the coordinates of the diagonal position of the area, and 2-point specification key 2
18A (step 218). Multi-point specification is done by sequentially specifying the corners of the area (using the multi-point specification key 220
A is specified (step 220). After inputting the method of specifying the area using the key 218A or 22OA in this way,
All you have to do is input the coordinates from the digitizer 64 (step 2).
16).

モード212Aは画像や文字を含む領域内の背景を着色
する背景塗り作業を選ぶ場合のものであり(ステップ2
12)、この作業の領域指定方法が2点指定キー222
Aまたは多点指定キー224Aから指定された後(ステ
ップ222.224)デジタイザ64から座標を人力す
る(ステップ216)。
Mode 212A is for selecting a background painting operation that colors the background in an area including images and text (step 2).
12) The area specification method for this work is the 2-point specification key 222.
After the coordinates are designated using A or the multi-point designation key 224A (steps 222 and 224), the coordinates are entered manually from the digitizer 64 (step 216).

このように作業領域が入力された後、模様の指定が行わ
れる(ステップ226)。この指定は標準模様指定キー
群226Aあるいは登録模様指定キー群226Bの中の
1つを押すことにより行う。模様の指定が終ると次に色
を指定する(ステップ228)。この色指定は標準色キ
ー群228Aと登録色キー群228Bの中の1つを押し
て行う。また色の濃さを指定する場合には濃度キー群2
26Cで指定してから色指定キーを押す。
After the work area is input in this way, a pattern is specified (step 226). This designation is performed by pressing one of the standard pattern designation key group 226A or the registered pattern designation key group 226B. After specifying the pattern, the next step is to specify the color (step 228). This color specification is performed by pressing one of the standard color key group 228A and the registered color key group 228B. Also, when specifying the color density, use the density key group 2.
After specifying with 26C, press the color specification key.

以上のように作業内容、作業領域を入力した後、その入
力内容を確認する場合には確認キー74(第1図)を押
す(ステップ230)。これにより入力した結果が例え
ばA7サイズに縮小された状態でプリントされる。この
確認プリントを見てさらに修正が必要であれば修正部分
に対して再度色編集作業を行う。以上の操作により入力
された作業データはRAM88にメモリされる。
After inputting the work contents and work area as described above, the confirmation key 74 (FIG. 1) is pressed to confirm the input contents (step 230). As a result, the input results are printed in a reduced size to, for example, A7 size. Looking at this confirmation print, if further corrections are necessary, the color editing work is performed again on the corrected portions. The work data input through the above operations are stored in the RAM 88.

このRAM88にメモリされるデータは、スキャナ50
の走査線上での画像などの変化点の座標と、この変化点
以降の色・模様などの情報を1グループとして圧縮した
ものである。
The data stored in this RAM 88 is stored in the scanner 50.
The coordinates of a change point in an image on a scanning line, and information such as colors and patterns after this change point are compressed as one group.

以上は色付は編集作業について説明したが、このほかの
作業、例えば画像の拡大・縮小、画像の切り貼り、写真
原稿と文字原稿との合成、等の種々の作業も可能である
のは勿論である。
Although coloring has been explained above as an editing task, it is of course possible to perform various other tasks such as enlarging/reducing images, cutting and pasting images, compositing photographic manuscripts with text manuscripts, etc. be.

作業内容と作業領域とを入力した後、プリント枚数を枚
数入カキ−78から入力し、スタートキー76を再び押
せばプリンタ20が起動する(ステップ232)。する
とプリント用紙26が送られると共に印字ヘッド30が
左右に移動してカラープリントが行われ、プリントされ
た用紙26は筐体lOの下方にあるラック18に集めら
れる(ステップ234)。
After inputting the content of the work and the work area, the number of copies to be printed is input using the number input key 78, and the start key 76 is pressed again to start the printer 20 (step 232). Then, the print paper 26 is fed and the print head 30 moves left and right to perform color printing, and the printed paper 26 is collected in the rack 18 below the housing 10 (step 234).

ここに処理手段としてのCPU84は、RAM88にメ
モリした変化点の座標とそれ以降の色・模様の情報とを
展開して各画素に対するデータとしたビット・イメージ
の状態に復元しながらプリントするが、この詩画!iL
の細線化処理を同時に行う。この細線化は、例えば第8
図に示すように細線化マスクパターンによる逐次細線化
の方法により行われる。すなわち、RAM8gにメモリ
した画像の2値図形を走査と同じ順番に読出し、シフト
レジスタあるいは第1の図形メモリF1に入れ、そこか
ら3×3のサブパターン(第8図の斜線部分参照)を取
出す。このサブパターンが同図a −dのいずれかのマ
スクパターンに示す関係を満足する場合に、中心Xの位
置をO゛にする。
Here, the CPU 84 as a processing means expands the coordinates of the change point and subsequent color/pattern information stored in the RAM 88 and prints the data while restoring it to a bit image state as data for each pixel. This poetry painting! iL
Line thinning processing is performed at the same time. This thinning, for example,
As shown in the figure, this is performed by a method of sequential thinning using a thinning mask pattern. That is, the binary figures of the image stored in the RAM 8g are read out in the same order as scanning, put into the shift register or the first figure memory F1, and the 3x3 sub-pattern (see the shaded area in Fig. 8) is extracted from there. . When this sub-pattern satisfies the relationship shown in any of the mask patterns a to d in the figure, the position of the center X is set to O'.

すなわちこの位置Xが”1”であれば°゛0゛に変え、
”0”であればそのままとする。そしてこれを順次他の
図形メモリF2に移す。これを全ての画素について−通
り行うと、線幅の広いところで外周から1画素ずつ削り
取ることになる。ここにa −dのマスクパターン中で
φは1でもOでもよいことを示す。次に画像メモυF1
とF2とを交換して同様に繰り返せば順次細線化できる
。この細線化の程度あるいは繰り返し回数は、設定器9
2により設定された線幅により決まる。
In other words, if this position X is "1", change it to °゛0゛,
If it is "0", leave it as is. Then, these data are sequentially transferred to another graphic memory F2. If this is repeated for all pixels, one pixel at a time will be removed from the outer periphery where the line width is wide. It is shown here that φ may be either 1 or O in the mask patterns a to d. Next, image memo υF1
By exchanging F2 and F2 and repeating the same process, the wires can be gradually thinned. The degree of this thinning or the number of repetitions can be determined using the setting device 9.
It is determined by the line width set by 2.

このように細線化した画像に対して前記の色付け・模様
付は処理を行いプリント出力させる。
The above-mentioned coloring and patterning process is performed on the thinned image as described above, and the image is printed out.

なおこのように処理したものでは、細線化されてはいる
が依然として画線りが残っていることになる。そこでこ
の細線化した後の画線りに、画線りの内側あるいは外側
の色・模様と同様な処理を施すようにするのが望ましい
。このような設定は設定器92により設定可能である。
Note that in the case of the image processed in this way, although the line has been thinned, there still remains some drawing. Therefore, it is desirable to apply the same processing to the drawing line after thinning as the color and pattern on the inside or outside of the drawing line. Such settings can be made using the setting device 92.

この場合には画I、9 Lは完全に消えてプリントされ
ることになり、プリント画像を一層美しくすることがで
きる。なお細線化のアルゴリズムはこの実施例に限られ
るものではないことは勿論である。
In this case, images I and 9L will be printed completely disappearing, making the printed image even more beautiful. It goes without saying that the thinning algorithm is not limited to this embodiment.

この実施例では2点指定、多点指定による領域設定の場
合の画像処理を含んでいるが、本発明は1点指定により
画1aして囲まれた閉領域Sを指定し、この指定された
閉領域Sの内外に対して着色や模様付けなどの画像処理
を行うものに適用でき、2点指定、多点指定による画像
処理を行う機能を持たないものであってもよい。
This embodiment includes image processing in the case of region setting by two-point designation and multi-point designation, but in the present invention, a closed region S surrounded by the image 1a is designated by one-point designation, and this designated It can be applied to those that perform image processing such as coloring and patterning on the inside and outside of the closed region S, and may not have the function of performing image processing by two-point designation or multi-point designation.

(発明の効果) 本発明は以上のように、スキャナで読取った画像の線す
なわち画線を細線化処理して画像処理を行うものである
。このため原稿の画線が太くてもこれを十分に細くして
目立たなくしてプリント出力でき、美しい画像を出力さ
せることができる(請求項は))。
(Effects of the Invention) As described above, the present invention performs image processing by thinning the lines of an image read by a scanner, that is, the drawing lines. Therefore, even if the drawing lines of the original are thick, they can be made sufficiently thin to make them inconspicuous and can be printed out, and a beautiful image can be outputted (claims).

ここにこの細線化した画線に、画線の内側あるいは外側
に施すのと同じ画像処理を施せば、画線は全く消すこと
ができ、出力される画像を一層美しくすることができる
(請求項(2))。
If the same image processing as applied to the inside or outside of the drawing line is applied to the thinned drawing line, the drawing line can be completely erased and the output image can be made even more beautiful. (2)).

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

第1図は本発明の一実施例の斜視図、第2図はその内部
構造を示す透視図、第3図は側面の透視図、第4図は正
面の透視図、第5図はスキャナの押え蓋の上面を示す図
、第6図はブロック図、第7図は代表的な処理としての
色付は編集処理の動作を示す流れ図、第8図は細線化処
理の説明図である。 50・・・スキャナ、 53・・・原稿、 64・・・デジタイザ、 70・・・画像モニタ、 72・・・処理内容入力手段としてのキーボード、84
・・・処理手段としてのCPU、 92・・・設定器、 L・・・画線、 S・・・閉領域。
Fig. 1 is a perspective view of an embodiment of the present invention, Fig. 2 is a perspective view showing its internal structure, Fig. 3 is a side perspective view, Fig. 4 is a front perspective view, and Fig. 5 is a perspective view of the scanner. FIG. 6 is a block diagram, FIG. 7 is a flowchart showing the operation of the editing process with coloring as a typical process, and FIG. 8 is an explanatory diagram of the thinning process. 50... Scanner, 53... Document, 64... Digitizer, 70... Image monitor, 72... Keyboard as processing content input means, 84
... CPU as a processing means, 92 ... Setting device, L ... Drawing line, S ... Closed area.

Claims (2)

【特許請求の範囲】[Claims] (1)原稿を読取るスキャナと、この読取った画像を表
示する画像モニタと、前記読取った画像の画線で囲まれ
た閉領域を指定するデジタイザと、この閉領域内・外に
対する画像処理の内容を指令する処理内容入力手段と、
前記閉領域を形成する画線を細線化処理すると共に前記
閉領域の内・外に対し前記指令された内容の画像処理を
行う処理手段とを備えることを特徴とする画像処理装置
。
(1) A scanner that reads a document, an image monitor that displays the read image, a digitizer that specifies a closed area surrounded by lines of the read image, and image processing contents for inside and outside of this closed area processing content input means for commanding;
An image processing apparatus characterized by comprising processing means for thinning the drawing lines forming the closed area and for performing image processing according to the instructed content on the inside and outside of the closed area.
(2)前記処理手段は、細線化処理した画線に前記閉領
域内・外のいずれかと同じ画像処理を施すようにした請
求項(1)の画像処理装置。
(2) The image processing apparatus according to claim 1, wherein the processing means performs the same image processing on the thinned object line as either inside or outside the closed area.
JP30662890A 1990-11-13 1990-11-13 Picture processing device Pending JPH04178779A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30662890A JPH04178779A (en) 1990-11-13 1990-11-13 Picture processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30662890A JPH04178779A (en) 1990-11-13 1990-11-13 Picture processing device

Publications (1)

Publication Number Publication Date
JPH04178779A true JPH04178779A (en) 1992-06-25

Family

ID=17959380

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30662890A Pending JPH04178779A (en) 1990-11-13 1990-11-13 Picture processing device

Country Status (1)

Country Link
JP (1) JPH04178779A (en)

Similar Documents

Publication Publication Date Title
JP3159416B2 (en) Image processing method and apparatus
JP3051783B2 (en) Image processing method and apparatus
JP2919649B2 (en) Image processing device
JPH06181510A (en) Method and device for picture processing
JP3207631B2 (en) Image processing method and apparatus
JP2938626B2 (en) Image processing device
JP3164941B2 (en) Image processing method and apparatus
JP3019161B2 (en) Image processing device
JP2673910B2 (en) Image processing device
JP3061509B2 (en) Image processing device
JP2660877B2 (en) Image processing device
JP2875416B2 (en) Image processing device
JPH04273764A (en) Picture processor
JPH04178778A (en) Picture processing device
JP3074082B2 (en) Image processing device
JP2628405B2 (en) Image processing method and apparatus
JPH04178071A (en) Picture processing unit
JPH04273765A (en) Picture processor
JPH06181509A (en) Picture processor
JPH04165758A (en) Method and device for processing image
JPH056416A (en) Image processor
JP2908075B2 (en) Image processing device
JPH056414A (en) Image processor
JPH056067A (en) Image processor
JPH06189111A (en) Method and device for image processing