JPS5826073B2 - Adaptive sampling processing method for drawn images - Google Patents
Adaptive sampling processing method for drawn imagesInfo
- Publication number
- JPS5826073B2 JPS5826073B2 JP56135003A JP13500381A JPS5826073B2 JP S5826073 B2 JPS5826073 B2 JP S5826073B2 JP 56135003 A JP56135003 A JP 56135003A JP 13500381 A JP13500381 A JP 13500381A JP S5826073 B2 JPS5826073 B2 JP S5826073B2
- Authority
- JP
- Japan
- Prior art keywords
- transmitted
- point
- points
- mask
- sampling
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Processing Or Creating Images (AREA)
- Facsimiles In General (AREA)
- Facsimile Scanning Arrangements (AREA)
- Facsimile Image Signal Circuits (AREA)
Description
【発明の詳細な説明】
本発明は、描画像のアダプティブ標本化処理方式、特に
手書きの文字や図形等の描画像を入力、伝送、表示する
システムにおいて、描画像を人力、伝送、表示すべく、
描画像中の伝送すべき標本点をアダプティブに決定し、
抽出するようにした描画像のアダプティブ標本化処理方
式に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention provides an adaptive sampling processing method for drawn images, particularly a system for inputting, transmitting, and displaying drawn images such as handwritten characters and figures. ,
Adaptively determine the sample points to be transmitted in the drawn image,
The present invention relates to an adaptive sampling processing method for extracted drawn images.
従来描画体を電話回線等の狭帯域通信回線で伝送するシ
ステムにおいて、タブレット等の手書き図形入力装置か
ら得られる位置座標信号を標本化する方法として、一定
時間間隔で位置座標を標本化する方法と、1つの標本化
点のまわりに一定のウィンドウを設け、ウィンドウの座
標を検出し、その点を次の標本化点とする方法などが行
なわれていた。Conventionally, in a system that transmits a drawn object through a narrowband communication line such as a telephone line, there is a method of sampling position coordinate signals obtained from a handwritten figure input device such as a tablet, and a method of sampling position coordinates at fixed time intervals. , a method has been used in which a fixed window is provided around one sampling point, the coordinates of the window are detected, and that point is set as the next sampling point.
前者の場合には、標本化された点列の差分即ち相対座標
形式で符号化を行い、後者の場合には、ウィンドウを横
切る点の方向成分を符号化していた。In the former case, the difference between the sampled points, that is, the encoding is performed in relative coordinate format, and in the latter case, the directional component of the points across the window is encoded.
このような方法では、通常の筆記速度の状態に対しては
狭帯域伝送路で伝送できるものの1.高速で描画の入力
を行った場合には、前者の方法では標本点の不足によっ
て曲線が折線として復元されたり、線長が短かくなった
りする表示品質の劣化をひきおこすなどの欠点があった
。In such a method, although it is possible to transmit data using a narrowband transmission path for normal writing speed conditions, 1. When inputting a drawing at high speed, the former method has drawbacks such as deterioration in display quality, such as curves being restored as broken lines due to a lack of sample points, and line lengths being shortened.
また後者の方法では伝送すべき符号量が増大するため、
伝送遅延を引き起すなどの欠点があった。In addition, since the latter method increases the amount of code to be transmitted,
It had drawbacks such as causing transmission delays.
本発明はこれらの欠点を解決するために、伝送すべき標
本点の抽出を描画の入力速度(経過時間)および方向に
依存したマスクを用いて行い、再生された像の幾何学的
な歪を小さくおさえかつ標本点数削減するようにするこ
とを目的としており、以下図面について詳細に説明する
。In order to solve these drawbacks, the present invention extracts the sample points to be transmitted using a mask that depends on the drawing input speed (elapsed time) and direction, and eliminates geometric distortion of the reproduced image. The purpose is to keep it small and reduce the number of sample points, and the drawings will be explained in detail below.
第1図は本発明の実施例構成を示し、aは送信端、bは
受信端を表わしている。FIG. 1 shows the configuration of an embodiment of the present invention, where a represents a transmitting end and b represents a receiving end.
また、1は手書きの図形等を入力するためのグラフィッ
クタフレット、2は標本化入力処理回路、3は符号器、
4は伝送路、5は復号器、6は表示処理回路、7はモニ
タである。Further, 1 is a graphic tufflet for inputting handwritten figures, etc., 2 is a sampling input processing circuit, 3 is an encoder,
4 is a transmission path, 5 is a decoder, 6 is a display processing circuit, and 7 is a monitor.
本装置を動作させるに当り、送信端aでは、グラフィッ
クタブレット1に文字や図形を書くと、入力された図形
(こ応じた座標信号がグラフィックタブレット1から出
力される。To operate this device, when a character or a figure is written on the graphic tablet 1 at the transmitting end a, a coordinate signal corresponding to the input figure is output from the graphic tablet 1.
標本化入力処理回路2では後述する方法によって入力さ
れた図形を復元するのに不必要な座標信号を削除するよ
うに標本化処理を行う。The sampling input processing circuit 2 performs sampling processing to delete coordinate signals unnecessary for restoring the input figure by a method described later.
標本化された座標信号は符号器3によって伝送に都合の
よい符号化方式にしたがって符号化され、伝送路4に出
力される。The sampled coordinate signal is encoded by an encoder 3 according to an encoding method convenient for transmission, and output to a transmission line 4.
受信端すでは、受信信号を復号器5によって復号し、入
力された点列に相当する座標信号を得る。At the receiving end, the received signal is decoded by a decoder 5 to obtain a coordinate signal corresponding to the input point sequence.
表示処理回路6では復号器5によって復号された点列に
点と点とを直線で結ぶ補間を施こし、モニタ7にビデオ
信号として出力する。The display processing circuit 6 performs interpolation on the point sequence decoded by the decoder 5 by connecting the points with straight lines, and outputs it to the monitor 7 as a video signal.
次に標本化入力処理回路2の標本化について第2図以降
を用いて述べる。Next, sampling by the sampling input processing circuit 2 will be described using FIG. 2 and subsequent figures.
十分な密度で高速に標本化を行った点から伝送すべき点
を抽出する際に用いるマスクの種類は、例えば、第2図
に示す直線部用のマスクMLと第3図に示す屈曲部用の
マスクMBとの2種類である。The types of masks used to extract the points to be transmitted from the points sampled with sufficient density and high speed are, for example, the mask ML for straight parts shown in Figure 2 and the mask ML for curved parts shown in Figure 3. There are two types of mask MB.
第2図および第3図(こおいてCは描画の入力曲線、P
は1つの伝送すべき標本点、P′は点Pの次に伝送する
標本点である。Figures 2 and 3 (where C is the input curve for drawing, P
is one sample point to be transmitted, and P' is the sample point to be transmitted next after point P.
直線部用のマスクMLは筆速か速い場合に用いる。The mask ML for the straight line portion is used when the writing speed is fast.
筆速か速い場合(こは、描画の入力方向の変動、は比較
的少く、細かい部分を入力することはないので、第2図
に示す如く、直線で近似した場合の誤差が許容値Wに納
まるように定めた細長い長方形のマスクを点Pft近の
描画の入力方向に沿って定める。If the writing speed is fast (in this case, the variation in the drawing input direction is relatively small, and detailed parts are not input, the error when approximating with a straight line is within the tolerance value W, as shown in Figure 2) A long and narrow rectangular mask is determined along the drawing input direction near the point Pft.
このような場合に次に伝送する標本点はこのマスクを出
た最初の標本点P′とする。In such a case, the next sample point to be transmitted is the first sample point P' that exits this mask.
ただし、直線用マスクMLを用いて標本点を抽出する場
合においても、描画の入力速妾が急に遅くなったり、あ
るいは入力方向が180°近く急変する場合が生ずるの
で、このような場合(こは直線部用マスクMLの内部に
あっても、前者の場合は点Pを標本化した時点から一定
時間td経過後、後者の場合は第4図に示すように入力
方向が急変した点を次に伝送すべき標本点P′とする。However, even when extracting sample points using the straight line mask ML, there may be cases where the drawing input speed suddenly slows down or the input direction suddenly changes by nearly 180 degrees. Even if P is inside the straight line mask ML, in the former case, a certain period of time td has elapsed since the point P was sampled, and in the latter case, the point where the input direction suddenly changed is the next point, as shown in Figure 4. Let P' be a sample point to be transmitted.
第3図に示した屈曲部用のマスクMBは筆速が遅くなっ
た場合、すなわち第4図のように一定時間tdを経ても
標本点がマスク(MLまたはMB)の外に出ない場合、
あるいは入力方向が急変した場合に用いる。The mask MB for the bend shown in FIG. 3 is used when the writing speed becomes slow, that is, when the sample point does not go outside the mask (ML or MB) even after a certain time td as shown in FIG.
Or it is used when the input direction suddenly changes.
このマスクは入力の方向によらず標本点の距離が一定値
以上能れた時点で次に伝送すべき標本点を抽出するもの
で、細かい変化を効率よく標本化する。This mask extracts the next sample point to be transmitted when the distance between the sample points exceeds a certain value, regardless of the input direction, and efficiently samples small changes.
第5図は、以上の説明をフローチャートの形で示した説
明図を示している。FIG. 5 shows an explanatory diagram showing the above explanation in the form of a flowchart.
図から判る如くいわば最初にマスクMBをもって調べ、
可能な限ぎりマスクMLによって標本点を抽出してゆく
ようにされる。As you can see from the figure, first check with the mask MB,
Sample points are extracted using the mask ML as much as possible.
また第6図Aは標本化の様子を模式的に示したもので、
P l r 会、 + +2 t P29◆3.・・・
・・・は時間間隔t3で高速に標本化された点列であり
、その中でPl、P2.P3・・・・・・は伝送する点
列である。In addition, Figure 6A schematically shows the state of sampling.
P l r meeting, + +2 t P29◆3. ...
... is a sequence of points sampled at high speed at time interval t3, among which Pl, P2 . P3... is a sequence of points to be transmitted.
また、P3は制限時間td経過のために伝送すべき標本
点とされたものである。Further, P3 is set as a sample point to be transmitted because the time limit td has elapsed.
また第6図Bはこの時間関係を示している。Moreover, FIG. 6B shows this time relationship.
以上述べたように描画像を高速で標本化し、その点列の
中から伝送すべき点を抽出するためにマスクを適応的に
変化させることにより描画像をアダプティブに標本化す
ることができる。As described above, the drawn image can be sampled adaptively by sampling the drawn image at high speed and adaptively changing the mask in order to extract points to be transmitted from the point sequence.
なお、直線部用のマスクMLの形は長方形としたが、こ
れは別に長方形である必要はなく、歪を許容範囲内に納
める形のものであれば他の形でも何ら差支えない。Although the shape of the mask ML for the straight portion is rectangular, it does not need to be rectangular, and any other shape may be used as long as the distortion can be kept within an allowable range.
また屈曲部用のマスクMBも図では正方形で示したが、
例えば円であっても何ら差支えない。In addition, the mask MB for the bent part is also shown as a square in the figure, but
For example, there is no problem even if it is yen.
さらに、用いるマスクの種類は2種類でなくとも、種類
を増加させてもよい。Furthermore, the number of types of masks to be used does not have to be two, and the number of types may be increased.
直線部用のマスクMLの方位を設定する基準は、第6図
A図示のP2の場合を例にとると、◆2とP2を結ぶ線
分を基準とする方法、PlとP2とを結ぶ線分を基準に
とる方法などが存在する。The criteria for setting the orientation of the mask ML for the straight portion are, taking the case of P2 shown in FIG. There are methods such as taking minutes as the standard.
また、方位の分解能についてもそれ程厳密である必要は
なく、必要に応じて予め定めておいた8ないし16方位
程度に分類して処理を行うことができる。Further, the resolution of orientation does not need to be so strict, and processing can be performed by classifying the orientation into approximately 8 to 16 predetermined orientations as necessary.
以上説明したように、本発明によれば、伝送すべき標本
点を表示側で直線補間を施した場合に歪が小さくなるよ
うに、効率的かつ実時間の逐次処理で決定することが可
能であるので、描画を高速で入力した場合においては表
示品質の劣化を最小限にくいとめ、また低速で入力した
場合には不要な情報は抑圧し、かつ最小分解能を犠牲に
することなく限られた伝送速度で効率的に描画像信号を
伝送できる利点がある。As explained above, according to the present invention, it is possible to determine sample points to be transmitted through efficient real-time sequential processing so that distortion is reduced when linear interpolation is performed on the display side. Therefore, when drawing is input at high speed, the deterioration of display quality is minimized, and when input is at low speed, unnecessary information is suppressed, and limited transmission is possible without sacrificing minimum resolution. This has the advantage of being able to efficiently transmit drawn image signals at high speed.
また、描画像信号を蓄積する場合においても、静止画と
して処理した場合と大差ない程度に情報量を圧縮できる
利点がある。Furthermore, even when a drawn image signal is stored, there is an advantage that the amount of information can be compressed to the same extent as when it is processed as a still image.
第1図は本発明の一実施例を示す概略構成図、第2図、
第3図、第4図はマスクを用いて伝送すべき標本点を抽
出する方法を説明するための説明図、第5図は一実施例
抽出態様を説明するフローチャート、第6図は伝送すべ
き点を抽出する様子を示した模式図を示す。
1・・・・・・タブレット、2・・・・・・標本化入力
処理回路、3・・・・・・符号器、4・・・・・・伝送
路、5・・・・・・復号器、6・・・・・・表示処理回
路、7・・・・・・モニタ、C・・・・・・描画入力曲
線、P・・・・・・1つの伝送する標本点、Pl・・・
・・Pの次に伝送すべき標本点、ML・・・・・・直線
部用マスク、MB・・・・・・屈曲部用マスク、Pl、
P2.P3゜P4・・・・・・伝送すべき点列 /)1
. ′会22.・・・・・高速で標本化したが伝送しな
い点。FIG. 1 is a schematic configuration diagram showing an embodiment of the present invention, FIG.
3 and 4 are explanatory diagrams for explaining a method of extracting sample points to be transmitted using a mask, FIG. A schematic diagram showing how points are extracted is shown. DESCRIPTION OF SYMBOLS 1...Tablet, 2...Sampling input processing circuit, 3...Encoder, 4...Transmission path, 5...Decoding device, 6...display processing circuit, 7...monitor, C...drawing input curve, P...one sample point to be transmitted, Pl...・
...Sample point to be transmitted next to P, ML...Mask for straight section, MB...Mask for curved section, Pl,
P2. P3゜P4... Point sequence to be transmitted /)1
.. 'Meeting 22. ...The point where the sample was sampled at high speed but it was not transmitted.
Claims (1)
離散的な点列として所定範囲内の密度をもって予め定め
た時間間隔で標本化する手段、標本化された点列から伝
送すべき点を抽出する手段を有する描画像の標本化処理
方式において、形状の異った複数のマスクをそなえ、標
本化された点列から伝送すべき点を抽出するに当って伝
送された1つの標本点に対応して当該伝送した標本点の
ペンの速度や方向を基準に上記複数のマスクのうちの所
定の1つのマスクを対応づけ、当該マスクにもとづいて
選定され標本点を次(こ伝送すべき標本点として抽出し
、逐次伝送すべき標本点を決定してゆくようにしたこと
を特徴とする描画像のアダプティブ標本化処理方式。1. A means for detecting the position coordinates of a human power point, a means for sampling the detected coordinates as a discrete point sequence at a predetermined time interval with a density within a predetermined range, and a means for determining the points to be transmitted from the sampled point sequence. In a drawing image sampling processing method that has means for extracting, a plurality of masks with different shapes are provided, and when extracting a point to be transmitted from a sampled point sequence, one transmitted sample point is Correspondingly, a predetermined one of the plurality of masks is associated with the pen speed and direction of the transmitted sample point, and the sample point selected based on the mask is transferred to the next sample point (the sample to be transmitted). An adaptive sampling processing method for a drawn image is characterized in that the sampling points to be extracted as points and sequentially transmitted are determined.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56135003A JPS5826073B2 (en) | 1981-08-28 | 1981-08-28 | Adaptive sampling processing method for drawn images |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56135003A JPS5826073B2 (en) | 1981-08-28 | 1981-08-28 | Adaptive sampling processing method for drawn images |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5837781A JPS5837781A (en) | 1983-03-05 |
| JPS5826073B2 true JPS5826073B2 (en) | 1983-05-31 |
Family
ID=15141652
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56135003A Expired JPS5826073B2 (en) | 1981-08-28 | 1981-08-28 | Adaptive sampling processing method for drawn images |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5826073B2 (en) |
-
1981
- 1981-08-28 JP JP56135003A patent/JPS5826073B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5837781A (en) | 1983-03-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4546383A (en) | Method and apparatus for visual telecommunications, in particular for use by the deaf | |
| KR950703251A (en) | METHOD AND APPARATUS FOR TRASMITTING AND RECEIVING ENCODED DATA | |
| CN105138939A (en) | Method, apparatus and system for displaying two-dimensional code | |
| JPS5826073B2 (en) | Adaptive sampling processing method for drawn images | |
| CN115988270B (en) | Methods, apparatus, storage media and systems for video OSD adaptive image resolution | |
| JPS5883473A (en) | Picture signal encoding system | |
| JPH0253989B2 (en) | ||
| JPS6316069B2 (en) | ||
| JPH04258084A (en) | Code rule converter | |
| JPH10271508A (en) | Video interpolator | |
| JPS6349821B2 (en) | ||
| JP3059769B2 (en) | Picture information predictive coding device | |
| JP2664364B2 (en) | Image communication device | |
| JPH051171Y2 (en) | ||
| JPS5779564A (en) | Line-picture information conversion system | |
| JPH01273485A (en) | Code data expansion processing system | |
| CN121259486A (en) | Training method of optical flow estimation model, optical flow estimation method, device and equipment | |
| JPH02188075A (en) | Image transmitting method | |
| KR960011219B1 (en) | Image processing apparatus and method of facsimile | |
| JPH0350317B2 (en) | ||
| JPH07200721A (en) | Character recognition electronic mail device | |
| JPH0278373A (en) | Picture data transmission equipment | |
| JPS59212075A (en) | Decoding processing circuit for two-dimensional compressed code | |
| JPH0666849B2 (en) | Communication method of drawing image signal | |
| JPS5652962A (en) | Picture information communication system |