JPH06149964A - Image processor - Google Patents

Image processor

Info

Publication number
JPH06149964A
JPH06149964A JP4295808A JP29580892A JPH06149964A JP H06149964 A JPH06149964 A JP H06149964A JP 4295808 A JP4295808 A JP 4295808A JP 29580892 A JP29580892 A JP 29580892A JP H06149964 A JPH06149964 A JP H06149964A
Authority
JP
Japan
Prior art keywords
image
data
frame
display
image data
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
JP4295808A
Other languages
Japanese (ja)
Inventor
Keiko Matsuda
敬子 松田
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP4295808A priority Critical patent/JPH06149964A/en
Publication of JPH06149964A publication Critical patent/JPH06149964A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To display image data and graphic data after magnification/reduction without generating deviation even when an error exists between the magnification/reduction base range of the image data and that of the graphic data. CONSTITUTION:This processor is constituted in such a way that the image data within a magnification target range frame-designated on a display part 27 is extracted from display memory 26 in display dot unit by operating a key input part 22 and a mouse 23 and stored in an image extracting memory 28, and coordinate error difference between extracted image data and a magnification designation frame P is calculated by a correction value arithmetic part 29, and after the extracted image data is reduced and corrected corresponding to the error difference by an image processing part 30, magnification processing is performed corresponding to magnification designated in advance, and also, the magnification processing is applied to the graphic data extracted from the display memory 26 corresponding to the magnification designation frame P by a graphic processing part 31 corresponding to the similar magnification, and each magnified image data and graphic data are displayed by being synthesized and stored in the display memory 26.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えばイメージスキャ
ナにより入力された画像(イメージ)データと座標入力
により得られた図形(ベクトル)データとを合成して表
示する画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for synthesizing and displaying image (image) data input by an image scanner and graphic (vector) data obtained by coordinate input.

【0002】[0002]

【従来の技術】例えば地図や設計図面等の画像データを
イメージスキャナにより読込んで表示部に表示させ、こ
の表示された画像データに対して座標入力により得られ
る図形データを合成して表示させ、修正や校正を行なう
画像処理装置が考えられている。
2. Description of the Related Art For example, image data such as a map or a design drawing is read by an image scanner and displayed on a display unit, and graphic data obtained by inputting coordinates to the displayed image data is combined and displayed to be corrected. An image processing device for performing calibration has been considered.

【0003】図4は従来の画像処理装置における拡大・
縮小対象範囲の枠指定状態を示すもので、同図におい
て、11は表示画面であり、12a,12b,…は画像
(イメージ)データの表示分解能に対応して分割された
表示ドット、斜線で示す13は表示画面11に対してユ
ーザ指定された拡大・縮小の対象となる範囲である。
FIG. 4 is an enlarged view of a conventional image processing apparatus.
In the same figure, 11 is a display screen, and 12a, 12b, ... Are divided by display dots corresponding to the display resolution of image data, and are indicated by diagonal lines. Reference numeral 13 denotes a range to be enlarged / reduced specified by the user on the display screen 11.

【0004】上記拡縮対象範囲13を指定する枠Pは、
予め四角形に規定されており、表示画面11内における
該枠Pの位置や大きさを変更してその拡縮対象範囲13
を任意に設定できるもので、この拡縮対象範囲13を示
す枠Pは、表示画面11における上下左右方向各2本の
ベクトル座標線分P1 〜P4 とその長さにより設定され
る。
A frame P for designating the expansion / contraction target range 13 is
It is defined in advance as a quadrangle, and the position and size of the frame P in the display screen 11 are changed to change the expansion / reduction target range 13 thereof.
The frame P indicating the expansion / contraction target range 13 is set by two vector coordinate line segments P1 to P4 in the vertical and horizontal directions on the display screen 11 and their lengths.

【0005】つまり、画像データが表示される表示ドッ
ト12a,12b,…の1ドット当りの表示領域には、
その表示分解能が低ければ低い程ベクトル座標が多数含
まれるもので、よって、上記指定枠Pの枠線P1 〜P4
は4つの表示ドット12h,12i,12j,12kを
結ぶ線分となる。ここで、座標点a,b,cを通る線分
は、ベクトル入力により描かれた図形データ14であ
る。
That is, the display area per dot of the display dots 12a, 12b, ...
The lower the display resolution is, the more vector coordinates are included. Therefore, the frame lines P1 to P4 of the designated frame P are included.
Is a line segment connecting the four display dots 12h, 12i, 12j, 12k. Here, the line segment passing through the coordinate points a, b, and c is the graphic data 14 drawn by vector input.

【0006】すなわち、イメージ入力された画像データ
(図示せず)及びベクトル入力された図形データ14が
合成して表示された表示画面11上において、拡縮対象
範囲13をその指定枠Pを操作して指定すると、拡大あ
るいは縮小の基となる画像データ領域は、該指定枠Pの
内側領域だけでなく、画像座標を表示ドット単位で整数
型に変換するため、実際には、指定枠Pが通過する表示
ドット範囲で抽出され、例えば図4における指定枠Pの
場合、斜線領域に対応するユーザ指定の拡縮対象範囲1
3だけでなく、交線領域に対応する上記指定枠Pより外
側の範囲15をも含まれることになる。
That is, on the display screen 11 on which the image data (not shown) input as an image and the graphic data 14 input as a vector are combined and displayed, the enlargement / reduction target range 13 is operated by its designated frame P. When specified, the image data area that is the basis of enlargement or reduction is not only the area inside the specified frame P, but also the image coordinates are converted into an integer type in display dot units, so that the specified frame P actually passes through. In the case of the designated frame P extracted in the display dot range, for example, the designated frame P in FIG.
Not only 3 but also the range 15 outside the specified frame P corresponding to the intersecting area is included.

【0007】一方、図形データ14における拡大あるい
は縮小の基となる図形データ領域は、上記指定枠Pとの
交点座標a,bを境にしたベクトルa,b及びb,cか
らなり、ユーザ指定の拡縮対象範囲13に正確に対応す
るもので、この拡縮対象範囲13に対応する図形データ
a,b及びb,cと上記交線領域15を含む実際の拡大
あるいは縮小の対象となる範囲13+15の画像データ
とは、それぞれ別々に拡大あるいは縮小処理されて合成
表示される。
On the other hand, the graphic data area which is the basis of enlargement or reduction in the graphic data 14 is composed of vectors a, b and b, c with the coordinates a, b of the intersection with the specified frame P as boundaries, and is specified by the user. An image of the range 13 + 15 which corresponds to the expansion / reduction target range 13 and includes the graphic data a, b and b, c corresponding to the expansion / reduction target range 13 and the intersection area 15 and which is an actual expansion / reduction target. The data and the data are separately enlarged or reduced and then combined and displayed.

【0008】[0008]

【発明が解決しようとする課題】したがって、上記ユー
ザ指定枠Pが表示画面11上における各表示ドット12
a,12b,…それぞれの境界線に略一致して設定され
た場合を除き、画像データの拡大あるいは縮小の基とな
る実際の範囲は、ユーザ指定枠Pよりも該指定枠Pが存
在する各表示ドットの外周線Po まで必ず大きくなるも
ので、ユーザ指定枠Pに正確に対応する図形データの拡
大あるいは縮小基範囲に対して上記斜線領域15分の誤
差が生じることになる。
Therefore, the user-specified frame P has the display dots 12 on the display screen 11.
a, 12b, ... Except when they are set so as to substantially coincide with the respective boundary lines, the actual range that serves as the basis for enlarging or reducing the image data is that the designated frame P exists rather than the user designated frame P. Since it is always increased up to the outer peripheral line Po of the display dot, an error of 15 minutes occurs in the shaded area with respect to the enlargement or reduction base range of the graphic data that exactly corresponds to the user-specified frame P.

【0009】ここで、上記各表示ドット12a,12
b,…の各表示面積は、実際には、表示画面11全体の
表示面積に比較して非常に小さいため、画像縮小の場合
には上記誤差分も縮小されて画像データと図形データと
の間に目視で明らかなずれは確認されなくなるが、画像
拡大の場合には上記誤差分も拡大されるので、特に、指
定枠Pに対応した正確な拡大あるいは縮小が施される図
形データが合成されている場合、画像データと図形デー
タとのずれは非常に顕著に現れることになる。
Here, each of the display dots 12a, 12
Since each display area of b, ... Is actually very small compared to the display area of the entire display screen 11, in the case of image reduction, the above-mentioned error is also reduced and the difference between the image data and the graphic data is reduced. Although no obvious deviation is visually confirmed, in the case of image enlargement, the above error amount is also enlarged. Therefore, in particular, graphic data that is accurately enlarged or reduced corresponding to the designated frame P is synthesized. If so, the deviation between the image data and the graphic data will appear very conspicuously.

【0010】本発明は上記課題に鑑みなされたもので、
画像データの拡大あるいは縮小基範囲と図形データの拡
大あるいは縮小基範囲との間に誤差が存在する場合で
も、拡大あるいは縮小後の画像データと図形データとを
ずれなく表示することが可能になる画像処理装置を提供
することを目的とする。
The present invention has been made in view of the above problems,
Even if there is an error between the enlargement or reduction basic range of image data and the enlargement or reduction basic range of graphic data, it is possible to display the image data after enlargement or reduction and the graphic data without deviation. An object is to provide a processing device.

【0011】[0011]

【課題を解決するための手段】すなわち、本発明に係わ
る画像処理装置は、画像(イメージ)データと図形(ベ
クトル)データとを合成して表示するもので、上記合成
して表示されたデータに対して拡大・縮小の対象となる
枠を指定する枠指定手段と、この枠指定手段による指定
枠に対応する画像データをその表示ドット単位で抽出し
て格納する画像抽出格納手段と、上記枠指定手段により
指定された枠の範囲と上記画像抽出格納手段により抽出
格納された画像データ範囲との誤差を表示座標値で算出
する誤差算出手段と、この誤差算出手段により算出され
た誤差座標値に応じて上記画像抽出格納手段に抽出格納
された画像データ範囲を上記枠の範囲に一致するよう補
正する補正手段と、この補正手段により範囲補正された
画像データを予め指定された倍率に応じて拡大・縮小す
る画像処理手段と、上記枠指定手段による指定枠に対応
する図形データを抽出し上記予め指定された倍率に応じ
て拡大・縮小する図形処理手段と、上記画像処理手段に
より得られた画像データと上記図形処理手段により得ら
れた図形データとを被表示データとして合成して格納す
る表示データ格納手段とを備えて構成したものである。
That is, an image processing apparatus according to the present invention synthesizes and displays image (image) data and graphic (vector) data. On the other hand, frame specifying means for specifying a frame to be enlarged / reduced, image extraction storage means for extracting and storing image data corresponding to the specified frame by the frame specifying means in display dot units, and the frame specification. Error calculation means for calculating the error between the range of the frame designated by the means and the image data range extracted and stored by the image extraction storage means by the display coordinate value; and the error coordinate value calculated by the error calculation means. Correction means for correcting the image data range extracted and stored in the image extraction storage means so as to match the range of the frame, and the image data range-corrected by the correction means in advance. Image processing means for enlarging / reducing according to a predetermined magnification, graphic processing means for extracting graphic data corresponding to the designated frame by the frame designating means, and enlarging / reducing according to the previously designated magnification; The image data obtained by the image processing means and the graphic data obtained by the graphic processing means are combined and stored as display data storage means.

【0012】[0012]

【作用】つまり、画像(イメージ)データも拡大・縮小
の指定枠に正確に対応して拡大・縮小処理されるように
なり、別途拡大・縮小処理された図形(ベクトル)デー
タとの間でずれのない合成表示が行なえることになる。
Function: That is, the image data is also scaled up / down corresponding to the designated frame for scaling up / down, and is shifted from the figure (vector) data separately scaled up / down. There will be no composite display.

【0013】[0013]

【実施例】以下図面により本発明の一実施例について説
明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0014】図1は画像処理装置の構成を示すブロック
図であり、この画像処理装置には制御部21が備えら
れ、キー入力部22やマウス23からの入力信号に基づ
き、プログラムROM24に予め記憶された画像処理プ
ログラム等、各種装置制御プログラムが起動され装置各
部の動作が制御される。
FIG. 1 is a block diagram showing the arrangement of an image processing apparatus. This image processing apparatus is provided with a control unit 21 and is stored in a program ROM 24 in advance based on input signals from a key input unit 22 and a mouse 23. Various device control programs such as the generated image processing program are activated to control the operation of each part of the device.

【0015】制御部21には、上記キー入力部22、マ
ウス23、プログラム記憶部24の他、イメージスキャ
ナ25、表示メモリ26、表示部27、画像抽出メモリ
28、補正値演算部29、画像(イメージ)処理部3
0、及び図形(ベクトル)処理部31が接続される。
In the control unit 21, in addition to the key input unit 22, mouse 23, program storage unit 24, image scanner 25, display memory 26, display unit 27, image extraction memory 28, correction value calculation unit 29, image ( Image) Processing unit 3
0 and the graphic (vector) processing unit 31 are connected.

【0016】キー入力部22は、英数字キーや記号キー
等の文字入力キーの他、カーソルキーや動作実行キー等
の各種機能キーを備え、画像(イメージ)データや図形
(ベクトル)データの入力指示や表示指示、あるいは拡
大・縮小等の指示を行なうもので、このキー入力部22
と共に使用される補助入力装置としてマウス23が備え
られ、表示画面上におけるカーソル操作やベクトル座標
の指定操作あるいは画像,図形データの拡大・縮小範囲
を指定する指定枠Pの操作が行なわれる。
The key input unit 22 is provided with various function keys such as cursor keys and operation execution keys in addition to character input keys such as alphanumeric keys and symbol keys, and inputs image (image) data and graphic (vector) data. This key input unit 22 is used to give instructions, display instructions, or instructions such as enlargement / reduction.
A mouse 23 is provided as an auxiliary input device used together therewith, and a cursor operation on the display screen, a vector coordinate designating operation, or a designating frame P designating an enlargement / reduction range of image / graphic data is performed.

【0017】イメージスキャナ25は、地図や設計図面
等の画像(イメージ)データを光学的に読取るもので、
このイメージスキャナ25により読取られた画像データ
は制御部21を介して表示メモリ26に格納される。
The image scanner 25 optically reads image data such as maps and design drawings.
The image data read by the image scanner 25 is stored in the display memory 26 via the control unit 21.

【0018】表示メモリ26は、表示部27の表示領域
に対応するフレームメモリを有し、上記イメージスキャ
ナ25により読取られた画像データと上記キー入力部2
2やマウス23の操作により入力された図形データとを
合成して格納するもので、この表示メモリ26に格納さ
れた合成画像データが、制御部21により表示部27に
表示される。
The display memory 26 has a frame memory corresponding to the display area of the display unit 27, and the image data read by the image scanner 25 and the key input unit 2 are provided.
2 and the graphic data input by operating the mouse 23 are combined and stored, and the composite image data stored in the display memory 26 is displayed on the display unit 27 by the control unit 21.

【0019】画像抽出メモリ28は、上記キー入力部2
2やマウス23を操作して、表示部27に表示される合
成画像データに対する拡大あるいは縮小の枠指定を行な
った際に、その指定枠Pに対応して上記表示メモリ26
から表示ドット単位で整数型に変換されて抽出転送され
る画像(イメージ)データを格納するもので、この画像
抽出メモリ28に格納された画像データが、後述する画
像処理部30にて拡大あるいは縮小処理される。
The image extraction memory 28 includes the key input unit 2
2 and the mouse 23 are operated to designate a frame for enlarging or reducing the composite image data displayed on the display unit 27, the display memory 26 corresponding to the designated frame P.
The image data stored in the image extraction memory 28 is expanded or reduced by the image processing unit 30 to be described later. It is processed.

【0020】補正値演算部29は、上記拡大あるいは縮
小の対象となるユーザ指定枠Pとこの指定枠Pに対応し
て表示ドット単位で実際に画像抽出メモリ28に転送格
納された画像データとの領域誤差に相当する補正値を、
ベクトル座標値に換算して算出するもので、この場合、
指定枠Pの上枠線P1 に対する画像データの上縁補正値
はY1 、指定枠Pの下枠線P2 に対する画像データの下
縁補正値はY2 、指定枠Pの左枠線P3 に対する画像デ
ータの左縁補正値はX1 、指定枠Pの右枠線P4 に対す
る画像データの右縁補正値はX2 となる。
The correction value calculation unit 29 stores the user-specified frame P to be enlarged or reduced and the image data actually transferred and stored in the image extraction memory 28 in display dot units corresponding to the specified frame P. The correction value corresponding to the area error is
It is calculated by converting to vector coordinate values. In this case,
The upper edge correction value of the image data for the upper frame line P1 of the specified frame P is Y1, the lower edge correction value of the image data for the lower frame line P2 of the specified frame P is Y2, and the lower edge correction value of the image data for the left frame line P3 of the specified frame P is The left edge correction value is X1, and the right edge correction value of the image data for the right frame line P4 of the designated frame P is X2.

【0021】画像処理部30は、上記画像抽出メモリ2
8に格納された画像データに基づき、上記補正値演算部
29で算出された補正値X1 ,X2 ,Y1 ,Y2 に応じ
た画像データ補正処理を行なうと共に、上記キー入力部
22の操作により指定された指定倍率に応じて画像デー
タ拡大処理あるいは縮小処理を行なうもので、この画像
処理部30において拡大あるいは縮小された画像データ
は、上記表示メモリ26に転送されて格納される。
The image processing section 30 includes the image extraction memory 2
Based on the image data stored in 8, the image data correction processing according to the correction values X1, X2, Y1, and Y2 calculated by the correction value calculation unit 29 is performed, and the operation is designated by the key input unit 22. The image data is enlarged or reduced according to the designated magnification, and the image data enlarged or reduced by the image processing unit 30 is transferred to and stored in the display memory 26.

【0022】図形処理部31は、上記拡大あるいは縮小
のユーザ指定枠Pに対応して上記表示メモリ26から抽
出される図形(ベクトル)データに基づき、上記キー入
力部22の操作により指定された指定倍率に応じた拡大
あるいは縮小処理を行なうもので、この図形処理部31
において拡大あるいは縮小された図形データは、上記表
示メモリ26に転送され上記拡大あるいは縮小処理後の
画像データと合成されて格納される。次に、上記構成に
よる画像処理装置の動作について説明する。図2は上記
画像処理装置による合成表示データの拡大・縮小処理を
示すフローチャートである。図3は上記画像処理装置の
拡大・縮小処理に伴う処理対象範囲の設定状態を示す図
である。
The graphic processing section 31 designates by operating the key input section 22 based on the graphic (vector) data extracted from the display memory 26 in correspondence with the enlargement or reduction user-specified frame P. This graphic processing unit 31 performs expansion or contraction processing according to the magnification.
The graphic data enlarged or reduced in (1) is transferred to the display memory 26, and is combined with the image data after the enlargement or reduction processing and stored. Next, the operation of the image processing apparatus having the above configuration will be described. FIG. 2 is a flowchart showing the enlargement / reduction processing of the combined display data by the image processing apparatus. FIG. 3 is a diagram showing a setting state of a processing target range associated with the enlargement / reduction processing of the image processing apparatus.

【0023】すなわち、地図や設計図等の画像(イメー
ジ)データがイメージスキャナ25を介して制御部21
に読込まれると共に、キー入力部22あるいはマウス2
3による表示部27上での座標指定操作により各指定座
標間を結ぶ図形(ベクトル)データが描かれると、上記
画像データと図形データとは表示メモリ26に合成して
格納され表示部27に表示される。
That is, image data such as a map or a design drawing is transferred via the image scanner 25 to the control unit 21.
Read by the key input unit 22 or mouse 2
When the graphic (vector) data connecting the designated coordinates is drawn by the coordinate designating operation on the display unit 27 by 3, the image data and the graphic data are combined and stored in the display memory 26 and displayed on the display unit 27. To be done.

【0024】ここで、ユーザが表示部27上における所
望の表示領域を拡大すべく、キー入力部22及びマウス
23を操作して拡大指定枠Pを設定すると、制御部21
によりその指定枠Pに対応して上記表示メモリ26から
表示ドット12a,12b,…単位で整数型に変換され
て抽出転送される画像(イメージ)データAが画像抽出
メモリ28に格納される(ステップS1,S2)。
Here, when the user operates the key input unit 22 and the mouse 23 to set the enlargement designation frame P in order to enlarge a desired display area on the display unit 27, the control unit 21
Thus, the image data A, which is converted from the display memory 26 into an integer type in units of display dots 12a, 12b, ... And extracted and transferred in correspondence with the designated frame P, is stored in the image extraction memory 28 (step S1, S2).

【0025】このステップS2において、上記画像抽出
メモリ28に格納された画像データAは、ユーザ指定枠
Pに対して該枠線P1 〜P4 が存在する各表示ドットの
外周線までの誤差領域(斜線部)15を含んでいる。
In step S2, the image data A stored in the image extraction memory 28 has an error area (oblique line) up to the outer peripheral line of each display dot in which the frame lines P1 to P4 are present with respect to the user-specified frame P. Part) 15 is included.

【0026】すると、上記拡大の対象となるユーザ指定
枠Pとこの指定枠Pに対応して表示ドット単位で上記画
像抽出メモリ28に転送格納された画像データAとの領
域誤差に相当する補正値が、補正値演算部29によりベ
クトル座標値に換算して算出される(ステップS3)。
Then, a correction value corresponding to a region error between the user-specified frame P to be enlarged and the image data A transferred and stored in the image extraction memory 28 in display dot units corresponding to the specified frame P. Is calculated by being converted into a vector coordinate value by the correction value calculation unit 29 (step S3).

【0027】この場合、指定枠Pの上枠線P1 に対する
画像データAの上縁補正値はY1 、指定枠Pの下枠線P
2 に対する画像データAの下縁補正値はY2 、指定枠P
の左枠線P3 に対する画像データAの左縁補正値はX1
、指定枠Pの右枠線P4 に対する画像データAの右縁
補正値はX2 となる。
In this case, the upper edge correction value of the image data A for the upper frame line P1 of the specified frame P is Y1, the lower frame line P of the specified frame P is
Lower edge correction value of image data A for 2 is Y2, designated frame P
The left edge correction value of the image data A for the left frame line P3 is X1
The right edge correction value of the image data A for the right frame line P4 of the designated frame P is X2.

【0028】上記ステップS3において、上記誤差領域
15を含む画像データAの補正値X1 ,X2 ,Y1 ,Y
2 が求められると、画像抽出メモリ28に格納された画
像データAは、画像処理部30により、上記補正値演算
部29で算出された補正値X1 ,X2 ,Y1 ,Y2 に応
じて消去処理され、上記指定枠Pに一致するよう縮小補
正される(ステップS4)。
In step S3, the correction values X1, X2, Y1, Y of the image data A including the error area 15 are corrected.
When 2 is obtained, the image data A stored in the image extraction memory 28 is erased by the image processing unit 30 in accordance with the correction values X1, X2, Y1 and Y2 calculated by the correction value calculation unit 29. The reduction correction is performed so as to match the designated frame P (step S4).

【0029】こうして、画像抽出メモリ28に、ユーザ
指定枠Pに正確に対応する画像データBが拡大対象画像
範囲として得られると、この被拡大画像データBは、キ
ー入力部22の操作により予め指定された拡大倍率に応
じて画像処理部30により拡大処理される(ステップS
5)。
In this way, when the image data B that exactly corresponds to the user-specified frame P is obtained as the enlargement target image range in the image extraction memory 28, the enlarged image data B is designated in advance by the operation of the key input unit 22. Enlargement processing is performed by the image processing unit 30 according to the enlarged magnification (step S
5).

【0030】また、上記ユーザによる拡大指定枠Pに対
応して表示メモリ26から抽出された図形(ベクトル)
データ14(a,b及びb,c)は、キー入力部22の
操作により予め指定された上記同様の拡大倍率に応じて
図形処理部31により拡大処理される(ステップS
6)。
Further, a figure (vector) extracted from the display memory 26 in correspondence with the enlargement designation frame P by the user.
The data 14 (a, b and b, c) is enlarged by the graphic processing unit 31 in accordance with the same enlargement ratio designated in advance by operating the key input unit 22 (step S).
6).

【0031】そして、上記ステップS5及びS6におい
てそれぞれ拡大処理された画像データ及び図形データ
は、表示メモリ26に合成して格納され表示部27に表
示出力される(ステップS7)。これにより、上記拡大
処理された画像データと図形データとは、ずれずに表示
されるようになる。
Then, the image data and the graphic data that have been enlarged in steps S5 and S6 are combined and stored in the display memory 26 and displayed on the display unit 27 (step S7). As a result, the enlarged image data and the graphic data can be displayed without a shift.

【0032】したがって、上記構成の画像処理装置によ
れば、キー入力部22及びマウス23を操作して表示部
27上で枠指定された拡大対象範囲の画像データを、表
示メモリ26から表示ドット単位で抽出して画像抽出メ
モリ28に格納し、上記抽出画像データと拡大指定枠P
との座標誤差分X1 ,X2 ,Y1 ,Y2 を補正値演算部
29により算出し、この座標誤差分X1 ,X2 ,Y1 ,
Y2 に応じて上記抽出画像データを画像処理部30にて
縮小補正した後に、予め指定された拡大倍率に応じて拡
大処理し、また、上記拡大指定枠Pに対応して表示メモ
リ26から抽出された図形データは上記同様の拡大指定
倍率に応じて図形処理部31にて拡大処理し、上記拡大
後の画像データ及び図形データを表示メモリ26に合成
して格納し表示出力する構成としたので、画像(イメー
ジ)データも拡大指定枠Pに正確に対応して拡大処理さ
れるようになり、拡大された図形(ベクトル)データと
の間でずれのない合成表示が行なえるようになる。
Therefore, according to the image processing apparatus having the above-described configuration, the image data of the enlargement target range whose frame is designated on the display unit 27 by operating the key input unit 22 and the mouse 23 is displayed in dot units from the display memory 26. Stored in the image extraction memory 28, and the extracted image data and the enlargement designation frame P are extracted.
The coordinate error components X1, X2, Y1 and Y2 are calculated by the correction value calculator 29, and the coordinate error components X1, X2, Y1 and
After the image processing unit 30 reduces and corrects the extracted image data according to Y2, the image is enlarged according to a previously designated enlargement ratio, and is extracted from the display memory 26 corresponding to the enlargement designation frame P. Since the graphic data is enlarged by the graphic processing unit 31 in accordance with the same designated enlargement ratio as described above, the enlarged image data and the graphic data are combined in the display memory 26, stored, and output. Image data is also enlarged in correspondence with the enlargement designation frame P accurately, and composite display can be performed without deviation from the enlarged figure (vector) data.

【0033】なお、上記実施例の動作説明では、表示デ
ータの範囲指定による拡大処理について説明したが、縮
小処理を行なう場合でも、上記同様にして指定枠Pに対
応して抽出された画像(イメージ)データは、誤差補正
された後に縮小処理されるので、別個縮小された図形
(ベクトル)データとずれのない合成表示が行なえるよ
うになる。
In the description of the operation of the above embodiment, the enlargement processing by designating the range of the display data has been described. However, even when the reduction processing is performed, the image (image ) Since the data is subjected to error correction and then subjected to reduction processing, it is possible to perform composite display without deviation from the separately reduced graphic (vector) data.

【0034】[0034]

【発明の効果】以上のように本発明によれば、画像(イ
メージ)データと図形(ベクトル)データとを合成して
表示するもので、上記合成して表示されたデータに対し
て拡大・縮小の対象となる枠を指定する枠指定手段と、
この枠指定手段による指定枠に対応する画像データをそ
の表示ドット単位で抽出して格納する画像抽出格納手段
と、上記枠指定手段により指定された枠の範囲と上記画
像抽出格納手段により抽出格納された画像データ範囲と
の誤差を表示座標値で算出する誤差算出手段と、この誤
差算出手段により算出された誤差座標値に応じて上記画
像抽出格納手段に抽出格納された画像データ範囲を上記
枠の範囲に一致するよう補正する補正手段と、この補正
手段により範囲補正された画像データを予め指定された
倍率に応じて拡大・縮小する画像処理手段と、上記枠指
定手段による指定枠に対応する図形データを抽出し上記
予め指定された倍率に応じて拡大・縮小する図形処理手
段と、上記画像処理手段により得られた画像データと上
記図形処理手段により得られた図形データとを被表示デ
ータとして合成して格納する表示データ格納手段とを備
えて構成したので、画像データの拡大あるいは縮小基範
囲と図形データの拡大あるいは縮小基範囲との間に誤差
が存在する場合でも、拡大あるいは縮小後の画像データ
と図形データとをずれなく表示することが可能になる。
As described above, according to the present invention, image data and graphic (vector) data are combined and displayed, and enlargement / reduction of the combined and displayed data is performed. Frame specifying means for specifying the frame to be the target of,
An image extracting / storing means for extracting and storing image data corresponding to a frame designated by the frame designating means in display dot units, a range of the frame designated by the frame designating means, and an image storage section for storing the image data. Error calculation means for calculating an error from the image data range with the display coordinate value, and the image data range extracted and stored in the image extraction storage means according to the error coordinate value calculated by the error calculation means. Correcting means for correcting so as to match the range, image processing means for enlarging / reducing the range-corrected image data according to a previously designated magnification, and a figure corresponding to the frame designated by the frame designating means. The graphic processing means for extracting data and enlarging / reducing according to the previously designated magnification, the image data obtained by the image processing means and the graphic processing means. Since the display data storage means for synthesizing and storing the obtained graphic data as display target data is stored, it is possible to arrange between the expansion or reduction basic range of image data and the expansion or reduction basic range of graphic data. Even if there is an error, it is possible to display the image data after enlargement or reduction and the graphic data without a shift.

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

【図1】本発明の一実施例に係わる画像処理装置の構成
を示すブロック図。
FIG. 1 is a block diagram showing the configuration of an image processing apparatus according to an embodiment of the present invention.

【図2】上記画像処理装置による合成表示データの拡大
・縮小処理を示すフローチャート。
FIG. 2 is a flowchart showing a process of enlarging / reducing composite display data by the image processing apparatus.

【図3】上記画像処理装置の拡大・縮小処理に伴う処理
対象範囲の設定状態を示す図。
FIG. 3 is a diagram showing a setting state of a processing target range associated with enlargement / reduction processing of the image processing apparatus.

【図4】従来の画像処理装置における拡大・縮小対象範
囲の枠指定状態を示す図。
FIG. 4 is a diagram showing a frame designation state of an enlargement / reduction target range in a conventional image processing apparatus.

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

11…表示画面、12a,12b,…表示ドット、14
…図形(ベクトル)データ、15…誤差領域、21…制
御部、22…キー入力部、23…マウス、24…プログ
ラムROM、25…イメージスキャナ、26…表示メモ
リ、27…表示部、28…画像抽出メモリ、29…補正
値演算部、30…画像処理部、31…図形処理部、P…
拡大・縮小指定枠、A…指定枠Pに対応して抽出された
画像データ範囲、B…指定枠Pに一致させて補正された
画像データ範囲、X1 ,X2 ,Y1 ,Y2 …誤差補正
値、a,b,c…表示座標点。
11 ... Display screen, 12a, 12b, ... Display dots, 14
... graphic (vector) data, 15 ... error area, 21 ... control section, 22 ... key input section, 23 ... mouse, 24 ... program ROM, 25 ... image scanner, 26 ... display memory, 27 ... display section, 28 ... image Extraction memory, 29 ... Correction value calculation unit, 30 ... Image processing unit, 31 ... Graphic processing unit, P ...
Enlargement / reduction designated frame, A ... Image data range extracted corresponding to designated frame P, B ... Image data range corrected to match designated frame P, X1, X2, Y1, Y2 ... Error correction value, a, b, c ... Display coordinate points.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 画像(イメージ)データと図形(ベクト
ル)データとを合成して表示する画像処理装置におい
て、 上記合成して表示されたデータに対して拡大・縮小の対
象となる枠を指定する枠指定手段と、 この枠指定手段による指定枠に対応する画像データをそ
の表示ドット単位で抽出して格納する画像抽出格納手段
と、 上記枠指定手段により指定された枠の範囲と上記画像抽
出格納手段により抽出格納された画像データ範囲との誤
差を表示座標値で算出する誤差算出手段と、 この誤差算出手段により算出された誤差座標値に応じて
上記画像抽出格納手段に抽出格納された画像データ範囲
を上記枠の範囲に一致するよう補正する補正手段と、 この補正手段により範囲補正された画像データを予め指
定された倍率に応じて拡大・縮小する画像処理手段と、 上記枠指定手段による指定枠に対応する図形データを抽
出し上記予め指定された倍率に応じて拡大・縮小する図
形処理手段と、 上記画像処理手段により得られた画像データと上記図形
処理手段により得られた図形データとを被表示データと
して合成して格納する表示データ格納手段と、を具備し
たことを特徴とする画像処理装置。
1. An image processing apparatus for synthesizing and displaying image (image) data and graphic (vector) data, wherein a frame to be enlarged / reduced is designated for the synthesized and displayed data. Frame specifying means, image extracting and storing means for extracting and storing image data corresponding to the frame specified by the frame specifying means in display dot units, range of the frame specified by the frame specifying means, and the image extracting and storing Error calculation means for calculating an error from the range of image data extracted and stored by the means using display coordinate values, and image data extracted and stored in the image extraction storage means according to the error coordinate values calculated by the error calculation means A correction unit that corrects the range so as to match the range of the frame, and an image that enlarges or reduces the image data that has been range-corrected by the correction unit according to a pre-specified magnification. Processing means, graphic processing means for extracting graphic data corresponding to the designated frame by the frame designating means, and enlarging / reducing in accordance with the previously designated magnification, image data obtained by the image processing means, and the graphic An image processing apparatus comprising: a display data storage unit configured to combine the graphic data obtained by the processing unit as display target data and to store the display target data.
JP4295808A 1992-11-05 1992-11-05 Image processor Pending JPH06149964A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4295808A JPH06149964A (en) 1992-11-05 1992-11-05 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4295808A JPH06149964A (en) 1992-11-05 1992-11-05 Image processor

Publications (1)

Publication Number Publication Date
JPH06149964A true JPH06149964A (en) 1994-05-31

Family

ID=17825438

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4295808A Pending JPH06149964A (en) 1992-11-05 1992-11-05 Image processor

Country Status (1)

Country Link
JP (1) JPH06149964A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8634659B2 (en) 2011-03-23 2014-01-21 Fuji Xerox Co., Ltd. Image processing apparatus, computer readable medium storing program, and image processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8634659B2 (en) 2011-03-23 2014-01-21 Fuji Xerox Co., Ltd. Image processing apparatus, computer readable medium storing program, and image processing method

Similar Documents

Publication Publication Date Title
JP3164617B2 (en) Apparatus and method for deforming character / graphics
JPH06149964A (en) Image processor
JP2712789B2 (en) Image display device
JP2007323583A (en) Image converter and image conversion program
JP3479282B2 (en) Character and graphic transformation processor
JPH0652300A (en) Picture processor
JP3170249B2 (en) Apparatus and method for deforming character / graphics
JPH025095A (en) Character output system
JP5256628B2 (en) Image display device, image enlargement / reduction method and image enlargement / reduction control program used in the image display device
JP2721348B2 (en) Image processing device
JPS63217394A (en) Character contour line generation system
JP3164795B2 (en) Apparatus and method for deforming character / graphics
JPH05188909A (en) Device and method for font generation
JP2642374B2 (en) Figure clipping method
JP2669366B2 (en) Line-symmetric figure input device
JPH09179542A (en) Output method and device for character image data
JPH07234868A (en) Document preparing device
JPH0210474A (en) Image processor
JP3443840B2 (en) Ruled line output method and ruled line output device
JPS60262694A (en) Graph forming machine having scale-up function
JP2001242849A (en) Character and pattern transforming processor
JP2000235651A (en) Compiling method/device for raster data
JPH0239362A (en) Document processor
JPH0221369A (en) Block copy design device
JPH07334538A (en) Graphic processor