JPS6042988B2 - Input figure rotational distortion correction processing method - Google Patents

Input figure rotational distortion correction processing method

Info

Publication number
JPS6042988B2
JPS6042988B2 JP54097613A JP9761379A JPS6042988B2 JP S6042988 B2 JPS6042988 B2 JP S6042988B2 JP 54097613 A JP54097613 A JP 54097613A JP 9761379 A JP9761379 A JP 9761379A JP S6042988 B2 JPS6042988 B2 JP S6042988B2
Authority
JP
Japan
Prior art keywords
input
rotational distortion
point
image memory
coordinate position
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
Application number
JP54097613A
Other languages
Japanese (ja)
Other versions
JPS5622162A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP54097613A priority Critical patent/JPS6042988B2/en
Publication of JPS5622162A publication Critical patent/JPS5622162A/en
Publication of JPS6042988B2 publication Critical patent/JPS6042988B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Digital Computer Display Output (AREA)

Description

【発明の詳細な説明】 本発明は、入力図形の回転歪補正処理方式、特に例え
ばファクシミリなどの入力手段を用いて画像メモリ上に
格納した入力図形を処理する画像処理装置において、上
述画像メモリに格納された図形が回転歪を受けているこ
とを考慮して当該回転歪を比較的簡単な処理によつて補
正するようにした入力図形の回転歪補正処理方式に関す
るもので−ある。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a method for correcting rotational distortion of an input figure, particularly in an image processing apparatus that processes an input figure stored in an image memory using an input means such as a facsimile. This invention relates to a processing method for correcting rotational distortion of input figures, which takes into account that stored figures are subject to rotational distortion and corrects the rotational distortion through relatively simple processing.

必らずしもファクシミリ入力手段に限られるも ので
はないが、与えられた入力図形を走査して画像メモリ上
に格納する場合、一般に画像メモリ上の図形は回転歪を
受けていることをまぬがれることができない。
Although this is not necessarily limited to facsimile input means, when a given input figure is scanned and stored in an image memory, the figure in the image memory is generally free from rotational distortion. I can't.

このような回転歪を補正するに当つては、第1図、第2
図を参照して後述する如く、元の入力図形と回転歪を受
けている図形との間で一定の関係が存在することから、
図形上の各メッシュ毎に補正を行なつてゆけばよい。し
カルこのような補正を各メッシュ毎に行なうとその処”
理がきわめて大となり、また、一般にsinθやcos
θの値を用意する必要があり、角度θを正しく測定して
おくことが必要となる。 本発明は上記の点を解決する
ことを目的としており、本発明の入力図形の回転歪補正
処理方式は入力図形を画像メモリ上に格納すると共に該
格納された画像メモリを読出して処理する画像処理装置
において、上記入力図形上の、予め定めた少なくとも3
つの点について、該3つの点に対応する上記画像メモリ
に格納されている回転歪を受けた図形上の点を第1の座
標位置情報として抽出し、かつ上記入力図形上を格子に
区分した各格子の少なくとも1点に対応する上記回転歪
を受けた図形上の上記各格子の少なくとも1点の座標位
置情報を上記第1の座標位置情報にもとづいて第2の座
標位置情報として決定するよう構成されてなり、上記入
力図形上の1つの格子に属するmxnメッシュの図形情
報を、上記第2の座標位置情報を基準とした回転をもた
ないMxnメッシュの図形情報として抽出するようにし
たことを特徴としている。
To correct such rotational distortion, please refer to Figures 1 and 2.
As will be described later with reference to the figure, since there is a certain relationship between the original input figure and the figure undergoing rotational distortion,
It is sufficient to perform the correction for each mesh on the figure. If you perform this kind of correction for each mesh, the result will be "
In general, sin θ and cos
It is necessary to prepare the value of θ, and it is necessary to measure the angle θ correctly. The present invention aims to solve the above-mentioned problems, and the input figure rotational distortion correction processing method of the present invention is an image processing method that stores an input figure on an image memory and reads and processes the stored image memory. In the apparatus, a predetermined number of at least three
For each of the three points, the points on the rotationally distorted figure stored in the image memory corresponding to the three points are extracted as first coordinate position information, and each point on the input figure is divided into grids. The coordinate position information of at least one point of each of the lattices on the figure subjected to the rotational distortion corresponding to at least one point of the lattice is determined as second coordinate position information based on the first coordinate position information. The figure information of the mxn mesh belonging to one lattice on the input figure is extracted as the figure information of the Mxn mesh that does not have rotation based on the second coordinate position information. It is a feature.

以下図面を参照して説明する。第1図A,Bは図形の回
転を考慮した本発明による回転歪補正を説明する説明図
、第2図A,Bは本発明に用いる計算処理を説明する説
明図、第3図は本発明の一実施例構成を示す。
This will be explained below with reference to the drawings. Figures 1A and B are explanatory diagrams for explaining rotational distortion correction according to the present invention that takes into account the rotation of figures, Figures 2A and B are explanatory diagrams for explaining calculation processing used in the present invention, and Figure 3 is an explanatory diagram for explaining the calculation process used in the present invention The configuration of one embodiment is shown.

第1図A図示の如く、図形1をもつ入力図形2を画像メ
モリ上に格納する場合、一般に必らず、第1図B図示の
如き回転歪を受けた状態で格納される。
When an input figure 2 having a figure 1 is stored in an image memory as shown in FIG. 1A, it is generally stored in a rotationally distorted state as shown in FIG. 1B.

即ち回転歪を受けた図形3として格納される。今、両者
図形2と3とが、図示原点(0,0)において一致して
いるとすると、入力図形2上の点(X,y)を回転歪を
受けた図形3上の点(x″,y″)と対比すすると、な
る関係がある。
That is, it is stored as a figure 3 that has undergone rotational distortion. Now, assuming that both figures 2 and 3 coincide at the illustration origin (0,0), the point (X, y) on the input figure 2 is converted to the point (x'' , y''), there is the following relationship.

したがつて、入力図形2上の点(X,y)が画像メモリ
上において点(x″,y″)に位置するものとして補正
を行なえば足りる。しかし、上記補正を図形上の各メッ
シュについて行なうことはきわめて処理量が大となる。
このために本発明の場合、次のような補正にとどめて許
容範囲を満たす補正を行なうようにする。即ち、入力図
形2上をMxnメッシュよりなる格子4によつて区分し
、各格子の例えば左上隅の点(XO,yO)について画
像メモリ上でどの座標位置に存在するかを決定する。即
ち、図示(XO,yO)と(XO″,YO″)との対応
を第(1)式にもとづいて決定する。そして、当該Mx
nメッシュの格子5があたかも第1図B図示点線で示す
Mxnメッシュの格子52であるものとみてゆくように
する。換言すると、画像メモリ上での図形3について、
入力図形2の格子5の左上隅点(XO,yO)が座標(
XO″,YO″)であることが見出された場、合、、入
力図形2の格子5内の各メッシュを読取るものとして処
理するに当つて、図形3上の座標点(XO″,YO″)
から水平方向にmメッシュ分と垂直方向にnメッシュ分
とを抽出したMxnメッシュの格子5″を読取つて処理
するようにする。このように各格子に区分する方式を採
用することによつて、補正処理量は1/m−nとなるこ
とが容易に理解されよう。ただし、このような簡略方式
を採用することによつて、格子5″内の各メッシュにど
の程度の誤差が含まれるかを評価しておく必要がある。
格子5゛の大きさを10×10メッシュに選んだとき、
入力図形2上の真のメッシュ点に対して最大2メッシュ
分の誤差を許容するとすると、計算上回転角θが約11
0以下であればよい。また最大1メッシュ分の誤差を許
容するものとすると、回転角が5ュ以下であればよい。
逆に言えば、実際に200程度の回転が生じている場合
には、最大2メッシュ分の、誤差が許容されるものとす
れば、格子5″の大きさを5×5メッシュに選べばよい
ことを意味する。上記第1図A,Bを参照して説明した
簡略方式による誤差補正を行な゛うに当つても、上記回
転角0を測定することが煩雑であり、測定誤差が導入さ
れ易い。
Therefore, it is sufficient to perform the correction assuming that the point (X, y) on the input figure 2 is located at the point (x'', y'') on the image memory. However, performing the above correction for each mesh on the figure requires an extremely large amount of processing.
For this reason, in the case of the present invention, the following correction is limited to the correction that satisfies the allowable range. That is, the input figure 2 is divided into grids 4 made up of Mxn meshes, and the coordinate position on the image memory of the point (XO, yO) at the upper left corner of each grid, for example, is determined. That is, the correspondence between the illustrated (XO, yO) and (XO'', YO'') is determined based on equation (1). And the Mx
It is assumed that the n-mesh lattice 5 is an Mxn mesh lattice 52 shown by dotted lines in FIG. 1B. In other words, regarding figure 3 on the image memory,
The upper left corner point (XO, yO) of the lattice 5 of the input figure 2 has the coordinates (
If it is found that the coordinate point (XO'', YO'') on the figure 3 is ″)
The M x n mesh grid 5'', which is obtained by extracting m meshes in the horizontal direction and n meshes in the vertical direction, is read and processed. By adopting this method of dividing into each grid, It is easy to understand that the amount of correction processing is 1/m-n.However, by adopting such a simplified method, how much error is included in each mesh within the grid 5''? need to be evaluated.
When the size of the grid 5゛ is chosen as 10 x 10 mesh,
Assuming that an error of up to 2 meshes is allowed for the true mesh point on input figure 2, the calculated rotation angle θ is approximately 11
It is sufficient if it is 0 or less. Further, assuming that an error of one mesh at most is allowed, it is sufficient that the rotation angle is 5 degrees or less.
Conversely, if about 200 rotations actually occur, and if an error of up to 2 meshes is allowed, then the size of the grid 5'' should be selected to be 5 x 5 meshes. Even when performing error correction using the simplified method described with reference to FIGS. 1A and B above, it is complicated to measure the rotation angle 0, and measurement errors are introduced. easy.

このために次のような処理がとられる。第2図Aおよび
Bは入力図形の例えば4つの基準点(090))(XW
9O)、(09YW))(XW9Y7)が与えられてい
るとし、任意の点(X,Y)が回転歪を受けた図形3上
で点(X″,Y″)となることを示している。
For this purpose, the following process is taken. Figure 2 A and B show, for example, four reference points (090)) (XW
9O), (09YW)) (XW9Y7) are given, and this shows that any point (X, Y) becomes a point (X'', Y'') on figure 3 that has undergone rotational distortion. .

そして、上記第(1)式からの関係にある。The relationship is expressed by the above equation (1).

ここで図示の如く、Xw,Y,v,Xし,YL,ΔX,
ΔY,X″,Y″″を考慮すると、で表わされる。ここ
で、入力図形2上の上記基準点(0,0))(XW9O
)〜(0?YW))(XW9Yw)が判つている。
Here, as shown, Xw, Y, v, X, YL, ΔX,
Considering ΔY,
)~(0?YW))(XW9Yw) is known.

そして、図形3を例えばディスプレイ上に表示した上で
、上記基準点に対応する点の座標をライトペンなどで入
力して(0,0)、(Xa,Ya)、(Xb,Yb)、
(Xc,Yc)として抽出すれば、として既知の値とし
て与えられる。
Then, display the figure 3 on a display, for example, and input the coordinates of the point corresponding to the reference point using a light pen or the like to obtain (0, 0), (Xa, Ya), (Xb, Yb),
If extracted as (Xc, Yc), it is given as a known value.

第3図は本発明の一実施例構成を示す。FIG. 3 shows the configuration of an embodiment of the present invention.

図中の符号6は画像入力装置、7は画像メモリ、8は画
像メモリ・アドレス制御部、9はディスプレイ、10は
ライトペン、11は基準点テーブル・メモリ、12はア
ドレス補正回路、13はアドレス・テーブル・メモリ、
14は制御部を表わす。第1図A図示の入力図形2は画
像入力装置6によつて読取られ、アドレス制御部8によ
つて生成されたアドレス情報にもとづいて画像メモリ7
に格納される。このとき、第1図B図示の図形3の如く
回転歪を生じている。該歪をもつている図形3は、上記
格納アドレスと同じアドレス情報で画像メモリ7の内容
を読出してディスプレイ9上に表示すると、第1図B図
示の図形3が表示される。このとき、ディスプレイ9上
の表示図形を用いて、ライトペン10によつて、第1図
B図示の点(0,0)、(Xa,Ya)、(Xb,Yb
)、(Xc,Yc)を.入力することによつて、該各点
の座標がテーブル・メモl川1上に格納される。
In the figure, 6 is an image input device, 7 is an image memory, 8 is an image memory address control unit, 9 is a display, 10 is a light pen, 11 is a reference point table memory, 12 is an address correction circuit, and 13 is an address・Table memory,
14 represents a control section. The input figure 2 shown in FIG.
is stored in At this time, rotational distortion occurs as shown in figure 3 shown in FIG. 1B. When the graphic 3 having the distortion is read out from the image memory 7 using the same address information as the storage address and displayed on the display 9, the graphic 3 shown in FIG. 1B is displayed. At this time, using the displayed figure on the display 9, the points (0,0), (Xa, Ya), (Xb, Yb) shown in FIG.
), (Xc, Yc). By inputting, the coordinates of each point are stored on table memory 1.

そして、第1図A図示の如くMxnメッシュの格子4が
指定されているとすると、各格子5″の左上隅の座標値
(x″,y″)が夫々第(4)式にもとづいて演算され
、アドレス●テーブル●メモリ13上に格納される。次
いで補正された図形(補正ビデオ)を得るに当つては、
次のようにされる。
Assuming that Mxn mesh grid 4 is specified as shown in FIG. and stored in the address table memory 13.Next, in obtaining the corrected figure (corrected video),
It is done as follows.

即ち、アドレス・テーブル●メモリ13上の1つの、座
標値(x″,1y″)がアドレス制御部8に供給され、
アドレス制御部8は画像メモリ7上の上記座標値(x″
,y″)に対応するアドレス位置からX軸方向にm個、
Y軸方向にn個のメッシュ情報を読出すよう制御する。
そして該読出されたMxnメッシュの情報を第1図図示
入力図形2における座標値(X,y)をもつ格子の情報
とみて処理するようにする。該1つの格子分の読出しが
終ると、アドレス制御部8はアドレス・テーブル・メモ
リ13から次の1つの座標値を受取つて、上記と同様な
読出しを行なう。そして、これらの制御は制御部14に
よつて行なわれる。以上説明した如く、本発明によれば
、回転歪補正のための処理が大幅に簡略化されかつ回転
角θを直接測定する必要がなく、オペレータの操作が簡
単化される。
That is, one coordinate value (x'', 1y'') on the address table memory 13 is supplied to the address control unit 8,
The address control unit 8 controls the coordinate value (x″) on the image memory 7.
m pieces in the X-axis direction from the address position corresponding to
Control is performed to read n pieces of mesh information in the Y-axis direction.
Then, the information of the read Mxn mesh is treated as information of a grid having coordinate values (X, y) in the input figure 2 shown in FIG. 1 and processed. When the reading for one grid is completed, the address control unit 8 receives the next coordinate value from the address table memory 13 and performs the same reading as described above. These controls are performed by the control section 14. As described above, according to the present invention, the process for correcting rotational distortion is greatly simplified, and there is no need to directly measure the rotation angle θ, thereby simplifying the operator's operations.

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

第1図A,Bは図形の回転を考慮した本発明による回転
歪補正を説明する説説明図、第2図A,Bは本発明に用
いる計算処理を説明する説明図、第3図は本発明の一実
施例構成を示す。 図中2は入力図形、3は回転歪を受けた図形、4,5は
格子、5″は擬似的に考えた格子、6は画像入力装置、
7は画像メモリ、8はアドレス制御部、9はディスプレ
イ、10はライトペン、11は基準点テーブル、12は
アドレス補正回路、13はアドレス・テーブルを表わす
Figures 1A and B are explanatory diagrams for explaining rotational distortion correction according to the present invention that takes into account the rotation of figures, Figures 2A and B are explanatory diagrams for explaining the calculation process used in the present invention, and Figure 3 is an explanatory diagram for explaining the rotational distortion correction according to the present invention that takes into account the rotation of figures. 1 shows the configuration of an embodiment of the invention. In the figure, 2 is an input figure, 3 is a figure subjected to rotational distortion, 4 and 5 are lattices, 5'' is a pseudo lattice, 6 is an image input device,
7 is an image memory, 8 is an address control unit, 9 is a display, 10 is a light pen, 11 is a reference point table, 12 is an address correction circuit, and 13 is an address table.

Claims (1)

【特許請求の範囲】[Claims] 1 入力図形を画像メモリに格納すると共に該格納され
た画像メモリを読出して処理する画像処理装置において
、上記入力図形上の予め定めた少なくとも3つの点につ
いて、該3つの点対応する上記画像メモリに格納されて
いる回転歪を受けた図形上の点を第1の座標位置情報と
して抽出し、かつ上記入力図形上を格子に区分した各格
子の少なくとも1点に対応する上記回転歪を受けた図形
上の上記各格子の少なくとも1点の座標位置情報を上記
第1の座標位置情報にもとづいて第2の座標位置情報と
して決定するよう構成されてなり、上記入力図形上の1
つの格子に属するm×nメッシュの図形情報を、上記第
2の座標位置情報を基準とした回転をもたないm×nメ
ッシュの図形情報として抽出するようにしたことを特徴
とする入力図形の回転歪補正処理方式。
1. In an image processing device that stores an input figure in an image memory and reads out and processes the stored image memory, for at least three predetermined points on the input figure, information is stored in the image memory corresponding to the three points. A point on the stored figure subjected to rotational distortion is extracted as first coordinate position information, and the figure subjected to rotational distortion corresponds to at least one point of each grid obtained by dividing the input figure into lattices. The coordinate position information of at least one point on each of the above-mentioned grids is determined as second coordinate position information based on the first coordinate position information, and
The input graphic is characterized in that graphic information of an m×n mesh belonging to one grid is extracted as graphic information of an m×n mesh having no rotation based on the second coordinate position information. Rotational distortion correction processing method.
JP54097613A 1979-07-31 1979-07-31 Input figure rotational distortion correction processing method Expired JPS6042988B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54097613A JPS6042988B2 (en) 1979-07-31 1979-07-31 Input figure rotational distortion correction processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54097613A JPS6042988B2 (en) 1979-07-31 1979-07-31 Input figure rotational distortion correction processing method

Publications (2)

Publication Number Publication Date
JPS5622162A JPS5622162A (en) 1981-03-02
JPS6042988B2 true JPS6042988B2 (en) 1985-09-26

Family

ID=14197052

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54097613A Expired JPS6042988B2 (en) 1979-07-31 1979-07-31 Input figure rotational distortion correction processing method

Country Status (1)

Country Link
JP (1) JPS6042988B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61239190A (en) * 1985-04-16 1986-10-24 Citizen Watch Co Ltd Animation display device
JPH02128590U (en) * 1989-03-28 1990-10-23

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58149577A (en) * 1982-02-27 1983-09-05 Fanuc Ltd Setting system of coordinate system
JPS6162914A (en) * 1984-09-04 1986-03-31 Nec Corp Correction system for inclination of coordinate input device
JPH0623983B2 (en) * 1985-04-30 1994-03-30 富士通株式会社 Distortion correction device
JPH0313788Y2 (en) * 1988-05-16 1991-03-28
JPH036674A (en) * 1989-06-02 1991-01-14 Nagoya Denki Kogyo Kk Image distortion correction device
JPH07104769B2 (en) * 1993-01-08 1995-11-13 カシオ計算機株式会社 Graphic display
EP0816733B1 (en) * 1993-03-19 2001-07-04 Cummins Engine Company, Inc. Force balanced three-way solenoid valve

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61239190A (en) * 1985-04-16 1986-10-24 Citizen Watch Co Ltd Animation display device
JPH02128590U (en) * 1989-03-28 1990-10-23

Also Published As

Publication number Publication date
JPS5622162A (en) 1981-03-02

Similar Documents

Publication Publication Date Title
EP1145568B1 (en) Software correction of image distortion in digital cameras
US7201482B2 (en) Projection type display device
JPH02130595A (en) Image processing device
JPS6042988B2 (en) Input figure rotational distortion correction processing method
EP1736927B1 (en) Image generation device and method for vehicle
JPH0661103B2 (en) Rotational figure generator
JP2913814B2 (en) Map database creation and correction system
US5045844A (en) Image paralleling and rotating system
US20230097901A1 (en) Image correction method and processor
JPH0391877A (en) Picture processing device
JPH04261259A (en) Correction device for image data
JPH05250467A (en) Picture signal processor
JPH0623983B2 (en) Distortion correction device
JP3084177B2 (en) Image data tilt correction device
JP2002366947A (en) Pattern input system for apparel CAD
TWI792351B (en) Method for detecting defects, electronic device and storage medium
JPS61163473A (en) Picture geometry correcting method
JP3327961B2 (en) Image processing device
JP2773127B2 (en) Image editing method
JP2005221247A (en) Radar image generator
JPS6243778A (en) Graphic processor
JPS6246901B2 (en)
JPS58103074A (en) Recognizing system for circular linear pattern
JP2000124102A (en) Circuit drawing method and device, data processing method and device, information storage medium
JPH04335473A (en) Linear graphic correcting method