Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH083850B2 - Image processing device - Google Patents
[go: Go Back, main page]

JPH083850B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JPH083850B2
JPH083850B2 JP60057211A JP5721185A JPH083850B2 JP H083850 B2 JPH083850 B2 JP H083850B2 JP 60057211 A JP60057211 A JP 60057211A JP 5721185 A JP5721185 A JP 5721185A JP H083850 B2 JPH083850 B2 JP H083850B2
Authority
JP
Japan
Prior art keywords
image
reading
image information
read
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP60057211A
Other languages
Japanese (ja)
Other versions
JPS61214074A (en
Inventor
広 丸岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP60057211A priority Critical patent/JPH083850B2/en
Publication of JPS61214074A publication Critical patent/JPS61214074A/en
Priority to US08/408,104 priority patent/US5631980A/en
Publication of JPH083850B2 publication Critical patent/JPH083850B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Generation (AREA)

Description

【発明の詳細な説明】 [技術分野] 本発明は、読み取った画像情報と、予め記憶されてい
る画像情報とを演算処理する画像処理装置に関するもの
である。
Description: TECHNICAL FIELD The present invention relates to an image processing apparatus that performs arithmetic processing on read image information and image information stored in advance.

[従来技術] 従来、この種画像処理装置として、画像の編集処理を
考慮して、例えばCRT等表示装置の表示画面上に画像領
域を定義し、画像読取手段により読取られた画像(読取
り画像)を表示するようにしたものがある。
[Prior Art] Conventionally, as this type of image processing apparatus, an image area is defined on a display screen of a display device such as a CRT in consideration of image editing processing, and an image read by an image reading unit (read image). There is one that is displayed.

しかしながら、従来の画像処理装置は既に読取られて
いる画像と新たな読取り画像とを合成して一画像を得る
ことを所望する場合等においては、その都度表示画面の
入れ替えを行ったり印刷出力を得ながら処理を進めて行
く必要が生ずるので、このような画像合成等編集処理を
行う際の処理効率が低下するという問題点があった。
However, the conventional image processing apparatus replaces the display screen or obtains a print output each time when it is desired to combine an already read image and a new read image to obtain one image. However, since it becomes necessary to proceed with the processing, there is a problem that the processing efficiency at the time of performing such editing processing such as image composition decreases.

[目的] 以上の点に鑑み、本発明の目的は、読み取った画像情
報と、予め記憶されている画像情報との演算処理に際し
ての操作性が優れた画像処理装置を提供することにあ
る。
[Object] In view of the above points, an object of the present invention is to provide an image processing device having excellent operability in arithmetic processing of read image information and image information stored in advance.

[実施例] 以下、図面を参照して本発明を詳細に説明する。[Examples] Hereinafter, the present invention will be described in detail with reference to the drawings.

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

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

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

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

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

8は操作者が情報入力に用いる入力装置としてのキー
ボードであり、アルファベットキー,平仮名キー、片仮
名キー等の文字記号入力キーの他、漢字部始め/終り指
定キー、後述の範囲指定に用いる範囲指定キー、読取り
モードを指定する読取りモードキー、画像読取りの開始
を指定する読取開始キー、処理終了を指定する終了キ
ー、画像読取りを一時中断する旨の指令を与える中断キ
ー、読取りの取りやめを指令する中止キー等画像処理処
置に対する各種機能を指示するための各種ファンクショ
ンキーを有する。
Reference numeral 8 denotes a keyboard as an input device used by the operator for inputting information. In addition to character symbol input keys such as alphabet keys, hiragana keys, katakana keys, Kanji part start / end designation keys, range designation used for range designation described later. Key, reading mode key that specifies the reading mode, reading start key that specifies the start of image reading, end key that specifies the end of processing, interrupt key that gives a command to suspend image reading, command to stop reading It has various function keys such as a stop key for instructing various functions for image processing.

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

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

14はカーソルレジスタであり、CPU2により、その内容
を読書き可能とする。また、表示コントローラ18はこの
カーソルレジスタ14に蓄えられたアドレスに対応する表
示装置20上の位置にカーソルを表示する。
Reference numeral 14 is a cursor register, the contents of which can be read and written by the CPU 2. Further, 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.

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

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

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

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

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

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

図において、50はプリンタのプラテンローラであり、
そのプラテンローラ50に記録用紙または読取原稿52が巻
付けられる。54は記録用紙または原稿52をプラテンロー
ラ50に押付けるための紙押えローラである。また、fは
記録用紙または原稿52の搬送方向である。一方、56はプ
リンタ本体にプラテンローラ50と平行に固定されている
キャリアガイドであり、ガイド56はキャリア58を取付け
て、キャリア58を適切な駆動手段によりキャリアガイド
56に沿って往復移動させる。キャリア58はプラテンロー
ラ50と対向する位置にサーマルヘッド60とインクリボン
カセット62を設ける。このカセット62内のインクリボン
64はサーマルヘッド60とプラテンローラ50との間を通っ
て巻回される。
In the figure, 50 is the platen roller of the printer,
The recording paper or the read original 52 is wound around the platen roller 50. Reference numeral 54 is a paper pressing roller for pressing the recording paper or the original 52 against the platen roller 50. Further, f is the conveying direction of the recording paper or the original 52. On the other hand, 56 is a carrier guide fixed to the printer main body in parallel with the platen roller 50. The guide 56 mounts the carrier 58, and the carrier 58 is guided by an appropriate driving means.
Move back and forth along 56. The carrier 58 is provided with a thermal head 60 and an ink ribbon cassette 62 at a position facing the platen roller 50. Ink ribbon in this cassette 62
64 is wound between the thermal head 60 and the platen roller 50.

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

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

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

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

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

本例に係る第2図示の装置は、ワードプロセッサのプ
リンタとして使用される場合にはプラテンローラ50上に
記録用紙52を巻付けてキャリア58がガイド56に沿って移
動させ、かつインクリボン64を走行させながらサーマル
ヘッド60を作動させる。一方、画像読取装置として使用
される場合にはプラテンローラ50上に読取原稿52を巻付
けて光源により読取原稿を照射しキャリア58をガイド56
に沿って移動させながら収束性光伝送体アレイ76により
原稿面を読取りセンサ78に結像させる。
When used as a printer of a word processor, the second illustrated apparatus according to the present embodiment winds a recording sheet 52 on a platen roller 50, moves a carrier 58 along a guide 56, and runs an ink ribbon 64. While operating the thermal head 60. On the other hand, in the case of being used as an image reading device, the read document 52 is wound around the platen roller 50 and the read document is irradiated by the light source to guide the carrier 58 to the guide 56.
The document surface is imaged on the reading sensor 78 by the converging light transmitting element array 76 while moving along.

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

第4図は本発明装置による画像編集処理手順の概略の
一例を示す。この処理手順には、例えばキーボード8上
に画像の編集を実行させる旨の入力キーを設けておき、
この操作に応じて移行するようにすることができる。
FIG. 4 shows an example of the outline of the image editing processing procedure by the device of the present invention. In this processing procedure, for example, an input key for executing image editing is provided on the keyboard 8,
It is possible to make a transition according to this operation.

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

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

以下、本例に係るステップSH,SMおよびSRでの処理内
容を述べる。
The processing contents of steps SH, SM 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 to prompt the operator to instruct 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および縦方向の読取りドット数HTが、そ
れぞれ、メモリ6上の領域HADR、HYSIZEおよびHTSIZEに
格納されるようにする。この指示に関連してキャリア58
およびプラレン50を手動で動かし、範囲IAの左上の頂点
を第3図における位置aに一致させる。この場合操作者
は範囲指定処理を視覚により確認しつつ行えるようにな
る。
First, as shown in FIG. 8, the manuscript image reading range instruction input displays the image area on the image memory GBUF corresponding to the manuscript 52, and the operator appropriately moves the cursor to read the manuscript desired. The point A and the point B of the area GA on the display screen corresponding to the range IA above 52 are designated. In response to this, the address on the image memory GBUF corresponding to the point A, the horizontal read dot number HY and the vertical read dot number HT are stored in the areas HADR, HYSIZE and HTSIZE on the memory 6, respectively. To do so. Career 58 in connection with this instruction
And the platen 50 is manually moved so that the upper left apex of the range IA coincides with the position a in FIG. In this case, the operator can visually confirm the range designation process.

また、画像メモリGBUFへの読取り画像の転送範囲を指
示入力する場合は、第9図に示すように、メモリGBUFの
画像領域が表示されたとき、操作者が読取りを所望する
原稿52上の範囲RA′に対応した表示画面上の領域GA′の
点A′および点B′をカーソルにより指示する。これに
応じて、点A′に対応した画像メモリGBUF上のアドレ
ス、転送範囲GA′の横方向のドット数HY′、縦方向のド
ット数HT′が、それぞれ、メモリ6上の領域HADR、HYSI
ZEおよびHTSIZEに格納されるようにする。
Further, in the case of inputting the transfer range of the read image to the image memory GBUF, when the image area of the memory GBUF is displayed, as shown in FIG. 9, the range on the original 52 which the operator desires to read. Point A'and point B'of the area GA 'on the display screen corresponding to RA' are designated by the cursor. Correspondingly, the address on the image memory GBUF corresponding to the point A ′, the horizontal dot number HY ′ and the vertical dot number HT ′ of the transfer range GA ′ respectively correspond to the areas HADR and HYSI on the memory 6.
Be stored in ZE and HTSIZE.

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

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

次に、第6図は読取り処理手順(ステップSR)におけ
る具体的な処理内容の一例を示す。まず、ステップSR2
においては、既に画像メモリ領域GBUFにある画像情報を
保存用画像メモリ領域RCBUFに展開して保存処理を行
う。これにより、合成処理を中止としたときにも、既に
ある画像情報の破壊を防止できるようになる。次に、ス
テップSR6においては開始補正フラグをオンとした後、
ステップSR6にて領域GBUFにある画像情報を適切に縮小
してバッファDBUFに転送し、表示装置20の表示画面上に
反転して表示する。
Next, FIG. 6 shows an example of specific processing contents in the reading processing procedure (step SR). First, step SR2
In, the image information already in the image memory area GBUF is expanded in the image memory area for saving RCBUF and the saving process is performed. This makes it possible to prevent destruction of existing image information even when the combining process is stopped. Next, in step SR6, 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 and displayed on the display screen of the display device 20.

ステップSR8においてはキー入力の判定を行う。入力
されたキーがステップSR10にて中断キーと判定された場
合には、ステップSR12にて、第3図について前述したよ
うに、原稿52をf方向にc〜aの量だけ搬送した後、ス
テップSR14にて開始補正フラグをオンとし、ステップSR
16にてキー入力を待つ。
In step SR8, the key input is determined. If the input key is determined to be the interruption key in step SR10, in step SR12, as described above with reference to FIG. 3, the original 52 is conveyed in the f direction by the amount c to a, and then the step Start correction flag is turned on in SR14, and step SR
Wait for key input at 16.

ステップSR10にて否定判定された場合、またはステッ
プSR16にてキー入力があった場合には、ステップSR20に
て入力されたキーが画像読取りをとりやめるための中止
キーであるか否かを判定する。ここで肯定判定であれ
ば、ステップSR22にて領域RCBUFに保存された画像情報
を領域GBUFに展開することにより、中止キー入力操作以
前に合成処理がなされていた場合には当該合成処理が無
効とされ、合成処理以前に既に領域GBUFに展開されてい
た画像情報が有効となる。
If a negative determination is made in step SR10, or if there is a key input in step SR16, it is determined whether or not the key input in step SR20 is a stop key for canceling image reading. If an affirmative determination is made here, the image information stored in the area RCBUF in step SR22 is expanded into the area GBUF, and if the combining processing is performed before the stop key input operation, the combining processing is invalid. Then, the image information already developed in the area GBUF before the combining process becomes valid.

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

次に、ステップSR32においては、ステップSHにて範囲
指定された読取り範囲の縦方向ドット数分読取りが終了
したか否かを判定する。この判定は、横方向ドット数分
の演算終了後(ステップSR28)に領域HTSIZEから1単位
の縦方向ドット数(本例では配列画素数に対応して24)
を減算してゆき、領域HTSIZEの値が正でなくなったか否
かを検出して行うことができる。このステップSR32で否
定判定であればステップSR8に復帰して、次の1単位の
縦方向ドット数分についての読取り,演算処理を行って
ゆく。一方、ステップSR32で肯定判定された場合、なら
びにステップSR24にて肯定判定された場合には、読取り
処理手順SRを終了し、第4図のステップS6に復帰する。
Next, in step SR32, it is determined whether or not reading has been completed for the number of dots in the vertical direction of the reading range specified in step SH. This determination is made after the calculation for the number of dots in the horizontal direction is completed (step SR28), and the number of dots in the vertical direction of one unit from the area HTSIZE (24 in this example, corresponding to the number of array pixels).
Can be subtracted to detect whether or not the value of the area HTSIZE is no longer positive. If a negative determination is made in step SR32, the process returns to step SR8, and the reading and arithmetic processing for the next one unit number of dots in the vertical direction are performed. On the other hand, if an affirmative decision is made in step SR32 and if an affirmative decision is made in step SR24, the read processing procedure SR is terminated and the process returns to step S6 in FIG.

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

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

次いでステップSRD10およびSRD12によりキャリア58の
復改処理および1単位の縦方向ドット数分原稿5をf方
向に搬送する改行処理を行い、読取り動作処理SRDを終
了して第6図のステップSR28に移行する。
Next, in steps SRD10 and SRD12, the carrier 58 is modified and line feed processing is performed to convey the document 5 in the f direction by the number of dots in the vertical direction of one unit, and the read operation process SRD is completed and the process proceeds to step SR28 in FIG. To do.

このように、本例に係る画像処理装置では、まず範囲
指定処理(ステップSH)により、読取りを所望する原稿
52上の範囲を指定すること、ならびにその範囲の画像領
域上への編集範囲を指定することが操作者にとって容易
となる。読取り範囲の指定に関連して指定された読取り
範囲の開始位置は指標72に一致するように位置づけら
れ、その位置が読取り開始に際してはセンサ78の配設位
置に対応する適切な位置に補正されるので、操作者は指
標72を目安としつつ合成処理のための操作開始時や読取
りの中断時において、的確に読取り範囲指定の操作を行
うことができるようになる。
As described above, in the image processing apparatus according to the present example, the range designation process (step SH) is first performed to scan the document
It becomes easy for the operator to specify the range above 52 and to specify the edit range on the image area of the range. The start position of the designated reading range in relation to the designation of the reading range is positioned so as to coincide with the index 72, and the position is corrected to an appropriate position corresponding to the position of the sensor 78 at the start of reading. Therefore, the operator can accurately perform the operation of designating the reading range at the time of starting the operation for the combining process or interrupting the reading while using the index 72 as a guide.

また、ステップSR10の手順により画像読取りを中断す
る中断キーを受容できるようになし、ステップSHの手順
にて読取り範囲を変更することができるので、原稿52上
に読取りを所望する範囲が複数存在する場合にも、一連
の処理の流れの中でそれら複数の読取り範囲を適切に読
取って行くことができるようになる。
Further, since the interruption key for interrupting the image reading is accepted by the procedure of step SR10 and the reading range can be changed by the procedure of step SH, there are a plurality of desired reading ranges on the original 52. Even in such a case, the plurality of reading ranges can be appropriately read in a series of processing flows.

例えば、第10図に示すように、原稿52上に読取りを所
望する3つの部分A1,B1およびC1がある場合に、部分A1
の範囲指定,読取りおよび領域GBUF上への編集後に中断
指令を与え、部分B1の範囲指定,読取りおよび領域GBUF
上への編集を行い、さらに中断指定を与えて部分C1の範
囲指定,読取りおよび領域GBUF上への編集を行うことが
容易に行えるようになる。なお、複数の部分についての
処理順序は、操作者により任意所望に定めることができ
るのは言うまでもない。
For example, as shown in FIG. 10, when there are three portions A1, B1 and C1 desired to be read on the original 52, the portion A1
Specifying the range, reading, and editing on the area GBUF, give an interrupt command to specify the range, reading, and area GBUF of part B1.
It becomes possible to easily perform the editing on the upper side, further give the interruption designation, specify the range of the portion C1, read and edit on the area GBUF. Needless to say, the operator can arbitrarily set the processing order for the plurality of portions.

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

さらに、ステップSR2の処理にて編集処理前に既に領
域GBUFにある画像を保存しておくようにしたので、ステ
ップSR20にて編集処理を中止した場合にも元の画像は破
壊されることなく、また、ステップSR22の処理により保
存された画像が再び領域GBUFに展開されるので、処理中
止後操作者は速かに新たな編集処理を開始できる。
Furthermore, since the image already in the area GBUF is saved before the editing process in the process of step SR2, the original image is not destroyed even when the editing process is stopped in step SR20, In addition, since the image saved by the process of step SR22 is developed again in the area GBUF, the operator can quickly start a new editing process after the process is stopped.

例えば、第12図に示すように、領域GBUFに格納されて
いる画像はまず領域RCBUFに退避される。次に領域GBUF
の画像と原稿52から読取られた画像とにつきxの位置ま
でオア演算を施しつつ合成したときに、操作者が読取り
画像の位置ずれに気付いて中止キーを操作すると、領域
RCBUFに保存された画像は領域GBUFにオーバーライトさ
れることになる。
For example, as shown in FIG. 12, the image stored in the area GBUF is first saved in the area RCBUF. Next area GBUF
When the operator notices the misalignment of the read image and operates the stop key when performing the OR operation up to the position x for the image of the image and the image read from the original 52, the area is displayed.
The image saved in RCBUF will be overwritten in the area GBUF.

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

なお、本実施例においてはワードプロセッサに搭載さ
れる画像読取ヘッドを有する画像処理装置について説明
したが、本発明は画像読取り手段を具えたいかなる形態
の装置にも適用できるのは勿論である。また本例では、
キャリアに搭載され、原稿面に対し走査方向に移動させ
られる形態の画像読取ヘッドを具えた画像処理装置につ
いて述べたが、画像読取ヘッドは原稿面の全幅にわたっ
て延在する形態のものであってもよいことは勿論いうま
でもない。
Although the image processing apparatus having the image reading head mounted on the word processor has been described in the present embodiment, the present invention can be applied to any type of apparatus including an image reading unit. Also in this example,
The image processing apparatus having the image reading head mounted on the carrier and movable in the scanning direction with respect to the document surface has been described, but the image reading head may extend over the entire width of the document surface. Needless to say, it is good.

以上説明したように、本発明によれば、編集に係る2
画像の合成のための演算内容を設定可能とし、編集処理
のための画像領域上に既に読取ってある画像を適切に展
開し、その展開された画像に対して、新たに画像を読取
りながら、対応する画像情報間に設定された演算処理を
施しつつ読取り画像を合成して表示してゆくようにした
ので、編集処理時の処理効率が高い画像処理装置を実現
できる効果がある。
As described above, according to the present invention, the editing
The calculation contents for image composition can be set, the image already read in the image area for the editing process is appropriately developed, and the developed image is handled while newly reading the image. Since the read images are combined and displayed while performing the arithmetic processing set between the image information to be displayed, it is possible to realize an image processing apparatus with high processing efficiency during the editing processing.

また、本発明によれば、合成処理を所定量毎に順次に
行って画像領域に表示してゆくようにすることにより画
像の合成状態の確認を容易としたので、編集処理時にお
ける画像処理装置の操作性を高めることができる。
Further, according to the present invention, since it is possible to easily confirm the composite state of the images by sequentially performing the composite process for each predetermined amount and displaying the composite image in the image area, the image processing apparatus during the editing process is performed. The operability of can be improved.

[効果] 以上説明したように、本発明は、読み取った画像情報
と予め記録されている画像情報との演算処理に際し、画
像情報の読み取りの中止が指示された場合に、所定の読
み取り単位の画像情報を表示してから、画像情報の読み
取りを中止するため、画像情報を読み取りながら演算処
理する際に、作業者は、画像情報の所定の読み取り単位
毎に、表示画面によって画像情報の読み取り状態を確認
することができ、画像情報の読み取り位置のずれを見つ
けたときには、その読み取りを速やかに中止することが
できる。
[Effect] As described above, according to the present invention, in the arithmetic processing of the read image information and the pre-recorded image information, when the stop of the reading of the image information is instructed, the image of the predetermined reading unit is read. Since the reading of the image information is stopped after the information is displayed, when performing the arithmetic processing while reading the image information, the worker displays the reading state of the image information on the display screen for each predetermined reading unit of the image information. This can be confirmed, and when a shift in the image information reading position is found, the reading can be promptly stopped.

【図面の簡単な説明】[Brief description 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……カーソル形状フラ
グ、RFLAS……開始補正フラグ。
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. 1, and FIG. 4 is a sectional view for explaining a read head in the drawings, FIGS. 4 to 7 are flow charts showing an example of an image processing procedure by the apparatus of the present invention, and FIGS. 8 to 13 are image processing modes by the apparatus of the present invention. It is an explanatory view for explaining. 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 ... Original, 58 ... Carrier, 66 ... Read head, 72 ... Index, 78 …… Read sensor, RBUF …… Read image buffer, RCBUF …… Save image memory, HADR ……
Upper left point address storage area, HYSIZE ... horizontal dot number storage area, HISIZE ... vertical dot number storage area, RMODE ...
… Read mode memory area, CFLAG… Cursor shape flag, RFLAS …… Start correction flag.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】画像情報を所定の単位で読み取る読み取り
手段と、 前記読み取り手段によって読み取った画像情報を表示手
段に表示する表示制御手段と、 前記読み取り手段によって読み取った画像情報と、予め
記憶手段に記憶されている画像情報とを演算処理する演
算手段と、 画像情報の読み取りの中止を指示する中止指示手段と、 前記中止指示手段によって画像情報の読み取りの中止が
指示されたときに、前記所定単位の画像情報を前記表示
手段に表示し、前記読み取り手段による画像情報の読み
取りを中止させる読み取り中止制御手段と を備えたことを特徴とする画像処理装置。
1. A reading unit for reading image information in a predetermined unit, a display control unit for displaying the image information read by the reading unit on a display unit, image information read by the reading unit, and a storage unit previously stored in the storage unit. An arithmetic means for arithmetically processing the stored image information, a stop instruction means for instructing to stop the reading of the image information, and the predetermined unit when the stop instruction means gives an instruction for stopping the reading of the image information. An image processing apparatus for displaying the image information on the display unit to stop the reading of the image information by the reading unit.
【請求項2】画像情報の読み取りの開始を指示する開始
指示手段と、 前記開始指示手段によって画像情報の読み取りの開始が
指示されたときに、前記記憶手段に記憶されている画像
情報を保存手段に保存する保存制御手段と、 前記演算手段によって演算処理された画像情報を前記記
憶手段に記憶させる記憶制御手段と、 前記中止指示手段によって画像情報の読み取りの中止が
指示されたときに、前記保存手段に保存された画像情報
を前記記憶手段に記憶させる制御手段と を備えたことを特徴とする特許請求の範囲第1項に記載
の画像処理装置。
2. A start instruction means for instructing the start of reading of image information, and a saving means for storing the image information stored in said storage means when the start instruction means instructs the start of reading of image information. Storage control means for storing in the storage means, storage control means for storing the image information arithmetically processed by the arithmetic means in the storage means, and the storage control means for storing the image information when the suspension instruction means instructs suspension of the reading of the image information. The image processing apparatus according to claim 1, further comprising a control unit that stores the image information stored in the unit in the storage unit.
【請求項3】前記読み取り手段は、画像が記録された原
稿と相対可能な移動体に備えられ、前記原稿との相対移
動によって前記原稿に記録された画像を読み取るもので
あることを特徴とする特許請求の範囲第1項または第2
項に記載の画像処理装置。
3. The reading means is provided in a moving body capable of being relative to a document on which an image is recorded, and reads the image recorded on the document by relative movement with the document. Claims 1 or 2
An image processing apparatus according to the item.
JP60057211A 1985-03-20 1985-03-20 Image processing device Expired - Lifetime JPH083850B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP60057211A JPH083850B2 (en) 1985-03-20 1985-03-20 Image processing device
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
JP60057211A JPH083850B2 (en) 1985-03-20 1985-03-20 Image processing device

Publications (2)

Publication Number Publication Date
JPS61214074A JPS61214074A (en) 1986-09-22
JPH083850B2 true JPH083850B2 (en) 1996-01-17

Family

ID=13049180

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60057211A Expired - Lifetime JPH083850B2 (en) 1985-03-20 1985-03-20 Image processing device

Country Status (1)

Country Link
JP (1) JPH083850B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5769868B2 (en) * 2012-02-29 2015-08-26 三菱電機株式会社 Data transfer device, data transfer method, and data transfer program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58178470A (en) * 1982-04-14 1983-10-19 Hitachi Ltd Memory controller
JPS59165565A (en) * 1983-03-09 1984-09-18 Canon Inc Image processing method

Also Published As

Publication number Publication date
JPS61214074A (en) 1986-09-22

Similar Documents

Publication Publication Date Title
GB2078411A (en) Documents processing arrangements
JPH07125374A (en) Layout display device
US6266455B1 (en) Image processor
JPH083850B2 (en) Image processing device
JPS6322333B2 (en)
JPH0616280B2 (en) Document processor
JP3487917B2 (en) Electronic file device
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
JPS61214069A (en) Image processing device
JPS61214068A (en) Image processing device
JP2684175B2 (en) Page printing method
JPS61214070A (en) Picture processor
JPS61214066A (en) Picture processor
JPS61214067A (en) Image processing device
JPH06198962A (en) Preparing device for registration dot pattern data of tape printer
JPS63254074A (en) Label printer system
JP3087447B2 (en) Printing device
JP2617190B2 (en) String output device
JP3391185B2 (en) Drawing processing device
JP3158726B2 (en) Data processing device
JP2670469B2 (en) Document processing method
JP2764944B2 (en) Character output device
JPH01311312A (en) input device
JP3417686B2 (en) Document processing device
JP2940195B2 (en) Tape making device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term