TW201112062A - Drawing apparatus and program - Google Patents

Drawing apparatus and program Download PDF

Info

Publication number
TW201112062A
TW201112062A TW99123005A TW99123005A TW201112062A TW 201112062 A TW201112062 A TW 201112062A TW 99123005 A TW99123005 A TW 99123005A TW 99123005 A TW99123005 A TW 99123005A TW 201112062 A TW201112062 A TW 201112062A
Authority
TW
Taiwan
Prior art keywords
point
interpolated
value
coordinate value
interpolation
Prior art date
Application number
TW99123005A
Other languages
Chinese (zh)
Inventor
Masanori Togashi
Original Assignee
Univ Tokyo
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 Univ Tokyo filed Critical Univ Tokyo
Publication of TW201112062A publication Critical patent/TW201112062A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Generation (AREA)
  • Processing Or Creating Images (AREA)
  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosed rendering device can render smooth curves and rapidly comply with user input. On the basis of an inputted plurality of point sequences, interpolated points are generated and rendered on the screen of a display device (16) by the rendering device (10). The rendering device (10) is provided with a point sequence data acquisition unit (31), which acquires coordinates of each sample point configuring the inputted point sequence; an interpolation/smoothing processing unit (33), which, when the acquired number of sample points meets the aforementioned predetermined number in an interpolation/smoothing function that can calculate interpolated values on the basis of a predetermined number of sample points when said predetermined number of sample points exists, applies the aforementioned interpolation/smoothing function to the coordinates of said predetermined number of sample points, generating interpolated coordinates; and a rendering processing (35) means, which renders points at locations corresponding to coordinates interpolated on the screen of the display device (16).

Description

201112062 六、發明說明: 【發明所屬之技術領域】 本發明係關於一種基於來自數位筆等之輸入而作成描 繪之摇續·裝置及描繪程式。 【先前技術】 目剛已知有根據數位筆(tablet pen)與數位板(tablet)間 之電磁感應等,而取得數位筆在數位板上之位置資訊(座標 值)等之技術。應用這種技術來對應數位筆的移動,於顯示 裝置的晝面上進行描繪之描繪裝置已被提出。例如,專利 文獻1中,揭示了一種將使用者所希望之線條寬度進行修 正而顯示之技術;專利文獻2中,揭示了一種顯示自然的 毛筆畫之技術;專利文獻3中,揭示了一種實現對應筆壓 值之描緣之技術。 [先行技術文獻] (專利文獻) 專利文獻1 :日本特開2008_181515號公報。 專利文獻2 :日本特開2〇〇4_13941 1號公報。 專利文獻3 :日本特開2002-196878號公報。 [非專利文獻] 非專利文獻1 :「根據C語言之樣條函數(spHne function)、資料分析CG、微分方程式」桜井明監修,管野 敬祐、吉村和美'高山文雄著,東京電機大學出版局削 201112062 年發行。 非專利文獻 2 :「Bernstein-Bezier Methods for Computer-Aided Design for Free-Form Curves and Surface」 William J. Gordon, Richard F. RiesenFeld, Journal of the Association for Computing Machinery, V〇l. 21,no.2, April 1974,1974年4月發行。 【發明内容】 [發明所欲解決之問題] 又,上述數位板上之位置資訊’係被給予用以構成點 列之點的座標值,亦即是以離散值之形式而被給予。於是, 平滑地連接離散值之間的内插技術係成為必要的技術。作 為這種内插技術’已熟知有樣條函數(例如非專利文獻”。 例如,B-樣條函數(B_Spiine)中,為 利用適用了(K-1)次B-樣條函數b 數: 了連接離散點列之間, i,K(x)之(K-1)次樣條函 S(x) = Σ a i Bi- κ(χ) 更具體而言,對於被給予之資 五―’-(Xi’yi)(i=0、l'-..、N-1), 決疋滿足yi=S(Xi)之條件的α 。 鹼入♦ π κ丨 „ '句了決定《丨,必需確定被 輸入之點列。於是,在運用 物B 泉條函數之内插中,會有追 蹤性差亦即於描繪成型之 、隹而,_ 而耗費許多時間的問題點。 進而,先刖之描繪中,係 數箅而禅媒夕e 直線來連接運用樣條函 数寻而摱侍之經内插過的點 s。也就是指,經内插過之 201112062 點於顯示畫面上亦為離散之點,因而使用直線來進一步連 接該點之間。於是,也會有難以再現平滑曲線的問題點。 本發明’其目的在於提供一種描繪裝置及描繪程式, 其可迅速地追縱使用者的輸入。又,本發明,其目的在於 提供一種描繪裝置及描繪程式,其可描繪平滑曲線。 [用以解決問題之手段] 本發明之目的,係根據提供一種描繪裝置來達成, 此描繪裝置’其基於被輸入之複數點列,產生經内插過之 點並描繪於顯示裝置的畫面上,此描繪裝置的特徵在於具 備: 座標值取得手段,其取得用以構成被輸入之點列之各 取樣點的座標值; 内插、平滑化手段,當根據前述座標值取得手段而取 得之取樣點數達到内插、平滑化函數中之規定數時,便將 前述内插、平滑化函數適用於該規定數之取樣點的座標值 上,而產生經内插過之座標值’其中該規定數的特徵,係 在存在該規定數之取樣點的情況下,前述内插、平滑化函 數,能夠基於該規定數之取樣點而算出經内插過之值;以 及 描繪手段,其將點描繪於顯示裝置的晝面上的與前述 經内插過之座標值響應之位置。 較佳之實施態樣中,前述描繪手段被構成為下述之形 =:將由前述内插、平滑化手段所產生之與經内插過之座 標值響應之位置的,重疊於已經描繪於前述顯示裝置的 201112062 晝面上之點列,藉此來進行描繪。 更佳之實施態樣中,係使與前述經内插過之座標值響 應之位置之點,部分地重疊在一起。 另較佳之貫施態樣中,係使與前述經内插過之座標 值響應之位置之點,帶有透明度而重疊在一起。 其他之較佳實施態樣中,該描繪裝置被構成為下述之 形態:前述座標值取得手段,取得表示用以構成前述被輸 入之點列之取樣點中的筆壓之值;前述内插、平滑化手段, 將前述内插、平滑化函數適用於表示前述取樣點中的筆壓 之值,而算出用以表示經内插過之筆壓之值;前述描繪手 段,於前述經内插過之座標值所示之位置上,描繪出其大 小對應於表示前述經内插過之筆壓之值的點。 更佳之實施態樣中,前述内插、平滑化手段係基於前 述已取得之座標值,執行下述數學式t之運算來作為B —樣 條函數之乘積累加,而算出經内插過之座標值(x(t),γ⑴), [數學式1] N-1 X ⑴=Σ χ,Β^ K (t) i=0 N-1 Y (t) =Σ YiBi K (t) i=0 (其中,Xi、Yi,各為被輸入之點列中,第i個點的X 座軚及Y座橾,而Bi,K(t),為(K1)次之B_樣條函數;又, 參數t ’對於第!個座標值而言,係取在以下之範圍内:^ St<i + l(i = 〇、1、…、义2))。 201112062 另一更好之實施態樣中,上述内插、平滑化手段,係 基於前述已取得之座標值,執行下述數學式2之運算來作 為B-樣條函數之乘積累加, J井田、.工内插過之座標值 (X⑴,Y(t))及表示筆磨之值p⑴,BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a swaying device and a drawing program for making a drawing based on input from a digital pen or the like. [Prior Art] There has been known a technique for obtaining positional information (coordinate values) of a digital pen on a tablet based on electromagnetic induction between a tablet pen and a tablet. A drawing device that applies such a technique to correspond to the movement of a pen and draws on the face of the display device has been proposed. For example, Patent Document 1 discloses a technique for correcting a line width desired by a user, and Patent Document 2 discloses a technique for displaying a natural brush drawing; Patent Document 3 discloses an implementation. The technique of mapping the pen pressure value. [Prior Art Document] (Patent Document) Patent Document 1: Japanese Laid-Open Patent Publication No. 2008-181515. Patent Document 2: Japanese Laid-Open Patent Publication No. Hei 2-4-13941 No. 1. Patent Document 3: Japanese Laid-Open Patent Publication No. 2002-196878. [Non-Patent Document] Non-Patent Document 1: "Based on the C language spline function (spHne function), data analysis CG, differential equation" Sakai Akira, Guan Ye Jingyou, Yoshimura and Mei 'Alpine Wenxiong, Tokyo Electric University Publishing Bureau Issued in 201112062. Non-Patent Document 2: "Bernstein-Bezier Methods for Computer-Aided Design for Free-Form Curves and Surface" William J. Gordon, Richard F. Riesen Feld, Journal of the Association for Computing Machinery, V〇l. 21, no.2 , April 1974, issued in April 1974. SUMMARY OF THE INVENTION [Problems to be Solved by the Invention] Further, the position information on the tablet is given a coordinate value for a point constituting a point, that is, it is given in the form of a discrete value. Thus, it is a necessary technique to smoothly connect the interpolation techniques between discrete values. As such an interpolation technique, a spline function (for example, a non-patent document) is well known. For example, in the B-spline function (B_Spiine), the number of b-spline functions b (K-1) is applied to: Between the discrete point columns, i, K(x) (K-1) times spline function S(x) = Σ ai Bi- κ (χ) More specifically, for the given five- -(Xi'yi)(i=0, l'-.., N-1), αα satisfying the condition of yi=S(Xi). Alkali into ♦ π κ丨„ 'The sentence decided "丨, It is necessary to determine the point sequence to be input. Therefore, in the interpolation of the application B spring function, there will be a problem of poor traceability, that is, a problem that is drawn and formed, and which takes a lot of time. In the depiction, the coefficient is 箅 and the meditation e-line is used to connect the point s that has been interpolated by using the spline function. That is, the interpolated 201112062 point is also discrete on the display screen. Therefore, a straight line is used to further connect the points. Therefore, there is also a problem that it is difficult to reproduce a smooth curve. The present invention has an object of providing a drawing device and a drawing program, which can Further, the present invention has an object of providing a drawing device and a drawing program capable of drawing a smooth curve. [Means for Solving the Problem] The object of the present invention is to provide a drawing device according to the present invention. In the meantime, the drawing device generates an interpolated point based on the input plurality of dots, and draws the image on the screen of the display device. The drawing device is characterized by: a coordinate value obtaining means for acquiring The coordinate value of each sampling point of the input point sequence; the interpolation and smoothing means, when the number of sampling points obtained by the coordinate value obtaining means reaches a predetermined number in the interpolation and smoothing function, The interpolation and smoothing function is applied to the coordinate value of the sampling point of the predetermined number, and the interpolated coordinate value 'the characteristic of the predetermined number is generated in the case where the predetermined number of sampling points exist, the foregoing The interpolation and smoothing function is capable of calculating the interpolated value based on the predetermined number of sampling points; and the drawing means for drawing the dot on the surface of the display device In the preferred embodiment, the drawing means is configured to be shaped as follows: the interpolated and smoothed means are generated and interpolated. The position of the coordinate value is superimposed on the dot matrix of the surface of 201112062 that has been drawn on the display device, thereby drawing. In a preferred embodiment, the interpolated coordinate value is responded to. The points of the positions are partially overlapped. In another preferred embodiment, the points which are in response to the positions of the interpolated coordinate values are overlapped with transparency. In the example, the drawing device is configured such that the coordinate value obtaining means acquires a value indicating a writing pressure in a sampling point for configuring the input point sequence; and the interpolation and smoothing means The interpolation and smoothing function is adapted to represent the value of the pen pressure in the sampling point, and calculate a value indicating the interpolated pen pressure; the drawing means is performed on the interpolated coordinate value The position, which depicts the size corresponds to a value representing the inside by insertion through the pressure of the pen point. In a further preferred embodiment, the interpolation and smoothing means calculates the interpolated coordinates based on the obtained coordinate values and performs the operation of the following mathematical formula t as a multiplication accumulation of the B-spline function. Value (x(t), γ(1)), [Math 1] N-1 X (1)=Σ χ,Β^ K (t) i=0 N-1 Y (t) =Σ YiBi K (t) i=0 (where Xi and Yi are each the input point, the X-station and the Y-station of the i-th point, and Bi, K(t), which is the B_spline function of (K1) times; The parameter t ' is taken in the following range for the !th coordinate value: ^ St < i + l (i = 〇, 1, ..., meaning 2)). 201112062 In another preferred embodiment, the above interpolation and smoothing means performs the following mathematical expression 2 calculation based on the obtained coordinate value as a multiplication accumulation of the B-spline function, J. Iida, The coordinates (X(1), Y(t)) inserted in the work and the value p(1) indicating the pen grinding,

[數學式2J N-1 X⑴=Σ X丨Β|·, κ⑴ Ν-1 ΥιΒ,.[Mathematical formula 2J N-1 X(1)=Σ X丨Β|·, κ(1) Ν-1 ΥιΒ,.

γ (t) =Σ Ρ (t) ΙΗ =Σγ (t) =Σ Ρ (t) ΙΗ =Σ

(其中,m,各為被輸入之點列中,第i個點 …標及Y座標及表示筆壓之值…i K⑴,為㈣ 次之Β·樣條函數;又,參數t,對於第丨個座標值而言係 取在以下之範圍内:is t<i + 1(i = 〇 .....。 〃又,較佳之實施態樣中,當前述輸入之取樣點的規定 範圍内存在其他取樣點時,前述座標值取得手段,被構成 為將上述輸入之取樣點從取得之取樣點中除去。 又,較佳之實施態樣中,當表示經内插過之座標值的 點的規定範圍内,存在用以表示其他經内插過之座標值的 點時’則述描繪手段’被構成為將表示該經内插過之座標 值的點從描繪對象中除去。 又’本發明之目的’係根據提供—種描繪程式來達成, 201112062 該描繪程式,其用來在具備輸入裝置和顯示裝置之電腦 中,基於被輸入之複數點列,產生經内插過之點並描繪於 .4示裝置的畫面上,此描繪程式的特徵在於使前述電腦作 為以下各種手段而發揮功能: 座標值取得手段,其取得用以構成被輸入之點列之各 取樣點的座標值; 内插、平滑化手段,當根據前述座標值取得手段而取 得之取樣點數達到内插、平滑化函數中之規定數時,便將 别述内插、平滑化函數適用於該規定數之取樣點的座標值 上而產生經内插過之座標值,其中該規定數的特徵,係 在存在該規定數之取樣點的情況下,前述内插、平滑化函 數,能夠基於該規定數之取樣點而算出經内插過之值;以 及 描繪手^又,其將點描繪於顯示裝置的畫面上的與前述 經内插過之座標值響應之位置。 較佳之實施態樣中,前述描繪手段被構成為下述之形 態:將由前述内插、平滑化手段所產生之與經内插過之座 標值響應之位置的點,重疊於已經描繪於前述顯示裝置的 旦面上之點列’藉此來進行描繪。 更佳之貫施態樣中,係使與前述經内插過之座標值響 應之位置之點’部分地重疊在一起。 另一較佳之實施態樣中,係使與前述經内插過之座標 值響應之位置之點’帶有透明度而重疊在一起。 其他之較佳實施態樣中,該描繪裝置被構成為下述之 201112062 形態:上述座標值取得手段,取得表示“構成前述被輸 入之點列之取樣點中的筆壓之值;前述内插、平滑化手段, 將前述_、平滑化函數適用於表示前述取樣點中的筆壓 之值’而算出用以表示經内插過之筆壓之值;前述描繪手 段,於前述經内插過之座標值所示之位置上,描繪出其大 小對應於表示前述經内插過之筆壓之值的點。 [發明之效果] 若根據本發明,則可提供一種描繪裝置及描繪程式, 其可迅速地追蹤使用者的輸入。又,若根據本發明,則可 提供一種描繪裝置及描繪程式,其可描繪平滑曲線。 【實施方式】 [全體構成] 以下,參照隨附圖式來對本發明之實施形態加以說 明。第1圖係表示本實施形態之描繪裝置的構成之方塊 圖。如第1圖所示,本實施形態之描繪裝置i 〇,具有:cpu 11、ROM 12、RAM 13、輸入部丨4、輔助記憶裝置丨5、顯 示裝置1 6、及數位板(tablet) 1 7。 CPU 11 ’執行以下各種處理:描繪裝置1〇全體的控 制、構成使用數位筆(尖筆’ stylus pen)18輸入至數位板17 之點列之點的座標值之取得處理、基於取得之座標值之應 描繪點的座標值之算出處理 '顯示至顯示裝置16的畫面上 之描繪處理等。 201112062 ROM 12 ’存放由CPU !!所執行 ,. Λ订之以下各種處理之程 式,例如:構成使用數位筆丨8輸入 王数位板1 7之點列之 點的座標值之取得處理、基於取得 座知值之應描繪點(描 續對象點)的座標值之|屮盘理、月s _ 异出處理顯不至顯示裝置16的畫 面上之描繪處理等。或者,上述 程式亦可存放於輔助記 憶裝置15 t。 ,記憶著從讓12讀出之程式,或處理過程 中產生之資料。如後述,本實施形態中1以下各種資料 記憶於RAM 13中:構成使用數位筆18輸入至數位板η 之點列之點的座標值、内插處理過程中產生之點的座標 值、及應描繪點的座標值等。輸入部14,包含鍵盤或滑鼠 等。輔助記憶裝置15,例如由硬碟裝置或SSD(s〇uds⑽ Drive,固態驅動器)所構成。 此外’本實施形態中,CPU u亦具備Gpu(graphics Processing Unh,圖形處理單元).力能,如:基於取得之 座標值之應描繪點的座標值之算出處理、顯示至顯示裝置 16的畫面上之描繪處理等。當然,亦可與cpu u獨立而 另外具備GPU。 如第2圖所不,數位板丨7,係與顯示裝置16重疊配 置。然而並不限定於此_態,數位17 '亦可與顯示:置 16分離配置。數位板17’根據與數位筆(尖筆)18間之電磁 感應,可獲得數位筆1 8所位於之平面座標(χ座標及γ座 標)等。此外’座標取得之_方法,並不限於電磁感應,亦可 使用電阻膜方法、超音波方式、或者組合光學偵測器與影 10 201112062 像處理來讀取座標之方式等。又,本實㈣utiw 付表不由數位筆18所造成之數位板Η上之筆壓之值。此 可根據電磁傳接作用而取得内藏於筆内之感壓元件之值, 亦可利用被配置於數位板17中之壓力感測膜等。於是 實施形態中,若使數位筆18在數位板17上(顯示裝置Η 上)移動而描出文字或圖形等,則會基於該數㈣Μ 動執跡的輸入’於顯示裝置16的畫面上顯示平滑之 圖形等。又,數位筆18的銘叙,5 的移動,亦可以滑鼠操作等來代替。 [處理的概略] 第3圖係本實施形態之描績裝置的功能方塊圖。第* 圖係表示本實施形態之描緣裝置中所執行之主流程之例子 的流程圖。如第3圖所示,描緣裝置1〇,具有:點列資科 取得部31、内插處理部32、描繪前處理部34及描綠處理 部35。在點列資料取得部31、内插處理部32、描繪前處 理部34中所產生之各種資料,係記憶於記憶部 ★點列資料取得部31,從數位板17接收包含表示數位 筆18的位置(x座標、γ座標)及筆塵之值的三維資料,產 生點列資料並記憶至記憶部36。内插處理部32,包含内 插:平滑化處理部33,基於點列資料所表示之點的座標值, 執灯内插處理’產生一串經内插過之座標值群並記憶至記 =部%。描繪前處理部34,基於記憶在記憶部%中之座 心值群异出應描繪點的座標值。描繪處理部3 $,基於被 算出之座標值’於顯示裝置16的畫面上顯示複數之點(點 201112062 列)。此外,各構成部分中被算出之座標值等,係存放於記 憶部3 6中’於後續處理中被利用。 本實施形態中,點列資料取得部3丨、内插處理部32、 描繪前處理部34、描繪處理部35的功能,主要由cpu η 實現。又,記憶部36,例如相當於RAM丨3及輔助記憶裝 置15。此外,在與CPUU獨立而另外設置了 Gpu的情況 下,點列資料取得部3丨、内插處理部32、描繪前處理部 34、描繪處理部35的功能的一部分,可由Gpu代替。 如第4圖所示,本實施形態之描繪裝置1〇中,一旦接 通電源,或者自輸入部14給予表示描繪開始之指示,便起 動主流程,反覆執行後述之步驟402〜405 '處理^ CPU 11, 執行初始化處理(初期化處理),其包含將RAM 13中的資料 或顯示裝置16的畫面清除(步驟4〇丨一旦初始化處理(步 驟4〇 1 )、、·。束,CPU 11 (特別是,點列資料取得部3 1),便執 行點列資料取得處理(步驟4〇2)。第5圖係表示本實施形態 之點列資料取得處理之例子的流程圖。 [點列資料取得處理] 如第5圖所示,點列資料取得部31,自數位板17取 得三維座標值(Χή’ Υή,卜),其表示於現在時刻I時, 數位板17上之數位筆丨8的位置(取樣點的位置)及筆壓(步 驟50Ό Λ處’(xTi,Υίί)表示數位筆18的位置,h表示 數位筆18給予數位板17之筆壓的大小。若前一次取得之 座標值(時刻叫的座標值(Χτμ,^,Ρτμ),與取得之 12 201112062 座標值(XTi,YTi,Ρτ〇相同(步驟5〇2的判斷結果為々Ο, 則返回步驟501。當在步驟5〇2中判斷為N。時算出與鄰 接點之間的距離(步驟503)。本實施形態中,將步驟5〇ι中 獲得之座標值(XTi,YTi,pTi)作為第k組座標值(^,^, Pk)而算出S亥位置(Xk ’ 與記憶於記憶部%中之第(k_i) 組座標值(Xkm)中的位置(xk·,,γ,·,)間的距離。 此外’因為取樣點的位置,係每隔幾乎固定之取樣週期△t 而取:其距離’故所取得之距離,可設想為以取樣週期^ 作為早位時間之速冑。例 > ’若採用歐幾里德(Eu^_) 距離來作為距離’則距離d(速度v),如下述之式所算出。 d=((Xk-Xk-i)2 + (Yk-Yk.1)2)W2 此外,並不限定於歐幾里德距離,亦可採用其他之距 離’例如都會(Metropolitan)距離。 …點列資料取得冑31,將座標值%,Yk,Pk)作為點列 資料的一部分(構成點列之點的資料)而記憶至記憶部 36(步驟504)。接著,點列資料取得部31,判斷:鄰接於 ',pk)之點,也就是指座標值(Xk i,Yk i,h i)之點,是 否,於規定之距離内(步驟5G5)。在此,只要判斷上述距: d是否在規定之臨限值^以下即可。當在步驟5〇5中判斷 為Yes時’ CPU 11,將本次獲得之座標值(心,l從 點列資料令除去(步驟506)。也就是指,執行點列之部分捨 棄處理。當在步驟505中判斷為N〇,或者步驟5〇6被執行 之後,結束點列資料取得處理。 丁 13 201112062 [内插處理] 一旦點列資料取得處理(㈣402)結束,cpu丄【,便執 行内插處理(步驟4〇3)。第6圖係表示本實施形態之内插處 理之例子的流程圖。CPU U(内插處理部32),參照點列資 料,而對點列資料施行移動平均處理。本實施形態中,内 插處理。p 32 ’作為第k個點的座標值⑻,Yk,Pk),算出 從第㈣個點的座標值% 3,^ 3,^ 3)至第k個點的座 標值(xk’ Yk,pk)的平均值,並將其作為新的第k個點的 座標值(Xk,Yk,pk)。 亦即’新的第k個點的座標值各取為以下之值。(where m, each is the input point, the i-th point...the Y-mark and the Y-coordinate and the value of the pen pressure...i K(1), which is (four) times the Β spline function; again, the parameter t, for the For a coordinate value, it is within the following range: is t < i + 1 (i = 〇.....) 〃 again, in the preferred embodiment, when the specified input sampling point of the specified range of memory At other sampling points, the coordinate value obtaining means is configured to remove the input sampling point from the acquired sampling point. Further, in a preferred embodiment, when the point of the interpolated coordinate value is indicated In the predetermined range, when there is a point indicating another interpolated coordinate value, the "description means" is configured to remove the point indicating the interpolated coordinate value from the drawing object. The purpose is based on providing a rendering program, 201112062. The drawing program is used to generate an interpolated point based on the input plural point in a computer having an input device and a display device. .4 on the screen of the display device, the characteristics of this depiction program The computer functions as the following means: a coordinate value obtaining means for obtaining a coordinate value for each sampling point of the input point sequence; and an interpolation and smoothing means for obtaining the means based on the coordinate value When the number of sampling points obtained reaches a predetermined number in the interpolation and smoothing function, an interpolation and smoothing function is applied to the coordinate value of the predetermined number of sampling points to generate an interpolated coordinate value. The feature of the predetermined number is that when the predetermined number of sampling points are present, the interpolation and smoothing function can calculate the interpolated value based on the predetermined number of sampling points; The point is drawn on the screen of the display device at a position corresponding to the interpolated coordinate value response. In a preferred embodiment, the drawing means is configured to be interpolated and smoothed by the aforementioned interpolation. The point generated by the means and the position of the interpolated coordinate value response is superimposed on the dot column already drawn on the surface of the display device, thereby drawing. In the embodiment, the point of the position of the interpolated coordinate value response is partially overlapped. In another preferred embodiment, the interpolated coordinate value is compared with the foregoing In another preferred embodiment, the drawing device is configured as the following 201112062 form: the coordinate value obtaining means obtains the "forms the aforementioned input point column" The value of the pen pressure in the sampling point; the interpolation and smoothing means, wherein the _, the smoothing function is applied to the value of the pen pressure in the sampling point, and is calculated to represent the interpolated pen pressure The value of the above-described drawing means that a point whose size corresponds to the value indicating the interpolated pen pressure is drawn at the position indicated by the interpolated coordinate value. [Effect of the Invention] According to the present invention According to the invention, a drawing device and a drawing program can be provided which can quickly track the user's input. Further, according to the present invention, it is possible to provide a drawing device and a drawing program which can draw a smooth curve. [Embodiment] [Embodiment] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. Fig. 1 is a block diagram showing the configuration of the drawing device of the embodiment. As shown in Fig. 1, the drawing device i of the present embodiment includes cpu 11, ROM 12, RAM 13, input unit 丨4, auxiliary memory device 丨5, display device 16, and tablet 1 7. The CPU 11' performs various processes such as control of the entire drawing device 1 and acquisition of coordinates of a point at which a point pen is input to the dot column of the tablet 17 using a digital pen (stylus pen) 18, based on the acquired coordinate value. The calculation processing of the coordinate value of the drawing point is displayed on the screen of the display device 16 or the like. 201112062 ROM 12 'The storage is executed by the CPU !!, and the following various processing programs are specified, for example, the coordinate value of the point of the point of the dot column of the king tablet 17 is calculated using the digital pen 8 The coordinates of the coordinates of the target point (the object to be continued) are not displayed on the screen of the display device 16 or the like. Alternatively, the above program may be stored in the auxiliary memory device 15 t. , remembers the program that was read from the 12, or the data generated during the process. As will be described later, in the present embodiment, various data of 1 or less are stored in the RAM 13: coordinates indicating the point at which the digit pen 18 is input to the dot column of the tablet η, the coordinate value of the point generated during the interpolation process, and Draw the coordinates of the point, etc. The input unit 14 includes a keyboard, a mouse, and the like. The auxiliary memory device 15 is constituted by, for example, a hard disk device or an SSD (s〇uds (10) Drive, a solid state drive). Further, in the present embodiment, the CPU u also includes a Gpu (graphics processing unh), a force energy such as a calculation process of the coordinate value of the point to be drawn based on the obtained coordinate value, and a screen displayed on the display device 16. Drawing processing, etc. Of course, it can also be independent of cpu u and has a GPU. As shown in Fig. 2, the tablet 7 is arranged to overlap with the display device 16. However, it is not limited to this state, and the digit 17' can also be separated from the display: set 16 configuration. The tablet 17' can obtain the plane coordinates (χ coordinates and γ coordinates) in which the digital pens 18 are located, based on electromagnetic induction with the digital pen (tip pen) 18. In addition, the method of obtaining the coordinates is not limited to electromagnetic induction, and the method of reading the coordinates by using the resistive film method, the ultrasonic method, or the combination of the optical detector and the image processing can be used. In addition, the actual (four) utiw pays the value of the pen pressure on the digital board caused by the digital pen 18 . This allows the value of the pressure sensitive element built into the pen to be obtained by the electromagnetic transfer action, and the pressure sensing film or the like disposed in the tablet 17 can also be used. Therefore, in the embodiment, when the digital pen 18 is moved on the tablet 17 (on the display device 而) and characters or graphics are drawn, the input on the display device 16 is displayed based on the number (4) 执Graphics and so on. In addition, the inscription of the digital pen 18, the movement of the 5, can also be replaced by a mouse operation or the like. [Summary of Processing] Fig. 3 is a functional block diagram of the performance device of the present embodiment. Fig. 4 is a flow chart showing an example of the main flow executed in the drawing device of the embodiment. As shown in Fig. 3, the striking device 1A includes a point-of-sales acquisition unit 31, an interpolation processing unit 32, a pre-rendering processing unit 34, and a green processing unit 35. The various data generated by the dot data acquisition unit 31, the interpolation processing unit 32, and the pre-render processing unit 34 are stored in the memory unit ★ the point data acquisition unit 31, and receive the digital pen 17 from the tablet 17 The three-dimensional data of the position (x coordinate, γ coordinate) and the value of the dust generate point data and memorize it to the memory unit 36. The interpolation processing unit 32 includes interpolation: the smoothing processing unit 33, based on the coordinate value of the point indicated by the point data, executes the lamp interpolation processing to generate a series of interpolated coordinate value groups and memorizes them to the memory = unit%. The drawing pre-processing unit 34 discards the coordinate value of the point to be drawn based on the set of the center values stored in the memory unit %. The rendering processing unit 3$ displays a complex point on the screen of the display device 16 based on the calculated coordinate value ' (point 201112062 column). Further, the coordinate values and the like calculated in the respective components are stored in the memory unit 36 for use in subsequent processing. In the present embodiment, the functions of the point data acquisition unit 3, the interpolation processing unit 32, the pre-rendering processing unit 34, and the rendering processing unit 35 are mainly realized by cpu η. Further, the memory unit 36 corresponds to, for example, the RAM port 3 and the auxiliary memory device 15. Further, when the Gpu is separately provided in addition to the CPUU, part of the functions of the point data acquisition unit 3, the interpolation processing unit 32, the pre-rendering processing unit 34, and the rendering processing unit 35 can be replaced by Gpu. As shown in Fig. 4, in the drawing device 1 of the present embodiment, when the power is turned on or the instruction indicating the start of drawing is given from the input unit 14, the main flow is started, and the steps 402 to 405 described later are executed repeatedly. The CPU 11 executes an initialization process (initialization process), which includes clearing the data in the RAM 13 or the screen of the display device 16 (step 4: once initialization processing (step 4〇1), . . . bundle, CPU 11 ( In particular, the point data acquisition unit 3 1) executes the point data acquisition processing (step 4〇2). Fig. 5 is a flowchart showing an example of the point data acquisition processing of the present embodiment. Acquisition Process] As shown in Fig. 5, the dot data acquisition unit 31 obtains a three-dimensional coordinate value (Χή' Υή, 卜) from the tablet 17, which indicates the digital pen 8 on the tablet 17 at the current time I. The position (the position of the sampling point) and the pen pressure (step 50 Ό ' '(xTi, Υίί) indicates the position of the digital pen 18, and h indicates the size of the pen pressure applied to the tablet 17 by the digital pen 18. If the previous obtained coordinate Value (coordinate value called at the moment) Χτμ, ^, Ρτμ) is the same as the obtained 12 201112062 coordinate value (XTi, YTi, Ρτ〇) (the judgment result of step 5〇2 is 々Ο, then return to step 501. When it is judged as N in step 5〇2. The distance between the adjacent points is calculated (step 503). In the present embodiment, the coordinate values (XTi, YTi, pTi) obtained in step 5〇 are taken as the kth set of coordinate values (^, ^, Pk). Calculate the distance between the S Hai position (Xk ' and the position (xk·, γ, ·,) in the (k_i) group coordinate value (Xkm) stored in the memory unit %. Also 'because of the position of the sampling point, It is taken every almost fixed sampling period Δt: the distance it is obtained from, so it can be assumed that the sampling period ^ is used as the speed of the early time. Example> If Euclidean is used (Eu^ _) The distance is calculated as the distance 'the distance d (velocity v), as calculated by the following formula: d = ((Xk-Xk-i) 2 + (Yk-Yk.1) 2) W2 is not limited to Euclidean distance, you can also use other distances such as Metropolitan distance. ... point data obtained 胄 31, coordinate value %, Yk, Pk) as point data The portion (the data constituting the point of the dot row) is stored in the memory unit 36 (step 504). Next, the point data obtaining unit 31 determines that the point adjacent to ', pk) is the coordinate value (Xk i, Whether or not the point of Yk i,hi) is within a predetermined distance (step 5G5). Here, it is determined whether the distance d: d is below the predetermined threshold value ^. When it is determined in step 5〇5 When Yes, the CPU 11 removes the coordinate value (heart, l from the point data order) obtained this time (step 506). That is to say, the partial processing of the dot column is performed. When it is judged as N〇 in step 505, or step 5〇6 is executed, the point data acquisition processing is ended. Ding 13 201112062 [Interpolation processing] Once the point data acquisition processing ((4) 402) is completed, cpu丄 [, the interpolation processing is performed (step 4〇3). Fig. 6 is a flow chart showing an example of the interpolation processing of the embodiment. The CPU U (interpolation processing unit 32) performs a moving average process on the point data by referring to the point data. In the present embodiment, interpolation processing is performed. p 32 ' is used as the coordinate value (8), Yk, Pk of the kth point, and the coordinate value (xk' Yk, pk) from the coordinate value % 3, ^ 3, ^ 3) of the (fourth) point to the kth point is calculated. The average value of the ) is taken as the coordinate value (Xk, Yk, pk) of the new kth point. That is, the coordinate values of the 'new kth point are each taken as the following value.

Xk ~ ( Xk-3 + Xk.2 + Xk_, + Xk ) / 4 Yk = ( Yk-3 +Yk_2 + Yk-丨 + Yk)/4Xk ~ ( Xk-3 + Xk.2 + Xk_, + Xk ) / 4 Yk = ( Yk-3 +Yk_2 + Yk-丨 + Yk)/4

Pk = (pk.3 + Pk-2 + Pk 丨+ Pk)/4 卜移動平均m處理,會使點列的變化範圍縮 小,也就是指,係為了達成平滑化而進行之處理’但亦可 省略此處理。 “ Θ插處理部3 2,判斷已被取得之點的個數是否 則Γ定值以上(步驟6G2),若於規^值以上(步驟咖之叫 :内插、平滑化處理(步驟603)β本實施形態中,因為 η灯3次樣條函數(spHne)處理故點的個數在4以上即 Z此時,在步驟602 1判斷為Yese當在步驟6Pk = (pk.3 + Pk-2 + Pk 丨 + Pk)/4 The moving average m processing will reduce the range of variation of the point column, that is, the processing for smoothing. Omit this processing. The interpolation processing unit 32 determines that the number of points that have been acquired is equal to or greater than the predetermined value (step 6G2), and is equal to or greater than the value (step call: interpolation, smoothing processing (step 603) In the present embodiment, the number of points after the η lamp 3rd spline function (spHne) processing is 4 or more, that is, Z. In step 602, it is determined that Yese is in step 6.

斷為Yes時,執;ί千& k T 插、平岣化處理(步驟603)。第7圖係 表示本實施形態之内插、平滑化處理之例子的流程圖。 如第7圖所+ . Λ 圓斤不,在内插、平滑化處理中,内插、平滑 14 201112062 化處理部33 ’將運算中會利用到的陣列 '變數初期化(步驟 7〇1),算出節點並追加之(步驟7〇2),並且使用追加後之節 點運算函數值(步驟7G3)。特別是,本實施形態中,將= ==:離“細分化、參數化之值,與B-樣條函數 [Β-樣條函數] 右將(IC-1)次之β 之數學式所定義。 Bi . K(x) = (qi + K_qi)MK(x :屮、 此處之 Μκ(χ : qi、qi + i、 3 ’ 在 qi 、 qi+i ..... 則其由以下 樣條函數寫作Β「κ(χ), 、…、qi+κ) 、q'+κ) ’為對於下述數學式When it is broken to Yes, it is executed; ί thousand & k T is inserted, and the processing is performed (step 603). Fig. 7 is a flow chart showing an example of interpolation and smoothing processing in the present embodiment.第 斤 不 , , , , , , , , , , , , 在内 在内 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 The node is calculated and added (step 7〇2), and the added node operation function value is used (step 7G3). In particular, in the present embodiment, ===: from the "subdivided, parameterized value, and the B-spline function [Β-spline function] right (IC-1) next to the mathematical formula of β Definition. Bi. K(x) = (qi + K_qi)MK(x :屮, Μκ( here: qi, qi + i, 3 ' in qi, qi+i ..... The spline function is written as "κ(χ), ,..., qi+κ), q'+κ) 'for the following mathematical formula

Qi + κ (qi S q,+, ^..... 關於q之Κ階均差而得者。 ~~ + 的節點處取 [數學式3] MK (lq) = (q — x)Qi + κ (qi S q,+, ^..... For the difference between the order of q, the node of ~~ + is taken [Math 3] MK (lq) = (q — x)

而因為: [數學式4J (x-q) q) - (- 1 q 故Β- 樣條函數Bi.K(x)寫作 般式可表示如下: 15 201112062 [數學式5]And because: [Math 4J (x-q) q) - (- 1 q Β - spline function Bi.K (x) writing can be expressed as follows: 15 201112062 [Math 5]

日以⑴=(_1) (qi+K-qi) IDay (1)=(_1) (qi+K-qi) I

q j=〇 p (K -1)次之樣條函數§ (χ)孫蔣r择 係將B-樣條函數Bi κ(χ)作 為基底來作線性組合,可表示為下述之式。 [數學式6] S (χ) =α0Βο. κ (χ) +〇f Ν-1 =Σ Of , Β !=0 Ν'1 ΒΝ-1· Κ (X) Βι·κ (X) + ·..( κ (X ) &⑽之樣條函數,例如可對於被給予之資, :°)、(Χΐ,:、、…、(Χ…,藉由算出滿足娜㈣、 1.....N-l)之係數^而得到。 y ’其中A、α 也就是指,A α [數學式7] 、y為以下所示者 A:q j=〇 p (K -1) times of the spline function § (χ) Sun Jiang r chooses the B-spline function Bi κ (χ) as a basis for linear combination, which can be expressed as the following formula. [Math 6] S (χ) = α0Βο. κ (χ) +〇f Ν-1 =Σ Of , Β !=0 Ν'1 ΒΝ-1· Κ (X) Βι·κ (X) + ·. ( κ (X ) & (10) spline function, for example, for the given capital, : °), (Χΐ, :,,..., (Χ..., by calculating the satisfaction of Na (four), 1.... .Nl) The coefficient ^ is obtained. y 'where A, α means, A α [Math 7], y is the following A:

B, B B (X 0), (X !), Β1. Κ Β^.κ (Χ 0), (χ ι). • _ · • · ,βν. ,βν. (x ), κ (χ«η), • · · I βν_ BN-1. K (Xih) a- ^0 y = «Ν-, ^ _ 如上述,若根據B_樣 列,可求得係激_ 、函數’則藉著確定被輸入之點 丁诉数a i。然而立 。也思、味著,只要尚未確定全部 16 201112062 點列,便無法執行内插處理。 [本貫施形態之B -樣條函數的内插運算] 本實施形態中,將B -樣條函數利用於所謂貝茲曲線 (Bezier curve)的基底函數上,其將被給予之n個資料點, 作為決定曲線形狀之控制點而利用◦此手法例如被揭乔於 非專利文獻2中。 例如,對於本件之點列資料取得處理中所取得之3維 座標值(X,·,Yi,Pi),於本實施形態中,可得到如以下之資 料值。 [數學式8] N-1 X (t) =Σ Χ,Β, K (t) i=0 N-1 Y (t) =Σ Υ,Β, K (t) i=0 N-1 Ρ (Ο =Σ Ρ,Β^ K (t) i=0 ’ Yi ’ Pi ’係分別表示使用者所輸入之點列中,第i 個點的X座標、Y座標及筆壓之值,且Bi . K(t),係K階之 ((K-1)次)B-樣條函數。又’參數t,對於第^個座標值而言, 其值係取在以下之範圍内:t<i+l(i = 0、1.....Ν·2)。 由所得到之X(t)、γ⑴、以”所表示之座標值(χ⑴, Y(t) ’ P(t)),成為經内插後之座標值。本實施形態中,函 17 201112062 數係根據由參數t所枰矣+ i 之媒介變數來表示, 内插過之座標值,根攄啬 又新的經 ^ ® ih /- B ^ ^ ’ 座標值)與B-樣條函數而獲 付,因此在B-樣條函數& 後 列)被獲得之階段,便可H 十算之量的資料點⑽ 資料[ ^仃内插運算’而得龍内插過之 本實施形態中,闵盔益> 仃3次樣條函數處理,故點的 個數在4以上即可。你丨 、 故..名的 初期階段’在取得座桿值 γ0,P。)〜(x3,Y3,D之眛赴社 于座h值(χ〇 3)之時點,執行内插、 照第ό圖之步驟602、6 , 月化處理(參 在之後的處理中,亦使用4 個點(座標值(Χμ,γ. 1,ρ 、, 7Γ使用4 數處理,以r⑴ (Xi’Yi,Pi))來執行樣條函 :處仔到經内播過之座標值。經内插過之座桿值, 存放於記憶部3 6中。 值 以下,將由4個點(座標值(in Ρ〇)所得到之經内插過之點, ('1 點表不為(X』,y_i,Pj)。 [描繪前處理] 一旦内插處理(步驟4〇3)社 , 部叫,便執行描繪前處理(步驟PU11(描繪前處理 顯示於顯示裝置的畫面上二驟二步::”,將應 士 *机t 玻n點列(由描繪對象點所構 ^ . 圖係表示本實施形態之描妗 月'J處理之例子的流程圖。如第 曰 蔣_此 固如弟8圖所不,描繪前處理部34, 二了 :憶部36中’由4個點(座標⑽… 〜 得到之經内插過之點的座標(χΗ 出,以標定出起點與終點(步驟叫因為經内插過之點的 18 201112062 座標中之起點與終點一定會描繪出來,故於步驟801中標 定出上述2 ·點。接$ ,描繪前處理部34,參照第』個座標 (χ』,y_i’ P_i)中的位置(Xj,yj)’算出與第個座標h i,力】,B, BB (X 0), (X !), Β 1. Κ Β^.κ (Χ 0), (χ ι). • _ · • · , βν. , βν. (x ), κ (χ«η ), · · · I βν_ BN-1. K (Xih) a- ^0 y = «Ν-, ^ _ As above, if the B_-like column is used, the stimulus _ and the function ' can be obtained by determining The number of points that have been entered is a few. However, stand. It is also thought that the interpolation process cannot be performed as long as all the 16 201112062 point columns have not been determined. [Interpolation operation of the B-spline function of the present embodiment] In the present embodiment, the B-spline function is applied to a basis function of a so-called Bezier curve, which is to be given n pieces of data. The point, which is used as a control point for determining the shape of the curve, is disclosed in Non-Patent Document 2, for example. For example, in the present embodiment, the following three values can be obtained for the three-dimensional coordinate values (X, ·, Yi, Pi) obtained in the point data acquisition processing of the present invention. [Math 8] N-1 X (t) = Σ Χ, Β, K (t) i = 0 N-1 Y (t) = Σ Υ, Β, K (t) i = 0 N-1 Ρ ( Ο =Σ Ρ,Β^ K (t) i=0 ' Yi 'Pi ' is the value of the X coordinate, Y coordinate and pen pressure of the i-th point in the point column input by the user, respectively, and Bi. K(t) is a K-order ((K-1) times) B-spline function. Also 'parameter t, for the ^th coordinate value, its value is in the following range: t<i +l(i = 0, 1.....Ν·2). From the obtained X(t), γ(1), and the coordinate value represented by "((1), Y(t) 'P(t))), It becomes the coordinate value after interpolation. In this embodiment, the number of the letter 17 201112062 is expressed by the media variable of the parameter t + i + i, the interpolated coordinate value, and the new ^ ^ ® Ih /- B ^ ^ 'coordinate value) is paid with the B-spline function, so at the stage where the B-spline function & post-column is obtained, the data point of the H-th calculation amount (10) data [ ^仃Interpolation operation 'In this embodiment, the dragon has been inserted, and the 闵 益 & 仃 仃 次 次 次 次 次 次 次 次 次 次 次 次 次 仃 仃 仃 仃 仃 仃 仃 仃 仃 仃 仃 仃 仃 仃 仃 仃 仃 仃 仃 仃 仃 仃 仃 仃 仃Order 'At the time when the seatpost value γ0, P.)~(x3, Y3, D is sent to the seat at the h value (χ〇3), the interpolation, the second step 602, 6 are performed, and the monthlyization is performed. Processing (in the subsequent processing, 4 points are also used (coordinate values (Χμ, γ. 1, ρ, , 7Γ using 4 number processing, r(1) (Xi'Yi, Pi)) to execute the spline function: The value of the coordinates broadcasted by the internals. The interpolated seatpost value is stored in the memory section 36. Below the value, it will be interpolated by 4 points (the coordinate value (in Ρ〇)). Point, ('1 point table is not (X), y_i, Pj). [Pre-Drawing Process] Once the interpolation process (step 4〇3) is called, the pre-rendering process is executed (step PU11 (pre-draw processing) Displayed on the screen of the display device, two steps: "", the letter of the machine t is a column of n points (constructed by the object to be drawn). The figure shows the example of the description of the embodiment of the present invention. Flowchart. If the first 曰 曰 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ (χΗ出,以The start point and the end point are calibrated (the step is called because the start point and the end point in the 18 201112062 coordinates of the inserted point are necessarily drawn, so the above 2 · point is marked in step 801. Then, the pre-processing unit 34 is drawn. Refer to the position (Xj, yj) in the θth coordinate (χ, y_i' P_i) to calculate the first coordinate hi, force],

Pj · 1 )中的位置(Xj -1,y』_ 1 )間的距離。此處,例如可算出歐幾 里得距離: 接著’描繪前處理部34,判斷距離d是否於規定之臨 限值dth以下(步驟8〇3),其中該臨限值吣係對應最新之筆 壓值或顯示裝置的解析度等而決定。當在步驟8〇3中判斷 為Yes時,將座標值(Xj,yj,pj)從描繪對象點十除去(步驟 804)。亦即,執行點列的部分捨棄處理。上述步驟8〇3、8〇4, 與第5圖之步驟5〇5、5〇6相同。當在步驟则中判斷為 Yes時,或者步驟8〇4結束後,描繪前處理部,進行筆 壓值Pj與應描繪點的點(d〇t)大小間的對應(步驟8〇5)。第9 圖係表示本實施形態之筆壓.、點對應表之例子的圖。 如第9圖所示’本貫施形態巾,對於每個規定筆壓值 之範圍’將該範圍與表示應描繪之點的點大小之值d相關 聯之表格_,例如存放於辅助記憶裝置15,而在描緣前 處理34中,將該表格複製至RAM 13。本實施形態之表格 9〇〇中,筆m的範圍)與表示點大小之值之間為線性變化。 例如’在256階段中(1〜256)’若筆壓值為卜”,則表示點 大小之值為「1」(參照符號9〇1),若筆壓值為33〜64,則 表不點大小之值為「2」(參照符i 9〇2)。當然,並不限定 於此種線性之情況’而亦可非線性地變化表示點大小之 19 201112062 值。又’筆壓與點大小當然亦不限定於第9圖所示之對應 關係。進而’因為前述點上,使用了施加過反鋸齒 (anti-aliasing)處理之描繪要素,故筆壓與點大小(像素群集 (pixel cluster)),並不一定明確地相對應。 描繪前處理部34,參照RAM 13中之表格,標定出與 筆壓值Pj對應之表示點大小之值D。藉此,可得到由表示 位置之值Xj、y」及表示點大小之值D所構成之描績對象點 資料(Xj,yj,D)。所得到之描繪對象點資料(Xj,心,, 係存放於記憶部36。描繪前處理部34,反覆進行步驟 802〜805之處理直到終點為止。藉此,可得到彼此之間適 當地間隔了距離dth之點列資料,其中該距離山卜係對應最 新之筆壓值或顯示裝置的解析度等而決定。 [描繪處理] 接著,對描繪處理(第4圖之步驟405)加以說明。本實 施形態中,描繪處理,係讀出上述描繪對象點資料於描 繪對象點所表示之位置(Xj,yj)上,描繪出以D所表示之大 J之點亦即,本貫施形態中,在描繪對象點之間,並非 以具有某種寬度之線條來連結而是將多數之描繪對象 點’以晝面上最適當之間隔進行描繪,以表現曲線或直線。 此係與已知之手法相比之下的巨大差異處。又,本實施形 態中反覆執行描繪前處理。於是,在各描繪前處理中所產 生之描繪對象點資料,作為具有規定透明度之點,依序重 疊而顯不於畫面上’以達成規定之色彩濃度。例如,於描 20 201112062 繪對象點上所描繪之色彩濃度(透明度)係為預定。又,如 月IJ述’此描繪對象點,與各點大小D相對應,故描繪對象 點係以對應各筆壓之大小而被描繪。 此外’亦可不將取得之描繪對象點全部重疊,而構成 為將描繪對象點中被選擇之規定的一部分重疊的形態。 第10圖係概略地表示本實施形態之描繪處理的圖。例 如’可由輸入至數位板i 7之四個點列Pi 3〜Pi,而獲得描繪 對象點之點列1〇〇1。同樣地,可各從四個點列^ 2〜pi +丨、 Ρ_-ι〜Pi+2、Pi〜卩…(未圖示)獲得描繪對象點之點列11〇2、 11 〇3、1104。本實施形態中,顯示於顯示裝置16的畫面上 之曲線1010,係上述點列1001〜1004重疊而成。例如,曲 線1〇1〇的領域1013,係點列1〇〇1〜1〇〇3的重疊,而領域 1014 ’係點列 他領域(例如, 1002〜1004的重疊。又,應可理解的是,其 領域1011、1〇12、1015),亦同樣地為圖示 之點列及其他點列所重疊而成。 進而,本實施形態中,根據重複進行步驟4〇2〜4〇4之 處理’ ^被輸人之四個點列,依序產生描繪對象點之點 列。於疋,可幾乎完全對應點列的輸入(也就是指,數位筆 的動作)’而幾乎即時地以對應其筆壓之粗細,再現出由描 繪對象點所構成之曲線。 第"圖係表示使用者在數位板17上移動數位筆18, 結果由點列取得部31所取得之點列f料之例子的圖。又, ^ 12圖係表不根據本實施形態之處理的圖,顯示於顯示裝 置16的晝面上之曲線之 21 201112062 插處理部32進行内插、平滑化,然後於描繪前處理部μ 中將點列適度地部分捨棄’再由描繪處理部35將描繪對象 點重疊顯示’#以在最後達到規定之色彩濃度,結果由曲 線再現出數位筆18的移動。 若根據本實施形態,當已存在執行内插時所必要之數 量的輸入點(取樣點)時,則透過能夠根據該必要數量而算 出經内插過之值的内插、平滑化函數,算出用以構成經内 插過之點列之點的座標值。藉此,不需等到所有點列均已 獲得後才開始進行處理,而能夠在獲得了内插所必要之數 量之取樣點的階段’便執行運算。 又,若根據本實施形態,上述之點列(其基於:根據在 能夠獲得執行内插時所必要之數量之取樣點的階段時便執 行之運算,而獲得之經内插過之座標值),係與已經顯示於 顯示裝置的畫面上之點列重疊而描繪。藉&,鄰接點之間 不需以直線來連接,而可再現出平滑的曲線。 [其他例子] 本發明並未限定於以上之實施形態,可在申請專利範 圍所《己載之發明範圍中作出各種變更,該等變更當然也包 含於本發明的範圍之内。 例如則述實施形態中,係在數位筆接觸於數位板上 之狀態下,將該位置作為點列而取得,但並不限定於此, 在數位筆接近但並未接觸於數位板之狀態下,亦可將數位 筆的位置作為點列而取得。此實施形態,可根據數位板I? 22 201112062 與數位筆(炎筆)18間之電磁感應傳接作用進行位置檢測, 而加以實現。 又’則述貫施形態中,係根據數位筆所在之平面座標 (X座標、Y座標)及筆壓而取得座標值d,Yk,D,但亦 可於筆壓之外,再檢測數位筆的傾斜度Ak,而取得座標值 (Xk ’ Yk ’ Pk ’ Ak)。此時,對於數位筆a的傾斜度,亦可 與數學式8所不之數學式同樣地,如下述般求得經内插後 之傾斜度值。 A(t)= Σ Α;Β,. K(t) 進而,藉著將傾斜度值與用來描繪之要素(例如可與筆 壓同樣為點的大小,亦可為色彩或點濃度等其他要素)作對 應,而實現了與數位筆的傾斜度對應之描繪。 或者,亦可利用數位筆的傾斜度而取得座標值(Xk, Yfc,Ak),以取代筆壓。 進而,前述實施形態中,被描繪之點的形狀為圓形或 槽圓形均可。當然,只要可對應筆壓而決定其大小,亦4 為其他形狀。 又,前述實施形態中,係將取得座標值對應距離d而 刀化參數化之值,與B-樣條函數進行乘積累加,而算 出經内插過之座標€ ’實現内插及平滑化。‘然而,可使用 之=插、平滑化函數並未限定於上述之函數,例如亦开適 用尚斯函數。當利用高斯函&〇日夺,若要寫成與數學式8 的數學式相同之表現,則可表示如下述之數學式。此外, 決定高斯函數的形狀之參數,較佳者係依序考慮筆壓ρ或 23 201112062 距離d等。 X(t)=I XiG(t) Y⑴-Σ YiCi(t) Ρ(ί)=Σ PiG(t) /、要疋—型函數,亦可利用高斯函數以外之函數。 進而m述實施形態中,如數學式8所示,係使用以 下之數學式算出經内插過之座標值。 X⑴=Σ ΧΑ, κ⑴ γ⑴=Σ YjBi, K(t) P⑴=Σ PiBj,K(t) 若根據這些數學式,因為使用輸入點(取樣點)作為控 制點,故由經内插過之座標值所構成之點列不會通過取樣 點。於疋,作為更佳之實施形態,為了在筆記速度較快、 點列顯得斷斷續續時(構成點列之點之間的距離d較大時) 亦可計算出更接近取樣點之内插點列,而亦可使用如下述 之數學式來算出經内插、平滑化之座標值。 X(t)=w(d) Σ XjBj. K(t) Y(t)=w(d) Σ YiBj. K(t) P(t)=w(d) Σ PjBj. K(t) 其t,w(d) ’係作為速度(距離)之函數值的加權值。 又,前述貫施形態中,在描繪前處理中,若鄰接點之 間的距離在規定之距離内,則執行點列的部分捨棄處理(步 驟5(Μ、5 05),但此步驟亦可省略。 24 201112062 【圖式簡單說明】 第1圖係表示本實施形態之描繪裝置的構成之方塊 圖。 第2圖係表示本發明之實施形態之描繪裝置的外觀之 斜視圖。 第3圖係本實施形態之描繪裝置的功能方塊圖。 第4圖係表示在本實施形態之描繪裝置中所執行之主 流程之例子的流程圖。 第5圖係表示本實施形態之點列資料取得處理之例子 的流程圖。 第6圖係表示本實施形態之内插處理之例子的流程 圖。 第7圖係表示本實施形態之内插、平滑化處理之例子 的流程圖。 第8圖係表示本實施形態之描繪前處理之例子的流程 圖。 第9圖係表示本實施形態之筆壓、點對應表之例子的 圖。 第1 0圖係概略地表示本實施形態之描繪處理的圖。 第11圖係表示本實施形態之點列資料之例子的圖。 第1 2圖係表示根據本實施形態之處理’而顯示於顯示 裝置的晝面上之曲線之例子的圖。 25 201112062 【主要元件符號說明】 10 描繪裝置 18 數位筆 11 CPU 31 點列資料取得部 12 ROM 32 内插處理部 13 RAM 33 内插、平滑化處理部 14 輸入部 34 描繪前處理部 15 輔助記憶裝置 35 描繪處理部 16 顯示裝置 36 記憶部 17 數位板 26The distance between the positions (Xj -1, y』_ 1 ) in Pj · 1). Here, for example, the Euclidean distance can be calculated: Next, the 'pre-processing unit 34 determines whether the distance d is equal to or less than a predetermined threshold dth (step 8〇3), wherein the threshold value corresponds to the latest pen It is determined by the pressure value, the resolution of the display device, and the like. When it is judged as Yes in the step 8〇3, the coordinate value (Xj, yj, pj) is removed from the drawing target point ten (step 804). That is, the partial discarding process of the dot column is performed. The above steps 8〇3, 8〇4 are the same as steps 5〇5 and 5〇6 of Fig. 5. When it is judged as Yes in the step, or after the end of step 8〇4, the pre-processing unit is drawn, and the correspondence between the pen pressure value Pj and the point (d〇t) of the point to be drawn is performed (step 8〇5). Fig. 9 is a view showing an example of a pen pressure and a point correspondence table in the present embodiment. As shown in Fig. 9, the 'individual application pattern towel, for each range of prescribed pen pressure values', is associated with a table d indicating the value d of the point size indicating the point to be drawn, for example, in the auxiliary memory device. 15. In the pre-stroke processing 34, the table is copied to the RAM 13. In the table 9 of the present embodiment, the range of the pen m is linearly changed from the value indicating the dot size. For example, 'in the 256 stage (1 to 256) 'If the pen pressure value is b', the value of the point size is "1" (reference symbol 9〇1), and if the pen pressure value is 33 to 64, it indicates The value of the point size is "2" (reference character i 9〇2). Of course, it is not limited to such a linear case', and the value of the point 2011 1912062 may be changed non-linearly. Further, the pen pressure and the point size are of course not limited to the correspondence shown in Fig. 9. Further, since the drawing element to which the anti-aliasing process has been applied is used, the pen pressure and the dot size (pixel cluster) do not necessarily correspond explicitly. The drawing pre-processing unit 34 refers to the table in the RAM 13 and calibrates the value D indicating the point size corresponding to the pen pressure value Pj. Thereby, the target point data (Xj, yj, D) composed of the values Xj and y representing the position and the value D indicating the point size can be obtained. The obtained drawing target point data (Xj, heart, is stored in the memory unit 36. The pre-rendering processing unit 34 repeats the processing of steps 802 to 805 until the end point. Thereby, it is possible to obtain an appropriate interval between them. The data of the dth point is determined, and the distance is determined by the latest pen pressure value or the resolution of the display device, etc. [Drawing process] Next, the drawing process (step 405 of Fig. 4) will be described. In the embodiment, the drawing process reads the point of the drawing target point at the position (Xj, yj) indicated by the drawing target point, and draws a point of the large J indicated by D. Between the drawing target points, instead of connecting with lines having a certain width, a plurality of drawing object points are drawn at the most appropriate intervals on the face to express a curve or a straight line. In addition, in the present embodiment, the pre-rendering process is repeatedly executed. Thus, the drawing target point data generated in each pre-rendering process is used as a point having a predetermined transparency. Overlapping and not appearing on the screen to achieve the specified color density. For example, the color density (transparency) depicted on the object point of the drawing is 2011. The color density (transparency) depicted on the object is predetermined. Since the point size D corresponds to each other, the drawing target point is drawn in accordance with the size of each of the pen pressures. Further, it is also possible to overlap the selected part of the drawing target point without overlapping all the drawing target points. Fig. 10 is a view schematically showing the drawing process of the present embodiment. For example, 'the point column 1 to 1 of the drawing point can be obtained by inputting to the four point columns Pi 3 to Pi of the tablet i 7 . Similarly, the point columns 11〇2, 11〇3 of the drawing target points can be obtained from the four dot columns ^ 2 pi + 丨, Ρ_-ι~Pi+2, Pi 卩... (not shown). 1104. In the present embodiment, the curve 1010 displayed on the screen of the display device 16 is formed by superimposing the dot rows 1001 to 1004. For example, the field 1013 of the curve 1〇1〇, the dot column 1〇〇1 to 1 〇〇3 overlaps, while field 1014 'lines point to his field ( For example, the overlap of 1002 to 1004. It should be understood that the fields 1011, 1〇12, and 1015) are similarly overlapped with the dot array and other dot arrays shown in the figure. Further, this embodiment In the process of repeating steps 4〇2~4〇4, the four points of the input are generated, and the point column of the object point is sequentially generated. In the case of 疋, the input of the point column can be almost completely (that is, Referring to the action of the digital pen), the curve formed by the object to be drawn is reproduced almost instantaneously in accordance with the thickness of the pen pressure. The first " diagram indicates that the user moves the pen 18 on the tablet 17, and the result A diagram of an example of a list of points f obtained by the point sequence obtaining unit 31. Further, the graph 12 is not displayed in the graph of the processing of the present embodiment, and is displayed on the surface of the display device 16 in the 21 201112062 interpolation processing unit 32 for interpolation and smoothing, and then in the pre-processing portion μ. The dot column is appropriately discarded in part, and the drawing target point 35 superimposes and displays the drawing target point to reach a predetermined color density. As a result, the movement of the digital pen 18 is reproduced by the curve. According to the present embodiment, when there are already a number of input points (sampling points) necessary for performing interpolation, an interpolation and smoothing function capable of calculating the interpolated values based on the necessary number is used to calculate The coordinate value used to form the point of the interpolated point sequence. Thereby, it is not necessary to wait until all the point lists have been obtained before starting the processing, and the calculation can be performed at the stage of obtaining the sampling points necessary for the interpolation. Further, according to the present embodiment, the above-described point sequence (based on the interpolated coordinate value obtained based on the operation performed at the stage where the number of sampling points necessary for performing interpolation is obtained) is obtained. The drawing is superimposed on the dot matrix already displayed on the screen of the display device. By borrowing &, the adjacent points do not need to be connected by a straight line, but a smooth curve can be reproduced. [Others] The present invention is not limited to the above embodiments, and various changes can be made in the scope of the invention as set forth in the appended claims, and such modifications are of course included in the scope of the invention. For example, in the embodiment, the position is obtained as a point sequence in a state in which the digital pen is in contact with the tablet, but the present invention is not limited thereto, and the digital pen is close to but not in contact with the tablet. It is also possible to obtain the position of the digital pen as a point. This embodiment can be realized by performing position detection according to the electromagnetic induction transmission between the digital board I?22 201112062 and the digital pen (inflammation pen) 18. In the case of the description, the coordinate values d, Yk, and D are obtained according to the plane coordinates (X coordinate, Y coordinate) where the digital pen is located and the pen pressure, but the digital pen can be detected in addition to the pen pressure. The slope is Ak, and the coordinate value (Xk ' Yk ' Pk ' Ak) is obtained. At this time, the inclination value of the digital pen a can be obtained as follows, similarly to the mathematical expression of Mathematical Formula 8, and the inclination value after interpolation can be obtained as follows. A(t)= Σ Α;Β,. K(t) Furthermore, by using the slope value and the element to be drawn (for example, the size of the point can be the same as the pen pressure, or other colors such as color or dot density) Correspondence is made, and the depiction corresponding to the inclination of the digital pen is realized. Alternatively, the coordinate value (Xk, Yfc, Ak) may be obtained by using the inclination of the digital pen instead of the pen pressure. Further, in the above embodiment, the shape of the point to be drawn may be a circle or a groove. Of course, as long as the size can be determined corresponding to the pen pressure, 4 is another shape. Further, in the above-described embodiment, the value obtained by parameterizing the coordinate value corresponding to the distance d is multiplied and added to the B-spline function, and the interpolated coordinates are calculated to realize interpolation and smoothing. ‘However, the usable = interpolation and smoothing functions are not limited to the above functions, for example, the Shangss function is also applied. When the Gaussian function & day is used, if it is written in the same manner as the mathematical expression of Mathematical Formula 8, it can express the following mathematical expression. In addition, the parameters determining the shape of the Gaussian function are preferably sequentially considering the pen pressure ρ or 23 201112062 distance d and the like. X(t)=I XiG(t) Y(1)-Σ YiCi(t) Ρ(ί)=Σ PiG(t) /, to 疋-type function, can also use functions other than Gaussian function. Further, in the embodiment described above, as shown in Mathematical Formula 8, the interpolated coordinate values are calculated using the following mathematical formula. X(1)=Σ ΧΑ, κ(1) γ(1)=Σ YjBi, K(t) P(1)=Σ PiBj,K(t) According to these mathematical formulas, since the input point (sampling point) is used as the control point, the interpolated coordinates are used. The point sequence formed by the value does not pass through the sampling point. Yu Yu, as a better implementation, in order to make the note speed faster and the point column appear intermittent (when the distance d between the points forming the point column is large), the interpolation point column closer to the sampling point can also be calculated. Alternatively, the interpolated and smoothed coordinate values can be calculated using the following mathematical formula. X(t)=w(d) Σ XjBj. K(t) Y(t)=w(d) Σ YiBj. K(t) P(t)=w(d) Σ PjBj. K(t) , w(d) ' is a weighted value of the function value of speed (distance). Further, in the above-described embodiment, in the pre-drawing process, if the distance between the adjacent points is within a predetermined distance, the partial discarding process of the dot-column is performed (step 5 (Μ, 5 05), but this step may also be performed. [Brief Description of the Drawings] Fig. 1 is a block diagram showing the configuration of the drawing device of the embodiment. Fig. 2 is a perspective view showing the appearance of the drawing device according to the embodiment of the present invention. The functional block diagram of the drawing device of the present embodiment. Fig. 4 is a flow chart showing an example of the main flow executed by the drawing device of the embodiment. Fig. 5 is a view showing the point data obtaining process of the present embodiment. Fig. 6 is a flow chart showing an example of interpolation processing in the present embodiment. Fig. 7 is a flowchart showing an example of interpolation and smoothing processing in the present embodiment. Fig. 9 is a view showing an example of a pen pressure and a point correspondence table according to the present embodiment. Fig. 1 is a view schematically showing a drawing process of the embodiment. Fig. 11 is a view showing an example of the dot data of the embodiment. Fig. 1 is a view showing an example of a curve displayed on the face of the display device according to the process of the present embodiment. 25 201112062 [ Explanation of main component symbols] 10 Drawing device 18 Digital pen 11 CPU 31 Point data acquisition unit 12 ROM 32 Interpolation processing unit 13 RAM 33 Interpolation and smoothing processing unit 14 Input unit 34 Pre-processing unit 15 Sub-memory device 35 Processing unit 16 display device 36 memory unit 17 tablet 26

Claims (1)

201112062 七、申請專利範圍: 1. 一種描繪裝置’其基於被輸入之複數點列,產生經内 插過之點並描繪於顯示裝置的畫面上,此描繪裝置的特徵 在於具備: 座標值取得手段,其取得用以構成被輸入之點列之各 取樣點的座標值; 内插、平滑化手段,當根據前述座標值取得手段而取 得之取樣點數達到内插、平滑化函數中之規定數時,便將 前述内插、平滑化函數適用於該規定數之取樣點的座標值 上,而產生經内插過之座標值,其中該規定數的特徵,係 在存在該規定數之取樣點的情況下,前述内插、平滑化函 數,能夠基於該規定數之取樣點而算出經内插過之值丨以 及 描繪手段,其將點描繪於顯示裝置的晝面上的與前述 經内插過之座標值響應之位置。 2. 如中請專利範圍第丨項所述之描繪裝置,其中前述描 繪手段’被構成為以下之形態:將由前述内插、平滑化手 姣所產生之與經内插過之座標值響應之位置的點重疊於 已經描繪於前述顯示裝置的畫面上之點列,藉此來進行描 矣會。 3·如申請專利範圍帛2 ^員所述之描緣裝置,纟中前述描 27 201112062 繪手段,被構成為以下之形態:使與前述經内插過之座標 值響應之位置之點中的規定的—部分重疊在一起。 4.如申請專利範圍第2項或第3項所述之描繪裝置,其 中前述描繪手段,被構成為以下之形態:使與前述經内插 過之座標值響應之位置之點,以規定之透明度重疊在一起。 5·如申請專利範圍第i項至第4項中任一項所述之描繪 裝置,其中該描繪裝置,被構成為以下之形態: 前述座標值取得手段,取得表示用以構成前述被輸入 之點列之取樣點中的筆壓之值; 刖述内插、平滑化手段,將前述内插、平滑化函數適 用於表示前述取樣點中的筆壓之值,而算出用以表示經内 插過之筆壓之值; 前述描繪手段,於前述經内插過之座標值所示之位置 上,描繪出其大小對應於表示前述經内插過之筆壓之值的 6·如申請專利範圍第j項至第4項中任一項所述之描繪 裝置,其中前述内#、平滑化手段,係基於前述已取得之 座標值,執行下述數學式9之運算來作為B_樣條函數之乘 積累加,而算出經内插過之座標值(χ⑴,Y(t)), [數學式9] 28 201112062 N-1 Χ(°-Σ x,B,K(t) i=0 N,1 y ⑴=Σ YiBi κ ⑴ i=0 (其中,Xi ' Yi ’各為被輸入之點列中,第i個點的χ 座標及Y座標,而Βι,κ⑴,為㈣次之B_樣條函數;又, 參數t ’對於第i個座標值而言係取在以下之範圍内:i $t<i+l(i = 〇、1、…、n_2))。 7.如申請專利範圍第5項所述之描繞裝置,其中上述内 插、平滑化手段,係基於前述已取得之座標值,執行下述 數學式10之運算來作4 B-樣條函數之乘積累加,而算出 經内插過之座標值(X⑴,Y(t))及表示筆壓之值p(t), [數學式10] N-1 X ⑴=Σ xiBi. K (t) ρ Ν-·Σΐ=οΝ-Σ .ϋ =0 B B p 的X座標及Υ座標及表示筆壓之值,而Bi K(t/為( 次之B-樣條函數;又,參數t,對於第丨個座標值而言 取在以下之範圍内:iSt<i+l(i = 〇、i....... 。 29 201112062 8. 如申請專利範圍第!項至第6項中任一項所述之描繪 裝置’其中當前述輸人之取樣點的規定範圍内存在其他取 樣點時,前述座標值取得手段,被構成為將上述輸^之取 樣點從取得之取樣點中除去。 9. 如申請專利範圍第i項至第8項中任—項所述之描績 裝置’其中當表示經内插過之座標值的點的規定範圍内, 存在用以表*其他經内插過之座標值的點時,前述描繪手 段,被構成為將表示$經内#過之座標㈣點從描繪對象 中除去。 10· —種描繪程式,其用來在具備輸入裝置和顯示裝置之 電腦中,基於被输入之複數點列’產生經内插過之點並描 繪於顯示裝置的晝面上,此描繪程式的特徵在於使前述^ 腦作為以下各種手段而發揮功能: 座標值取得手段,其取得用以構成被輸入之點列之各 取樣點的座標值; 内插、平滑化手段,當根據前述座標值取得手段而取 2之取樣點數達到内插、平滑化函數中之規定數時,便將 前述内插、平滑化函數適用⑤該規定數之取樣點的座標t 上,而產生經内插過之座標值,其中該規定數的特徵,係 在存在該規定數之取樣點的情況下,前述内插、平滑化函 數,能夠基於該規定數之取樣點而算出經内插過之值; 及 ,L 201112062 &、’ s手'^又’其將點描繪於顯示裝置的畫面上的與前述 經内插過之座標值響應之位置。 11 ·如申6月專利範圍帛10項所述之描繪程式,《中前述描 繪手段’被構成為下述之形態·ι由前述内插、平滑化手 段所產生之與經内插過之座標值響應之位置的點,重疊於 已經描繪於前述顯示裝置的畫面上之點列,藉此來進行描 繪。 12·如U利|&圍第! i項所述之描繪程式,其中前述描 b手段I構成為以下之形態:使與前述經内插過之座標 值響應之位置之點中的規定的一部分重疊在一起。 13.如申請專利範圍第u 4弟12項所述之描繪程式, 其中前述描繪手段,被構成為以 〈化態·使與前述經内 插過之座標值響應之位置之點, 規疋之透明度重疊在一 ° 上4· 如甲請專 洽和斗 ^ , u Λ …巧^^任—項所述之描 繪私式,其中該描繪程式,被構 q μ下之形皞: 别述座標值取得手段,取得表 ^ 之點列之取樣點中的筆壓之值;心構成前述被輸入 前述内插、平滑化手段,將前述内插、 用於表示前述取樣點中的筆麼之值,〜、’月化函數適 而為'出用以表示經内 31 201112062 插過之筆壓之值; 前述描繪手段,於前述經内插過之座標值所示之位置 上,描繪出其大小對應於表示前述經内插過之筆壓之值的 32201112062 VII. Patent application scope: 1. A drawing device that generates an interpolated point based on a plurality of input points and draws it on a screen of a display device. The drawing device is characterized by: a coordinate value obtaining means And obtaining a coordinate value for each sampling point of the input point sequence; the interpolation and smoothing means, the number of sampling points obtained by the coordinate value obtaining means reaches a predetermined number in the interpolation and smoothing function When the interpolation and smoothing function is applied to the coordinate value of the predetermined number of sampling points, the interpolated coordinate value is generated, wherein the characteristic of the predetermined number is in the sampling point where the predetermined number exists In the case of the interpolation and smoothing function, the interpolated value 丨 and the drawing means can be calculated based on the predetermined number of sampling points, and the point is drawn on the pupil surface of the display device and interpolated as described above. The position of the coordinate value response. 2. The drawing device according to claim 2, wherein the drawing means is configured to be responsive to the interpolated and smoothed handcuffs and the interpolated coordinate values. The point of the position is superimposed on the dot column already drawn on the screen of the aforementioned display device, thereby performing the tracing session. 3. As described in the scope of application of the patent application, the above description 27 201112062 means, in the form of the following: in the point of the position of the above-mentioned interpolated coordinate value response Prescribed - partially overlapping. 4. The drawing device according to claim 2, wherein the drawing means is configured to provide a position at which a position corresponding to the interpolated coordinate value is responded to. The transparency overlaps. The drawing device according to any one of the items of the present invention, wherein the drawing device is configured as follows: the coordinate value obtaining means acquires and indicates that the input is configured The value of the pen pressure in the sampling point of the point sequence; the interpolation and smoothing means are applied, and the interpolation and smoothing function is applied to the value indicating the pen pressure in the sampling point, and is calculated to represent the interpolation The value of the pen pressure; the foregoing drawing means, at the position indicated by the interpolated coordinate value, the size is corresponding to the value indicating the interpolated pen pressure. The drawing device according to any one of the items, wherein the internal # and the smoothing means perform the following mathematical expression 9 as a B_spline function based on the acquired coordinate value. The multiplication and accumulation are added, and the interpolated coordinate values (χ(1), Y(t)) are calculated, [Math. 9] 28 201112062 N-1 Χ(°-Σ x, B, K(t) i=0 N, 1 y (1)=Σ YiBi κ (1) i=0 (where Xi ' Yi ' is the input point, i The χ coordinate and the Y coordinate of the point, and Βι, κ(1), is the (four) second B_spline function; in addition, the parameter t ' is taken in the following range for the ith coordinate value: i $t<i+ l (i = 〇, 1, ..., n_2). 7. The device according to claim 5, wherein the interpolation and smoothing means are performed based on the obtained coordinate values. The operation of Mathematical Formula 10 is used to multiply and accumulate the 4 B-spline function, and the interpolated coordinate values (X(1), Y(t)) and the value of the pen pressure p(t) are calculated, [Math 10 N-1 X (1)=Σ xiBi. K (t) ρ Ν-·Σΐ=οΝ-Σ .ϋ =0 BB p The X coordinate and the Υ coordinate and the value of the pen pressure, and Bi K(t/ is ( The second B-spline function; again, the parameter t, for the second coordinate value, is in the following range: iSt<i+l(i = 〇, i.... 29 201112062 8 In the drawing device of any one of the above-mentioned claims, wherein the coordinate value obtaining means is configured to be used when the sampling point of the sampling point of the input is present at other sampling points The sampling point of the above input Removed from the obtained sampling point. 9. If the performance device described in any of the items in items i to 8 of the patent application is within the specified range of the point indicating the interpolated coordinate value, When the point of the other interpolated coordinate value is used, the drawing means is configured to remove the coordinate (four) point indicating the passage of the internal number from the drawing object. In a computer including an input device and a display device, an interpolated point is generated based on the input plural point and drawn on the top surface of the display device, and the drawing program is characterized in that the above-described brain is used as the following various means And functioning: a coordinate value obtaining means for obtaining a coordinate value for each sampling point of the input point sequence; and an interpolation and smoothing means for taking the number of sampling points of 2 according to the coordinate value obtaining means When inserting or smoothing a predetermined number in the function, the interpolation and smoothing function is applied to the coordinates t of the predetermined number of sampling points to generate an interpolated coordinate value, wherein the specified number of features When the predetermined number of sampling points are present, the interpolation and smoothing function can calculate the interpolated value based on the predetermined number of sampling points; and, L 201112062 &, 's hand'^ In addition, it draws a point on the screen of the display device at a position corresponding to the aforementioned interpolated coordinate value response. 11 · The drawing program described in the 10th patent scope 帛10, the "the above-mentioned drawing means" is configured as the following form: ι by the interpolation and smoothing means and the interpolated coordinates The point of the position of the value response is superimposed on the dot sequence already drawn on the screen of the display device, thereby drawing. 12·如U利|& Wai! In the drawing program described in item i, the drawing means I is configured to overlap a predetermined portion of the point of the position of the interpolated coordinate value response. 13. A drawing program as described in claim 12, wherein the drawing means is configured to adjust the position of the coordinate value with the interpolated coordinate value. Transparency overlaps on a °4. For example, please refer to the ^^, u Λ ... 巧^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The value acquisition means obtains the value of the pen pressure in the sampling point of the point column of the table; the heart constitutes the interpolation and smoothing means, and the interpolation is used to indicate the value of the pen in the sampling point. , ~, 'monthly function is appropriate' to indicate the value of the pen pressure inserted by the 2011 3112062; the above description means, at the position indicated by the interpolated coordinate value, the size is drawn Corresponding to 32 indicating the value of the aforementioned interpolated pen pressure
TW99123005A 2009-07-14 2010-07-13 Drawing apparatus and program TW201112062A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009165401A JP2011022685A (en) 2009-07-14 2009-07-14 Rendering device and rendering program

Publications (1)

Publication Number Publication Date
TW201112062A true TW201112062A (en) 2011-04-01

Family

ID=43449376

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99123005A TW201112062A (en) 2009-07-14 2010-07-13 Drawing apparatus and program

Country Status (3)

Country Link
JP (1) JP2011022685A (en)
TW (1) TW201112062A (en)
WO (1) WO2011007769A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109964251A (en) * 2017-01-11 2019-07-02 株式会社和冠 Drawing apparatus and plotting method

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5172889B2 (en) * 2010-04-15 2013-03-27 パナソニック株式会社 Handwriting input device, handwriting input method, and handwriting input program
KR102255049B1 (en) * 2013-11-19 2021-05-25 가부시키가이샤 와코무 Method and system for ink data generation, ink data rendering, ink data manipulation and ink data communication
US9507407B2 (en) * 2014-02-21 2016-11-29 Qualcomm Incorporated Method and apparatus for improving power consumption on a touch device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08101922A (en) * 1991-01-07 1996-04-16 Shima Seiki Mfg Ltd Picture editing and forming device and picture editing and forming method
JP3215162B2 (en) * 1992-05-25 2001-10-02 武藤工業株式会社 Curve forming method and apparatus
JP3497587B2 (en) * 1994-12-20 2004-02-16 株式会社リコー Handwriting input display device
JP2003346171A (en) * 2002-05-24 2003-12-05 Wacom-It Co Ltd Rendering device and rendering program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109964251A (en) * 2017-01-11 2019-07-02 株式会社和冠 Drawing apparatus and plotting method
CN109964251B (en) * 2017-01-11 2023-07-21 株式会社和冠 Drawing device and drawing method

Also Published As

Publication number Publication date
WO2011007769A1 (en) 2011-01-20
JP2011022685A (en) 2011-02-03

Similar Documents

Publication Publication Date Title
CN102937848B (en) Method for editing handwritings and electronic equipment
Bonnici et al. Sketch-based interaction and modeling: where do we stand?
CN104583913B (en) User interface device and display target thing operating method
JP2006506744A5 (en)
TW201112062A (en) Drawing apparatus and program
WO2016098218A1 (en) Digital ink generating device, digital ink generating method, and digital ink reproduction device
JP2012533815A (en) WRITING INFORMATION INPUT DEVICE AND WRITING INFORMATION INPUT METHOD BY WRITING PATTERN
CN107797963B (en) Expression processing method and device and terminal
CN103679809A (en) Data parallel treatment based virtual reality 3D simulation method and system
Huang et al. Research progress on and prospects for virtual brush modeling in digital calligraphy and painting
Saalfeld et al. Semi-Immersive 3D Sketching of Vascular Structures for Medical Education.
Piovarči et al. Perception-aware modeling and fabrication of digital drawing tools
CN114415918A (en) Electronic equipment, method and device for simulating pen touch and computer readable medium
MacRitchie et al. Efficient tracking of pianists’ finger movements
CN106201314B (en) A kind of display methods and display device for realizing handwriting input on touch screen
CN102339169B (en) Method for calibrating large-sized multipoint touch system
Chen et al. ID-Aligner: Enhancing Identity-Preserving Text-to-Image Generation with Reward Feedback Learning
Park et al. Tangible AR interaction based on fingertip touch using small-sized nonsquare markers
CN113626903A (en) Road curve setting method and device, electronic equipment and storage medium
KR20170141888A (en) Apparatus and Method for Modeling Tooth for Design of Transparent Orthodontic Device
Lin et al. An experimental study for applying generative design to electronic consumer products
CN109685143A (en) A kind of thyroid gland technetium sweeps the identification model construction method and device of image
CN111063005B (en) Handwriting processing method and device
JP6526504B2 (en) Digital ink generating apparatus, digital ink generating method, and program
CN111294659A (en) Method and device for controlling track playing speed, medium and processing equipment