JPH03216773A - Picture rotation processing method for display device - Google Patents

Picture rotation processing method for display device

Info

Publication number
JPH03216773A
JPH03216773A JP2013166A JP1316690A JPH03216773A JP H03216773 A JPH03216773 A JP H03216773A JP 2013166 A JP2013166 A JP 2013166A JP 1316690 A JP1316690 A JP 1316690A JP H03216773 A JPH03216773 A JP H03216773A
Authority
JP
Japan
Prior art keywords
image
straight line
picture
screen
display device
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
JP2013166A
Other languages
Japanese (ja)
Inventor
Kenji Nakamura
憲治 中村
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.)
Panasonic System Solutions Japan Co Ltd
Original Assignee
Matsushita Graphic Communication Systems 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 Matsushita Graphic Communication Systems Inc filed Critical Matsushita Graphic Communication Systems Inc
Priority to JP2013166A priority Critical patent/JPH03216773A/en
Publication of JPH03216773A publication Critical patent/JPH03216773A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To easily and accurately correct the direction of a displayed picture as desired by making the degree of rotation of the picture overlap this picture to optionally set a straight line and instructing a degree of rotation to set the straight line in the prescribed direction on a screen. CONSTITUTION:A picture processing system consists of a CPU 1, a main storage 2, a graphic display device 3, a display memory 4, an input device 5, a graphic printer 6, a graphic input device 7, and a picture processing circuit 9. A straight line is set on a displayed picture to point a specific straight line part to be set horizontal, for example, for the picture. At the same time, an instruction is produced in order to set the straight line on a screen. Thus the picture is rotated at an angle so that the straight line is set horizontal on the screen. In such a constitution, the direction of the displayed picture can be easily and accurately corrected as desired.

Description

【発明の詳細な説明】 産業上の利用分野 この発明は、コンピュータによシ処理した画像データを
CRT等に表示するディスプレイ装置に関し、特に、表
示されている画像を画面上で回転させる際のマン譬マン
ン●インタフェースに主眼をおいた画像回転処理方法に
関する。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application This invention relates to a display device that displays image data processed by a computer on a CRT or the like, and in particular, to a display device that displays image data processed by a computer on a CRT or the like. Concerning an image rotation processing method that focuses on the interface.

従来の技術 ディスプレイ装置に表示されている画像を適宜に回転さ
せる場合、オペレータはキーボードやマウス(ボインテ
ィングデバイス)などの入力装置を所定の手順で操作し
、画像回転の指示入力を与える。具体的には、回転角度
を数値で入力する方法と、回転角度の最小単位づつステ
ップ的に回転させる方法とが代表的である。
BACKGROUND ART To appropriately rotate an image displayed on a display device, an operator operates an input device such as a keyboard or a mouse (pointing device) in a predetermined procedure to input an instruction to rotate the image. Specifically, typical methods include inputting a rotation angle numerically and a method of rotating stepwise by the minimum unit of rotation angle.

発明が解決しようとする課題 例えば図面などの書類をイメージリーダで読み取り、そ
の画像データをディスプレイ装置に表示し、その画像を
見て確認するとともに各種の付帯入力を加えて電子ファ
イル装置に画像データを登録するといった状況を想定す
る。ディスプレイ装置に画像を表示した段階で、その画
像の向きが正しくない(傾いている)場合がある。その
原因には、原稿の画像自体が用紙の辺に対して傾いてい
たシ、イメージリーグに原稿をセットする際に傾きが生
じている場合がある。
Problem to be Solved by the Invention For example, a document such as a drawing is read by an image reader, the image data is displayed on a display device, the image is viewed and confirmed, and various incidental inputs are added, and the image data is transferred to an electronic file device. Assume a situation where you are registering. When an image is displayed on a display device, the orientation of the image may be incorrect (tilted). This may be due to the fact that the original image itself is tilted with respect to the sides of the paper, or the original is tilted when it is set in the image league.

そこで電子ファイル装置に登録する前に画像の傾きを修
正するとする。これは表示された画像を見ながら適宜に
回転させ、表示上の画像の向きを直せば良い。この場合
、回転角度を数値で入力する従来方法は不適当で、もう
ひとつの従来方法(画面を見ながら少しずつ画像を回転
させる)で回転指示を与えることになる。この方法の場
合、画像中に長くて明瞭な水平線があり、その線を表示
器の画面の水平な縁と平行にするのであれば、画面の見
ながらの回転指示はそれほど困難とは言えないが、一般
的には画面を見ながら画像を回転させて所望の向きに合
わせる調整作業は面倒であり、また正確性もない。特に
、複数の図面中のある部品のある部分の線の向きを合わ
せるような場合を考えると、従来方法ではうまく対応す
ることができない。
Therefore, it is assumed that the tilt of the image is corrected before registering it in the electronic file device. This can be done by rotating the displayed image as appropriate and correcting the orientation of the image on the display. In this case, the conventional method of inputting the rotation angle numerically is inappropriate, and the rotation instruction must be given using another conventional method (rotating the image little by little while looking at the screen). In the case of this method, if there is a long, clear horizontal line in the image and the line is parallel to the horizontal edge of the display screen, it is not difficult to instruct the rotation while viewing the screen. Generally, adjusting the image by rotating the image while looking at the screen to adjust it to the desired orientation is troublesome and not accurate. In particular, when considering the case where the lines of a certain part of a certain part in a plurality of drawings need to be aligned, conventional methods cannot effectively handle the situation.

この発明は前述した従来の問題点に鑑みなされたもので
、その目的は、表示されている画像の向きを希望に沿っ
て修正する作業が簡単かつ正確に行えるようにした画像
回転処理方法を提供することにある。
This invention was made in view of the above-mentioned conventional problems, and its purpose is to provide an image rotation processing method that allows the user to easily and accurately correct the orientation of a displayed image as desired. It's about doing.

課題を解決するだめの手段 そこでこの発明では、画面上の任意のポイントを指示す
ることができる入力手段を用い、表示されている画像上
の任意の位置に任意の向きの直線をオペレータが設定し
、前記直線が画面上で所定の向きになるようにデータ処
理手段によって前記画像を回転させるようにした。
Means for Solving the Problem Therefore, in the present invention, an input means that can indicate an arbitrary point on the screen is used, and an operator can set a straight line in an arbitrary direction at an arbitrary position on the displayed image. , the image is rotated by the data processing means so that the straight line is oriented in a predetermined direction on the screen.

作用 表示されている画像について、どの直線部分を例えば水
平にしたいのかを、前記入力手段により画像上に前記直
線を設定することで指示し、同時にその直線を画面上で
水平にする旨を指示する。
Indicate which straight line part of the displayed image is to be made horizontal, for example, by setting the straight line on the image using the input means, and at the same time instructing that the straight line be made horizontal on the screen. .

すると前記データ処理手段が動作して前記直線を画面上
で水平にする角度だけ前記画像を回転させる。
Then, the data processing means operates to rotate the image by an angle that makes the straight line horizontal on the screen.

実施例 第3図は本発明による画像回転処理方法を適用した画像
処理システムの概略構成を示している。
Embodiment FIG. 3 shows a schematic configuration of an image processing system to which the image rotation processing method according to the present invention is applied.

1は全体的な制御を司る中央処理装置、2はプログラム
やデータを格納するだめの主記憶装置、3はCRT等を
用いたグラフィックディスプレイ装置、4はディスプレ
イ装置3にて表示しようとする画像データを格納するだ
めの表示用メモリ、5はキーボードやマウスを含んだ入
力装置、6はレーザビームプリンタ等のグラフィック印
刷装置17はイメージリーダ等のグラフィック入力装置
、9は画像データの回転処理などを高速で実行する画像
処理回路である。
1 is a central processing unit in charge of overall control, 2 is a main memory for storing programs and data, 3 is a graphic display device using a CRT, etc., and 4 is image data to be displayed on the display device 3. 5 is an input device including a keyboard and mouse; 6 is a graphic printing device such as a laser beam printer; 17 is a graphic input device such as an image reader; 9 is a high-speed image data rotation processing device, etc. This is an image processing circuit executed by

主記憶装置2には画像回転プログラムlOが格納されて
おり、このプログラムIOの中には以下に詳述するよう
に機能する回転角演算部11、基準線描画部12、カー
ソル描画部13などが含まれ、中央処理装置1によって
以下のように実行される。
The main storage device 2 stores an image rotation program IO, and this program IO includes a rotation angle calculation section 11, a reference line drawing section 12, a cursor drawing section 13, etc., which function as detailed below. and is executed by the central processing unit 1 as follows.

第1図は本発明の一実施例による画像回転処理方法を含
んだ一連の処理の流れを示し、第2図はその動作過程で
の表示画像の一例を示している。
FIG. 1 shows the flow of a series of processes including an image rotation processing method according to an embodiment of the present invention, and FIG. 2 shows an example of a display image during the operation process.

まずステノプ101、102ではグラフィック入力装置
7により読み込んだ画像データが表示用メモリ4に格納
され、ディスプレイ装置3に表示される。このときの表
示画像例が第2図の■であり、図のように原稿の画像加
が画面加に対して右上りに傾いている。この傾きを修正
する場合を例として説明する。
First, in the stenops 101 and 102, image data read by the graphic input device 7 is stored in the display memory 4 and displayed on the display device 3. An example of the displayed image at this time is ``■'' in FIG. 2, and as shown in the figure, the image addition of the original is tilted upward to the right with respect to the screen addition. A case of correcting this inclination will be explained as an example.

オペレータは■の表示を見て入力装置5を操作し、次の
■に示すように、表示画像田上の適当な点4lをカーソ
ル40で指示し、次に■に示すように点42をカーソル
40で指示し、41と42を始終点とする直線を画面I
に描画する。ここで、この直線41、42が画像加の水
平基準線となるようにカーソル40による指示点41、
42を決める。以上が第1図のステップ103、104
である。
The operator operates the input device 5 while looking at the display of ■, points an appropriate point 4l on the display image with the cursor 40 as shown in the next ■, and then moves the point 42 with the cursor 40 as shown in ■. , and draw a straight line starting and ending at 41 and 42 on screen I.
to draw. Here, the points 41 and 42 indicated by the cursor 40 are set so that the straight lines 41 and 42 become horizontal reference lines for image addition.
Decide on 42. The above is steps 103 and 104 in Figure 1.
It is.

前記のように画像加の水平基準線が設定されたら、中央
処理装置1はステップ105として回転角演算部l1の
プログラムを実行し、画像加の水平基準線41、42を
画面Iの水平線と平行にするのに必要な回転角θを求め
る。そして次のステップ106では、画像処理回路9を
使って表示されている画像データをθだけ回転させる処
理を行う。例えば画面Iの左上端を原点(0.0)とし
、座標(xotyo)  を回転の中心点とした場合、
画面内のある一点(x.y)を回転させた後の座標( 
XI l y+ )は次式によυ表わされる。
Once the horizontal reference line for image addition is set as described above, the central processing unit 1 executes the program of the rotation angle calculation unit l1 in step 105, and sets the horizontal reference lines 41 and 42 for image addition parallel to the horizontal line of screen I. Find the rotation angle θ required to achieve this. In the next step 106, the image processing circuit 9 is used to rotate the displayed image data by θ. For example, if the upper left corner of screen I is the origin (0.0) and the coordinate (xotyo) is the center of rotation,
Coordinates after rotating a certain point (x.y) on the screen (
XI ly+ ) is expressed by the following equation.

以上のような演算によって画像データを回転させたら、
ステップ107で回転処理後の画像データをディスプレ
イ装置3で表示する。これで第2図■のように画面加に
対する画像加の傾きが修正されている。このように傾き
を修正した画像データを印刷装置6で印刷したシ、電子
ファイル装置(図示していない)に転送して登録するこ
とができる。
After rotating the image data using the above calculation,
In step 107, the image data after the rotation process is displayed on the display device 3. The slope of the image addition relative to the screen addition has now been corrected as shown in Figure 2 (2). Image data whose tilt has been corrected in this manner can be printed by the printing device 6 and transferred to an electronic file device (not shown) for registration.

以上の実施例では、カーソルで設定した直線を画面の水
平に合わせているが、本発明はこれに限定されるもので
はなく、前記直線を画面上で何度の直線にするのかは自
由に選定することができる。
In the above embodiment, the straight line set with the cursor is aligned horizontally on the screen, but the present invention is not limited to this, and the number of straight lines on the screen can be freely selected. can do.

発明の効果 以上詳細に説明したように、この発明によれば、表示さ
れた画像をどの程度回転させるのかを、その画像にオー
バラノプさせて任意に直線を設定し、その直線が画面上
で所定の向きになるようにという形で回転量を指示する
ので、表示されている画像の向きを希望に沿って修正す
るなどの作業が従来より簡単で、しかも正確に行えるよ
うになる。
Effects of the Invention As explained in detail above, according to the present invention, the extent to which the displayed image is rotated is determined by overlapping the image and setting a straight line arbitrarily, and the straight line is set at a predetermined position on the screen. Since the amount of rotation is instructed in the form of a desired orientation, tasks such as correcting the orientation of the displayed image according to the desired orientation become easier and more accurate than before.

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

第1図は本発明の一実施例による画像回転処理方法のフ
ローチャート、第2図は同上方法の実施による表止画面
の変化の一例を示す図、第3図は本発明を適用した画像
処理システムのブロック図である。 加・・・画像、I・・・画面、40・・・カーソル、4
1. 42・・・直線(水平基準線)。
FIG. 1 is a flowchart of an image rotation processing method according to an embodiment of the present invention, FIG. 2 is a diagram showing an example of a change in a stopped screen by implementing the same method, and FIG. 3 is an image processing system to which the present invention is applied. FIG. Add...Image, I...Screen, 40...Cursor, 4
1. 42... Straight line (horizontal reference line).

Claims (1)

【特許請求の範囲】[Claims]  表示用メモリに書き込まれた画像データをディスプレ
イ装置の画面に表示し、前記画面上の任意のポイントを
指示することができる入力手段を用い、表示されている
画像上の任意の位置に任意の向きの直線をオペレータが
設定し、前記直線が画面上で所定の向きになるようにデ
ータ処理手段によって前記画像を回転させるようにした
ディスプレイ装置における画像回転処理方法。
Display the image data written in the display memory on the screen of the display device, and use an input means that can specify any point on the screen to move the image data to any position on the displayed image in any direction. An image rotation processing method for a display device, wherein an operator sets a straight line, and data processing means rotates the image so that the straight line is oriented in a predetermined direction on the screen.
JP2013166A 1990-01-22 1990-01-22 Picture rotation processing method for display device Pending JPH03216773A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013166A JPH03216773A (en) 1990-01-22 1990-01-22 Picture rotation processing method for display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013166A JPH03216773A (en) 1990-01-22 1990-01-22 Picture rotation processing method for display device

Publications (1)

Publication Number Publication Date
JPH03216773A true JPH03216773A (en) 1991-09-24

Family

ID=11825592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013166A Pending JPH03216773A (en) 1990-01-22 1990-01-22 Picture rotation processing method for display device

Country Status (1)

Country Link
JP (1) JPH03216773A (en)

Similar Documents

Publication Publication Date Title
US5732230A (en) Computer user interface for manipulating image fragments using drag, drop and merge operations
JPH02130595A (en) Image processor
US10901579B2 (en) Display method and display apparatus
JP3015264B2 (en) Information processing apparatus and method
JPH03216773A (en) Picture rotation processing method for display device
JP3582866B2 (en) Image display device
US5519819A (en) Graphic moving/transforming method and apparatus
JP2005333655A (en) Image layout device, image layout method, and storage medium
JP2001046768A (en) Embroidery data preparation device
JPH07129149A (en) Character plotting device
JP2822484B2 (en) Image layout method and apparatus
JP3952513B2 (en) Data display device
JPH04261259A (en) Correction device for image data
JP2000285248A (en) Layout device for graphic object
JP2022027106A (en) Image display method, image display device, and display control program
JPH0822553A (en) Method and system for setting entry condition
JP2605690B2 (en) Image creation device
JP5602681B2 (en) Map information processing system and map information processing method
JP2803492B2 (en) Character and image processing device
JPH04349580A (en) Method and device for designating image
JPH0391873A (en) Picture processing device
JP2019036341A (en) Display device and display method
JPS6345623A (en) Input/output device
JPH07160760A (en) Layout design device
JPH0436858A (en) Ruled line holding/producing method for editing device