JPH0581428A - Picture processing method - Google Patents

Picture processing method

Info

Publication number
JPH0581428A
JPH0581428A JP3268340A JP26834091A JPH0581428A JP H0581428 A JPH0581428 A JP H0581428A JP 3268340 A JP3268340 A JP 3268340A JP 26834091 A JP26834091 A JP 26834091A JP H0581428 A JPH0581428 A JP H0581428A
Authority
JP
Japan
Prior art keywords
data
image
point
closed area
input
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
JP3268340A
Other languages
Japanese (ja)
Inventor
Hiroo Koyama
博生 小山
Yoshiyasu Nakajima
吉康 中島
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 JP3268340A priority Critical patent/JPH0581428A/en
Publication of JPH0581428A publication Critical patent/JPH0581428A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To quickly and surely detect a start point by pointing and inputting an indication point in the vicinity of a closed area and defining the picture element, which is first found by outward spiral scanning from the indication point, as the start point of automatic tracking of the closed area. CONSTITUTION:The black picture element which is first found for a closed area 21 by outward spiral scanning from an indication point is defined as the start point of automatic tracking. In this case, defects are considerably resolved by 8 scanning directions. Picture elements are spirally scanned to shorten the average processing time. For example, when the clock area 21 is scanned from a indication point 22 and a maximum number of black picture elements is 100 and there are 200 picture elements between the indication point 22 and the close area 21, it is sufficient if 2004m8=1600 picture elements are scanned. Therefore, the processing time is shortened to a half. When the indication point 22 is closer to the closed area 21, the effect is improved furthermore.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、スキャナ等の入力手段
で読取ってディジタル化された2値画像の閉領域を自動
追跡(自動認識)する場合の開始点を高速かつ確実に検
出できるようにした画像処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention makes it possible to detect a starting point at the time of automatically tracking (automatic recognition) a closed area of a binary image digitized by being read by an input means such as a scanner at high speed and reliably. Image processing method.

【0002】[0002]

【従来の技術】CRT等の表示手段に表示された閉領域
を画像処理するためには、閉領域の形状やサイズ等を認
識する必要がある。このため、閉領域の近傍に指示点を
指示し、閉領域の開始点を検出して閉領域を自動認識
(自動追跡)するようにしている。この場合、従来は図
13に示すように閉領域10,11に対して指示点12
を指示入力し、指示入力された指示点12から直交4方
向(左右上下)に所定画素数だけスキャンし、見つかっ
た黒画素について最も近いものを対象閉領域の自動追跡
の開始点としている。
2. Description of the Related Art In order to perform image processing on a closed area displayed on a display means such as a CRT, it is necessary to recognize the shape and size of the closed area. Therefore, a designated point is designated near the closed region, the start point of the closed region is detected, and the closed region is automatically recognized (automatic tracking). In this case, conventionally, as shown in FIG.
Is input, and a predetermined number of pixels are scanned in four orthogonal directions (left, right, up and down) from the designated input point 12 and the closest black pixel found is used as the starting point for automatic tracking of the target closed region.

【0003】[0003]

【発明が解決しようとする課題】上述のごとく2値画像
上の閉領域を自動認識する場合、認識しようとする閉領
域の近くを指示してやる必要があり、指示された点に最
も近い閉領域はどれか、又は所定の距離内に閉領域が無
いのかを調べる必要がある。しかし、指示するのがオペ
レータであるため、上記判定は短時間(0.1〜0.2
秒)内に実行されなければならない。これを高速化しよ
うとした上記従来方法では4方向のみスキャンするた
め、図14に示す如く閉領域13の角付近を指示する
と、閉領域13を認識できなくなる欠点がある。スキャ
ン方向を単に8方向にすれば、倍の時間が掛かってしま
い、高速化できない欠点がある。本発明は上述のような
事情よりなされたものであり、本発明の目的は、どのよ
うな閉領域に対しても高速度にかつ確実に開始点を検出
でき、自動追跡を効率良く行ない得るようにした画像処
理方法を提供することにある。
As described above, when automatically recognizing a closed area on a binary image, it is necessary to indicate the vicinity of the closed area to be recognized, and the closed area closest to the indicated point is the closed area. It is necessary to check whether or not there is a closed area within a predetermined distance. However, since it is the operator who gives the instruction, the above determination is short (0.1 to 0.2).
Seconds). Since the above-mentioned conventional method for speeding up the scanning scans only in four directions, there is a drawback that if the vicinity of the corner of the closed region 13 is designated as shown in FIG. 14, the closed region 13 cannot be recognized. If the scanning direction is simply eight directions, it takes double the time, and there is a drawback that the speed cannot be increased. The present invention has been made under the circumstances as described above, and an object of the present invention is to detect a starting point at high speed and reliably for any closed region, and to perform automatic tracking efficiently. To provide the image processing method.

【0004】[0004]

【課題を解決するための手段】本発明は画像処理方法に
関するもので、本発明の上記目的は、表示手段に表示さ
れた閉領域を指示して自動追跡する場合、前記閉領域の
近傍に指示点を指示入力し、前記指示点から外方にスパ
イラル状にスキャンし、最初に見つかった画素を前記閉
領域の自動追跡の開始点とすることによって達成され
る。
SUMMARY OF THE INVENTION The present invention relates to an image processing method, and the object of the present invention is to indicate a closed area displayed on a display means in the vicinity of the closed area when automatically tracking the closed area. This is achieved by pointing in a point, scanning outward from the pointing point in a spiral fashion, and making the first found pixel the starting point for automatic tracking of the closed region.

【0005】[0005]

【作用】本発明は、表示手段に表示された閉領域に対し
て、入力された指示点からスパイラル状にスキャンを行
ない、最初に見つかった黒画素をその閉領域の自動追跡
の開始点とする。全方向に対して外方に少しずつずれた
スキャンを行うことになるので、どのような形状の閉領
域に対しても、高速かつ正確に開始点を検出することが
できる。
According to the present invention, the closed area displayed on the display means is spirally scanned from the input pointing point, and the first black pixel found is used as the starting point for automatic tracking of the closed area. .. Since scanning is performed with a slight shift outward in all directions, the start point can be detected quickly and accurately for a closed region of any shape.

【0006】[0006]

【実施例】図1〜図3は本発明の前提となる画像処理シ
ステムをブロック図で示しており、絵柄、文字、図形、
更には割付台紙等の原稿をスキャナ等の入力装置1で読
取って、得られる画像の濃度データDDは入力コントロ
ーラ100に入力され、入力コントローラ100は内蔵
したCPU101を介して上記入力濃度データDDを網
点化回路102で網点化し、さらに圧縮回路103で圧
縮した後にバッファ104に一時保存し、その後にSC
SIバスを介して転送してファイルサーバ200の磁気
テープ210又はハードディスク220、221……に
格納する。入力コントローラ100はデータの一時保存
用のローカルディスク(ハードディスク)105を有し
ている。ファイルサーバ200はCPU201を有し、
インタフェース202〜205を介して他の装置と接続
されている。又、ワードプロセッサや組版機等の編集入
力機2で得られた文字等のコード情報CDは、一旦フロ
ッピーディスク3に格納された後に読出されてワークス
テーション300に入力される。ワークステーション3
00は表示手段としてのCRT301と、入力操作手段
としてのキーボード302、マウス306及びディジタ
イザ303と、記憶手段としてのハードディスク30
4、フロッピーディスク305とを有した端末装置を複
数組有しており、各ワークステーション300はETH
ERNETを介してファイルサーバ200と相互に接続
されている。入力コントローラ100で得られるCRT
表示用に間引きされた画像データ、枠データ及び輪郭表
示用画像データは、磁気テープ210又はハードディス
ク220、221…に画像出力用の間引かれていない高
密度データと共に格納されており、間引かれたデータは
SCSIバスを介して読出されインタフェース204及
び202を介してワークステーション300に転送さ
れ、入力コントローラ100との間の制御指令等は補助
データライン4を介してファイルサーバ200のインタ
フェース200を経て転送され、ファイルサーバ200
には更にイメージセッター400が接続されている。イ
メージセッター400にはCPU401が設けられてお
り、インタフェース402を介してファイルサーバ20
0の補助データライン5に接続され、インタフェース4
03を介してSCSIバスに接続されている。イメージ
セッター400は更にシーケンサ410及び必要なデー
タを格納するバッファ411を有しており、イメージセ
ッター400には高画質画像を出力する高画質出力機1
0及び比較的低画質の画像出力を行なうレーザビームプ
リンタ11が接続されている。なお、ハードディスク2
20、221……にはロゴ、紋章、網等の固定データ
(ビットマップデータ)及び文字出力用のベクトルフォ
ントデータが予め格納されている。
1 to 3 are block diagrams showing an image processing system which is a premise of the present invention.
Further, the density data DD of an image obtained by reading an original such as a layout mount with the input device 1 such as a scanner is input to the input controller 100, and the input controller 100 screens the input density data DD via the built-in CPU 101. The dot conversion circuit 102 converts the data into halftone dots, the compression circuit 103 compresses the data, and the buffer 104 temporarily stores the data.
It is transferred via the SI bus and stored in the magnetic tape 210 or the hard disks 220, 221, ... Of the file server 200. The input controller 100 has a local disk (hard disk) 105 for temporarily storing data. The file server 200 has a CPU 201,
It is connected to other devices via the interfaces 202 to 205. The code information CD such as characters obtained by the edit input device 2 such as a word processor or a typesetting machine is once stored in the floppy disk 3 and then read out and input to the workstation 300. Workstation 3
00 is a CRT 301 as a display unit, a keyboard 302, a mouse 306 and a digitizer 303 as an input operation unit, and a hard disk 30 as a storage unit.
4. The workstation 300 has a plurality of sets of terminal devices each having a floppy disk 305.
It is mutually connected to the file server 200 via ERNET. CRT obtained with the input controller 100
Image data thinned out for display, frame data, and image data for contour display are stored in the magnetic tape 210 or the hard disks 220, 221, and the like together with the unthinned high-density data for image output, and are thinned out. Data is read out via the SCSI bus and transferred to the workstation 300 via the interfaces 204 and 202, and control commands and the like with the input controller 100 are transmitted via the interface 200 of the file server 200 via the auxiliary data line 4. Transferred to the file server 200
Further, an imagesetter 400 is connected to the. The image setter 400 is provided with a CPU 401, and the file server 20 is connected via an interface 402.
0 connected to auxiliary data line 5 and interface 4
It is connected to the SCSI bus via 03. The imagesetter 400 further has a sequencer 410 and a buffer 411 for storing necessary data, and the imagesetter 400 outputs a high-quality image to the high-quality output device 1
A laser beam printer 11 that outputs 0 and a relatively low image quality is connected. In addition, hard disk 2
20, 221 ... Prestores fixed data (bitmap data) such as logos, coats of arms, meshes, etc. and vector font data for character output.

【0007】入力装置1では絵柄(中間調画像)、線
画、文字画(2値画)とも濃度データ(8ビット/画
素)でディジタル化される。8ビット/画素で入力され
た信号は入力コントローラ100で絵柄は網点化され、
4ビット/画素の情報が生成される。2値画は1ビット
/画素の情報に変換される。また、文字はワークステー
ション300からコード(符号)で入力されるが、入力
装置1から画像として入力されることもある。このた
め、画像として入力される場合は文字であっても画像
(ビットマップデータ)として扱われる。画像の出力は
全てイメージセッター400で実施されるが、イメージ
セッター400ではコード及びベクトル情報は全てビッ
トマップデータに変換されるので、画像出力と言えばビ
ットマップデータを出力するという意味で使用すること
になる。
In the input device 1, a pattern (halftone image), a line drawing, and a character image (binary image) are digitized by density data (8 bits / pixel). The signal input at 8 bits / pixel is converted into a dot pattern by the input controller 100,
Information of 4 bits / pixel is generated. The binary image is converted into 1-bit / pixel information. Further, although characters are input as codes from the workstation 300, they may be input as images from the input device 1. Therefore, when input as an image, even a character is treated as an image (bitmap data). Although all images are output by the imagesetter 400, since all the code and vector information are converted to bitmap data in the imagesetter 400, use it in the sense of outputting bitmap data when speaking of image output. become.

【0008】ここで、入力コントローラ100の詳細を
図4に示して説明すると、入力コントローラ100は入
力装置1から入力された濃度データDDを高画質出力機
10のための高密度データ、レーザビームプリンタ11
のためのデータ、ワークステーション300のCRT3
01の表示のための2種類のデータ及び輪郭を示すに十
分な粗な画像データの5組のデータを同時に生成処理す
るようになっている。同時並行処理することによって全
体的に高速化を実現でき、ハードウエアによってCPU
101のデータ生成演算負荷を軽減できるからである。
すなわち、高画質出力機10のための高密度データは網
点化回路1021で網点化されて圧縮回路1031でデ
ータ圧縮され、その圧縮データがバッファ1041に一
時保存される。又、比較的低画質のレーザビームプリン
タ11で画像出力するためのデータは濃度データDDを所
定の間隔(たとえば1/3)で間引き(110)、その
粗データを網点化回路1022で網点化して圧縮回路1
032で圧縮し、その後にそれぞれバッファ1042に
一時保存している。さらに、CRT301で表示するた
めの更に粗い2種類のデータは、濃度データDDを所定
の間隔で間引いた後にそれぞれ網点化回路1023及び
1024で網点化し、バッファ1043及び1044に
それぞれ一時保存し、更に中間調画像から切抜きマスク
を作成する線画の場合には輪郭データを示すラプラシア
ン処理又はアンシャープマスク処理後の画像データの間
引きを行ない(113) 、その後に2値化回路1025
で2値化してバッファ1045に一時保存するようにな
っている。
The details of the input controller 100 will be described with reference to FIG. 4. The input controller 100 converts the density data DD input from the input device 1 into high density data for the high image quality output device 10 and a laser beam printer. 11
For CRT3 on workstation 300
Two sets of data for displaying 01 and five sets of rough image data sufficient to show the contour are simultaneously generated. Overall parallel processing speed can be achieved by hardware
This is because the data generation calculation load of 101 can be reduced.
That is, the high-density data for the high-quality image output device 10 is halftoned by the halftoning circuit 1021, compressed by the compression circuit 1031, and the compressed data is temporarily stored in the buffer 1041. Further, the data for image output by the laser beam printer 11 having a relatively low image quality is thinned out (110) by density data DD at a predetermined interval (for example, 1/3), and the rough data is halftone dot circuit 1022. Compression circuit 1
The data is compressed in 032 and then temporarily stored in the buffer 1042. Further, two types of coarser data to be displayed on the CRT 301 are thinned by the halftoning circuits 1023 and 1024 after thinning out the density data DD at predetermined intervals, and temporarily stored in the buffers 1043 and 1044, respectively. Further, in the case of a line drawing for creating a cutout mask from a halftone image, the image data after the Laplacian processing or the unsharp mask processing showing the contour data is thinned out (113), and then the binarization circuit 1025.
Is binarized and temporarily stored in the buffer 1045.

【0009】このような構成において、CPU101は
データライン(図示せず)を介して入力装置1と交信す
ると共に、補助データライン4及びデュアルポートRA
M(図示せず)を経由してファイルサーバ200と交信
する。そして、入力装置1からのデータ送信要求がある
と、CPU101は図4に示す各回路に必要なデータを
セットし、その設定データをローカルディスク105に
格納し、更に副走査に関連する設定値をセットする。入
力装置1からの濃度データDDは1ライン毎に入力さ
れ、図4に示す各回路が同期をとってバッファ104
(1041〜1045) に格納される。この間CPU1
01はSCSIバスの切換え、データ圧縮用出力バッフ
ァ1041の切換え、各種回路からのエラー情報の有無
をチェックする。一度バッファ104及びローカルディ
スク105に格納されたデータはCPU101の指令に
よってソートされ、外部のSCSIバスに出力される。
In such a configuration, the CPU 101 communicates with the input device 1 via a data line (not shown), and also the auxiliary data line 4 and the dual port RA.
It communicates with the file server 200 via M (not shown). Then, when there is a data transmission request from the input device 1, the CPU 101 sets necessary data in each circuit shown in FIG. 4, stores the setting data in the local disk 105, and further sets the setting value related to the sub-scanning. set. The density data DD from the input device 1 is input line by line, and the circuits shown in FIG.
It is stored in (1041 to 1045). CPU1 during this period
01 checks the SCSI bus switching, the data compression output buffer 1041 switching, and the presence or absence of error information from various circuits. The data once stored in the buffer 104 and the local disk 105 is sorted by a command from the CPU 101 and output to an external SCSI bus.

【0010】ファイルサーバ200の構成は図2に示す
ようになっており、このファイルサーバ200はファイ
ル管理及びファイルの共有といった共通ファイル管理機
能と、ネットワーク通信及びユニット間通信の通信制御
機能とを有している。すなわち、ファイルサーバ200
はSCSIバスを経由してハードディスク(220、2
21……)、磁気テープ210のファイル管理を行な
い、ETHERNETを経由してワークステーション3
00とのソフトウエアインタフェースの機能を有し、更
に入力コントローラ100及びイメージセッター400
に対するファイル管理情報のサービス並びにSCSIバ
ス経由でのファイル管理に対するユーティリティ機能の
実施を行なう。たとえばフォントの登録やSCSIディ
スクのガベージコレクション(ゴミ取り処理)などであ
る。ここに、フォント登録には2種類ある。一つは、シ
ステムで持っているフォントの登録であり、この登録は
他のフォント作成システムで作成されたベクトルフォン
トを磁気テープの形式で本画像処理システムのハードデ
ィスクへ格納するものである。もう一つは、外字フォン
トの登録である。外字フォントとは、システム内に存在
しない文字のことである。この場合は、他システムで作
成されたフォントをフロッピー又は磁気テープより本シ
ステム内に登録する。
The configuration of the file server 200 is as shown in FIG. 2. The file server 200 has a common file management function such as file management and file sharing, and a communication control function for network communication and unit communication. is doing. That is, the file server 200
Via the SCSI bus to the hard disk (220, 2,
21 ...), manages files on the magnetic tape 210, and connects to the workstation 3 via ETHERNET.
00 and a software interface function, and further includes an input controller 100 and an image setter 400.
File management information service to the PC and utility function for file management via the SCSI bus. For example, font registration and SCSI disk garbage collection (dust removal processing). There are two types of font registration. One is registration of fonts possessed by the system. This registration stores vector fonts created by another font creation system in the form of magnetic tape in the hard disk of the image processing system. The other is the registration of external character fonts. Gaiji font is a character that does not exist in the system. In this case, the font created in another system is registered in this system from a floppy or magnetic tape.

【0011】ファイルサーバ200はワークステーショ
ン300、入力コントローラ100及びイメージセッタ
ー400の間のデータの転送を行なうためのサービス及
びデータの格納を行ない、入力コントローラ100は補
助データライン4及びデュアルポートRMAを介して各
種ファイルの領域の確保、削除に関してファイルサーバ
200から必要な情報を得る。入力コントローラ100
内のバッファ104に一度入ったデータを画像処理シス
テムのファイルとして登録するには、ファイル名、ファ
イル容量等の情報をファイルサーバ200に転送し、S
CSIバス上のハードディスク220、221…をアク
セスする。これにより、ファイルサーバ200はディレ
クトリーの交信、ディスクエリア等の管理を行なう。又
ファイルサーバ200はETHERNETを介してワー
クステーション300にファイルデータを転送したり、
ワークステーションからのデータを受信したりする。こ
の時、ワークステーション300の指令に従ってファイ
ルサーバ200はSCSIバス上のハードディスク(2
20、…) や磁気テープ210を管理し、ディレクトリ
ー等の必要な情報を更新する。又、イメージセッター4
00に対するコマンド及び磁気テープ210に対するコ
マンドを得、それに従ったサービスを行なう。更に、イ
メージセッター400に対しては補助データライン5及
びデユアルポートRAMを介して所定のコマンドを送
り、このイメージセッター400からの要求に対してフ
ァイル管理情報を送り、SCSIバス上のディスクデー
タに対してはイメージセッター400が直接アクセスす
るようになっている。更に、画像処理システム全体に関
連したユーティリティ情報をSCSIバス上のハードデ
ィスク220、221、……で管理し、フォント情報、
システム上の共通ファイル等がそれらの情報に当る。
The file server 200 provides services and data storage for data transfer between the workstation 300, the input controller 100 and the imagesetter 400, and the input controller 100 receives the auxiliary data line 4 and the dual port RMA. Then, necessary information is obtained from the file server 200 for securing and deleting areas of various files. Input controller 100
In order to register the data once stored in the internal buffer 104 as a file of the image processing system, information such as the file name and file capacity is transferred to the file server 200, and S
Access the hard disks 220, 221, ... On the CSI bus. As a result, the file server 200 manages directory communication and disk area management. Further, the file server 200 transfers file data to the workstation 300 via ETHERNET,
Receive data from workstations. At this time, according to the instruction from the workstation 300, the file server 200 causes the hard disk (2
20, ...) and the magnetic tape 210 are managed, and necessary information such as a directory is updated. Also, imagesetter 4
The command for 00 and the command for the magnetic tape 210 are obtained, and the service according to the command is performed. Furthermore, a predetermined command is sent to the imagesetter 400 via the auxiliary data line 5 and the dual port RAM, file management information is sent in response to a request from the imagesetter 400, and disk data on the SCSI bus is sent. As a result, the imagesetter 400 is directly accessed. Furthermore, the utility information related to the entire image processing system is managed by the hard disks 220, 221, ... On the SCSI bus, and the font information,
Common files on the system correspond to such information.

【0012】次に、ワークステーション300につい
て、その動作を図5のフローを参照して説明すると、編
集入力機2で編集され格納されている文書データはフロ
ッピーディスク3から読出され(ステップS310)、
文書データのコード情報CDはデータフォーマットの変
換が行なわれる(ステップS311)。そして、CRT
301に1ページ分の文書内容を表示し(ステップS3
12)、割付台紙等から読取った画像の画像データ出力
位置をマウス306、キーボード302、ディジタイザ
303で指示し(ステップS313)、割付台紙の枠と
共に1ページ毎のページ記述データを作成する(ステッ
プS314)。このようなデータ作成を全ページについ
て行ない(ステップS315)、その後に印刷用版下作
成の面付けの指示をキーボード302で行ない(ステッ
プS316)、面付けされたページ記述データを作成す
る(ステップS317)。そして、ファイルサーバ20
0に作成データを転送すると共に(ステップS31
8)、イメージセッター400に画像出力を指示して動
作を終了する(ステップS319)。
Next, the operation of the workstation 300 will be described with reference to the flow chart of FIG. 5. The document data edited by the edit input device 2 and stored is read from the floppy disk 3 (step S310).
Data format conversion is performed on the code information CD of the document data (step S311). And CRT
One page of document content is displayed on 301 (step S3
12) The image data output position of the image read from the layout mount or the like is designated by the mouse 306, the keyboard 302, and the digitizer 303 (step S313), and page description data for each page is created together with the frame of the layout mount (step S314). ). Such data creation is performed for all pages (step S315), and then an imposition instruction for creating a printing block is issued using the keyboard 302 (step S316) to create impositioned page description data (step S317). ). Then, the file server 20
The created data is transferred to 0 (step S31
8) Then, the image setter 400 is instructed to output an image, and the operation ends (step S319).

【0013】次に図6を参照して、面付け時の動作例を
説明する。ワークステーション300は、ファイルサー
バ200のハードディスク220、221、…から間引
かれた画像データを読込むと共に(ステップS33
0)、フロッピーディスク3から文書データを読込み
(ステップS331)、ワークステーション300のC
RT301に必要情報を表示すると共に、マウス30
6、キーボード302、ディジタイザ303を操作して
画像、文書、枠のレイアウトをページ単位で行なう(ス
テップS332)。そして、予め登録されている面付け
の種類をキーボード302で指示し(ステップS33
3)、指示された面付け状態(例えば同図A〜D)に各
ページがCRT301上にページ数と共にレイアウト表
示される(ステップS334)。ここにおいて、面付け
の登録は例えばA4版の4面又はA5版の8面と言うよ
うに、複数ページの製本時の折りを考慮して予めページ
数が付されて格納されており、その登録の中から選択し
て指定することによって図6のA〜Dのように、面付け
状態がそのページ数(Bでは“1”、“8”、“5”、
“4”)と共に表示される。このように画像や文字等の
内容は表示されず、ページ記述データに従ってイメージ
セッター400でビットマップを生成して出力する(ス
テップS335)。
Next, with reference to FIG. 6, an operation example at the time of imposition will be described. The workstation 300 reads the image data thinned out from the hard disks 220, 221, ... Of the file server 200 (step S33).
0), reading the document data from the floppy disk 3 (step S331), C of the workstation 300
Display necessary information on RT301 and mouse 30
6, the keyboard 302 and the digitizer 303 are operated to lay out images, documents, and frames page by page (step S332). Then, the type of imposition registered in advance is designated by the keyboard 302 (step S33).
3) Then, each page is laid out and displayed on the CRT 301 together with the number of pages in the instructed imposition state (for example, A to D in the figure) (step S334). Here, the imposition registration is stored with the number of pages pre-assigned in consideration of folding during binding of a plurality of pages, for example, A4 version 4 pages or A5 version 8 pages. 6A to 6D, the imposition state is determined by the number of pages (“1”, “8”, “5” in B,
It is displayed together with "4". In this way, the contents such as images and characters are not displayed, and the image setter 400 generates and outputs a bitmap according to the page description data (step S335).

【0014】図7はイメージセッター400の構成例を
示しており、シーケンサ410にはCPUバス412及
びイメージデータバス413が接続されると共に、論理
演算回路420及び第1メモリ421が接続されてい
る。又、CPUバス412にはCPU401に対する主
メモリ430が接続され、共通メモリ424がイメージ
データバス413との間に接続され、インタフェース4
02及び403の出力がCPUバス412に入力されて
いる。CPUバス412及びイメージデータバス413
の間にはバッファ433、伸長器440及び第3メモリ
423が接続されると共に、バッファ434、ラスタイ
メージ変換器431及び第2メモリ422が接続され、
バッファ435及び出力制御回路436が接続されてい
る。CPUバス412にはベクトルフォントメモリ43
2が接続され、出力制御回路436には出力バッファ4
36Aを介して高画質出力機10及びレーザビームプリ
ンタ11が接続されている。ベクトルフォントメモリ4
32には、ラスタイメージ変換器431により文字ビッ
トマップを生成する為に必要なベクトルフォントが格納
されている。通常ベクトルフォントはディスク(22
0、221、…)内に格納されているが、文字ビットマ
ップ生成毎にSCSIバスを経由してベクトルフォント
を読出すことは効率が悪い為、予め必要なベクトルフォ
ントを全てベクトルフォントメモリ432に読込んでお
くことにより文字ビットマップ生成の速度を向上させて
いる。
FIG. 7 shows an example of the configuration of the imagesetter 400. A CPU bus 412 and an image data bus 413 are connected to a sequencer 410, and a logical operation circuit 420 and a first memory 421 are connected to the sequencer 410. Further, the main memory 430 for the CPU 401 is connected to the CPU bus 412, the common memory 424 is connected between the image data bus 413, and the interface 4
The outputs of 02 and 403 are input to the CPU bus 412. CPU bus 412 and image data bus 413
A buffer 433, a decompressor 440, and a third memory 423 are connected between the two, and a buffer 434, a raster image converter 431, and a second memory 422 are connected.
The buffer 435 and the output control circuit 436 are connected. The CPU bus 412 has a vector font memory 43.
2 is connected to the output control circuit 436 and the output buffer 4
The high image quality output device 10 and the laser beam printer 11 are connected via 36A. Vector font memory 4
In 32, a vector font necessary for the raster image converter 431 to generate a character bitmap is stored. Usually vector font is disk (22
0,221, ...), but it is inefficient to read out vector fonts via the SCSI bus every time a character bitmap is generated, so all necessary vector fonts are stored in the vector font memory 432 in advance. By reading it in, the speed of character bitmap generation is improved.

【0015】このような構成において、その動作は図8
で示すように、先ず補助データライン5を介してファイ
ルサーバ200からイメージセッター400に出力指示
要求が、ハードディスク220、221、…内のファイ
ル名をパラメータとして出力される。そのファイルには
これから出力する仕様が書かれており、その仕様を順次
解読してコードデータや圧縮データを1単位画像毎にア
ドレス計算し、そのアドレスに対して論理演算による重
ね処理を繰り返して、第1メモリ421にその処理結果
を格納する。イメージセッター400はSCSIバスを
経由してパラメータファイルを呼び出し、この操作を繰
り返す。例えばコードデータについては、文字コードと
位置,書体,サイズ等の指示情報がSCSIインタフェ
ース403を介して入力され(ステップS400)、バ
ッファ434を介してラスタイメージ変換器431でラ
スタイメージ変換され(ステップS401)、そのラス
タイメージデータが第2メモリ422に格納される(ス
テップS402)。又、データ圧縮された画像データは
SCSIバスを経てインタフェース403を介して入力
され(ステップS403)、バッファ433を経て伸長
器440でデータ伸長されて復元され(ステップS40
4)、その復元された画像データが第3メモリ423に
格納される(ステップS405)。さらに、ハードディ
スク220、221、…に格納されているロゴ等のビッ
トマップデータはインタフェース403を介して入力さ
(ステップS406)、共通メモリ424に格納される
(ステップS407)。第2メモリ422〜共通メモリ
424に格納されたデータはいずれもビットマップデー
タであり、これら格納データはCPU401を介して論
理演算回路420で論理演算され(ステップS41
0)、絵や文書等を合成,編集もしくは画像処理するよ
うに論理演算されたデータは第1メモリ421へ格納さ
れる(ステップS411)。第1メモリ421へデータ
が格納された後に終了か否か、つまり修正や追加等が無
いかを判断して(ステップS412)、修正等の論理演
算が終了するまで上記動作を継続する。この論理演算回
路420は文字等コードデータから生成されたビットマ
ップデータ,圧縮された画像データを伸長したビットマ
ップデータ及びビットマップデータの和、積、差、排他
論理和等の論理演算をCPU401と協働して行ない、
高画質出力機10又はレーザビームプリンタ11に画像
出力すべき画像情報を生成するものである。
In such a structure, the operation is shown in FIG.
As shown by, first, an output instruction request is output from the file server 200 to the imagesetter 400 via the auxiliary data line 5 with the file name in the hard disks 220, 221, ... As a parameter. Specifications to be output from that file are written in the file, and the specifications are sequentially decoded to calculate the address of the code data and the compressed data for each unit image, and the overlapping process by the logical operation is repeated for the address, The processing result is stored in the first memory 421. The imagesetter 400 calls the parameter file via the SCSI bus and repeats this operation. For the code data, for example, character code and instruction information such as position, typeface, size, etc. are input via the SCSI interface 403 (step S400), and converted into a raster image by the raster image converter 431 via the buffer 434 (step S401). ), The raster image data is stored in the second memory 422 (step S402). Further, the image data whose data has been compressed is inputted via the interface 403 via the SCSI bus (step S403), decompressed by the decompressor 440 via the buffer 433 and restored (step S40).
4) The restored image data is stored in the third memory 423 (step S405). Further, bitmap data such as logos stored in the hard disks 220, 221, ... Is input via the interface 403 (step S406) and stored in the common memory 424 (step S407). The data stored in the second memory 422 to the common memory 424 are all bitmap data, and these stored data are logically operated by the logical operation circuit 420 via the CPU 401 (step S41).
0), the data logically operated so as to synthesize, edit or image-process a picture or a document is stored in the first memory 421 (step S411). After the data is stored in the first memory 421, it is judged whether or not it is finished, that is, whether there is no correction or addition (step S412), and the above operation is continued until the logical operation such as correction is finished. This logical operation circuit 420 performs logical operations such as sum, product, difference, exclusive OR of bit map data generated from code data such as characters, bit map data obtained by expanding compressed image data, and bit map data with the CPU 401. Work together,
The image information to be output to the high image quality output device 10 or the laser beam printer 11 is generated.

【0016】ここにおいて、本発明の画像処理方法では
図9に示すように、指示点20から外方に向かってスパ
イラル状にスキャンを行ない、閉領域21に対して最初
に見つかった黒画素を自動追跡の開始点とする。この場
合、スキャンする方向を8方向にすることで、従来方法
の欠点を大幅に解消することができる。また、スキャン
する画素の順序をスパイラル状にすることで、平均の処
理時間を短縮することができる。例えば図9の指示点2
2に対して閉領域21をスキャンする場合、スキャンす
る最大画素数を1000画素、指示点22から閉領域2
1までを200画素とすれば、従来方法では1000+
1000+1000+200=3200画素をスキャン
することになる。しかしながら、本発明では200×8
=1600画素のスキャンで良いため、処理時間は約半
分になる。また、指示点22が閉領域21に近ければ、
効果は更に大きくなる。
Here, in the image processing method of the present invention, as shown in FIG. 9, a spiral scan is performed outward from the designated point 20 and the first black pixel found in the closed region 21 is automatically detected. Use as a starting point for tracking. In this case, by making the scanning direction eight directions, the drawbacks of the conventional method can be largely eliminated. Further, by making the order of pixels to be scanned spiral, it is possible to shorten the average processing time. For example, the designated point 2 in FIG.
When scanning the closed region 21 for 2, the maximum number of pixels to be scanned is 1000 pixels,
If up to 1 is 200 pixels, the conventional method is 1000+
This means scanning 1000 + 1000 + 200 = 3200 pixels. However, in the present invention, 200 × 8
Since the scan of = 1600 pixels is sufficient, the processing time becomes about half. If the pointing point 22 is close to the closed area 21,
The effect will be even greater.

【0017】図10は本発明の動作例を示しており、ま
ず指示点を入力し(ステップS1)、指示点からの距離
を“1”とする(ステップS2)。そして、図11の
(A)又は(B)に示すような順番で定めた方向分に、
指示点からの距離分だけ離れた点を順次黒画素かどうか
調べる(ステップS3)。なお、図11の(A),
(B)の斜線部は指示点である。調べた点が黒画素であ
れば(ステップS4),黒画素がみつかったので終了と
なり、黒画素でなければ指示点からの距離を「+1」す
る(ステップS5)。ここで、予め定めた距離を越えた
か否かを判断し(ステップS6)、所定距離を越えた場
合は黒画素が見つからなかったとして終了し、越えてい
ない場合は上記ステップS3にリターンして上記動作を
繰返す。図11の(A)のアルゴリズムデで順番に調べ
るとすると、距離“1”及び“2”に関しては図12の
ような順番で調べる。以上により、本発明のスキャン動
作が実行される。なお、上述では8方向に対してスキャ
ンするようになっているが、方向数は任意である。
FIG. 10 shows an operation example of the present invention. First, an instruction point is input (step S1), and the distance from the instruction point is set to "1" (step S2). Then, for the direction defined in the order as shown in FIG. 11 (A) or (B),
It is sequentially checked whether or not points separated by the distance from the designated point are black pixels (step S3). In addition, (A) of FIG.
The shaded area in (B) is the designated point. If the examined point is a black pixel (step S4), the black pixel is found and the process ends. If it is not a black pixel, the distance from the designated point is incremented by "+1" (step S5). Here, it is determined whether or not a predetermined distance is exceeded (step S6), and if the predetermined distance is exceeded, the black pixel is not found and the process ends. If not, the process returns to step S3 to return to the above. Repeat the operation. Assuming that the algorithm D in FIG. 11A is used for the order check, the distances "1" and "2" are checked in the order shown in FIG. As described above, the scan operation of the present invention is executed. In the above description, scanning is performed in eight directions, but the number of directions is arbitrary.

【0018】[0018]

【発明の効果】本発明では表示手段に表示された閉領域
に対して、入力された指示点からスパイラル状にスキャ
ンを行い、最初に見つかった黒画素をその閉領域の自動
追跡の開始点とする。全方向に対して外方に少しずつず
れたスキャンを行うことになるので、どのような形状の
閉領域に対しても、高速かつ正確に開始点を検出するこ
とができる。
According to the present invention, the closed area displayed on the display means is spirally scanned from the input pointing point, and the first black pixel found is used as the starting point for automatic tracking of the closed area. To do. Since scanning is performed with a slight shift outward in all directions, the start point can be detected quickly and accurately for a closed region of any shape.

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

【図1】画像処理システムの構成例を示すブロック構成
図(ワークステーション、入力コントローラ)である。
FIG. 1 is a block configuration diagram (workstation, input controller) showing a configuration example of an image processing system.

【図2】画像処理システムの構成例を示すブロック構成
図(ファイルサーバ)である。
FIG. 2 is a block configuration diagram (file server) showing an example configuration of an image processing system.

【図3】画像処理システムの構成例を示すブロック構成
図(イメージセッター)である。
FIG. 3 is a block configuration diagram (image setter) showing an example configuration of an image processing system.

【図4】入力コントローラの構成例を示すブロック図で
ある。
FIG. 4 is a block diagram showing a configuration example of an input controller.

【図5】ワークステーションの動作例を示すフローチャ
ートである。
FIG. 5 is a flowchart showing an operation example of a workstation.

【図6】面付けの動作を説明するためのフローチャート
である。
FIG. 6 is a flowchart for explaining an imposition operation.

【図7】イメージセッターの詳細構成を示すブロック図
である。
FIG. 7 is a block diagram showing a detailed configuration of an imagesetter.

【図8】その動作例を示すフローチャートである。FIG. 8 is a flowchart showing an operation example thereof.

【図9】本発明の原理を説明するための図である。FIG. 9 is a diagram for explaining the principle of the present invention.

【図10】本発明の動作例を示すフローチャートであ
る。
FIG. 10 is a flowchart showing an operation example of the present invention.

【図11】本発明のスキャンの例を示す図である。FIG. 11 is a diagram showing an example of scanning according to the present invention.

【図12】本発明のスキャン例を説明するための図であ
る。
FIG. 12 is a diagram for explaining a scan example of the present invention.

【図13】従来のスキャン動作を説明するための図であ
る。
FIG. 13 is a diagram for explaining a conventional scan operation.

【図14】従来の欠点を説明するための図である。FIG. 14 is a diagram for explaining a conventional defect.

【符号の説明】[Explanation of symbols]

1 入力部 2 画像処理部 3 バスライン 4 バスライン 10 CPU 11 DMA 12 画像メモリ 13 論理演算回路 14 共通メモリ 1 Input Unit 2 Image Processing Unit 3 Bus Line 4 Bus Line 10 CPU 11 DMA 12 Image Memory 13 Logical Operation Circuit 14 Common Memory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 表示手段に表示された閉領域を指示して
自動追跡する場合、前記閉領域の近傍に指示点を指示入
力し、前記指示点から外方にスパイラル状にスキャン
し、最初に見つかった画素を前記閉領域の自動追跡の開
始点とすることを特徴とする画像処理方法。
1. When pointing a closed area displayed on a display means for automatic tracking, a pointing point is pointed in the vicinity of the closed area, and a spiral scan is performed outward from the pointing point. An image processing method, wherein the found pixel is used as a starting point of automatic tracking of the closed region.
JP3268340A 1991-09-19 1991-09-19 Picture processing method Pending JPH0581428A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3268340A JPH0581428A (en) 1991-09-19 1991-09-19 Picture processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3268340A JPH0581428A (en) 1991-09-19 1991-09-19 Picture processing method

Publications (1)

Publication Number Publication Date
JPH0581428A true JPH0581428A (en) 1993-04-02

Family

ID=17457186

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3268340A Pending JPH0581428A (en) 1991-09-19 1991-09-19 Picture processing method

Country Status (1)

Country Link
JP (1) JPH0581428A (en)

Similar Documents

Publication Publication Date Title
US5018078A (en) Apparatus and method for processing huge image information at high speed
US5086497A (en) Image output command method for image processing system
EP0249948B1 (en) Image information processing apparatus
US5163122A (en) Image processing system
JP2958584B2 (en) Noise removal method
US5278950A (en) Image composing method
EP0410771A2 (en) Image processing apparatus
US5247372A (en) Image composing method
JP2662305B2 (en) Figure selection method
JPH0581428A (en) Picture processing method
JP3064305B2 (en) Digital copier
JPH0581397A (en) Page scroll method and image processor
JP2866464B2 (en) Line figure boundary extraction method
JPH05266154A (en) Image processing method
JPH0696171A (en) Image processor
JPH0713541A (en) Method for processing image and its device
JPH06231228A (en) Image processing method
JPH0696183A (en) Method and device for image processor
JPH0793575A (en) Image processing system having edition time display rotation function
JP2957050B2 (en) Image data enlarger
JPH03105688A (en) Picture synthesizing method
JPH0581402A (en) Picture processing system with overall view display function
JPH06231024A (en) Image processing method
JPH0795386A (en) Picture processing system
JPH0721370A (en) Method and device for processing picture