JPH0440746B2 - - Google Patents
Info
- Publication number
- JPH0440746B2 JPH0440746B2 JP57096338A JP9633882A JPH0440746B2 JP H0440746 B2 JPH0440746 B2 JP H0440746B2 JP 57096338 A JP57096338 A JP 57096338A JP 9633882 A JP9633882 A JP 9633882A JP H0440746 B2 JPH0440746 B2 JP H0440746B2
- Authority
- JP
- Japan
- Prior art keywords
- display
- points
- sample points
- point sequence
- resolution
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4007—Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Generation (AREA)
- Facsimile Image Signal Circuits (AREA)
- Image Processing (AREA)
Description
【発明の詳細な説明】
本発明は手書きの文字や図形などの描画像を入
力、伝送、表示するシステムにおいて、標本点列
に平滑化処理を施し表示する方法に関するもので
ある。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for performing smoothing processing on a sequence of sample points and displaying the same in a system for inputting, transmitting, and displaying drawn images such as handwritten characters and figures.
まず、従来装置について説明する。 First, a conventional device will be explained.
第1図において、送信装置101において手書
きの文字や図形などの描画像を入力し、受信装置
102にオンラインで描画像信号を伝送し、表示
装置7に描画像を表示するような通信システムで
は、タブレツトなどの位置座標検出器1から出力
される描画像信号を標本化装置2によつて時間的
に一定の割合(約40〜120Hz)で標本化し、この
座標情報を符号器3によつて符号化して伝送し、
この座標情報を複合器4によつて複合化し、直線
発生器5を用いて直線補間を施して再生し、画像
メモリ6に蓄積し、表示装置7に表示していた。 In FIG. 1, in a communication system in which a drawn image such as handwritten characters or figures is inputted to a transmitting device 101, a drawn image signal is transmitted online to a receiving device 102, and the drawn image is displayed on a display device 7. A drawing image signal output from a position coordinate detector 1 such as a tablet is sampled at a constant time rate (approximately 40 to 120 Hz) by a sampling device 2, and this coordinate information is encoded by an encoder 3. Convert and transmit
This coordinate information is compounded by a compounder 4, reproduced by linear interpolation using a linear generator 5, stored in an image memory 6, and displayed on a display device 7.
また、符号器3では、伝送する符号量を削減す
るするために時間的に連続した標本点の座標が同
一である場合には最初の標本点の座標のみを符号
化するが、2点目以降の標本点については、無視
する方法が用いられている(参考文献参照)。 Furthermore, in order to reduce the amount of code to be transmitted, encoder 3 encodes only the coordinates of the first sample point when the coordinates of temporally consecutive sample points are the same; A method of ignoring the sample points is used (see references).
この様子を第2図に示す。 This situation is shown in FIG.
標本化周期を1とするように時刻tをとると
き、x(t)およびy(t)は、曲線C0を入力し
たときのxおよびy座標成分信号の時間波形であ
る。標本化器2によつて出力される座標信号は
Qt(Xt,yt)(t=1,2…)となる。 When time t is taken such that the sampling period is 1, x(t) and y(t) are the time waveforms of the x and y coordinate component signals when the curve C 0 is input. The coordinate signal output by sampler 2 is
Q t (X t , y t ) (t=1, 2...).
なお、第2図では、x(t),y(t)を整数値
で切り捨てることによりXt,ytを量子化した例を
示したが、四捨五入等でも良い。 Although FIG. 2 shows an example in which X t and y t are quantized by rounding down x(t) and y( t ) to integer values, they may be rounded off or the like.
また、符号器3から出力される符号化標本点
(以後、符号器3から出力される標本点を符号化
標本点と呼び、標本化装置2から出力される標本
点と区別する)は、第2図で●を付したQ1,Q6
…となる。 Furthermore, the encoded sample points output from the encoder 3 (hereinafter, the sample points output from the encoder 3 will be referred to as encoded sample points to distinguish them from the sample points output from the sampling device 2) are Q 1 and Q 6 marked with ● in Figure 2
...becomes.
一方、x−y平面上で標本点の位置を示したの
が第3図である。描画速度が遅いところでは標本
点が連結状態となつており、逆に速いところでは
離散的となつていることがわかる。 On the other hand, FIG. 3 shows the positions of sample points on the xy plane. It can be seen that where the drawing speed is slow, the sample points are connected, and conversely, where the drawing speed is fast, they are discrete.
このようなシステムにおいて、受信装置102
の分解能が送信装置101の分解能を上回る場合
や、伝送符号量を少なくするために伝送する座標
の分解能を落す場合(参考文献参照)には、受信
装置102では次の様な装置を行つて表示してい
た。 In such a system, the receiving device 102
When the resolution of the coordinates exceeds that of the transmitter 101, or when the resolution of the coordinates to be transmitted is lowered to reduce the amount of transmitted codes (see references), the receiver 102 uses the following device to display Was.
即ち、受信した標本点の座標を受信装置102
の分解能に換算し、換算された標本点と標本点の
間を適当な補間処理(一般的には、簡便な直線補
間処理が用いられている)を行つて表示してい
た。 That is, the coordinates of the received sample point are transmitted to the receiving device 102.
, and an appropriate interpolation process (generally, a simple linear interpolation process is used) between the converted sample points is displayed.
本表示処理を用いた場合の問題点について述べ
る。描画入力速度が大きく標本点間隔が大きい場
合には、上述の条件でも表示品質は大きく劣化す
ることはなかつた(参考文献参照)。しかし、描
画入力速度が小さく標本点間隔が小さい場合(第
3図の例ではQ1,Q6,Q8,Q9の付近)には、斜
線が階段上の折線として表示されるなど、表示品
質の劣化、特に滑らかさを欠く欠点があつた。 We will discuss the problems when using this display processing. When the drawing input speed was high and the sampling point interval was large, the display quality did not deteriorate significantly even under the above conditions (see reference). However, when the drawing input speed is low and the sample point interval is small (in the example in Figure 3, near Q 1 , Q 6 , Q 8 , and Q 9 ), the display may be distorted, such as diagonal lines appearing as broken lines on stairs. There was a deterioration in quality, especially a lack of smoothness.
第4図は標本化を行つた分解能で直線補間を行
つて表示した場合の模式図を示し、P1〜P6は入
力曲線C1を標本化した点、P1′〜P6′は入力曲線
C2を標本化した点であり、〓で示した点は直線
発生アルゴリズムを用いて補間した点である。第
3図において、入力曲線C1は描画入力速度が大
きいので標本点間隔も大きいが、入力曲線C2は
描画入力速度が小さいので標本点間隔が小さく連
結した状態となつている。 Figure 4 shows a schematic diagram when linear interpolation is performed and displayed at the sampling resolution, where P 1 to P 6 are the sampling points of the input curve C 1 , and P 1 ′ to P 6 ′ are the input points. curve
This is the point where C 2 was sampled, and the point indicated by ⓓ is the point interpolated using the straight line generation algorithm. In FIG. 3, the input curve C 1 has a high drawing input speed and therefore has a large sample point interval, but the input curve C 2 has a small drawing input speed and therefore has a small sample point interval and is in a connected state.
第5図は入力(伝送)分解能に対して表示分解
能を倍にして、表示分解能の精度で直線補間を施
した場合を示す。入力曲線C2は、入力時におい
ても標本点が非連結状態であるので、表示分解能
を大きくすることにより、入力/表示分解能が等
しい場合(第4図)よりもむしろ滑らかに補間さ
れていることがわかる。 FIG. 5 shows a case where the display resolution is doubled relative to the input (transmission) resolution and linear interpolation is performed with the precision of the display resolution. The input curve C 2 has sample points that are not connected even during input, so by increasing the display resolution, it is interpolated more smoothly than when the input and display resolutions are equal (Figure 4). I understand.
一方、入力曲線C2では入力/表示分解能が等
しい場合(第4図)よりも、表示分解能が大きい
場合(第5図)の方がむしろ階段上に表示され、
入力分解能が低いことによる表示品質の劣化が目
立つことが分かる。 On the other hand, the input curve C 2 is displayed on a staircase rather than when the display resolution is large (Fig. 5) than when the input/display resolutions are equal (Fig. 4).
It can be seen that the deterioration in display quality due to low input resolution is noticeable.
以上述べた様に、入力分解能よりも表示分解能
が大きい場合に従来方法により表示処理を行う
と、描画速度が遅い場合に劣化が目立つ欠点があ
る。したがつて、この欠点は時間軸に基づく単純
な低域通過フイルタ(LPF)を標本化装置2と
符号器3の間、あるいは復号器4と直線発生回路
5の間等に挿入しても除去することができない。 As described above, when display processing is performed by the conventional method when the display resolution is larger than the input resolution, there is a drawback that deterioration becomes noticeable when the drawing speed is slow. Therefore, this drawback can be eliminated by inserting a simple low-pass filter (LPF) based on the time axis between the sampling device 2 and the encoder 3, or between the decoder 4 and the linear generation circuit 5. Can not do it.
また、標本点P1の座標値を変更することなし
に補間アルゴリズムを改良(例えば単純な直線補
間から曲線補間に変更する)しても、入力曲線が
C2の様な場合には階段(波線)状に表示され、
滑らかさを欠くことには変わりがない。 Also, even if you improve the interpolation algorithm (for example, change from simple linear interpolation to curved interpolation) without changing the coordinate values of sample point P1 , the input curve
In cases like C 2 , it is displayed as a staircase (wavy line),
There is no difference in the lack of smoothness.
本発明は、これらの欠点を除去するために、複
合器4から出力される標本点座標を用いて表示分
解能の精度で平滑化処理を行うようにしたもの
で、以下図面を用いて詳細に説明する。 In order to eliminate these drawbacks, the present invention uses the sample point coordinates output from the compound device 4 to perform smoothing processing with the accuracy of the display resolution, and will be described in detail below with reference to the drawings. do.
上述した劣化を除去し、滑らかに描画像を表示
するためには、描画速度にあわせて適応的に時間
軸の圧縮を行つた後に平滑化処理を行うのが効果
的である。 In order to remove the above-mentioned deterioration and display a drawn image smoothly, it is effective to perform smoothing processing after adaptively compressing the time axis according to the drawing speed.
そこで、符号器3によつて連結して同一座標に
存在する標本点を除去した符号化標本点に対し
て、絶対的な時間間隔を無視し、符号化標本点列
Pi(i=1,2,…)に付与される番号iを新た
な時間軸とし、その時間軸に基づいて平滑化処理
を行うものとする。 Therefore, for the encoded sample points that are connected by the encoder 3 and remove the sample points existing at the same coordinates, the absolute time interval is ignored, and the encoded sample point sequence is
It is assumed that the number i assigned to P i (i=1, 2, . . . ) is a new time axis, and the smoothing process is performed based on that time axis.
第6図は本発明の一実施例の構成を示すブロツ
ク図で、第1図に示した従来の描画像通信装置に
表示処理回路8を付加したものである。ここで、
表示処理回路8に入力される符号化標本点のxお
よびy座標値は、第2図に示した原信号を例にと
ると、第7図の様になり、描画速度が小さい場所
の時間軸が圧縮されていることがわかる。このよ
うに時間軸を適応的に圧縮した符号化標本点列
{Pi}に対し、P1をペンダウン直後の点PNをペン
アツプした点とした場合、
『P^1=P1
P^i=Pi-1+2Pi+Pi+1)/4
P^N=PN (式1)
但し、(2≦i≦N−1)
の平滑化処理を行い、平滑化処理を行つた点列
{Pi}に直線補間を施し表示するものである。 FIG. 6 is a block diagram showing the configuration of an embodiment of the present invention, in which a display processing circuit 8 is added to the conventional image communication device shown in FIG. here,
Taking the original signal shown in FIG. 2 as an example, the x and y coordinate values of the encoded sample points input to the display processing circuit 8 are as shown in FIG. It can be seen that it is compressed. For the encoded sample point sequence {P i } with the time axis adaptively compressed in this way, if P 1 is the point P N immediately after pen-down is the point P N is pen-up, then ``P^ 1 = P 1 P^ i =P i-1 +2P i +P i+1 )/4 P^ N =P N (Formula 1) However, the smoothing process of (2≦i≦N-1) is performed, and the point sequence that has been smoothed is {P i } is subjected to linear interpolation and displayed.
ここで、この平滑化処理は表示分解能の精度ま
たはそれ以上で行うものとする。 Here, it is assumed that this smoothing process is performed with an accuracy equal to or higher than the display resolution.
第8図は、第4図に示した標本点に対して2倍
の分解能を有する表示面上に上記の平滑化処理を
行つて表示した模式図を示し、
P1〜P6およびP1′〜P6′は各々平滑化処理を行つ
た後の標本点である。 FIG. 8 shows a schematic diagram of the sample points shown in FIG. 4 displayed after performing the above smoothing process on a display surface having twice the resolution . ˜P 6 ′ are sample points after each smoothing process is performed.
このように表示処理回路8において、符号化標
本点に対して上記平滑化処理を行い、その後の直
線補間を行うことにより、表示分解能にあわせて
平滑化された画面が表示される。特に第5図に示
した曲線C2のように、符号化標本化が階段状に
変化する場合(描画速度は前述した様に遅い場合
が多い)には、表示する曲線をほぼ完全に平滑化
できる。 In this way, the display processing circuit 8 performs the smoothing process on the encoded sample points, and then performs linear interpolation, thereby displaying a screen smoothed in accordance with the display resolution. In particular, when the encoding sampling changes stepwise (as mentioned above, the drawing speed is often slow) like curve C 2 shown in Figure 5, the displayed curve can be almost completely smoothed. can.
また、第8図からもわかるように、本平滑化処
理は、受信装置201が受信した符号化標本点の
座標を正しく再生している訳ではないが、文字な
どの描画情報は絶対的な位置座標よりもみかけの
滑らかさが重要であるので、符号化標本点の座標
を正しく再生しないことは大きな問題ではない。 Furthermore, as can be seen from FIG. 8, although this smoothing process does not correctly reproduce the coordinates of the encoded sample points received by the receiving device 201, the absolute position of drawing information such as characters is Since the apparent smoothness is more important than the coordinates, it is not a big problem that the coordinates of the encoded sample points are not correctly reproduced.
以上説明したように、符号器3による標本点
の選択的な除去、平滑化処理回路8による固定
的な平滑化処理、を組み合わせて用いることによ
り、総合的な特性としては入力された描画像信号
に対して適応的に変化する平滑化処理が可能にな
る利点が生じる。 As explained above, by using a combination of selective removal of sample points by the encoder 3 and fixed smoothing processing by the smoothing processing circuit 8, the overall characteristics of the input drawn image signal can be improved. This has the advantage that smoothing processing that changes adaptively can be performed.
また、本発明において使用する平滑化処理は非
常に簡単であり、標本点と標本点を補間するアル
ゴリズムとは無関係に、与えられた標本点を3点
用いることにより計算できる。なお、式1におけ
る割算の分母が4であるので、マイクロコンピユ
ータ等を用いる場合にはビツトシフトにより演算
が可能であり、布線論理で行う場合は上位ビツト
のみを採りだすことにより演算が可能であるな
ど、構成が簡単になる利点がある。 Further, the smoothing process used in the present invention is very simple, and can be calculated by using three given sample points, regardless of the sample points and the algorithm for interpolating the sample points. Note that since the denominator of division in Equation 1 is 4, operations can be performed by bit shifting when using a microcomputer, and operations can be performed by extracting only the upper bits when using wired logic. This has the advantage of simplifying the configuration.
さらに平滑化処理を行うことにより、異なつた
分解能の表示画面をもつ装置間で通信を行う場合
に、単に受信装置102で表示処理を行うことに
より受信装置102の分解能を有効に利用でき、
かつ伝送符号量は増加しない利点がある。 Furthermore, by performing smoothing processing, when communicating between devices having display screens with different resolutions, it is possible to effectively utilize the resolution of the receiving device 102 by simply performing display processing on the receiving device 102.
Moreover, there is an advantage that the amount of transmitted codes does not increase.
なお、送信装置101で描画像信号に雑音が重
畳している場合においても、この表示処理法を適
用することにより雑音除去効果も得られる。その
場合、表示の分解能が入力の分解能を上回つてい
る必要はない。 Note that even if noise is superimposed on the drawn image signal in the transmitter 101, the noise removal effect can be obtained by applying this display processing method. In that case, the resolution of the display need not exceed the resolution of the input.
第1図は従来の描画像通信装置の構成の一例を
示すブロツク図、第2図は描画像信号と標本点の
関係を示す模式図、第3図はx−y平面上での標
本点の位置を示す図、第4図は標本化分解能で直
線補間を行つて表示した場合の模式図、第5図は
表示分解能を倍にした場合の模式図、第6図は本
発明の一実施例の構成を示すブロツク図、第7図
は符号器から出力された符号化標本点x,y座標
を示す模式図、第8図は平滑化処理を施した場合
の模式図を示す。
1……座標検出器、2……標本化装置、3……
符号器、4……復号器、5……直線発生回路、6
……画像メモリ、7……表示装置、8……表示処
理回路、101……送信装置、102……受信装
置、C0,C1,C2……入力曲線、Q1〜Q20……標本
点、P1〜P6,P1′〜P6′……(符号化)標本点、
P1〜P6,P1′〜P6′……平滑化処理を施された標
本点。
Figure 1 is a block diagram showing an example of the configuration of a conventional image communication device, Figure 2 is a schematic diagram showing the relationship between image signals and sample points, and Figure 3 is a diagram showing the relationship between sample points on the x-y plane. A diagram showing the position, Figure 4 is a schematic diagram when linear interpolation is performed and displayed at the sampling resolution, Figure 5 is a schematic diagram when the display resolution is doubled, and Figure 6 is an embodiment of the present invention. FIG. 7 is a schematic diagram showing the x and y coordinates of encoded sample points output from the encoder, and FIG. 8 is a schematic diagram showing the case where smoothing processing is performed. 1... Coordinate detector, 2... Sampling device, 3...
Encoder, 4... Decoder, 5... Straight line generation circuit, 6
... Image memory, 7 ... Display device, 8 ... Display processing circuit, 101 ... Transmission device, 102 ... Receiving device, C 0 , C 1 , C 2 ... Input curve, Q 1 to Q 20 ... Sample points, P 1 to P 6 , P 1 ′ to P 6 ′... (encoded) sample points,
P 1 to P 6 , P 1 ′ to P 6 ′... Sample points subjected to smoothing processing.
Claims (1)
し、表示する方式において、 送信側では、一定時間間隔で描画像の位置座標
を標本化し、該標本化された入力点のうち、位置
座標が連続して同一である場合には、重複するも
のを除き、位置座標点列として送信し、 受信側では、受信した位置座標点列に対し平滑
化処理を行い、前記平滑化処理によつて求められ
た新たな位置座標点列を表示装置の表示分解能と
対応させ、連続する2点間を直線で補間する ことを特徴とする描画像信号の表示処理法。 2 前記平滑化処理は、下式 『P^1=P1 P^i=Pi-1+2Pi+Pi+1)/4 P^N=PN 但し、2≦i≦N−1 ここで、P1およびPNは点列{Pi}に対するペ
ンダウンした点およびペンアツプした点、P1,
P1,PNは平滑処理を行つた点列{Pi}の点。 を用いることを特徴とする特許請求の範囲第1項
記載の描画像信号の表示処理法。[Claims] 1. In a method for inputting, transmitting, and displaying drawn images such as handwritten characters and figures, the transmitting side samples the position coordinates of the drawn image at fixed time intervals and uses the sampled input. If the position coordinates of the points are consecutively the same, the points are sent as a position coordinate point sequence, excluding duplicates, and the receiving side performs smoothing processing on the received position coordinate point sequence, and then A display processing method for a drawn image signal, characterized in that a new position coordinate point sequence obtained by smoothing processing is made to correspond to the display resolution of a display device, and a straight line is interpolated between two consecutive points. 2 The smoothing process is performed using the following formula: ``P^ 1 =P 1 P^ i =P i-1 +2P i +P i+1 )/4 P^ N =P N , where 2≦i≦N-1 , P 1 and P N are the pen-down point and pen-up point for the point sequence {P i }, P 1 ,
P 1 and P N are the points of the point sequence {P i } that have been smoothed. A display processing method for a drawn image signal according to claim 1, characterized in that the method uses:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57096338A JPS58213384A (en) | 1982-06-07 | 1982-06-07 | Display processing method of drawing picture signal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57096338A JPS58213384A (en) | 1982-06-07 | 1982-06-07 | Display processing method of drawing picture signal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58213384A JPS58213384A (en) | 1983-12-12 |
| JPH0440746B2 true JPH0440746B2 (en) | 1992-07-06 |
Family
ID=14162224
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57096338A Granted JPS58213384A (en) | 1982-06-07 | 1982-06-07 | Display processing method of drawing picture signal |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58213384A (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5145512B2 (en) * | 1973-05-18 | 1976-12-03 | ||
| JPS5324242A (en) * | 1976-08-18 | 1978-03-06 | Armco Steel Corp | Method and device for interpolating discontinuous data value |
| JPS599945B2 (en) * | 1977-12-12 | 1984-03-06 | 株式会社東芝 | computing device |
-
1982
- 1982-06-07 JP JP57096338A patent/JPS58213384A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58213384A (en) | 1983-12-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0207774B1 (en) | Block encoder | |
| JP2577898B2 (en) | Image transmission method and apparatus | |
| JPS58197984A (en) | Adaptive forecasting encoding device of television signal | |
| CN88103191A (en) | The television transmission system that contains pyramid number encoder/decoding circuit | |
| ATE139402T1 (en) | DEVICE AND METHOD FOR ADAPTIVE COMPRESSION OF CONSECUTIVE BLOCKS OF A DIGITAL VIDEO SIGNAL | |
| JPH06343172A (en) | Motion vector detection method and motion vector encoding method | |
| JPH0134496B2 (en) | ||
| JPH0638658B2 (en) | Image signal decoding post-processing device | |
| JPH0440746B2 (en) | ||
| JPH11506296A (en) | Image encoding and decoding method and apparatus | |
| JP2678066B2 (en) | Digital signal processor | |
| JPH10271495A (en) | Image data encoding method and apparatus | |
| US7224853B1 (en) | Method and apparatus for resampling data | |
| US20070164856A1 (en) | Processing gesture signals | |
| JPS58101581A (en) | Estimate coder for television signal | |
| US6333996B1 (en) | Handwriting code processing device enabling reduction in load on processing of handwriting input device and processing method thereof | |
| JP2723660B2 (en) | Orthogonal transformer | |
| JPH0865665A (en) | Image compression transmission method and image compression transmission system | |
| JPH0771301B2 (en) | Color video signal conversion method | |
| JP2591736B2 (en) | Contour / gradation separation / interpolation encoder | |
| JP3090236B2 (en) | Image signal encoding / decoding device | |
| JP2832976B2 (en) | Adaptive coding device | |
| JP2637976B2 (en) | Block encoding decoding device | |
| JPS5927503B2 (en) | calligraphy communication device | |
| JP3869893B2 (en) | Encoding device, decoding device and method thereof |