TIME-EFFICIENT NURBS CURVE EVALUATION ALGORITHMS

Size: px
Start display at page:

Download "TIME-EFFICIENT NURBS CURVE EVALUATION ALGORITHMS"

Transcription

1 TIME-EFFICIENT NURBS CURVE EVALUATION ALGORITHMS Kestuts Jankauskas Kaunas Unversty of Technology, Deartment of Multmeda Engneerng, Studentu st. 5, LT-5368 Kaunas, Lthuana, Abstract: Ths aer analyses tme-effcency of exstng NURBS evaluaton algorthms. The most comettve comutaton methods are modfed to acheve even better erformance. Performance tests ndcate that NURBS curve evaluaton tme-effcency can be mroved n unform and non-ratonal B- slne cases. Suggested otmzatons are very effectve n the evaluaton of hgher degree slnes wth a larger number of control onts. Keywords: NURBS, curve evaluaton, nverted trangular scheme Introducton NURBS stands for Non-Unform Ratonal B-Slne. It s the most oular slne reresentaton n today s commercal CAD ackages [, 4, 5, 8, ]. NURBS s able to reresent large varety of shaes, lke crcles, hyerbolas, arabolas, and stll reserves mathematcal exactness [5]. Generally, a slne s a smooth curve nterolated among gven control onts. Unfortunately, a slne cannot be constructed n the model sace drectly. Each ont on NURBS curve or surface must be calculated from the set of control onts, knot vector, and bass functon of secfc degree. Ths rocess s called NURBS evaluaton [, 5, 8]. In the followng sectons we wll dscuss theoretcal asects of NURBS as well as exstng evaluaton algorthms. Moreover, we wll ntroduce certan modfed evaluaton algorthms and strateges for unform and non-ratonal cases that mrove evaluaton erformance. Fnally we wll comare actual tme-effcency of suggested method mlementatons. 2 NURBS n Theory Acronym NURBS defnes secal roertes of ths artcular slne: () Non-Unform, (2) Ratonal, (3) B-Slne. Let us clarfy those roertes by startng from the last one. It has the bass functon of B-slne, whch ensures smooth blendng [2] of control ont nfluence over the curve. All theory regardng a regular B-slne s covered n Secton 2.. Ratonal roerty gves more flexblty to a slne [4, 5, ], but also ncreases comlexty. It s acheved by addng weghts to control onts. Ratonal B-slne s resented n Secton 2.2. Fnally, ntroducng the edtable knot vector to the slne concet, allows usage of non-unform ece-wse features [, ]. They are covered n Secton B-Slne Regular B-slne s defned by a set of control onts P, a knot vector U = { u j }, and degree, where =.. n, j =,.. m and m = n+ + [, 4, 6, 9]. Control onts are located n the mult-dmensonal sace we refer to as the model sace. The slne nterolates between control onts wth the hel of the bass functon: = < n = C( N u P, (), ( ) where s the degree of the bass functon, u s a coordnate n the arametrc slne sace and C ( s ont on curve n the model sace. Accordngly, any ont on the curve s obtaned by summng multlcatons of control onts P and bass functons N, (. The bass functon s calculated from the exresson: N f u u< u N u = +, ( ), otherwse (2) u u u u + + = N, ( + N+, ( u u u u ), (3), ( u where u s the coordnate n the arametrc slne sace and u j are values from the knot vector U. The last exresson s referred to as Cox-de Boor recurson formula [, 3]. It denotes that bass functon domans are dvded by elements of the knot vector,.e. knots [, 9]. It s also known that the sum of all bass functons N, ( equals one [7]. The sum of N, ( n the nterval k k equals one as well, where u k u< u k + (the artton of unty [ 6]): - 6 -

2 k = k N (. (4), = As the bass functon s non-negatve, t means that all bass functons N, ( outsde the nterval k k are zero. Consequently, all multlcatons N, ( P outsde the same nterval are zero. Thus, such control onts has no effect on the orton of the curve wthn u k u< u k +. So any ont on the curve C ( of the unform B-slne s affected by + control onts, wth the exceton of C () and C (). These secal cases can be exlaned through analyss of the knot vector. The knot vector s a set of non-decreasng values u j u, where j =,.. m and m = n+ +. In ths aer we use a normalzed knot vector form, so the arametrc sace of the B-slne and knot vector values are bounded by and. Also, t s a common ractce to use the clamed knot vector, where the frst + values equal and the last + values equal [, 3, ]: U = { u = u =... = u = u + u un un =.. = un+ = un+ + = }. (5) Let us examne the examle of a cubc B-slne ( = 3 ), defned by eght control onts ( n = 8 ) and m = 2 unform knots: U = {,,,,.. 4,. 6,. 8,,,, }. Bass functons are gven n Fgure 2. For u =.3 functons N,3 (.3 ), N 3 (.3 ), N 3,3 (.3 ) and N 4,3 (.3 ) are greater than zero, other functons are zero. Ths means that a ont on the curve C (.3) s affected by the oston of four control onts: P, P 2, P 3, and P 4. Also functon N 3 (.3 ) and N 3,3 (.3 ) values are sgnfcantly greater than values of N,3 (.3 ) and N 4,3 (.3). Ths suggests that the ont C (.3) s closer to P 2 and P 3 than to P and P 4. j+ In the case when u s n the oston of the knot u = u 5 =. 4 we have only three non-zero functons: N 3 (.3), N 3,3 (.3) and N 4,3 (.3). Consequently C (.4) s affected by three control onts: P 2, P 3, and P 4. So, a ont on the curve C ( s affected by s+ control onts, where s s knot multlcty s at u. Therefore the curve becomes C contnuous at ths ont (here the symbol C refers to slne contnuty and has a dfferent meanng than C (, see Secton 2.3 for more detals) [, 9]. Because of the clamed knot vector the frst curve ont C () s affected only by one control ont P. The last curve ont C () s affected by the control ont P resectvely: n C ( ) = P, (6) ( ) = P n C. (7) 2.2 Ratonal B-Slne Regular B-slne s qute owerful nterolaton tool, but t lacks flexblty. B-slne can not reresent conc sectons, lke crcles [4, 5, 9]. Therefore a ratonal form s used to cover these cases [4, ]: < n = < n C( = N ( w P, (8) N, ( w = where the weght w > s attached to every control ont., Fgure. A crcle reresented by four ratonal B-slnes - 6 -

3 Let us take a look at the examle of a crcle reresented as four ratonal B-slnes n Fgure. Each quarter of the crcle s constructed from searate ratonal quadratc B-slne defned by control ont sequences: P, P, }, P, P, }, P, P, }, P, P, }. The weghts of the frst and the last control onts n each { P2 { 2 3 P4 { 4 5 P6 { 6 7 P sequence are. The weght of the mddle control ont s 2 / 2 [4]. Greater weghts ull the curve towards the control ont and lesser weghts ush the curve away [, 4, ]. Naturally, regular B-slne s a secal case of ratonal B-slne when all weghts are equal to. 2.3 Non-unform Ratonal B-Slne The term of unformty s used to defne a relaton between the sequence of control onts and the arametrc slne sace. As mentoned n Secton 2., control ont nfluence over the curve s defned by bass functons and functon domans are dvded by knots [9]. Ths means that roerty of unformty s embedded nto the knot vector []. Untl now we consdered a knot vector to be clamed and unform: U = { u =... = u =... u =... un =... = un+ + = }, (9) n where + < n. Such a knot sequence dvdes whole arametrc sace nto unform ntervals. Each of ntervals contans + non-zero bass functons, thus the curve s affected by + control onts n ths nterval (see Secton 2.). In general case, knots can be dstrbuted n non-unform manner. However a knot sequence must be non-decreasng, as shown n the exresson (5). Let us take the examle of the knot vector U = {,,,,.. 4,. 6,. 8,,,, } and modfy t by settng u = u = u. 2 : U = {,,,,.... 8,,,, }. Knot multlcty of s= at u = = leaves only one non-zero functon at ths ont (see Fgure 3), whch suggest that C (.2) s affected by sngle control ont. Therefore, the curve goes through ths control ont: C (.2) = P3. In other words, the knot of s = multlcty s reduces curve contnuty at that knot by s [3, ]. In ths examle the curve becomes C C contnuous at u =. 2. Further ncrement of multlcty s ontless, because t excludes control onts from affectng the curve. NURBS s owerful enough to comose any shae. Recall the examle of the crcle n Fgure. It was reresented by four unform ratonal B-slnes. Knot multlcaton n the knot vector allows the constructon of such a shae from sngle quadratc NURBS curve. The same control onts wth weghts are used n the sequence P, P, P, P, P, P, P, P, }. The last control ont s the same as the frst to close the curve. { P Instead of multle control onts, multle knots are emloyed: U = {,,,.25,.25,.5,.5,.75,. 75,,, } [4]. Behavor of bass functons s dected n Fgure 4. Notce that every quarter of the crcle s reresented by sngle non-zero knot nterval and each quarter s ndeendent. Fgure 2. Bass functons of unform cubc B-slne defned by eght control onts Fgure 3. Bass functons of cubc B-slne wth knot multlcty of three at

4 Fgure 4. Bass functons of quadratc NURBS defned by the knot vector U={,,, /4, /4, 2/4, 2/4, 3/4, 3/4,,, } 3 NURBS evaluaton algorthms To reresent NURBS n the model sace (Cartesan mult-dmensonal sace) as a curve, the slne must be evaluated at multle u, where u. Accordng to the exresson (8) bass functons are necessary n order to do so. Several bass functon calculaton methods are covered n Secton 3.. Once bass functons are known, they can be used to determne a ont on the curve. The descrton of sngle ont evaluaton algorthms can be found n Secton 3.2. Fnally, entre NURBS curve evaluaton strateges are resented n Secton Bass functon As we already dscussed n Secton 2., calculaton of all bass functons s not necessary. There are only s+ non-zero bass functons at any u, where s the degree of the bass functon and s s knot multlcty at u. So we are to obtan all bass functons from N k, ( to N k, (, where u k u< u k Cox-de Boor recurson The most obvous soluton s to use a standard Cox-de Boor recurson formula, gven n the exresson (2) and (3). Although ths formula s smle to understand and easy to mlement, [6] and [9] sources state that t nvolves many unnecessary calculatons. Fgure 5 llustrates how N k, ( s obtaned. Fgure 5. Comutaton of non-zero bass functons Zero functons are marked n blue. They have no effect on hgher degree functons n successve teratons, because multlcaton by zero s zero (blue arrows). In the examle of U = {,,,,.. 4,. 6,. 8,,,, }, where = 3 and k = 4 ( u s n the nterval u 4 u< u5 ), the recursve formula returns non-zero values of N ), N ), N ), and N ). Accordngly to the,3 ( u exresson (3), to obtan N ) the algorthm calculates N ) and N ). To acqure second degree,3 ( u 3 ( u 3,3 ( u,2 ( u, ( u ( u, ( u 2 ( u functons, the recurson must obtan frst degree functons N ), N ) and N ), N ). Fnally, frst degree functons s calculated from zero degree functons: N ) s acqured from N ) and N ), 4,3 ( u ( u 3, ( u, ( u ( u N ) s acqured from N ) and N ), N ) s acqured from N ) and N ). Notce that ( u ( u 3, ( u 3, ( u 3, ( u 4, ( u N ) s calculated twce, so N ) as well as N ) s actually calculated three tmes. Moreover, only ( u ( u N ) s non-zero among all zero degree functons. 4, ( u 3, ( u Ths examle llustrates how Cox-de Boor recurson formula s overloaded wth unnecessary calculatons. Naturally, the evaluaton of hgher degree B-slne bass functons yelds even more unnecessary teratons. Also the exresson (3) s numercally unstable, because of / cases [5]. Another drawback s noted

5 n [2]. The recurson formula gves an ncorrect result when u =. The last ont on the curve s always C ( ) = {,, }. To overcome ths roblem, we smly use exressons (6) and (7) as secal cases, so C () and C () can be found wthout the calculaton of bass functons Inverted Trangular Scheme To avod unnecessary calculatons, authors n [6] resent the algorthm based ITS (nverted trangular scheme). It s gven as Bass_ITS functon n seudo code. It calculates functons from lower to hgher degree n contrast to the recursve algorthm. Also, they suggest rearrangement of the exresson (3) to remove oeraton dulcatons: N L j+ R j+ = N k j, ( + N k j+, ( ), () R + L R + L k j, ( u j j+ j+ j where L = u and R = u + u. () j u k + j Bass_ITS(k,,. N[] = 2. for (j = ; j <= ; j++) 2.. saved = 2.2. L[j] = u - knots[k + - j] 2.3. R[j] = knots[k + j] - u 2.4. for (r = ; r < j; r++) tm = N[r] / (R[r + ] + L[j - r]) N[r] = saved + R[r + ] * tm saved = L[j - r] * tm 2.5. N[j] = saved 3. return N Note that k should already be known, where k defnes the knot nterval n whch u resdes. Therefore, the method FndKnotSan (avalable n [6]) must be aled to determne k before the mlementaton of Bass_ITS Modfed Inverted Trangular Scheme We notced another relaton. Let the rght art of the sum n N, ( be equal A, then the left art of the sum n N, ( s always A. Based on ths observaton, we roose another modfcaton of the exresson (3): N j k = A ( N ( + ( A ) N ( ), (2), (,, +, +, u where A ( = ( u u ) /( u + u ) and k k. (3), The examle of non-zero cubc bass functon calculaton s gven n Table, followed by modfed ITS algorthms. As u value s fxed we omt the notaton of (. Table. Non-zero bass functon calculatons for cubc B-slne, usng a modfed ITS = = = 2 = 3 3 N A N k k 3,3 = ( k 3) k 2 k 2 N k 2,2 = ( Ak,2 ) Nk, N k 2,3 = Ak 3 Nk 2 + ( Ak,3 ) Nk, 2 k N k, = ( Ak,) N k, N k,2 = Ak,2 N k, + ( Ak,2 ) N k, N k,3 = Ak,3 N k,2 + ( Ak,3) N k, 2 k N k, = N k, = Ak,N k, N k, 2 = Ak,2Nk, N k, 3 = Ak,3Nk,2 j Bass_ITS(k,,. N[] = 2. for ( = ; <= ; ++) 2.. for (j = ; j >= ; j--) 2... A = (u - knots[k - j]) / (knots[k + - j] - knots[k - j]) tm = N[j] * A N[j + ] += N[j] - tm N[j] = tm 3. return N Bass_ITSU(k,,. N[] = 2. M = (u - knots[k])/(knots[k+]-knots[k]) 3. for ( = ; <= ; ++) 3.. for (j = ; j >= ; j--) 3... tm = N[j] * (M + j)/ N[j + ] += N[j] - tm N[j] = tm 4. return N These algorthms return bass functons n reversed order: from N k, ( to N k, (. Bass_ITS and Bass_ITS algorthms are sutable for any NURBS. Only few CAD and CAM alcatons allow edtng

6 the knot vector, because such modfcaton s not ntutve []. Hence, n many cases NURBS stays unform. From the exresson (9) t s obvous that every non-zero nterval n the knot vector equals /( n ). Let us resume that M = A = u u ) /( u + u ). It s easy to calculate that A k, = M /, Ak, = ( M + ) / Ak 2, = ( M + 2) / k, ( k k k. So, n case of the unform knot vector, the exresson (3) can be smlfed:, M + j Ak j, =. (4) Pluggng the exresson (3) nto the last row of Table ndcates that calculaton of a non-zero functon set uses knots from u k + to u k +. So the equaton (4) s vald when all knot ntervals from u k + to u + are equal. In the case of the clamed knot vector, the frst and last knot ntervals are zero. As the k frst unform nterval begns at u and the last unform nterval ends at u n, the exresson (4) can be used for all ntervals from u + to un. Ths means that the ITS algorthm can be wrtten as Bass_ITSU for all u k u< u k+, where: 2 k n. (5) 3.2 Sngle ont on curve Each of non-zero functons defnes how strongly a certan control ont affects a curve (see Secton 2.). Accordng to the exresson (8), the strength of the effect s also modfed by weghts of control onts (see Secton 2.2). In order to calculate C (, we requre a sum of all N, ( w P dvded by the sum of N ( w,, where k k and u k u< uk+. Followng algorthms calculate a ont on the curve, when bass functons are known. Thus GetPont should be used after Bass_ITS. Because of the nverted functon order n Bass_ITS and n Bass_ITSU, those algorthms should be followed by GetPont. GetPont(N, k). Nsum = 2. Cu = {,, } 3. for ( = ; <= ; ++) 3.. Nsum += N[] *= P[k - + ].Wegth 3.2. Cu += N[] * P[k - + ].To3D() 4. return Cu/Nsum GetPont(N, k). Nsum = 2. Cu = {,, } 3. for ( = ; <= ; ++) 3.. Nsum += N[] *= P[k - ].Wegth 3.2. Cu += N[] * P[k - ].To3D() 4. return Cu/Nsum The method To3D() returns { x, y, z} coordnates and gnores the control ont s weght. If a slne s regular B-slne and all weghts equal, we can use the exresson () nstead of the exresson (8) to fnd a certan ont on the curve. In such case GetPont algorthm can be smlfed to GetPont_NR: GetPont_NR(N, k). Cu = {,, } 2. for ( = ; <= ; ++) 2.. result += N[] * P[k - ].To3D() 3. return Cu 3.2. De Boor s algorthm There are several B-slne evaluaton technques that do not need bass functons to determne a ont on the curve, lke de Boor s algorthm [9]. De Boor s algorthm s based on observaton that C ( s ostoned at the locaton of the control ont Pk, when u= uk and knot multlcty at u equals (see secton 2.3). How do we make desred knot multlcty at any u? The author n [9] suggests a multle nserton of a knot at u. The nserton of an addtonal knot also means the nserton of a new control ont, thus after teratons the last control ont s exactly at the oston of C (. In case when u s already at the oston of the knot u k wth multlcty s, only s teratons of the nserton are requred. The oston of every new control ont can be found from exressons [3, 9]: where a w w = a ) P w P Q ( + a, (6) u u = u u + for all k + k. (7) However, the actual nserton of knots s not erformed, because ths would lead to the modfcaton of the control ont sequence durng the evaluaton. Thus the sequence of new control onts s rocessed n a

7 temorary array. The exresson (6) requres control onts to be converted to a homogenous 4D coordnate w system by multlyng coordnates by weght: P = { w x, w y, w z, w }. Ths task s erformed by ConvertTo4D() method. The converson back to Cartesan 3D coordnate system s erformed by dvdng coordnates by weght P = x / w, y / w, z / w, w } n ConvertTo3D() method. { GetPont_DeBoor(k,. s = 2. whle (k >= s && knots[k - s] == 2.. s++ 3. Q = new ControlPont[ - s + ] 4. for ( = k - ; <= k - s; ++) 4.. Q[ - k + ] = P[].ConverTo4D() 5. for (r = ; r <= - s; r++) 5.. for ( = k - s; >= k - + r; --) 5... a = (u - knots[]) / (knots[ + - r + ] - knots[]) j = - k Q[j] = ( - a) * Q[j - ] + a * Q[j] 6. return Q[-s].ConvertTo3D().To3D() 3.3 Multle Ponts on Curve Generally, evaluaton of multle onts can be done usng sngle ont evaluaton several tmes. But several otmzatons can be made. To evaluate entre NURBS curve, we must obtan multle onts C (, where u=, u, 2 u... u, and u =/( stes ) s the ste n the arametrc slne sace. Under these condtons the ntal knot nterval s u u< u +, thus ntal k =. Successve k values can be traced easly, so the rocedure FndKnotSan n not needed. Also u = and u = are handled as secal cases (see Secton 3.) and calculated from exressons (6) and (7). The followng algorthm evaluates the number of onts equal to stes on any NURBS curve. NURBS_ITS(stes). ste = / (stes - ) 2. Cu = new Pont[stes] 3. Cu[] = P[].To3D() 4. ter = 5. u = knots[] + ste 6. for (k = ; k < n; k++) 6.. whle (knots[k] == knots[k + ] && knots[k] < ) 6... k whle (u < knots[k + ]) N = Bass_ITS(k,, Cu[ter] = GetPont(N, k) ter u += ste 7. C[stes - ] = P[n - ].To3D() 8. return Cu Algorthms n stes 6.2. and can be relaced by modfed Bass_ITS and GetPont resectvely. If a slne s known to be non-ratonal then GetPont_NR can be used n ste If a slne s unform t s ossble to otmze ths algorthm even further Evaluaton of Unform B-slne Curve Recall Secton 3..3 and exressons (5), whch states that Bass_ITSU can be used nstead of Bass_ITS wthn bounds of 2 k n. Fgure 6 llustrates the bass functons of the cubc unform B- slne defned by m = 7 knots. Notce that N ) = (), N.5) = (.95),,3 ( N 3,3 ( N, 3 N.) = (.9) and so on. Clearly, certan bass functons of the unform B-slne are symmetrcal to 3( N, 3 each other. Actually, any functon N, ( can be reflected to N n, ( at the mddle ont of the arametrc sace. We refer to ths oeraton as to ref : ref : N, ( N n, (, (8) where k k. (9)

8 The set of non-zero functons N k, ( N k, ( at u u < <. 5 can be cloned to k u k + N n k, ( N n k+, (. In other words, there s no need to calculate non-zero functons for the second half of the arametrc sace, because they can be obtaned from the frst one. Fgure 6. Bass functons of cubc unform B-slne defned by 3 control onts (7 knots) Fgure 6 also dects another mortant roerty of unform B-slne. Pay attenton to functons marked as red, they are dentcal: N.2) = N (.3) = N (.4) =... = (.8). The set of non-zero functons at 3,3 ( 4,3 5,3 N9, 3 u =.22 conssts of four functons: N 3 (.22 ), N 3,3 (.22 ), N 4,3 (.22 ), and N 5,3 (.22 ). There s a set of functons wth the same values at each nterval u k, where 5 k : N 3 (.22 ) = N 3,3 (.32 ) =... = N 7,3 (.72), N 3,3 (.22 ) = N 4,3 (.32 ) =... = N 8,3 (.72 ), N 4,3 (.22 ) = N 5,3 (.32 ) =... = N 9,3 (.72 ), and N 5,3 (.22) = N 6,3 (.32 ) =... = N,3 (.72 ). Obvously, non-zero functons at arbtrary u2 u< u2 can be reeated at u j ( n ) + /, where j ( n ) (2 ). In ths aer we refer to ths oeraton as to re : re : N, j, ( N + ( u+ j /( n )), (2) where j n 3+ for all < 2. (2) However, u values must be dstrbuted n secfc manner, n order to ht a requred u or u+ j /( n ). Ths means that the chosen ste u must dvde each non-zero knot nterval nto the same number of equal subntervals. If we consder that κ Ν s a natural number, then ste u must satsfy: u=. (22) ( n )κ Multle Pont on Curve Evaluaton Strateges We suggest several NURBS evaluatons strateges regardng gven observatons n Table 2. The strategy name corresonds to the case of the slne and to the bass functon algorthm. The nterval row ndcates the bounds of the arametrc sace for bass clone oeratons that are gven n the last table row (see exressons (8), (9), (2), and (2)). Table 2. NURBS curve evaluaton strateges Strategy Case Interval Bass method Get ont method Bass clone oeraton NURBS_ITS General u Bass_ITS GetPont NURBS_ITS General u Bass_ITS GetPont URBS_ITS URBS_ITS+U UBS_ITS+U Unform Unform n 3 Unform Non-ratonal n 3 u <.5 Bass_ITS GetPont N ref ( N ( )) u =.5 Bass_ITS GetPont < u2 n, ( =, u u Bass_ITS GetPont N ref ( N ( )) n, ( =, u u2 u< u2 Bass_ITSU GetPont N + j, ( u+ j /( n )) = re( N, ( ) < u2 u Bass_ITS GetPont_NR N ref ( N ( )) n, ( =, u u2 u< u2 Bass_ITSU GetPont_NR N + j, ( u+ j /( n )) = re( N, ( ) Note that n order to aly unform case otmzatons, the ste sze u must be set accordngly to the exresson (22) before evaluaton. An unform non-ratonal slne s evaluated usng the smlfed method GetPont_NR nstead of GetPont (exresson () nstead of (8))

9 4 Results Algorthms gven n Secton 3 were mlemented usng C# rogrammng language and.net framework. The erformance tests were acqured on Intel Core2 Duo.86 GHz x2 CPU, 3.GB RAM machne. The evaluaton of sngle ont or functon takes only few nanoseconds. Ths makes the comarson of evaluaton tme-effectveness hardly ossble. Therefore all evaluaton algorthms were aled 5 tmes at dfferent u. Ths rocedure was erformed several tmes and average calculaton tmes were recorded. Recursve Cox-de Boor, Bass_ITS, Bass_ITS, and Bass_ITSU bass functon evaluaton algorthms were tested on the unform 27 control ont B-slne. The same algorthms and de Boor s knot nserton method were emloyed to determne a sngle ont on the curve. Calculaton tmes are gven n Fgure 7 and Fgure 8 resectvely. Mlseconds Recursve ITS ITS ITSU n = 27 Recursve ITS ITS ITSU Degree Fgure 7. NURBS bass functon calculaton tmes n mllseconds Mlseconds Recursve DeBoor ITS ITS ITSU n = 27 Recursve DeBoor ITS ITS ITSU Degree Fgure 8. NURBS sngle ont on curve evaluaton tmes n mllseconds Calculaton tme of the recursve Cox-de Boor algorthm grows radly for every successve degree of B-slne. However, the ITS s notceably less affected by the degree ncrement. De Boor s knot nserton should be fast, because t has no bass functon calculaton hase. Accordng to Fgure 8, GetPont_DeBoor overtakes recursve algorthm only when 4, but s left far behnd by the ITS. Ths haens because of a large number of scalar multlcatons and conversons from 3D to 4D and back. The ITS takes less tme n the bass functon determnaton hase than n the oston acquston hase even when = 8. Therefore erformances of sngle ont evaluaton usng Bass_ITS, Bass_ITS or Bass_ITSU are very smlar. Due to oor erformance of recursve Cox-de Boor and de Boor s knot nserton algorthms they were not ncluded n multle ont evaluaton. The evaluaton of multle onts over entre 27 control ont NURBS curve was carred out usng strateges gven n Secton Results are gven n Fgure 9. The same strateges were aled to n = 8 control ont and n = 9 control ont curves. Performance atterns reman the same as n Fgure 9, but URBS_ITS+U and UBS_ITS+U rovded less tme economy. In these cases, less control onts mean fewer ntervals where the oeraton re can be aled (see exressons (2) and (2))

10 Mlseconds NURBS_ITS NURBS_ITS URBS_ITS URBS_ITS+U UBS_ITS+U Degree n = 27 NURBS_ ITS NURBS_ ITS URBS_ ITS URBS_ ITS+U UBS_ ITS+U Fgure 9. NURBS multle onts on curve evaluaton tmes n mllseconds The mlementaton of ref and re oeratons n evaluaton of unform ratonal B-slne saved from 3.7% to 24.6% of calculaton tme (comare URBS_ITS+U and NURBS_ITS). The algorthm desgned for unform non-ratonal B-slne saved from 2.4% to 32.8% of calculaton tme. Also, URBS_ITS+U and UBS_ITS+U were resectvely u to 8.7% and 27.3% more tme-effcent n comarson to NURBS_ITS. The evaluaton of hgher degree bass functons takes longer. In these cases ref and re oeratons can save more tme (comare URBS_ITS+U and NURBS_ITS n Fgure 9). There s one more fact to be taken nto consderaton. The ercentage of saved calculaton tme deends on the number of NURBS control onts. Accordngly to the exresson (2), there are n 3 + knot ntervals where re oeraton can be aled. If n < 3, ths otmzaton can not be mlemented even f B-slne s unform. 5 Conclusons In ths aer we analyzed three already known NURBS evaluaton algorthms. Test results showed that the recursve Cox-de Boor formula s hghly neffectve esecally n the evaluaton of hgher degree slnes. Although de Boor s knot nserton method erformed better whle evaluatng slnes of the fourth and hgher degree, t was sgnfcantly overtaken by nverted trangular scheme n all cases. Due to ths dscovery we comosed several modfcatons of the nverted trangular scheme and few evaluaton strateges desgned for secal cases of NURBS. Accordngly to the test results, the resented strateges saved u to 24.6% of evaluaton tme n the case of unform B-slne, and u to 32.8% n the case of unform non-ratonal B-slne. A sgnfcant gan of erformance was observed durng NURBS evaluaton of the degree > 4 wth the number of control onts greater or equal to 3. The stated facts lead to a concluson that tme-effcency of NURBS curve evaluaton based on the nverted trangular scheme can be mroved. Ths s acheved by recognzng unform and non-ratonal cases and mlementng evaluaton strateges resented n ths aer. Otmzatons are esecally effectve n the evaluaton of hgher degree slnes wth a larger number of control onts. References [] Andersson F., Bert K. Bezer and B-slne Technology. Master of Scence Thess. 23. [2] Deng J. J. Theory of a B-Slne Bass Functon. Internatonal Journal of Comuter Mathematcs. 23, volume 8, ssue 3, ages [3] Farn G. Curves and Surfaces for CAGD: A Practcal Gude 5th Edton. Morgan Kaufman Publshers. 2 ages [4] Fsher J., Lowther J., Shene C. K. If You Know B-Slnes Well, You Also Know NURBS!. ACM SIGCSE Bulletn. 24, volume 36, ssue, ages [5] Krshnamurthy A., Khardekar R., McMans S. Drect Evaluaton of NURBS Curves and Surfaces on the GPU. Proceedngs of the 27 ACM Symosum on Sold and Physcal Modelng. 27, ages [6] Pegl L., Tller W. The NURBS Book 2nd Edton. Srnger. 999, ages [7] Plukas K. Skatna metoda r algortma, Naujas Lankas. ages [8] Sánchez H., Moreno A., Oyarzun D., García-Alonso A. Evaluaton of NURBS surfaces: an overvew based on runtme effcency. WSCG SHORT Communcaton Paers Proceedngs, Scence Press. 24, ages [9] Shene C. K. CS362 Introducton to Comutng wth Geometry Notes Onlne access: htt:// [] Xe H., Qn H. Automatc Knot Determnaton of NURBS for Interactve Geometrc Desgn. Proceedngs of the Internatonal Conference on Shae Modelng & Alcatons. ages

Rational Ruled surfaces construction by interpolating dual unit vectors representing lines

Rational Ruled surfaces construction by interpolating dual unit vectors representing lines Ratonal Ruled surfaces constructon by nterolatng dual unt vectors reresentng lnes Stavros G. Paageorgou Robotcs Grou, Deartment of Mechancal and Aeronautcal Engneerng, Unversty of Patras 265 Patra, Greece

More information

6.854 Advanced Algorithms Petar Maymounkov Problem Set 11 (November 23, 2005) With: Benjamin Rossman, Oren Weimann, and Pouya Kheradpour

6.854 Advanced Algorithms Petar Maymounkov Problem Set 11 (November 23, 2005) With: Benjamin Rossman, Oren Weimann, and Pouya Kheradpour 6.854 Advanced Algorthms Petar Maymounkov Problem Set 11 (November 23, 2005) Wth: Benjamn Rossman, Oren Wemann, and Pouya Kheradpour Problem 1. We reduce vertex cover to MAX-SAT wth weghts, such that the

More information

Type-2 Fuzzy Non-uniform Rational B-spline Model with Type-2 Fuzzy Data

Type-2 Fuzzy Non-uniform Rational B-spline Model with Type-2 Fuzzy Data Malaysan Journal of Mathematcal Scences 11(S) Aprl : 35 46 (2017) Specal Issue: The 2nd Internatonal Conference and Workshop on Mathematcal Analyss (ICWOMA 2016) MALAYSIAN JOURNAL OF MATHEMATICAL SCIENCES

More information

Introduction. Basic idea of subdivision. History of subdivision schemes. Subdivision Schemes in Interactive Surface Design

Introduction. Basic idea of subdivision. History of subdivision schemes. Subdivision Schemes in Interactive Surface Design Subdvson Schemes n Interactve Surface Desgn Introducton Hstory of subdvson. What s subdvson? Why subdvson? Hstory of subdvson schemes Stage I: Create smooth curves from arbtrary mesh de Rham, 947. Chan,

More information

Lecture Note 08 EECS 4101/5101 Instructor: Andy Mirzaian. All Nearest Neighbors: The Lifting Method

Lecture Note 08 EECS 4101/5101 Instructor: Andy Mirzaian. All Nearest Neighbors: The Lifting Method Lecture Note 08 EECS 4101/5101 Instructor: Andy Mrzaan Introducton All Nearest Neghbors: The Lftng Method Suose we are gven aset P ={ 1, 2,..., n }of n onts n the lane. The gven coordnates of the -th ont

More information

NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS

NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS ARPN Journal of Engneerng and Appled Scences 006-017 Asan Research Publshng Network (ARPN). All rghts reserved. NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS Igor Grgoryev, Svetlana

More information

Cluster Analysis of Electrical Behavior

Cluster Analysis of Electrical Behavior Journal of Computer and Communcatons, 205, 3, 88-93 Publshed Onlne May 205 n ScRes. http://www.scrp.org/ournal/cc http://dx.do.org/0.4236/cc.205.350 Cluster Analyss of Electrcal Behavor Ln Lu Ln Lu, School

More information

THE CONDENSED FUZZY K-NEAREST NEIGHBOR RULE BASED ON SAMPLE FUZZY ENTROPY

THE CONDENSED FUZZY K-NEAREST NEIGHBOR RULE BASED ON SAMPLE FUZZY ENTROPY Proceedngs of the 20 Internatonal Conference on Machne Learnng and Cybernetcs, Guln, 0-3 July, 20 THE CONDENSED FUZZY K-NEAREST NEIGHBOR RULE BASED ON SAMPLE FUZZY ENTROPY JUN-HAI ZHAI, NA LI, MENG-YAO

More information

Parallelism for Nested Loops with Non-uniform and Flow Dependences

Parallelism for Nested Loops with Non-uniform and Flow Dependences Parallelsm for Nested Loops wth Non-unform and Flow Dependences Sam-Jn Jeong Dept. of Informaton & Communcaton Engneerng, Cheonan Unversty, 5, Anseo-dong, Cheonan, Chungnam, 330-80, Korea. seong@cheonan.ac.kr

More information

Region Segmentation Readings: Chapter 10: 10.1 Additional Materials Provided

Region Segmentation Readings: Chapter 10: 10.1 Additional Materials Provided Regon Segmentaton Readngs: hater 10: 10.1 Addtonal Materals Provded K-means lusterng tet EM lusterng aer Grah Parttonng tet Mean-Shft lusterng aer 1 Image Segmentaton Image segmentaton s the oeraton of

More information

For instance, ; the five basic number-sets are increasingly more n A B & B A A = B (1)

For instance, ; the five basic number-sets are increasingly more n A B & B A A = B (1) Secton 1.2 Subsets and the Boolean operatons on sets If every element of the set A s an element of the set B, we say that A s a subset of B, or that A s contaned n B, or that B contans A, and we wrte A

More information

USEFUL AUTHENTICATION MECHANISM FOR IEC BASED SUBSTATIONS

USEFUL AUTHENTICATION MECHANISM FOR IEC BASED SUBSTATIONS USEFUL AUTHENTICATION MECHANISM FOR IEC 61850-BASED SUBSTATIONS Nastaran Abar M.H.Yaghmaee Davod Noor S.Hedaat Ahbar abar.nastaran@gmal.com yaghmaee@eee.org Hed_lan@yahoo.com ABSTRACT By ncreasng the use

More information

Mathematics 256 a course in differential equations for engineering students

Mathematics 256 a course in differential equations for engineering students Mathematcs 56 a course n dfferental equatons for engneerng students Chapter 5. More effcent methods of numercal soluton Euler s method s qute neffcent. Because the error s essentally proportonal to the

More information

Broadcast Time Synchronization Algorithm for Wireless Sensor Networks Chaonong Xu 1)2)3), Lei Zhao 1)2), Yongjun Xu 1)2) and Xiaowei Li 1)2)

Broadcast Time Synchronization Algorithm for Wireless Sensor Networks Chaonong Xu 1)2)3), Lei Zhao 1)2), Yongjun Xu 1)2) and Xiaowei Li 1)2) Broadcast Tme Synchronzaton Algorthm for Wreless Sensor Networs Chaonong Xu )2)3), Le Zhao )2), Yongun Xu )2) and Xaowe L )2) ) Key Laboratory of Comuter Archtecture, Insttute of Comutng Technology Chnese

More information

Interpolation of the Irregular Curve Network of Ship Hull Form Using Subdivision Surfaces

Interpolation of the Irregular Curve Network of Ship Hull Form Using Subdivision Surfaces 7 Interpolaton of the Irregular Curve Network of Shp Hull Form Usng Subdvson Surfaces Kyu-Yeul Lee, Doo-Yeoun Cho and Tae-Wan Km Seoul Natonal Unversty, kylee@snu.ac.kr,whendus@snu.ac.kr,taewan}@snu.ac.kr

More information

Application of Genetic Algorithms in Graph Theory and Optimization. Qiaoyan Yang, Qinghong Zeng

Application of Genetic Algorithms in Graph Theory and Optimization. Qiaoyan Yang, Qinghong Zeng 3rd Internatonal Conference on Materals Engneerng, Manufacturng Technology and Control (ICMEMTC 206) Alcaton of Genetc Algorthms n Grah Theory and Otmzaton Qaoyan Yang, Qnghong Zeng College of Mathematcs,

More information

A Geometric Approach for Multi-Degree Spline

A Geometric Approach for Multi-Degree Spline L X, Huang ZJ, Lu Z. A geometrc approach for mult-degree splne. JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY 27(4): 84 850 July 202. DOI 0.007/s390-02-268-2 A Geometrc Approach for Mult-Degree Splne Xn L

More information

A Fast Content-Based Multimedia Retrieval Technique Using Compressed Data

A Fast Content-Based Multimedia Retrieval Technique Using Compressed Data A Fast Content-Based Multmeda Retreval Technque Usng Compressed Data Borko Furht and Pornvt Saksobhavvat NSF Multmeda Laboratory Florda Atlantc Unversty, Boca Raton, Florda 3343 ABSTRACT In ths paper,

More information

Hermite Splines in Lie Groups as Products of Geodesics

Hermite Splines in Lie Groups as Products of Geodesics Hermte Splnes n Le Groups as Products of Geodescs Ethan Eade Updated May 28, 2017 1 Introducton 1.1 Goal Ths document defnes a curve n the Le group G parametrzed by tme and by structural parameters n the

More information

An Optimal Algorithm for Prufer Codes *

An Optimal Algorithm for Prufer Codes * J. Software Engneerng & Applcatons, 2009, 2: 111-115 do:10.4236/jsea.2009.22016 Publshed Onlne July 2009 (www.scrp.org/journal/jsea) An Optmal Algorthm for Prufer Codes * Xaodong Wang 1, 2, Le Wang 3,

More information

A MOVING MESH APPROACH FOR SIMULATION BUDGET ALLOCATION ON CONTINUOUS DOMAINS

A MOVING MESH APPROACH FOR SIMULATION BUDGET ALLOCATION ON CONTINUOUS DOMAINS Proceedngs of the Wnter Smulaton Conference M E Kuhl, N M Steger, F B Armstrong, and J A Jones, eds A MOVING MESH APPROACH FOR SIMULATION BUDGET ALLOCATION ON CONTINUOUS DOMAINS Mark W Brantley Chun-Hung

More information

R s s f. m y s. SPH3UW Unit 7.3 Spherical Concave Mirrors Page 1 of 12. Notes

R s s f. m y s. SPH3UW Unit 7.3 Spherical Concave Mirrors Page 1 of 12. Notes SPH3UW Unt 7.3 Sphercal Concave Mrrors Page 1 of 1 Notes Physcs Tool box Concave Mrror If the reflectng surface takes place on the nner surface of the sphercal shape so that the centre of the mrror bulges

More information

Compiler Design. Spring Register Allocation. Sample Exercises and Solutions. Prof. Pedro C. Diniz

Compiler Design. Spring Register Allocation. Sample Exercises and Solutions. Prof. Pedro C. Diniz Compler Desgn Sprng 2014 Regster Allocaton Sample Exercses and Solutons Prof. Pedro C. Dnz USC / Informaton Scences Insttute 4676 Admralty Way, Sute 1001 Marna del Rey, Calforna 90292 pedro@s.edu Regster

More information

A Binarization Algorithm specialized on Document Images and Photos

A Binarization Algorithm specialized on Document Images and Photos A Bnarzaton Algorthm specalzed on Document mages and Photos Ergna Kavalleratou Dept. of nformaton and Communcaton Systems Engneerng Unversty of the Aegean kavalleratou@aegean.gr Abstract n ths paper, a

More information

Solving Optimization Problems on Orthogonal Ray Graphs

Solving Optimization Problems on Orthogonal Ray Graphs Solvng Otmzaton Problems on Orthogonal Ray Grahs Steven Chalck 1, Phl Kndermann 2, Faban L 2, Alexander Wolff 2 1 Insttut für Mathematk, TU Berln, Germany chalck@math.tu-berln.de 2 Lehrstuhl für Informatk

More information

A Scheduling Algorithm of Periodic Messages for Hard Real-time Communications on a Switched Ethernet

A Scheduling Algorithm of Periodic Messages for Hard Real-time Communications on a Switched Ethernet IJCSNS Internatonal Journal of Comuter Scence and Networ Securty VOL.6 No.5B May 26 A Schedulng Algorthm of Perodc Messages for Hard eal-tme Communcatons on a Swtched Ethernet Hee Chan Lee and Myung Kyun

More information

A new Algorithm for Lossless Compression applied to two-dimensional Static Images

A new Algorithm for Lossless Compression applied to two-dimensional Static Images A new Algorthm for Lossless Comresson aled to two-dmensonal Statc Images JUAN IGNACIO LARRAURI Deartment of Technology Industral Unversty of Deusto Avda. Unversdades, 4. 48007 Blbao SPAIN larrau@deusto.es

More information

Quality Improvement Algorithm for Tetrahedral Mesh Based on Optimal Delaunay Triangulation

Quality Improvement Algorithm for Tetrahedral Mesh Based on Optimal Delaunay Triangulation Intellgent Informaton Management, 013, 5, 191-195 Publshed Onlne November 013 (http://www.scrp.org/journal/m) http://dx.do.org/10.36/m.013.5601 Qualty Improvement Algorthm for Tetrahedral Mesh Based on

More information

Problem Definitions and Evaluation Criteria for Computational Expensive Optimization

Problem Definitions and Evaluation Criteria for Computational Expensive Optimization Problem efntons and Evaluaton Crtera for Computatonal Expensve Optmzaton B. Lu 1, Q. Chen and Q. Zhang 3, J. J. Lang 4, P. N. Suganthan, B. Y. Qu 6 1 epartment of Computng, Glyndwr Unversty, UK Faclty

More information

Sequential search. Building Java Programs Chapter 13. Sequential search. Sequential search

Sequential search. Building Java Programs Chapter 13. Sequential search. Sequential search Sequental search Buldng Java Programs Chapter 13 Searchng and Sortng sequental search: Locates a target value n an array/lst by examnng each element from start to fnsh. How many elements wll t need to

More information

S1 Note. Basis functions.

S1 Note. Basis functions. S1 Note. Bass functons. Contents Types of bass functons...1 The Fourer bass...2 B-splne bass...3 Power and type I error rates wth dfferent numbers of bass functons...4 Table S1. Smulaton results of type

More information

Virtual Memory. Background. No. 10. Virtual Memory: concept. Logical Memory Space (review) Demand Paging(1) Virtual Memory

Virtual Memory. Background. No. 10. Virtual Memory: concept. Logical Memory Space (review) Demand Paging(1) Virtual Memory Background EECS. Operatng System Fundamentals No. Vrtual Memory Prof. Hu Jang Department of Electrcal Engneerng and Computer Scence, York Unversty Memory-management methods normally requres the entre process

More information

A mathematical programming approach to the analysis, design and scheduling of offshore oilfields

A mathematical programming approach to the analysis, design and scheduling of offshore oilfields 17 th European Symposum on Computer Aded Process Engneerng ESCAPE17 V. Plesu and P.S. Agach (Edtors) 2007 Elsever B.V. All rghts reserved. 1 A mathematcal programmng approach to the analyss, desgn and

More information

Advanced LEACH: A Static Clustering-based Heteroneous Routing Protocol for WSNs

Advanced LEACH: A Static Clustering-based Heteroneous Routing Protocol for WSNs Advanced LEACH: A Statc Clusterng-based Heteroneous Routng Protocol for WSNs A. Iqbal 1, M. Akbar 1, N. Javad 1, S. H. Bouk 1, M. Ilah 1, R. D. Khan 2 1 COMSATS Insttute of Informaton Technology, Islamabad,

More information

High-Boost Mesh Filtering for 3-D Shape Enhancement

High-Boost Mesh Filtering for 3-D Shape Enhancement Hgh-Boost Mesh Flterng for 3-D Shape Enhancement Hrokazu Yagou Λ Alexander Belyaev y Damng We z Λ y z ; ; Shape Modelng Laboratory, Unversty of Azu, Azu-Wakamatsu 965-8580 Japan y Computer Graphcs Group,

More information

Module Management Tool in Software Development Organizations

Module Management Tool in Software Development Organizations Journal of Computer Scence (5): 8-, 7 ISSN 59-66 7 Scence Publcatons Management Tool n Software Development Organzatons Ahmad A. Al-Rababah and Mohammad A. Al-Rababah Faculty of IT, Al-Ahlyyah Amman Unversty,

More information

An Accurate Evaluation of Integrals in Convex and Non convex Polygonal Domain by Twelve Node Quadrilateral Finite Element Method

An Accurate Evaluation of Integrals in Convex and Non convex Polygonal Domain by Twelve Node Quadrilateral Finite Element Method Internatonal Journal of Computatonal and Appled Mathematcs. ISSN 89-4966 Volume, Number (07), pp. 33-4 Research Inda Publcatons http://www.rpublcaton.com An Accurate Evaluaton of Integrals n Convex and

More information

Recognition of Identifiers from Shipping Container Images Using Fuzzy Binarization and Enhanced Fuzzy Neural Network

Recognition of Identifiers from Shipping Container Images Using Fuzzy Binarization and Enhanced Fuzzy Neural Network Recognton of Identfers from Shng Contaner Images Usng uzzy Bnarzaton and Enhanced uzzy Neural Networ Kwang-Bae Km Det. of Comuter Engneerng, Slla Unversty, Korea gbm@slla.ac.r Abstract. In ths aer, we

More information

A note on Schema Equivalence

A note on Schema Equivalence note on Schema Equvalence.H.M. ter Hofstede and H.. Proer and Th.P. van der Wede E.Proer@acm.org PUBLISHED S:.H.M. ter Hofstede, H.. Proer, and Th.P. van der Wede. Note on Schema Equvalence. Techncal Reort

More information

IMRT workflow. Optimization and Inverse planning. Intensity distribution IMRT IMRT. Dose optimization for IMRT. Bram van Asselen

IMRT workflow. Optimization and Inverse planning. Intensity distribution IMRT IMRT. Dose optimization for IMRT. Bram van Asselen IMRT workflow Otmzaton and Inverse lannng 69 Gy Bram van Asselen IMRT Intensty dstrbuton Webb 003: IMRT s the delvery of radaton to the atent va felds that have non-unform radaton fluence Purose: Fnd a

More information

The Codesign Challenge

The Codesign Challenge ECE 4530 Codesgn Challenge Fall 2007 Hardware/Software Codesgn The Codesgn Challenge Objectves In the codesgn challenge, your task s to accelerate a gven software reference mplementaton as fast as possble.

More information

Helsinki University Of Technology, Systems Analysis Laboratory Mat Independent research projects in applied mathematics (3 cr)

Helsinki University Of Technology, Systems Analysis Laboratory Mat Independent research projects in applied mathematics (3 cr) Helsnk Unversty Of Technology, Systems Analyss Laboratory Mat-2.08 Independent research projects n appled mathematcs (3 cr) "! #$&% Antt Laukkanen 506 R ajlaukka@cc.hut.f 2 Introducton...3 2 Multattrbute

More information

Research Article Quasi-Bézier Curves with Shape Parameters

Research Article Quasi-Bézier Curves with Shape Parameters Hndaw Publshng Corporaton Appled Mathematcs Volume 3, Artcle ID 739, 9 pages http://dxdoorg/55/3/739 Research Artcle Quas-Bézer Curves wth Shape Parameters Jun Chen Faculty of Scence, Nngbo Unversty of

More information

Problem Set 3 Solutions

Problem Set 3 Solutions Introducton to Algorthms October 4, 2002 Massachusetts Insttute of Technology 6046J/18410J Professors Erk Demane and Shaf Goldwasser Handout 14 Problem Set 3 Solutons (Exercses were not to be turned n,

More information

Optimized Query Planning of Continuous Aggregation Queries in Dynamic Data Dissemination Networks

Optimized Query Planning of Continuous Aggregation Queries in Dynamic Data Dissemination Networks WWW 007 / Trac: Performance and Scalablty Sesson: Scalable Systems for Dynamc Content Otmzed Query Plannng of Contnuous Aggregaton Queres n Dynamc Data Dssemnaton Networs Rajeev Guta IBM Inda Research

More information

Kent State University CS 4/ Design and Analysis of Algorithms. Dept. of Math & Computer Science LECT-16. Dynamic Programming

Kent State University CS 4/ Design and Analysis of Algorithms. Dept. of Math & Computer Science LECT-16. Dynamic Programming CS 4/560 Desgn and Analyss of Algorthms Kent State Unversty Dept. of Math & Computer Scence LECT-6 Dynamc Programmng 2 Dynamc Programmng Dynamc Programmng, lke the dvde-and-conquer method, solves problems

More information

A Robust Method for Estimating the Fundamental Matrix

A Robust Method for Estimating the Fundamental Matrix Proc. VIIth Dgtal Image Computng: Technques and Applcatons, Sun C., Talbot H., Ourseln S. and Adraansen T. (Eds.), 0- Dec. 003, Sydney A Robust Method for Estmatng the Fundamental Matrx C.L. Feng and Y.S.

More information

E-DEEC- Enhanced Distributed Energy Efficient Clustering Scheme for heterogeneous WSN

E-DEEC- Enhanced Distributed Energy Efficient Clustering Scheme for heterogeneous WSN 21 1st Internatonal Conference on Parallel, Dstrbuted and Grd Comutng (PDGC - 21) E-DEEC- Enhanced Dstrbuted Energy Effcent Clusterng Scheme for heterogeneous WSN Parul San Deartment of Comuter Scence

More information

Skew Estimation in Document Images Based on an Energy Minimization Framework

Skew Estimation in Document Images Based on an Energy Minimization Framework Skew Estmaton n Document Images Based on an Energy Mnmzaton Framework Youbao Tang 1, Xangqan u 1, e Bu 2, and Hongyang ang 3 1 School of Comuter Scence and Technology, Harbn Insttute of Technology, Harbn,

More information

Force-Directed Method in Mirror Frames for Graph Drawing

Force-Directed Method in Mirror Frames for Graph Drawing I.J. Intellgent Systems and lcatons, 2010, 1, 8-14 Publshed Onlne November 2010 n MES (htt://www.mecs-ress.org/) Force-Drected Method n Mrror Frames for Grah Drawng Jng Lee and *hng-hsng Pe Deartment of

More information

Ontology based data warehouses federation management system

Ontology based data warehouses federation management system Ontolog based data warehouses federaton management sstem Naoual MOUHNI 1, Abderrafaa EL KALAY 2 1 Deartment of mathematcs and comuter scences, Unverst Cad Aad, Facult of scences and technologes Marrakesh,

More information

Assignment # 2. Farrukh Jabeen Algorithms 510 Assignment #2 Due Date: June 15, 2009.

Assignment # 2. Farrukh Jabeen Algorithms 510 Assignment #2 Due Date: June 15, 2009. Farrukh Jabeen Algorthms 51 Assgnment #2 Due Date: June 15, 29. Assgnment # 2 Chapter 3 Dscrete Fourer Transforms Implement the FFT for the DFT. Descrbed n sectons 3.1 and 3.2. Delverables: 1. Concse descrpton

More information

y and the total sum of

y and the total sum of Lnear regresson Testng for non-lnearty In analytcal chemstry, lnear regresson s commonly used n the constructon of calbraton functons requred for analytcal technques such as gas chromatography, atomc absorpton

More information

CSCI 104 Sorting Algorithms. Mark Redekopp David Kempe

CSCI 104 Sorting Algorithms. Mark Redekopp David Kempe CSCI 104 Sortng Algorthms Mark Redekopp Davd Kempe Algorthm Effcency SORTING 2 Sortng If we have an unordered lst, sequental search becomes our only choce If we wll perform a lot of searches t may be benefcal

More information

Solving two-person zero-sum game by Matlab

Solving two-person zero-sum game by Matlab Appled Mechancs and Materals Onlne: 2011-02-02 ISSN: 1662-7482, Vols. 50-51, pp 262-265 do:10.4028/www.scentfc.net/amm.50-51.262 2011 Trans Tech Publcatons, Swtzerland Solvng two-person zero-sum game by

More information

An Iterative Solution Approach to Process Plant Layout using Mixed Integer Optimisation

An Iterative Solution Approach to Process Plant Layout using Mixed Integer Optimisation 17 th European Symposum on Computer Aded Process Engneerng ESCAPE17 V. Plesu and P.S. Agach (Edtors) 2007 Elsever B.V. All rghts reserved. 1 An Iteratve Soluton Approach to Process Plant Layout usng Mxed

More information

2x x l. Module 3: Element Properties Lecture 4: Lagrange and Serendipity Elements

2x x l. Module 3: Element Properties Lecture 4: Lagrange and Serendipity Elements Module 3: Element Propertes Lecture : Lagrange and Serendpty Elements 5 In last lecture note, the nterpolaton functons are derved on the bass of assumed polynomal from Pascal s trangle for the fled varable.

More information

Efficient Distributed File System (EDFS)

Efficient Distributed File System (EDFS) Effcent Dstrbuted Fle System (EDFS) (Sem-Centralzed) Debessay(Debsh) Fesehaye, Rahul Malk & Klara Naherstedt Unversty of Illnos-Urbana Champagn Contents Problem Statement, Related Work, EDFS Desgn Rate

More information

A Structure Preserving Database Encryption Scheme

A Structure Preserving Database Encryption Scheme A Structure Preservng Database Encryton Scheme Yuval Elovc, Ronen Wasenberg, Erez Shmuel, and Ehud Gudes Ben-Guron Unversty of the Negev, Faculty of Engneerng, Deartment of Informaton Systems Engneerng,

More information

Programming in Fortran 90 : 2017/2018

Programming in Fortran 90 : 2017/2018 Programmng n Fortran 90 : 2017/2018 Programmng n Fortran 90 : 2017/2018 Exercse 1 : Evaluaton of functon dependng on nput Wrte a program who evaluate the functon f (x,y) for any two user specfed values

More information

Computer models of motion: Iterative calculations

Computer models of motion: Iterative calculations Computer models o moton: Iteratve calculatons OBJECTIVES In ths actvty you wll learn how to: Create 3D box objects Update the poston o an object teratvely (repeatedly) to anmate ts moton Update the momentum

More information

Parallel matrix-vector multiplication

Parallel matrix-vector multiplication Appendx A Parallel matrx-vector multplcaton The reduced transton matrx of the three-dmensonal cage model for gel electrophoress, descrbed n secton 3.2, becomes excessvely large for polymer lengths more

More information

Virtual Machine Migration based on Trust Measurement of Computer Node

Virtual Machine Migration based on Trust Measurement of Computer Node Appled Mechancs and Materals Onlne: 2014-04-04 ISSN: 1662-7482, Vols. 536-537, pp 678-682 do:10.4028/www.scentfc.net/amm.536-537.678 2014 Trans Tech Publcatons, Swtzerland Vrtual Machne Mgraton based on

More information

Determining the Optimal Bandwidth Based on Multi-criterion Fusion

Determining the Optimal Bandwidth Based on Multi-criterion Fusion Proceedngs of 01 4th Internatonal Conference on Machne Learnng and Computng IPCSIT vol. 5 (01) (01) IACSIT Press, Sngapore Determnng the Optmal Bandwdth Based on Mult-crteron Fuson Ha-L Lang 1+, Xan-Mn

More information

On the Two-level Hybrid Clustering Algorithm

On the Two-level Hybrid Clustering Algorithm On the Two-level Clusterng Algorthm ng Yeow Cheu, Chee Keong Kwoh, Zongln Zhou Bonformatcs Research Centre, School of Comuter ngneerng, Nanyang Technologcal Unversty, Sngaore 639798 ezlzhou@ntu.edu.sg

More information

Learning-Based Top-N Selection Query Evaluation over Relational Databases

Learning-Based Top-N Selection Query Evaluation over Relational Databases Learnng-Based Top-N Selecton Query Evaluaton over Relatonal Databases Lang Zhu *, Wey Meng ** * School of Mathematcs and Computer Scence, Hebe Unversty, Baodng, Hebe 071002, Chna, zhu@mal.hbu.edu.cn **

More information

Accounting for the Use of Different Length Scale Factors in x, y and z Directions

Accounting for the Use of Different Length Scale Factors in x, y and z Directions 1 Accountng for the Use of Dfferent Length Scale Factors n x, y and z Drectons Taha Soch (taha.soch@kcl.ac.uk) Imagng Scences & Bomedcal Engneerng, Kng s College London, The Rayne Insttute, St Thomas Hosptal,

More information

AP PHYSICS B 2008 SCORING GUIDELINES

AP PHYSICS B 2008 SCORING GUIDELINES AP PHYSICS B 2008 SCORING GUIDELINES General Notes About 2008 AP Physcs Scorng Gudelnes 1. The solutons contan the most common method of solvng the free-response questons and the allocaton of ponts for

More information

The IBM zenterprise-196 Decimal Floating-Point Accelerator

The IBM zenterprise-196 Decimal Floating-Point Accelerator 2 2th IEEE Symosum on Comuter Arthmetc The IBM zenterrse-96 Decmal Floatng-Pont Accelerator Steven Carlough Adam Collura scarloug@us.bm.com collura@us.bm.com IBM Systems and Technology Grou 2455 South

More information

Analysis of Continuous Beams in General

Analysis of Continuous Beams in General Analyss of Contnuous Beams n General Contnuous beams consdered here are prsmatc, rgdly connected to each beam segment and supported at varous ponts along the beam. onts are selected at ponts of support,

More information

3D vector computer graphics

3D vector computer graphics 3D vector computer graphcs Paolo Varagnolo: freelance engneer Padova Aprl 2016 Prvate Practce ----------------------------------- 1. Introducton Vector 3D model representaton n computer graphcs requres

More information

F Geometric Mean Graphs

F Geometric Mean Graphs Avalable at http://pvamu.edu/aam Appl. Appl. Math. ISSN: 1932-9466 Vol. 10, Issue 2 (December 2015), pp. 937-952 Applcatons and Appled Mathematcs: An Internatonal Journal (AAM) F Geometrc Mean Graphs A.

More information

A priori computation of the number of surface subdivision levels

A priori computation of the number of surface subdivision levels ror comutaton of the number of surface subdvson levels Srne Lanquetn arc eveu LEI CS 55 F des Scences et Technques nversté de Bourgogne B 77 7 IJ Cedex France {slanquet mneveu}@u-bourgogne.fr bstract Subdvson

More information

Lecture 5: Multilayer Perceptrons

Lecture 5: Multilayer Perceptrons Lecture 5: Multlayer Perceptrons Roger Grosse 1 Introducton So far, we ve only talked about lnear models: lnear regresson and lnear bnary classfers. We noted that there are functons that can t be represented

More information

CMPS 10 Introduction to Computer Science Lecture Notes

CMPS 10 Introduction to Computer Science Lecture Notes CPS 0 Introducton to Computer Scence Lecture Notes Chapter : Algorthm Desgn How should we present algorthms? Natural languages lke Englsh, Spansh, or French whch are rch n nterpretaton and meanng are not

More information

Simulation Based Analysis of FAST TCP using OMNET++

Simulation Based Analysis of FAST TCP using OMNET++ Smulaton Based Analyss of FAST TCP usng OMNET++ Umar ul Hassan 04030038@lums.edu.pk Md Term Report CS678 Topcs n Internet Research Sprng, 2006 Introducton Internet traffc s doublng roughly every 3 months

More information

Learning the Kernel Parameters in Kernel Minimum Distance Classifier

Learning the Kernel Parameters in Kernel Minimum Distance Classifier Learnng the Kernel Parameters n Kernel Mnmum Dstance Classfer Daoqang Zhang 1,, Songcan Chen and Zh-Hua Zhou 1* 1 Natonal Laboratory for Novel Software Technology Nanjng Unversty, Nanjng 193, Chna Department

More information

SLAM Summer School 2006 Practical 2: SLAM using Monocular Vision

SLAM Summer School 2006 Practical 2: SLAM using Monocular Vision SLAM Summer School 2006 Practcal 2: SLAM usng Monocular Vson Javer Cvera, Unversty of Zaragoza Andrew J. Davson, Imperal College London J.M.M Montel, Unversty of Zaragoza. josemar@unzar.es, jcvera@unzar.es,

More information

ACCURATE BIT ALLOCATION AND RATE CONTROL FOR DCT DOMAIN VIDEO TRANSCODING

ACCURATE BIT ALLOCATION AND RATE CONTROL FOR DCT DOMAIN VIDEO TRANSCODING ACCUATE BIT ALLOCATION AND ATE CONTOL FO DCT DOMAIN VIDEO TANSCODING Zhjun Le, Ncolas D. Georganas Multmeda Communcatons esearch Laboratory Unversty of Ottawa, Ottawa, Canada {lezj, georganas}@ mcrlab.uottawa.ca

More information

Performance Evaluation of Information Retrieval Systems

Performance Evaluation of Information Retrieval Systems Why System Evaluaton? Performance Evaluaton of Informaton Retreval Systems Many sldes n ths secton are adapted from Prof. Joydeep Ghosh (UT ECE) who n turn adapted them from Prof. Dk Lee (Unv. of Scence

More information

Image Segmentation. Image Segmentation

Image Segmentation. Image Segmentation Image Segmentaton REGION ORIENTED SEGMENTATION Let R reresent the entre mage regon. Segmentaton may be vewed as a rocess that arttons R nto n subregons, R, R,, Rn,such that n= R = R.e., the every xel must

More information

Modelling of curves and surfaces in polar. and Cartesian coordinates. G.Casciola and S.Morigi. Department of Mathematics, University of Bologna, Italy

Modelling of curves and surfaces in polar. and Cartesian coordinates. G.Casciola and S.Morigi. Department of Mathematics, University of Bologna, Italy Modellng of curves and surfaces n polar and Cartesan coordnates G.Cascola and S.Morg Department of Mathematcs, Unversty of Bologna, Italy Abstract A new class of splne curves n polar coordnates has been

More information

Available online at ScienceDirect. Procedia Computer Science 94 (2016 )

Available online at  ScienceDirect. Procedia Computer Science 94 (2016 ) Avalable onlne at www.scencedrect.com ScenceDrect Proceda Comuter Scence 94 (2016 ) 176 182 The 13th Internatonal Conference on Moble Systems and Pervasve Comutng (MobSPC 2016) An Effcent QoS-aware Web

More information

Chapter 6 Programmng the fnte element method Inow turn to the man subject of ths book: The mplementaton of the fnte element algorthm n computer programs. In order to make my dscusson as straghtforward

More information

Finite Element Analysis of Rubber Sealing Ring Resilience Behavior Qu Jia 1,a, Chen Geng 1,b and Yang Yuwei 2,c

Finite Element Analysis of Rubber Sealing Ring Resilience Behavior Qu Jia 1,a, Chen Geng 1,b and Yang Yuwei 2,c Advanced Materals Research Onlne: 03-06-3 ISSN: 66-8985, Vol. 705, pp 40-44 do:0.408/www.scentfc.net/amr.705.40 03 Trans Tech Publcatons, Swtzerland Fnte Element Analyss of Rubber Sealng Rng Reslence Behavor

More information

Support Vector Machines

Support Vector Machines /9/207 MIST.6060 Busness Intellgence and Data Mnng What are Support Vector Machnes? Support Vector Machnes Support Vector Machnes (SVMs) are supervsed learnng technques that analyze data and recognze patterns.

More information

Contour Error of the 3-DoF Hydraulic Translational Parallel Manipulator. Ryszard Dindorf 1,a, Piotr Wos 2,b

Contour Error of the 3-DoF Hydraulic Translational Parallel Manipulator. Ryszard Dindorf 1,a, Piotr Wos 2,b Advanced Materals Research Vol. 874 (2014) 57-62 Onlne avalable snce 2014/Jan/08 at www.scentfc.net (2014) rans ech Publcatons, Swtzerland do:10.4028/www.scentfc.net/amr.874.57 Contour Error of the 3-DoF

More information

Load Balancing for Hex-Cell Interconnection Network

Load Balancing for Hex-Cell Interconnection Network Int. J. Communcatons, Network and System Scences,,, - Publshed Onlne Aprl n ScRes. http://www.scrp.org/journal/jcns http://dx.do.org/./jcns.. Load Balancng for Hex-Cell Interconnecton Network Saher Manaseer,

More information

The Greedy Method. Outline and Reading. Change Money Problem. Greedy Algorithms. Applications of the Greedy Strategy. The Greedy Method Technique

The Greedy Method. Outline and Reading. Change Money Problem. Greedy Algorithms. Applications of the Greedy Strategy. The Greedy Method Technique //00 :0 AM Outlne and Readng The Greedy Method The Greedy Method Technque (secton.) Fractonal Knapsack Problem (secton..) Task Schedulng (secton..) Mnmum Spannng Trees (secton.) Change Money Problem Greedy

More information

FINDING IMPORTANT NODES IN SOCIAL NETWORKS BASED ON MODIFIED PAGERANK

FINDING IMPORTANT NODES IN SOCIAL NETWORKS BASED ON MODIFIED PAGERANK FINDING IMPORTANT NODES IN SOCIAL NETWORKS BASED ON MODIFIED PAGERANK L-qng Qu, Yong-quan Lang 2, Jng-Chen 3, 2 College of Informaton Scence and Technology, Shandong Unversty of Scence and Technology,

More information

Risk Assessment Using Functional Modeling based on Object Behavior and Interaction

Risk Assessment Using Functional Modeling based on Object Behavior and Interaction Rsk Assessment Usng Functonal Modelng based on Object Behavor and Interacton Akekacha Tangsuksant, Nakornth Promoon Software Engneerng Lab, Center of Ecellence n Software Engneerng Deartment of Comuter

More information

Bayesian Networks: Independencies and Inference. What Independencies does a Bayes Net Model?

Bayesian Networks: Independencies and Inference. What Independencies does a Bayes Net Model? Bayesan Networks: Indeendences and Inference Scott Daves and Andrew Moore Note to other teachers and users of these sldes. Andrew and Scott would be delghted f you found ths source materal useful n gvng

More information

Speed of price adjustment with price conjectures

Speed of price adjustment with price conjectures Seed of rce adustment wh rce conectures Mchael Olve Macquare Unversy, Sydney, Australa Emal: molve@efs.mq.edu.au Abstract We derve a measure of frm seed of rce adustment that s drectly nversely related

More information

Constrained Shape Modification of B-Spline curves

Constrained Shape Modification of B-Spline curves Constraned Shape Modfcaton of B-Splne curves Mukul Tul, N. Venkata Reddy and Anupam Saxena Indan Insttute of Technology Kanpur, mukult@tk.ac.n, nvr@tk.ac.n, anupams@tk.ac.n ABSTRACT Ths paper proposes

More information

Transactions on Visualization and Computer Graphics. Sketching of Mirror-symmetric Shapes. Figure 1: Sketching of a symmetric shape.

Transactions on Visualization and Computer Graphics. Sketching of Mirror-symmetric Shapes. Figure 1: Sketching of a symmetric shape. Page of 0 Transactons on Vsualzaton and omuter Grahcs 0 0 0 Abstract Sketchng of Mrror-symmetrc Shaes For Peer Revew Only Ths aer resents a system to create mrror-symmetrc surfaces from sketches. The system

More information

A Fast Visual Tracking Algorithm Based on Circle Pixels Matching

A Fast Visual Tracking Algorithm Based on Circle Pixels Matching A Fast Vsual Trackng Algorthm Based on Crcle Pxels Matchng Zhqang Hou hou_zhq@sohu.com Chongzhao Han czhan@mal.xjtu.edu.cn Ln Zheng Abstract: A fast vsual trackng algorthm based on crcle pxels matchng

More information

Modeling, Manipulating, and Visualizing Continuous Volumetric Data: A Novel Spline-based Approach

Modeling, Manipulating, and Visualizing Continuous Volumetric Data: A Novel Spline-based Approach Modelng, Manpulatng, and Vsualzng Contnuous Volumetrc Data: A Novel Splne-based Approach Jng Hua Center for Vsual Computng, Department of Computer Scence SUNY at Stony Brook Talk Outlne Introducton and

More information

A Deflected Grid-based Algorithm for Clustering Analysis

A Deflected Grid-based Algorithm for Clustering Analysis A Deflected Grd-based Algorthm for Clusterng Analyss NANCY P. LIN, CHUNG-I CHANG, HAO-EN CHUEH, HUNG-JEN CHEN, WEI-HUA HAO Department of Computer Scence and Informaton Engneerng Tamkang Unversty 5 Yng-chuan

More information

Kinematics of pantograph masts

Kinematics of pantograph masts Abstract Spacecraft Mechansms Group, ISRO Satellte Centre, Arport Road, Bangalore 560 07, Emal:bpn@sac.ernet.n Flght Dynamcs Dvson, ISRO Satellte Centre, Arport Road, Bangalore 560 07 Emal:pandyan@sac.ernet.n

More information

Gentle Early Detection Algorithm

Gentle Early Detection Algorithm Gentle Early etecton Algorthm Hussen Abdel-jaber 1, Mahmoud Abdeljaber 2, Hussen Abu Mansour 1, Malak El-Amr 1 1 Faculty of Comuter Studes, eartment of Informaton Technology and Comutng, Arab Oen Unversty,

More information