JPS61214066A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPS61214066A
JPS61214066A JP5720785A JP5720785A JPS61214066A JP S61214066 A JPS61214066 A JP S61214066A JP 5720785 A JP5720785 A JP 5720785A JP 5720785 A JP5720785 A JP 5720785A JP S61214066 A JPS61214066 A JP S61214066A
Authority
JP
Japan
Prior art keywords
image
area
reading
picture
processing
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
JP5720785A
Other languages
Japanese (ja)
Inventor
Hiroshi Maruoka
広 丸岡
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP5720785A priority Critical patent/JPS61214066A/en
Publication of JPS61214066A publication Critical patent/JPS61214066A/en
Priority to US08/408,104 priority patent/US5631980A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the processing efficiency at the time of editing by designating partly the reading area on an original picture and/or the picture developing area of a picture memory and developing the reading area onto the picture developing area. CONSTITUTION:A picture processor is controlled by a CPU 2, and a display controller 18 displays a cursor at a position on a display device 20 corresponding to the address stored in a cursor register 14. the indication input for reading area of an original picture of a picture input/output device 12 displays a picture area on a picture memory GBUF to the device 20 in response to an original 52. Then an operator moves a cursor to indicate points A and B of an area GA corresponding to a range IA on the original 52. Therefore the address of the point A, the lateral head number HY and the longitudinal reading head number HT are stored in areas HADR, HYSIZE and HTSIZE respectively secured on a memory 6. Thus the device 12 reads a designated reading area and this area can be developed to the memory GBUF. This improves the processing efficiency at editing.

Description

【発明の詳細な説明】 [技術分野] 本発明は画像処理装置に関し、特に原稿画像を読取る画
像読取手段と、当該読取られた画像を編集するための編
集手段とを具備した画像処理装置に関するものである。
[Detailed Description of the Invention] [Technical Field] The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus equipped with an image reading means for reading a document image and an editing means for editing the read image. It is.

[従来技術] 従来、この種画像処理装置として、画像メモリ上に原稿
画像に対応した画像領域を定義し、画像読取手段により
読取られた原稿画像を画像領域全体に展開するようにし
たものがある。
[Prior Art] Conventionally, as this type of image processing device, there is an image processing device in which an image area corresponding to a document image is defined on an image memory, and the document image read by an image reading means is developed over the entire image area. .

しかしながら、原稿から画像を読取って操作者が画像合
成等画像編集処理を行うに際しては、操作者が読取りを
所望する領域が原稿画像の一部であり、その領域を画像
領域上の適切な位置に展開することを望む場合が多々あ
る。このような場合、従来の画像処理装置では、画像を
読取る時間、画像メモリをアクセスする時間、あるいは
不要部分が消去する時間や編集に要する時間が長大化す
るのみならず、煩雑な操作を要するので、編束処理時の
処理効率が低下するという問題点が生ずる。
However, when an operator performs image editing processing such as image compositing after reading an image from a document, the area that the operator desires to read is part of the document image, and the area is moved to an appropriate position on the image area. There are many times when you want to expand. In such cases, conventional image processing devices not only take a long time to read the image, access the image memory, delete unnecessary parts, and edit, but also require complicated operations. , a problem arises in that processing efficiency during knitting processing is reduced.

[目 的1 本発明は、かかる問題点に鑑みて、原稿面および画像領
域に対応した領域を有し、該領域上の座標を指示するこ
とにより原稿」二の読取り範囲を容易に指定可能な手段
を設け、その指定に応じて原稿画像上の読取りを所望す
る領域を画像領域上に適切に展開できるようにすること
により、編集処理時の処理効率を格段に高めることがで
きる画像処理装置を提供することを目的とする。
[Object 1] In view of such problems, the present invention has an area corresponding to the original surface and the image area, and allows the reading range of the original to be easily specified by specifying the coordinates on the area. An image processing apparatus is provided that can significantly improve processing efficiency during editing processing by providing a means and making it possible to appropriately develop an area desired to be read on a document image on an image area according to the specification thereof. The purpose is to provide.

(以下余白) [実施例] 以下、図面を参照して本発明の詳細な説明する。(Margin below) [Example] Hereinafter, the present invention will be described in detail with reference to the drawings.

第1図は本発明画像処理装置の一構成例を示す。ここで
、2は例えばマイクロプロセッサの形態を可とするCP
Uであり、文字1図形等画像処理のための演算、論理判
断等を行い、アドレスバスAB、コン]・ロールバスC
B、データバスDBを介して、第4図ないし第7図につ
き後述する処理手順等に従い、バスAB、CB、DBに
接続された各構成要素を制御する。なお、アドレスバス
ABはCPU2の制御の対称とする構成要素を指示する
ためのアドレス信号の転送路、コントロールパスCBは
CPU2の制御の対象とする各構成要素のコントロール
信号の転送路、データバスDBは各構成機器相互間のデ
ータの転送路である。
FIG. 1 shows an example of the configuration of an image processing apparatus according to the present invention. Here, 2 is a CP that can take the form of a microprocessor, for example.
U, performs calculations, logical judgments, etc. for image processing of characters, figures, etc., and uses address bus AB, control] and roll bus C.
B. Controls each component connected to the buses AB, CB, and DB via the data bus DB in accordance with processing procedures described later with reference to FIGS. 4 to 7. Note that the address bus AB is a transfer path for address signals for instructing the components to be controlled by the CPU 2, and the control path CB is a transfer path for control signals for each component to be controlled by the CPU 2, and the data bus DB. is a data transfer path between each component device.

4は読出し専用の固定メモリ(ROM)であり、第4図
ないし第7図の処理手順等、CPU2による制御の手順
を記憶させておく。
Reference numeral 4 denotes a read-only fixed memory (ROM) in which procedures for control by the CPU 2, such as the processing procedures shown in FIGS. 4 to 7, are stored.

また、6は1ワ一ド16ビツト単位での書込み可能のラ
ンダムアクセスメモリ(RAM)であり、各構成要素に
関連する以下の各種データの一時記憶に用いる。このR
AM6において、GBUFは画像メモリの格納領域であ
り、作成された画像あるいは作成中の2値化画像をビッ
トマツプで記憶する。RBUFは読取った画像のバッフ
ァとして用いる領域、RCBtlFは保存用の画像メモ
リ領域である。
A random access memory (RAM) 6 is writable in units of 1 word and 16 bits, and is used for temporary storage of the following various data related to each component. This R
In AM6, GBUF is a storage area of the image memory, and stores a created image or a binarized image being created in the form of a bitmap. RBUF is an area used as a buffer for read images, and RCBtIF is an image memory area for storage.

HADRは操作者により指定された画像の読取り範囲お
よびまたは定義された画像領域への画像の配置範囲に対
応した画像メモリ上の範囲の左上点アドレスを格納する
領域、HYSIZEおよびHTSIZEは指定された範
囲の横方向ドツト数および縦方向ドツト数をそれぞれ格
納する領域である。RNO[lEは読取モード記憶メモ
リ領域であり、画像編集を行う際の演算内容が指定に応
じて格納されるようにする。例えば、オア処理を行う場
合には“1”。
HADR is an area that stores the upper left point address of the range on the image memory corresponding to the image reading range specified by the operator and/or the image placement range in the defined image area, and HYSIZE and HTSIZE are the specified ranges. This area stores the number of dots in the horizontal direction and the number of dots in the vertical direction, respectively. RNO[lE is a reading mode storage memory area, in which calculation contents when performing image editing are stored according to specifications. For example, "1" when performing OR processing.

オーバーライド処理を行う場合には0”が格納されるよ
うにする。
When performing override processing, 0'' is stored.

また、RFLAGは読取りヘッドや原稿を移動させて読
取りを開始するに際し、読取りヘッドに設けた後述の指
標と読取りセンサとの位置ずれを補正する必要があるか
否かを判別するために用いる開始補正フラグであり、そ
の必要がある場合にはこのフラグをオンとし、不要の場
合にはオフとする。さらに、GFLAGは画像領域上で
範囲指定等に用いるカーソルの形状に対応させたカーソ
ル形状フラグであり、例えば1文字単位で移動する文字
単位移動カーソルの場合にはオフとし、直交する線分の
中心で1ドツトを示す十字形のドットポイ、ントカーソ
ルの場合にはオンとする。
In addition, RFLAG is a start correction that is used to determine whether it is necessary to correct the positional deviation between the reading sensor and the index provided on the reading head, which will be described later, when moving the reading head or document and starting reading. This flag is turned on when necessary, and turned off when unnecessary. Furthermore, GFLAG is a cursor shape flag that corresponds to the shape of the cursor used for specifying a range on the image area. Turn on when the point cursor is a cross-shaped dot point that indicates one dot.

8は操作者が情報入力に用いる入力装置としてのキーボ
ードであり、アルファベットキー、平仮名キー、片仮名
キー等の文字記号入カキ−の他、漢字部始め/終り指定
キー、後述の範囲指定に用いる範囲指定キー、読取りモ
ードを指定する読取りモードキー、画像読取りの開始を
指定する読取開始キー、処理終了を指定する終了キー、
画像読取りを一時中断する旨の指令をケえる中断キー、
読取りの取りやめを指令する中tl−、キー等画像処理
処置に対する各種機能を指示するための各種ファンクシ
ョン午−を有する。
Reference numeral 8 denotes a keyboard as an input device used by the operator to input information, and in addition to letters and symbols input keys such as alphabet keys, hiragana keys, and katakana keys, keys for specifying the start/end of a kanji section, and a range used for specifying a range as described below. A specification key, a reading mode key that specifies the reading mode, a reading start key that specifies the start of image reading, an end key that specifies the end of processing,
An interrupt key that issues a command to temporarily interrupt image reading;
It has various functions for instructing various functions related to image processing such as a tl- key for instructing cancellation of reading, and a key for instructing various functions related to image processing.

10は文書や画像を記憶する外部記憶としての磁気ディ
スクをアクセスするディスク装置であり、キーボード8
を用いた操作の指示入力により、適宜作成された文書や
画像の保存、保存された文書や画像の読出しを制御する
10 is a disk device for accessing a magnetic disk as an external storage for storing documents and images; a keyboard 8;
By inputting operation instructions using , the storage of appropriately created documents and images and the reading of stored documents and images are controlled.

12は画像入出力装置であり、第2図につき後述すよう
に、本例では画像記録を行うプリンタと画像読取りを行
う読取り装置とを一体に組立てた構成とする。
Reference numeral 12 denotes an image input/output device, and as will be described later with reference to FIG. 2, in this example, a printer for recording images and a reading device for reading images are assembled into one body.

14はカーソルレジスタであり、CPU2により、その
内容を読書き可能とする。また、表示コントローラ18
はこのカーソルレジスタ14に蓄えられたアドレスに対
応する表示装置20上の位置にカーソルを表示する。
14 is a cursor register whose contents can be read and written by the CPU 2; In addition, the display controller 18
displays a cursor at the position on the display device 20 corresponding to the address stored in the cursor register 14.

1Bは表示装置20の表示画面に対応したバッファメモ
リであり、キーボード8から入力された文書情報や読取
られた画像情報等を蓄える。
A buffer memory 1B corresponds to the display screen of the display device 20, and stores document information input from the keyboard 8, image information read, and the like.

表示コントローラ1日はカーソルレジスタ14およびバ
ッファメモリ16に蓄えられた内容を表示装置20に位
置を対応させて表示する。
The display controller 1 displays the contents stored in the cursor register 14 and the buffer memory 16 on the display device 20 in corresponding positions.

表示装置20は陰極線管(CRT)等を用いることがで
き、その表示装置20におけるドツト構成の表示パター
ンおよびカーソルの表示は表示コントローラ18で制御
される。なお、表示コントローラ1日により八ツファ1
6の内容を表示装置20上に位置を対応させながら表示
する態様は公知であり、本例にあっては画像メモリ領域
GBUFの内容をバッファメモリ16に適宜変換して格
納することにより表示が行われるものとする。
A cathode ray tube (CRT) or the like can be used as the display device 20, and the dot-configured display pattern and cursor display on the display device 20 are controlled by a display controller 18. In addition, depending on the display controller 1 day, 8 tsufa 1
6 is displayed on the display device 20 while corresponding positions, and in this example, the display is performed by appropriately converting and storing the contents of the image memory area GBUF in the buffer memory 16. shall be subject to change.

さらに、22はキャラクタジェネレータであり、表示装
置20に表示する文字、記号、カーソル等のキャラクタ
信号を発生させるものである。
Furthermore, 22 is a character generator, which generates character signals such as characters, symbols, and cursors to be displayed on the display device 20.

かかる各構成要素を有する本例に係る画像処理装置は、
キーボード8からの各種の入力信号に応じて作動するも
のであって、キーボード8からの入力信号が供給される
と、まず、インタラブド信号がCPU2に送出され、そ
のCPU2がROM4内に記憶しである各種の制御命令
を読出し、それらの制御命令に従って各種の制御が行わ
れる。
The image processing device according to this example having each of these components includes:
It operates in response to various input signals from the keyboard 8, and when the input signal from the keyboard 8 is supplied, an interwoven signal is first sent to the CPU 2, and the CPU 2 stores it in the ROM 4. Various control commands are read out, and various controls are performed according to these control commands.

第2図は第1図における画像入出力装置の主要部の一例
を示す概略斜視図、第3図はそのA−A線断面図であり
、本例では、画像読取装置を記録装置としての熱転写式
シリアルプリンタ装置に一体に組立て、キャリア上に記
録ヘッドと読取りヘッドとを取付けた例を示すものであ
る。
FIG. 2 is a schematic perspective view showing an example of the main parts of the image input/output device in FIG. 1, and FIG. 3 is a cross-sectional view taken along the line A-A. This figure shows an example in which a recording head and a reading head are mounted on a carrier, assembled integrally into a type serial printer device.

図において、50はプリンタのプラテンローラであり、
そのプラテンローラ50に記録用紙または読取原稿52
が巻付けられる。54は記録用紙または原稿52をプラ
テンローラ50に押付けるための紙押えローラである。
In the figure, 50 is a platen roller of the printer;
The recording paper or original to be read 52 is placed on the platen roller 50.
is wrapped. Reference numeral 54 denotes a paper pressing roller for pressing the recording paper or original 52 against the platen roller 50.

また、fは記録用紙または原稿52の搬送方向である。Further, f is the conveyance direction of the recording paper or original document 52.

一方、56はプリンタ本体にプラテンローラ50と平行
に固定されているキャリーlガイドであり、ガイド56
にキャリア5日を取付けて、キャリア58を適切な駆動
手段によりキャリアガイド56に沿って往復移動させる
。キャリア58はプラテンローラ50と対向する位置に
サーマルヘッド60とインクリボンカセット62を設け
る。この方セット82内のインクリボン84はサーマル
へット60とプラテンローラ50との間を通って巻回さ
れる。
On the other hand, 56 is a carry l guide fixed to the printer body parallel to the platen roller 50, and the guide 56
The carrier 58 is moved back and forth along the carrier guide 56 by suitable drive means. The carrier 58 is provided with a thermal head 60 and an ink ribbon cassette 62 at a position facing the platen roller 50. The ink ribbon 84 in this set 82 passes between the thermal head 60 and the platen roller 50 and is wound.

また、キャリア58上には画像読取装置の画像読取りヘ
ッド66を載置する。読取りヘッド66は、第3図に示
すように、収束性光伝送体アレイ76、光電変換を行う
読取りセンサ78、およびLED等光混光源図示)を有
する。読取りセンサ78は、例えば、縦方向に24ドツ
トの画素群が配列されたものとする。また、読取りヘッ
ド66」−面には読取りセンサ78の位置を示す指標7
2を設け、操作者はこれにより読取り位置を知ることが
できる。
Further, an image reading head 66 of an image reading device is placed on the carrier 58. The read head 66, as shown in FIG. 3, has a convergent light transmitter array 76, a read sensor 78 that performs photoelectric conversion, and a light mixing source such as an LED (not shown). The reading sensor 78 has, for example, a group of 24 pixels arranged in the vertical direction. Further, an indicator 7 indicating the position of the reading sensor 78 is provided on the surface of the reading head 66.
2 is provided so that the operator can know the reading position.

また、第3図において、aは指標72を参照した操作者
から見た読取りに係る画像の位置、bは読取りセンサ7
8の上端に対応し読取りを行ったときに実際に読取られ
る画像の位置、Cは読取りセンサ78の下端に対応し、
次の走査時に読取られる行の画像の位置を示す。
Further, in FIG. 3, a is the position of the image related to reading as seen from the operator referring to the index 72, and b is the position of the image related to reading sensor 7.
C corresponds to the upper end of the reading sensor 78 and the position of the image actually read when reading is performed, C corresponds to the lower end of the reading sensor 78,
Indicates the position of the image in the row to be read during the next scan.

このように、読取センサ78の上端と指標72の位置と
は物理的に一致しないので、読取時に操作者が目安にす
る指標72の位置に対応した原稿画像上の位置aと読取
センサが読取っている画像上の位置すとは区違うことに
なる。
In this way, since the upper end of the reading sensor 78 and the position of the index 72 do not physically match, the position a on the document image corresponding to the position of the index 72, which the operator uses as a guide, when reading is read by the reading sensor. This is different from the position on the image.

そこで、本例においては、画像読取りを中断し、他の位
置から読取りを行うような場合、記録ヘッド66上の指
標72を中断後の読取りに係る行の上端aに位置づけた
ときに、読取り開始時には位置づけられたaが位置すに
一致するように位置補正処理を行うようにする。
Therefore, in this example, when image reading is interrupted and reading is performed from another position, reading starts when the index 72 on the recording head 66 is positioned at the upper end a of the line related to the reading after the interruption. Sometimes, position correction processing is performed so that the positioned a matches the position.

具体的には、連続して画像読取りを行う場合は、24ド
ツト毎のc −b Nの改行を行い、中断指令があった
場合には次行のL端がaに位置するようにc −aの量
の改行を行う。而して他の読取り行の上端を位置aに位
置づけて読取り開始指令を与えたときには、b−aの量
だけ原稿をf方向とは反対の方向に巻戻されるようにす
る。
Specifically, when reading images continuously, a c-b N line feed is performed every 24 dots, and when there is an interrupt command, a c-b N line feed is performed so that the L end of the next line is located at a. Performs a line feed by the amount of a. When the upper end of another reading line is positioned at position a and a reading start command is given, the document is rewound by an amount ba in the direction opposite to the f direction.

本例に係る第2図示の装置は、ワードプロセッサのプリ
ンタとして使用される場合にはプラテンローラ50上に
記録用紙52を巻付けてキャリア58がガイド56に沿
って移動させ、かつインクリボン64を走行させながら
サーマルヘッド60を作動させる。一方、画像読取装置
として使用される場合にはプラテンローラ501−に読
取原稿52を花信けて光源により読取原稿を照射しキャ
リア58をガイド56に沿って移動させながら収束性光
伝送体アレイ76により原稿面を読取りセンサ78に結
像させる。
When the device shown in the second figure according to this example is used as a word processor printer, a recording paper 52 is wound around a platen roller 50, a carrier 58 is moved along a guide 56, and an ink ribbon 64 is run. The thermal head 60 is operated while On the other hand, when used as an image reading device, the document 52 to be read is placed on the platen roller 501-, the document to be read is irradiated with a light source, and the convergent light transmitting body array 76 is moved while the carrier 58 is moved along the guide 56. The image of the document surface is formed on the reading sensor 78.

次に、第4図ないし第7図を用いて本発明による画像編
集処理の態様を説明する。
Next, aspects of the image editing process according to the present invention will be explained using FIGS. 4 to 7.

第4図は本発明装置による画像編集処理手順の概略の一
例を示す。この処理手順には、例えばキーボード8上に
画像の編集を実行させる旨の入カキ−を設けておき、二
の操作に応じて移行するようにすることができる。
FIG. 4 schematically shows an example of the image editing processing procedure performed by the apparatus of the present invention. In this processing procedure, for example, an input key for executing image editing can be provided on the keyboard 8, and the process can be shifted in response to the second operation.

処理開始にあたっては、まずステップS2およびS4に
て、それぞれ、読取りモードフラグRMODEを°“0
”、およびカーソル形状フラグGFLAGをオンとする
。このカーソルフラグCFLAGをオンとすることによ
りカーソルはドツトポイントカーソルが選択され、以下
の処理において範囲指定が容易となる。
To start the process, first, in steps S2 and S4, the read mode flag RMODE is set to 0.
” and the cursor shape flag GFLAG are turned on. By turning on this cursor flag CFLAG, a dot point cursor is selected as the cursor, making it easy to specify a range in the following processing.

ステップS6においてはキー人力を待機し、入力された
キーが、ステップS8にて範囲指定キーと判定された場
合、ステップS10にて読取りモード選択キーと判定さ
れた場合、ステップS12にて読取り開始指令キーと判
定された場合、および終了キーと判定された場合には、
それぞれ、範囲指定処理(ステップSH) 、読取りモ
ードすなわち編集に際しての論理演算種別の決定処理(
ステップSM) 、読取り処理(SR)、および編集画
像の磁気ディスクへの保存等その他の処理(ステップS
O)を行った後に、ステップS6に復帰する。一方、入
力されたキーがこれらいずれのキーでもない場合には、
ステップ51Bにてカーソル形状フラグCFLAGをオ
フとしカーソルを文字単位移動カーソルとした後に、例
えば文字処理モードに移行する。
In step S6, manual input of the key is waited, and if the input key is determined to be a range specification key in step S8 or a reading mode selection key in step S10, a reading start command is issued in step S12. If it is determined to be a key, or if it is determined to be an end key,
Range specification processing (step SH), reading mode, that is, logical operation type determination processing during editing (
Step SM), reading processing (SR), and other processing such as saving the edited image to a magnetic disk (Step S
After performing step O), the process returns to step S6. On the other hand, if the key entered is not one of these keys,
In step 51B, the cursor shape flag CFLAG is turned off and the cursor is set as a character-by-character moving cursor, and then, for example, a character processing mode is entered.

以下、本例に係るステップSH,SNおよびSRでの処
理内容を述べる。
The processing contents in steps SH, SN, and SR according to this example will be described below.

ステップSHにおいては、例えば表示装置20の表示画
面上に画像メモリGBUFの画像領域に対応した領域を
表示し、操作者に原稿画像の読取り範囲および画像領域
への編集範囲の指示を促す。操作者はこれに応じて次の
ような指示入力を行えばよい。
In step SH, for example, an area corresponding to the image area of the image memory GBUF is displayed on the display screen of the display device 20, and the operator is prompted to specify the reading range of the document image and the editing range to the image area. The operator may input the following instructions in response to this.

まず、原稿画像の読取り範囲指示入力は、第8図に示す
ように、原稿52に対応させて画像メモリGBUF上の
画像領域を表示し、操作者はカーソルを適宜移動させて
読取りを所望する原稿52上の範囲IAに対応した表示
画面」二の領域GAの点Aおよび点Bを指示する。これ
に応じて、点Aに対応した画像メモリGBUF上のアド
レス、横方向の読取りドツト数HYおよび縦方向の読取
りドツト数ITが、それぞれ、メモリ6上の領域HAI
IR,HYSIZEおよびHTSIZEに格納されるよ
うにする。この指示に関連してキャリア58およびプラ
テン50を手動で動かし、範囲IAの左上の頂点を第3
図における位置aに一致させる。この場合操作者は範囲
指定処理を視覚により確認しつつ行えるようになる。
First, to input the reading range instruction for the original image, as shown in FIG. Point A and point B of area GA of display screen 2 corresponding to range IA on 52 are indicated. Accordingly, the address on the image memory GBUF corresponding to point A, the number of read dots in the horizontal direction HY, and the number of read dots in the vertical direction IT are set to the area HAI on the memory 6, respectively.
Stored in IR, HYSIZE and HTSIZE. In conjunction with this instruction, manually move the carrier 58 and platen 50 to move the upper left vertex of range IA to the third position.
Match position a in the figure. In this case, the operator can perform the range specification process while visually confirming the process.

また、画像メモリGBUFへの読取り画像の転送範囲を
指示入力する場合は、第9図に示すように、メモリGB
UFの画像領域が表示されたとき、操作者が読取りを所
望する原稿52上の範囲RA’ に対応した表示画面一
1−の領域GA’ の点A′および点B′をカーソルに
より指示する。これに応じて、点A′に対応した画像メ
モリG B U F J:のアドレス、転送範囲GA′
 の横方向のドツト数HY′、縦方向のドツト数HT’
 が、それぞれ、メモリ6」二の領域HADR1HYS
IZEおよび)ITSIZHに格納されるようにする。
In addition, when inputting an instruction for the transfer range of the read image to the image memory GBUF, as shown in FIG.
When the UF image area is displayed, the operator uses a cursor to point to point A' and point B' in area GA' of display screen 1-1, which corresponds to range RA' on document 52 that the operator desires to read. Accordingly, the address of the image memory GBUFJ corresponding to the point A', the transfer range GA'
The number of dots in the horizontal direction HY', the number of dots in the vertical direction HT'
, respectively, memory 6” second area HADR1HYS
IZE and) ITSIZH.

これら値の設定後には範囲指定処理手順SHを終了し、
ステップS6に復帰して次のキー人力を待つ。
After setting these values, end the range specification processing procedure SH,
The process returns to step S6 and waits for the next key personnel.

第5図は読取りモード決定処理手順(ステップSM)の
具体的な処理内容の一例を示す。ここでは、まず、ステ
ップSN2にてl’1M0DEのカウントアツプ処理を
行う。次に、ステップSM4にて演算処理(本例では2
)に対応したRMODE内の最大値(本例では“1”)
を越えたか否かを判定し、肯定判定の場合にはRMOI
IEの値を0”とする。ステップSM4で否定判定され
た場合、またはステップSMBの処理後には、例えばそ
の値に対応した演算処理名が表示されるようになし、読
取りモード決定処理を終了してステップS6に復帰する
FIG. 5 shows an example of specific processing contents of the reading mode determination processing procedure (step SM). Here, first, in step SN2, a count-up process for l'1M0DE is performed. Next, in step SM4, calculation processing (in this example, 2
) corresponding to the maximum value in RMODE (“1” in this example)
It is determined whether the RMOI exceeds the
The value of IE is set to 0''. If a negative determination is made in step SM4, or after the processing in step SMB, for example, the arithmetic processing name corresponding to that value is displayed, and the reading mode determination processing is terminated. Then, the process returns to step S6.

次に、第6図は読取り処理手順(ステップSR)におけ
る具体的な処理内容の一例を示す。まず、ステップSR
2においては、既に画像メモリ領域GBUFにある画像
情報を保存用画像メモリ領域PCBUFに展開して保存
処理を行う。これにより、合成処理を中止としたときに
も、既にある画像情報の破壊を防止できるようになる。
Next, FIG. 6 shows an example of specific processing contents in the reading processing procedure (step SR). First, step SR
In step 2, the image information already in the image memory area GBUF is developed into the storage image memory area PCBUF and storage processing is performed. This makes it possible to prevent destruction of existing image information even when the compositing process is canceled.

次に、ステップSR[iにおいては開始補正フラグをオ
ンとした後、ステップSR6にて領域GBUFにある画
像情報を適切に縮小してバッファDBUFに転送し、表
示装置20の表示画面上に反転して表示する。
Next, in step SR[i, after turning on the start correction flag, in step SR6, the image information in the area GBUF is appropriately reduced, transferred to the buffer DBUF, and inverted on the display screen of the display device 20. to be displayed.

ステップSR8においてはキー人力の判定を行う。入力
されたキーがステップ5RIOにて中断キーと判定され
た場合には、ステップ5R12にて、第3図について前
述したように、原稿52をf方向にC−aの量だけ搬送
した後、ステップ5R14にて開始補正フラグをオンと
し、ステップ5R1Bにてキー人力を待つ。
In step SR8, key human power is determined. If the input key is determined to be the interrupt key in step 5RIO, then in step 5R12, as described above with reference to FIG. At step 5R14, the start correction flag is turned on, and at step 5R1B, key human power is awaited.

ステップ5RIOにて否定判定された場合、またはステ
ップ5R113にてキー人力があった場合には、スチッ
プ5R20にて入力されたキーが画像読取りをとりやめ
るための中止キーであるか否かを判定する。ここで1背
定判定であれば、ステップ5R22にて領域RGBUF
に保存された画像情報を領域GBUFに展開することに
より、中止キー人力操作以前に合成処理がなされていた
場合には当該合成処理が無効とされ、合成処理以前に既
に領域GBUFに展開されていた画像情報が有効となる
If a negative determination is made in step 5RIO, or if there is a key input in step 5R113, it is determined in step 5R20 whether or not the input key is a stop key for canceling image reading. If it is determined that the back is 1 here, in step 5R22 the area RGBUF
By expanding the image information stored in , into the area GBUF, if the compositing process has been performed before the manual operation of the stop key, the compositing process will be invalidated, and if the image information has already been expanded to the area GBUF before the compositing process. Image information becomes valid.

ステップ5R20で否定判定された場合には、ステップ
5R24にて入力されたキーが終了キーであるか否かを
判定する。否定判定の場合にはステップSRD (第7
図)の読取り動作処理手順を実行した後、ステップ5R
2Bにおいて、ステップSMの処理により予め選択され
た論理演算内容に基づき、読取られて領域RBUFに格
納された画像情報と、それに対応する領域GBUF上の
画像情報すなわちステップSHにて指定された編集範囲
内の画像情報とのドツト毎の合成処理を行う。而して、
ステップ5R30にて、画像メモリ領域GBUFの読取
り部分、すなわち、演算処理がなされ横方向ドツト数分
の画像情報を適切に縮小してバッファDBUFに転送し
、表示を行わせる。このとき、表示画面上では、合成処
理がなされた部分が次々に判定表示から通常表示に変換
されて表示されてゆくので、操作者は処理の進捗状況を
一見して認識できる。
If a negative determination is made in step 5R20, it is determined in step 5R24 whether or not the input key is an end key. In case of negative judgment, step SRD (7th
After executing the reading operation processing procedure shown in Figure), step 5R
2B, the image information read and stored in the area RBUF and the corresponding image information on the area GBUF, that is, the editing range specified in step SH, based on the logical operation content selected in advance by the processing in step SM. Performs dot-by-dot compositing processing with the image information within. Then,
In step 5R30, the read portion of the image memory area GBUF, that is, the image information corresponding to the number of horizontal dots subjected to arithmetic processing, is appropriately reduced and transferred to the buffer DBUF for display. At this time, on the display screen, the portions that have been subjected to the composition processing are successively converted from the judgment display to the normal display and displayed, so that the operator can recognize the progress of the processing at a glance.

次に、ステップ5R32においては、ステップSHにて
範囲指定された読取り範囲の縦方向ドツト数分読取りが
終了したか否かを判定する。この判定は、横力向ドツト
数分の演算終了後(ステップ5R28)に領域HTSI
ZEから1単位の縦方向ドツト数(本例では配列画素数
に対応して24)を減算してゆき、領域HTSIZEの
値が正でなくなったか否かを検出して行うことができる
。このステップSR32で否定判定であればステップS
R8に復帰して、次の1単位の縦方向ドツト数分につい
ての読取り、演算処理を行ってゆく。一方、ステップ5
R32でtsr定判定された場合、ならびにステップ5
R24にて肯定判定された場合には、読取り処理手順S
Rを終了し、第4図のステップS6に復帰する。
Next, in step 5R32, it is determined whether or not the number of vertical dots in the reading range specified in step SH has been read. This determination is made after completing the calculation for the number of dots in the lateral force direction (step 5R28).
This can be done by subtracting the number of vertical dots per unit (24 in this example, corresponding to the number of arrayed pixels) from ZE, and detecting whether the value of area HTSIZE is no longer positive. If the determination in step SR32 is negative, step S
Returning to R8, reading and arithmetic processing are performed for the next number of vertical dots in one unit. On the other hand, step 5
If it is determined that tsr is constant in R32, and in step 5
If an affirmative determination is made in R24, the reading processing procedure S
R is finished, and the process returns to step S6 in FIG.

第7図は第6図の読取り動作処理手順SRDにおける処
理内容の一例を示す。まず、ステップ5RD2では開始
補正フラグRFLAGの状態を判定する。ここで、否定
判定であれば直ちにステップ5RDlliにすすみ、肯
定判定であれば読取り開始に際して第3図について前述
したように、f方向と反対の方向に原稿52をb−aの
量だけ巻戻すキャリア位置補正処理を行った後にステッ
プ5RDBに進む。
FIG. 7 shows an example of the processing contents in the read operation processing procedure SRD of FIG. 6. First, in step 5RD2, the state of the start correction flag RFLAG is determined. Here, if the determination is negative, the process immediately proceeds to step 5RDlli, and if the determination is positive, the carrier rewinds the document 52 by an amount b-a in the direction opposite to the f direction at the time of starting reading, as described above with reference to FIG. After performing the position correction process, the process advances to step 5RDB.

ステップ5RDBにおいては、開始補正フラグRFLA
Gをオフとし1次いでステップ5RD8にて範囲指定さ
れた読取り領域につき、キャリア58が設定された位置
から横方向のドツト数分を読取り、当該読取った画像情
報を領域RBUFに格納する。
In step 5RDB, the start correction flag RFLA
G is turned off, and then in step 5RD8, the carrier 58 reads the number of dots in the horizontal direction from the set position in the specified reading area, and stores the read image information in the area RBUF.

次いでステップSRD 10および5RDI2によりキ
ャリア58の復改処理および1単位の縦方向ドツト数分
原稿52をf方向に搬送する改行処理を行い、読取り動
作処理SRDを終了して第6図のステップ5R28に移
行する。
Next, in steps SRD10 and 5RDI2, a return process of the carrier 58 and a line feed process of transporting the document 52 in the f direction by the number of vertical dots per unit are performed, and the reading operation process SRD is completed and the process returns to step 5R28 in FIG. Transition.

このように、本例に係る画像処理装置では、まず範囲指
定処理(ステップSH)により、読取りを所望する原稿
52上の範囲を指定すること、ならびにその範囲の画像
領域トへの編集範囲を指定することが操作者にとって容
易となる。読取り範囲の指定に関連して指定された読取
り範囲の開始位置は指標72に一致するように位置づけ
られ、その位置が読取り開始に際してはセンサ78の配
設位置に対応する適切な位置に補正されるので、操作者
は指標72を目安としつつ合成処理のための操作開始面
や読取りの中断時において、的確に読取り範囲指定の操
作を行うことができるようになる。
As described above, in the image processing apparatus according to the present example, first, through the range specification process (step SH), a range on the document 52 that is desired to be read is specified, and an editing range for the image area of that range is specified. This makes it easier for the operator to do the following. The starting position of the designated reading range in connection with the reading range designation is positioned to match the index 72, and the position is corrected to an appropriate position corresponding to the arrangement position of the sensor 78 when reading starts. Therefore, the operator can accurately specify the reading range using the index 72 as a guide when starting the operation for composition processing or when reading is interrupted.

また、ステップ5RIOの手順により画像読取りを中断
する中断キーを受容できるようになし、ステップSHの
手順にて読取り範囲を変更することができるので、原稿
52−hに読取りを所望する範囲が複数存在する場合に
も、一連の処理の流れの中でそれら複数の読取り範囲を
適切に読取って行くことができるようになる。
Further, since the interrupt key for interrupting image reading can be accepted by the procedure of step 5RIO, and the reading range can be changed by the procedure of step SH, there are multiple ranges in the document 52-h that are desired to be read. In this case, it becomes possible to appropriately read those multiple reading ranges in a series of processing flows.

例えば、第10図に示すように、原稿52」−に読取り
を所望する3つの部分At 、 BlおよびC1がある
場合に、部分A1の範囲指定、読取りおよび領域GBU
F」二への編集後に中断指令を与え、部分B1の範囲指
定、読取りおよび領域GBUF上への編集を行い、さら
に中断指定を与えて部分C1の範囲指定、読取りおよび
領域GBUF上への編集を行うことが容易に行えるよう
になる。なお、複数の部分についての処理順序は、操作
者により任意所望に定めることができるのは言うまでも
ない。
For example, as shown in FIG. 10, if there are three parts At, Bl and C1 in the original 52'' which are desired to be read, the range specification, reading and area GBU of part A1 are performed.
After editing to "F"2, give an interrupt command, specify the range of part B1, read, and edit on area GBUF.Furthermore, give an interrupt specification, specify the range of part C1, read, and edit on area GBUF. It becomes easier to do what you want to do. It goes without saying that the processing order for the plurality of parts can be determined as desired by the operator.

また、第11図に示すように、ステップSR6および5
R30の処理により、表示装置20の表示画面には編集
に係る領域GBUF上の反転画像に対応づけて、原稿5
2上の読取り範囲から画像情報が順次に読取られ、演算
処理され、表示されて行くので、操作者は処理の進捗状
況を一目で知ることができるようになる。これにより、
操作者は、原稿52上の画像を編集中の画像の必要部分
に達するまで読取ることを画面上で確認しつつ行うこと
ができる。
Further, as shown in FIG. 11, steps SR6 and SR5
Through the processing of R30, the original 5 is displayed on the display screen of the display device 20 in association with the inverted image on the editing area GBUF.
Since the image information is sequentially read from the reading range above 2, subjected to arithmetic processing, and displayed, the operator can see the progress of the processing at a glance. This results in
The operator can read the image on the original document 52 until the required part of the image being edited is reached while checking on the screen.

さらに、ステップSR2の処理にて編集処理前に既に領
域GBUFにある画像を保存しておくようにしたので、
ステップ5R20にて編集処理を中止した場合にも元の
画像は破壊されることなく、また、ステップ5R22の
処理により保存された画像が再び領域GBUFに展開さ
れるので、処理中止後操作者は速かに新たな編集処理を
開始できる。
Furthermore, in the process of step SR2, the image already in the area GBUF is saved before the editing process, so
Even if the editing process is canceled in step 5R20, the original image will not be destroyed, and the image saved by the process in step 5R22 will be expanded to the area GBUF again, so the operator can quickly You can immediately start a new editing process.

例えば、第12図に示すように、領域GBUFに格納さ
れている画像はまず領域RGBUFに退避される。
For example, as shown in FIG. 12, the image stored in area GBUF is first saved in area RGBUF.

次に領域GBUFの画像と原稿52から読取られた画像
とにつきXの位置までオア演算を施しつつ合成したとき
に、操作者が読取り画像の位置ずれに気付いて中止キー
を操作すると、領域PCBUFに保存された画像は領域
GBUFにオーバーライドされることになる。
Next, when the image in area GBUF and the image read from the document 52 are combined while performing an OR operation up to the position of The saved image will be overridden in area GBUF.

さらに加えて、本例によれば、編集に係る画像に対して
、原稿を順次読取り、操作者が予め与えた演算内容に基
づいて画像合成処理を行ってゆくようにしたので、操作
者が試行を繰返しつつ編集処理を行う際の合成処理に柔
軟性をもたせることができる。
In addition, according to this example, the image to be edited is sequentially read from the original and image synthesis processing is performed based on the calculation details given in advance by the operator, so the operator can It is possible to provide flexibility in the compositing process when performing the editing process while repeating the process.

なお、未実施例においてはワードプロセッサに搭載され
る画像読取ヘッドを有する画像処理装置について説明し
たが、本発明は画像読取り手段を具えたいかなる形態の
装置にも適用できるのは勿論である。また本例では、キ
ャリアに搭載され、原稿面に対し走査方向に移動させら
れる形態の画像読取ヘッドを具えた画像処理装置につい
て述べたが、画像読取ヘッドは原稿面の全幅にわたって
延在する形態のものであってもよいことは勿論いうまで
もない。
In the non-embodiments, an image processing apparatus having an image reading head mounted on a word processor has been described, but the present invention can of course be applied to any type of apparatus equipped with an image reading means. Furthermore, in this example, an image processing device is described that includes an image reading head that is mounted on a carrier and is moved in the scanning direction with respect to the document surface. It goes without saying that it may be anything.

(以 丁 余 白) [効 果] 以」−説明したように、本発明によれば、原稿面および
画像領域に対応した領域を有し、該領域−Lの座標を指
示することにより原稿トの読取り範囲を容易に指定可能
な手段を設け、その指定に応じて原稿画像1−の読取り
を所望する領域を画像領域−1−に適切に展開できるよ
うにしたので、編集処理時の処理効率が格段に高い画像
処理装置を実現できる効果がある。
(Effects) As explained above, according to the present invention, there is an area corresponding to the document surface and the image area, and by specifying the coordinates of the area L, the document can be adjusted. By providing a means for easily specifying the reading range of the document image 1-, the area desired to be read in the document image 1- can be appropriately developed into the image area-1- according to the specification, thereby improving processing efficiency during editing processing. This has the effect of realizing an image processing device with significantly higher performance.

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

第1図は本発明画像処理装置の構成の一例を示すブロッ
ク図、 第2図は第1図示の装置における画像入出力装置の主要
部の一構成例を示す斜視図、 第3図は第2図における読取りヘッドを説明するための
断面図、 第4図ないし第7図は本発明装置による画像処理手順の
一例を示すフローチャート、 第8図ないし第13図は本発明装置による画像処理の態
様を説明するための説明図である。 2・・・CPU 、 4・・・ROM  、 6・・・RAM  、 5・・・キーボード、 10・・・ディスク装置、 12・・・画像入出力装置、 14・・・カーソルレジスタ、 16・・・バッファメモリ。 18・・・表示コントローラ、 20・・・表示装置、 50・・・プラテンローラ、 52・・・原稿、 58・・・キャリア、 66・・・読取りヘッド、 72・・・指標、 78・・・読取りセンサ、 RBUF・・・読取り画像バ・ンファ、RCBUF・・
・保存用画像メモリ、 HADR・・・左上点アドレス格納匍城、HYSIZE
・・・横方向ドツト数格納領域、HISIZE・・・縦
方向ドツト数格納領域、RMODE・・・読取りモード
記憶領域、CFLAG・・・カーソル形状フラグ、RF
LAS・・・開始補正フラグ。 へ〜  4  れ1 第3図 未1凶
FIG. 1 is a block diagram showing an example of the configuration of the image processing apparatus of the present invention, FIG. 2 is a perspective view showing an example of the configuration of the main part of the image input/output device in the apparatus shown in FIG. 4 to 7 are flowcharts illustrating an example of an image processing procedure by the device of the present invention; and FIGS. 8 to 13 show aspects of image processing by the device of the present invention. It is an explanatory diagram for explanation. 2... CPU, 4... ROM, 6... RAM, 5... Keyboard, 10... Disk device, 12... Image input/output device, 14... Cursor register, 16...・Buffer memory. 18... Display controller, 20... Display device, 50... Platen roller, 52... Document, 58... Carrier, 66... Reading head, 72... Index, 78... Reading sensor, RBUF...Reading image buffer, RCBUF...
・Image memory for storage, HADR... upper left point address storage, HYSIZE
...Horizontal dot number storage area, HISIZE...Vertical dot number storage area, RMODE...Reading mode storage area, CFLAG...Cursor shape flag, RF
LAS...Start correction flag. To ~ 4 Re 1 Figure 3 Not 1

Claims (1)

【特許請求の範囲】 1)原稿画像を読取る画像読取手段と、原稿画像に対応
した画像展開領域を有する画像メモリとを具備した画像
処理装置において、 前記画像読取手段による前記原稿画像上の読取り領域お
よび/または前記画像展開領域上の展開領域を部分的に
指定可能な指定手段を具え、当該指定に基づき前記読取
り領域が前記画像展開領域上に展開されるようにしたこ
とを特徴とする画像処理装置。 2)特許請求の範囲第1項記載の画像処理装置において
、前記指定手段は表示装置を有し、該表示装置の表示画
面上に前記原稿画像の広がりに対応した範囲を表示し、
該範囲内を指示することにより前記指定がなされるよう
にしたことを特徴とする画像処理装置。
[Scope of Claims] 1) An image processing apparatus comprising an image reading means for reading an original image and an image memory having an image development area corresponding to the original image, further comprising: a reading area on the original image by the image reading means; and/or image processing characterized in that it comprises a specifying means capable of partially specifying a development area on the image development area, and the reading area is developed on the image development area based on the specification. Device. 2) In the image processing apparatus according to claim 1, the specifying means has a display device, and displays a range corresponding to the spread of the document image on a display screen of the display device,
An image processing apparatus characterized in that the specification is made by specifying within the range.
JP5720785A 1985-03-20 1985-03-20 Picture processor Pending JPS61214066A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP5720785A JPS61214066A (en) 1985-03-20 1985-03-20 Picture processor
US08/408,104 US5631980A (en) 1985-03-20 1995-03-21 Image processing apparatus for processing image data representative of an image in accordance with the type of processing designated by a designating means

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5720785A JPS61214066A (en) 1985-03-20 1985-03-20 Picture processor

Publications (1)

Publication Number Publication Date
JPS61214066A true JPS61214066A (en) 1986-09-22

Family

ID=13049060

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5720785A Pending JPS61214066A (en) 1985-03-20 1985-03-20 Picture processor

Country Status (1)

Country Link
JP (1) JPS61214066A (en)

Similar Documents

Publication Publication Date Title
KR860001071B1 (en) Method for editing document
GB2078411A (en) Documents processing arrangements
US5462372A (en) Tape printer and method
JPS61214066A (en) Picture processor
JPH0137783B2 (en)
JPS6322333B2 (en)
JPS61214074A (en) Picture processor
JPS61214069A (en) Picture processor
JPS61214070A (en) Picture processor
JPS61214067A (en) Picture processor
JPS61214065A (en) Picture processor
JPS61214068A (en) Picture processor
US5631980A (en) Image processing apparatus for processing image data representative of an image in accordance with the type of processing designated by a designating means
JP2746592B2 (en) Document processing apparatus and method
JPH06115207A (en) Tape printing device
JP2635311B2 (en) Document processing device
US5162993A (en) Word processing apparatus
JPH04263357A (en) Information processor
JPS59123046A (en) Display system of document processor
JPS5965339A (en) Document editing device
JP2721339B2 (en) Document processing device
JP3072949B2 (en) Document editing system
JPH05205028A (en) Image processor
JPS63205268A (en) Printing method of word processor
JPS5924340A (en) Character processor