A General Algorithm for Computing Distance Transforms in Linear Time

Size: px
Start display at page:

Download "A General Algorithm for Computing Distance Transforms in Linear Time"

Transcription

1 Ths chapter has been pblshed as: A. Mejster, J. B. T. M. Roerdnk and W. H. Hesselnk, A general algorthm for comptng dstance transforms n lnear tme. In: Mathematcal Morphology and ts Applcatons to Image and Sgnal Processng, Klwer Acad. Pbl., 2, pp Chapter 2 A General Algorthm for Comptng Dstance Transforms n Lnear Tme Abstract A general algorthm for comptng dstance transforms of dgtal mages s presented. The algorthm conssts of two phases. Both phases consst of two scans, a forward and a backward scan. The frst phase scans the mage colmn-wse, whle the second phase scans the mage row-wse. Snce the comptaton per row (colmn) s ndependent of the comptaton of other rows (colmns), the algorthm can be easly parallelzed on shared memory compters. The algorthm can be sed for the comptaton of the exact Ecldean, Manhattan (L 1 norm), and chessboard dstance (L norm) transforms. 2.1 Introdcton Dstance transforms play an mportant role n many morphologcal mage processng applcatons. They have been extensvely stded and sed n comptatonal geometry, mage processng, compter graphcs and pattern recognton, e.g., [17, 18, 25, 81]. The two-dmensonal dstance transform can be descrbed as follows. Let B be a set of grd ponts taken from a rectanglar grd of sze m n. The problem s to assgn to every grd pont (x,y) the dstance to the nearest pont n B. If we se the Ecldean metrc for comptng dstances, and represent B by a boolean array b[, ], we ths want to compte the two dmensonal array dt[x,y] = EDT(x,y), where EDT(x,y) = MIN(, j : < m j < n b[, j] : (x ) 2 + (y j) 2 ). Here we se the notaton MIN(k : P(k) : f (k)) for the mnmal vale of f (k) where k ranges over all vales that satsfy P(k). Snce the exact Ecldean dstance transform s often regarded as too comptatonally ntensve, several algorthms have been proposed that se some mask whch s swept over the mage n two scans, to compte approxmatons lke the Manhattan (cty-block) dstance, the chessboard dstance, or chamfer dstances (see [17, 18, 25, 81]). The tme complexty s lnear n the nmber of pxels of the mage (.e. O(m n)), bt t does not yeld the exact Ecldean dstance, whch

2 The frst phase s reqred for some applcatons. Another drawback of these algorthms s that they are hard to parallelze for execton on parallel compters snce prevosly compted reslts are propagated drng the comptaton, makng the process hghly seqental. A recrsve algorthm of order mnlogm for the exact EDT s gven n [45]. In [75] a recrsve algorthm of order mn for the exact EDT s gven by redcng the problem to a matrx search algorthm. In ths chapter, whch s based pon [54], we present an algorthm that also comptes dstance transforms n lnear tme, s smpler and more effcent than [75], and s easy to parallelze. It can compte the Ecldean (EDT), the Manhattan (MDT), and the chessboard dstance (CDT) transform, defned by EDT(x,y) = MIN(, j : < m j < n b[, j] : (x ) 2 + (y j) 2 ), MDT(x,y) = MIN(, j : < m j < n b[, j] : x + y j ), CDT(x,y) = MIN(, j : < m j < n b[, j] : x max y j ). If we defne the mnmm of the empty set to be, and se the rle z + = for all z, we fnd wth some calclaton EDT(x,y) = MIN( : < m : (x ) 2 + G(,y) 2 ), MDT(x,y) = MIN( : < m : x + G(,y)), CDT(x,y) = MIN( : < m : x max G(,y)), where G(,y) = MIN( j : j < n b[, j] : y j ). The algorthm can be smmarzed as follows. In a frst phase each colmn C x (defned by ponts (x,y) wth x fxed) s separately scanned. For each pont (x,y) on C x, the dstance G(x,y) of (x,y) to the nearest ponts of C x B s determned. In a second phase each row R y (defned by ponts (x,y) wth y fxed) s separately scanned, and for each pont (x,y) on R y the mnmm of (x x ) 2 + G(x,y) 2 for EDT, x x + G(x,y) for MDT, and x x max G(x,y) for CDT s determned, where (x,y) ranges over row R y. 2.2 The frst phase The object of the frst phase s to determne the fncton G. We frst observe that we can splt G nto two fnctons GT (top) and GB (bottom), sch that G(,y) = GT(,y) mn GB(,y), where GT(,y) = MIN( j : j y b[, j] : y j) GB(,y) = MIN( j : y j < n b[, j] : j y) We start wth the comptaton of GT by ntrodcng an array g to store ts vales. It s easy to see that GT(,y) = f b[,y] holds, and that, otherwse, GT(,y) = GT (,y 1) + 1 (or f y = ). We can therefore compte g[x,y] := GT(x,y) sng only g[x,y 1] n a smple colmn scan from top to bottom. Smlarly, we fnd GB(,y) = GB(,y + 1) + 1. The second scan rns from bottom to top, and comptes G(x,y) drectly, sng GT from the prevos scan, and GB from the crrent

3 A General Algorthm for Comptng Dstance Transforms n Lnear Tme 25 forall x [..m 1] do ( scan 1 ) f b[x,] then g[x,] := else g[x,] := ; endf for y := 1 to n 1 do f b[x,y] then g[x,y] := else g[x,y] := 1 + g[x,y 1]; endf ( scan 2 ) for y := n 2 downto do f g[x,y + 1] < g[x,y] then g[x,y] := (1 + g[x,y + 1]) endf end forall Fgre 2.1. Program fragment for the frst phase. one. After some smplfcaton, ths reslts n the code fragment gven n Fg Clearly, the tme complexty s lnear n the nmber of pxels (.e. O(m n)). In actal mplementatons t s convenent to replace by m + n, snce all dstances n the mages are less than m + n f the set B s non-empty. 2.3 The second phase In the second phase we want to compte EDT, MDT, or CDT row by row,.e. for all x wth fxed y. Therefore, n ths secton we regard y as a constant and omt t as a parameter n axlary fnctons, and ntrodce g() = G(, y). Instead of developng an algorthm for each metrc separately, we am at a more general algorthm for DT(x,y) = MIN( : < m : f (x,)). (2.1) The choce of the fncton f depends on the metrc we wsh to se,.e. (x ) 2 + g() 2 for EDT, f (x,) = x + g() for MDT, x max g() for CDT. It s helpfl to ntrodce a geometrcal nterpretaton of the mnmzaton problem of Eq For any wth < m, denote by F the fncton x f (x,) on the real nterval [,m 1].

4 The second phase (a) EDT (b) MDT (c) CDT Fgre 2.2. DT as the lower envelope (sold lne) of crves F, < m (dotted lnes). The dashed vertcal lnes ndcate the transtons between regons. We call the ndex of F. In the case of EDT, the graph of F s a parabola wth vertex at (, g()). In the case of MDT the parabolas are replaced by V-shaped approxmatons, whle n the case of CDT we deal wth topped off V-shaped approxmatons (see Fg. 2.2). We can nterpret DT geometrcally as the lower envelope of the collecton {F < m} evalated at nteger coordnates, cf. Fg The lower envelopes consst of a nmber of consectve crve segments, whose ndex we denote by s[],s[1],...,s[q] contng from left to rght. The projectons of the segments on the x-axs are called regons, and form a partton of the nterval [,m) by consectve segments. The comptaton of DT now conssts of two scans. In a forward (left-to-rght) scan the set of regons s determned sng an ncremental algorthm. In a backward (rght-to-left) scan the vales DT(x,y) are trvally compted for all x. We start by replacng the pper bond m n (2.1) by a varable and defne FL(x,) = MIN( : < : f (x,)). The geometrc nterpretaton s that we restrct the set B to the half plane to the left of. Clearly, DT(x,y) = FL(x,m). For gven pper bond >, we defne an ndex h to be a mnmzer at x f, n the expresson for FL(x,), the mnmal vale of f (x,) occrs at h. In general, x may have more than one mnmzer. The least mnmzer H(x,) of x w.r.t. s defned as the least ndex h wth h < sch that f (x,h) f (x,) for all n the same range,.e. H(x,) = MIN(h : h < ( : < : f (x,h) f (x,)) : h). (2.2) We clearly have FL(x,) = f (x,h(x,)), hence DT(x,y) = f (x,h(x,m)). Therefore, the problem redces to the comptaton of H(x,m). We consder the sets S() of the least mnmzers that occr drng the scan from left to rght, and the sets T (h,) of ponts wth the same least mnmzer h. We ths defne S() = {H(x,) x < m}, (2.3) T (h,) = {x x < m H(x,) = h } f h <.

5 A General Algorthm for Comptng Dstance Transforms n Lnear Tme (a) above (b) below (c) ntersecton Fgre 2.3. Locaton of F (dashed crve) w.r.t. the lower envelope (sold lne). Clearly, S() s a nonempty sbset of [,), and S() = {h T (h,) /}. We defne the regons for to be the sets T (h,) that are nonempty. It s easy to see that the regons for form a partton of [,m). The am s the case where = m. Indeed, for x T (h,m), we have H(x,m) = h and hence DT(x,y) = f (x,h). The second phase of the algorthm therefore conssts of two scans: scan 3 comptes the partton of [,m) that conssts of the regons for m and scan 4 ses these regons to compte DT. For gven, only the crves wth ndces from to 1 are taken nto accont. The mnmzer of x corresponds to the ndex of the crve segment whose projecton on the horzontal axs contans x. Let the crrent lower envelope consst of q + 1 segments,.e. S() = {s[],s[1],...,s[q]}, wth s[l] the ndex of the l-th segment. Consder what happens when F s added. Three statons may occr: (a) F s above the crrent lower envelope on [,m 1], cf. Fg. 2.3(a). Then S( + 1) = S(), snce the set T (, + 1) s empty. (b) F s below the crrent lower envelope on [,m 1], cf. Fg. 2.3(b). Then S( + 1) = {},.e., all old regons have dsappeared, and there s one new regon T (, + 1) = [,m). (c) F ntersects the crrent lower envelope on [,m 1], cf. Fg. 2.3(c). The crrent regons wll ether shrnk or dsappear, and there s one new regon T (, + 1). We start searchng from rght to left for the crrent regon whch s ntersected by F. Ths can be determned by comparng the vales of F and F l at the begn pont t[l] of each crrent regon l = q,q 1,..., ntl we fnd the frst l = l sch that F (t[l ]) F s[l ](t[l ]). Then F s not the least mnmzer at t[l ], and there mst be an ntersecton of F wth F l n regon l. Let x be the horzontal coordnate of the ntersecton. If l = q and x m we have case (a); f l < we have case (b); otherwse case (c) pertans. To fnd x, we ntrodce a fncton Sep, where Sep(,) s the frst nteger larger or eqal than the horzontal coordnate of the ntersecton pont of F and F wth <,.e. F (x) F (x) x Sep(,). (2.4)

6 The second phase forall y [..n 1] do q := ; s[] := ; t[] := ; for := 1 to m 1 do ( scan 3 ) whle q f (t[q],s[q]) > f (t[q],) do q := q 1; f q < then q := ; s[] := else w := 1 + Sep(s[q],); f w < m then q := q + 1; s[q] := ; t[q] := w end f end f end for for := m 1 downto do ( scan 4 ) dt[,y] := f (,s[q]); f = t[q] then q := q 1 end for end forall Fgre 2.4. Program fragments for the second phase. We ths have x = Sep(s[l ],). Clearly, the fncton Sep s dependent on whch dstance transform we want to compte. In the next secton we wll derve the expressons for the fncton Sep, bt n the remander of ths secton we smply assme that Sep s avalable. We ntrodce an nteger program varable. It s convenent to represent S() by an ncreasng seqence of elements. Snce the regons form a partton of [, m) by consectve segments, we can represent them by the seqence of ther least elements. Accordng to the case analyss above, the regons are to be adapted at ther end. We can therefore mplement these seqences n two nteger arrays, s and t, wth an nteger varable q as ndex of the end pont. We start wth the forward scan, see scan 3 n Fg We have S(1) = {}, and T (,1) = [,m), and ths start wth q =, s[] =, and t[] =. In a loop, varable s ncremented, and ths the representatons of S and T mst be pdated by means of the case analyss above. To nvestgate the complexty of the forward scan, we consder the expresson q + 2(m ), whch s ntally 2m. In every execton of the body of the oter loop (scan 3 n Fg. 2.4), and also n every execton of the body of ts nner loop, the vale of the expresson decreases. Ths mples that the tme complexty of the scan s lnear n m. Note that, the average nmber of teratons of the nner loop s at most two. The algorthm ses less than 2m comparsons of f vales, and fncton Sep s evalated less than m tmes. When the forward scan s fnshed, we have completely determned the partton of [,m) n regons. Gven these regons, we can trvally compte dt-vales n a smple backward scan (see scan 4 n Fg. 2.4).

7 A General Algorthm for Comptng Dstance Transforms n Lnear Tme 29 g() g() g() g() (a) g() g() + (b) g() > g() + (c) otherwse g() g() x * Fgre 2.5. Cases for fndng Sep for MDT. 2.4 Dervaton of the fncton Sep The dervaton n the prevos secton was ndependent of the actal metrc sed. The fnctons dependent on the metrc are f and Sep. In ths secton we compte expressons for Sep for EDT, MDT, and CDT. The easest s EDT. We fnd for < F (x) F (x) {defnton of F, F } (x ) 2 + g() 2 (x ) 2 + g() 2 {calcls; < ; x s an nteger} x ( g() 2 g() 2 ) dv (2( )). Here, we denote nteger dvson wth rondng off towards zero by dv. Ths, we fnd for EDT that Sep(,) = ( g() 2 g() 2 ) dv (2( )). If we se the Manhattan metrc, the analyss s slghtly more complcated. Snce we have to deal wth absolte vales n the expressons, awkward case analyss s necessary f we want to compte Sep analytcally. Therefore we prefer a geometrc argment. We have to consder three cases (see Fg. 2.5). If g() g() +, the graph of F les entrely above the graph of F for all x, ths we choose Sep(,) =. If g() > g()+, the graph of F les entrely above the graph of F, so F (x) F (x) for no x at all. Ths, we mst choose Sep(,) = to satsfy (2.4). In all other cases, F ntersects F at x = (g() g() + + )/2. So, f we want to compte MDT we se f g() g() +, Sep(,) = f g() > g() +, (g() g() + + ) dv 2 otherwse. For the case of CDT we have x max g() x max g(). We consder two man cases, whch each can be splt p n three sb-cases. Frst we consder the case g() g(). From Fg. 2.6(a)-(c), we see that the ncreasng segment of F (y = x ) ntersects the decreasng part of F (y = x), or the constant part (y = g()). Let γ be the vertcal coordnate correspondng

8 3 2.4 Dervaton of the fncton Sep ( )/2 g() g() g() ( )/2 g() (+)/2 (+)/2 (a) g() γ g() γ (b) g() γ g() > γ g() g() ( )/2 ( )/2 g() g() (+)/2 (+)/2 g() ( )/2 (c) g() > γ g() g() ( )/2 (d) g() γ g() (+)/2 (+)/2 (e) g() > γ g() γ (f) g() > γ g() > γ Fgre 2.6. Cases for fndng Sep for CDT, where γ = ( )/2. Cases (a)-(c): g() g(). Cases (d)-(f): g() > g(). wth the mddle of and (x = ( + )/2),.e. γ = ( )/2. From Fg. 2.6(a), we see that f g() γ g() γ, we have F (x) F (x) f x ( + )/2. From Fg. 2.6(b)-(c), we see that the ncreasng part of F ntersects the constant segment of F at + g(), and ths we have F (x) F (x) f x + g(). Pttng the three cases together, we can conclde g() g() ( F (x) F (x) x + 2 max ( + g()) ). The other man case s g() > g(). Agan, n Fg. 2.6(d), we see that f g() γ, the ntersecton at (+)/2 s the separator. If g() > γ (see Fg. 2.6(e)-(f)), the horzontal segment of F ntersects the decreasng part of F at x = g(). Jst lke n the prevos case, we can pt these cases together. Ths reslts n the followng expresson for Sep: Sep(,) = { ( + g()) max (( + ) dv 2) f g() g(), ( g()) mn (( + ) dv 2) otherwse.

9 A General Algorthm for Comptng Dstance Transforms n Lnear Tme 31 Table 2.1. Tmng reslts n ms. From left to rght: EDT, MDT, and CDT. sze p=1 p=2 p=3 p=4 p=1 p=2 p=3 p=4 p=1 p=2 p=3 p= Parallelzaton, tmng reslts and conclsons Snce the comptaton per row (colmn) s ndependent of the comptaton on any other row (colmn), the algorthm s well sted for parallelzaton on a shared memory machne. In the frst (second) phase, the colmns (rows) are dstrbted over the processors. The two phases mst be separated by a barrer, whch assres that all processors have completed the frst phase before any of them starts wth the second phase. The theoretcal tme complexty of the parallel algorthm for p processors (where p m mn n) s O(mn/p). We ran experments on an Intel Pentm III based shared memory parallel compter wth 4 cp s, rnnng at a 55MHz clock freqency. We performed tme measrements sng several bnary mages, and fond that the execton tme s almost ndependent of mage content, and scales well w.r.t. the nmber of processors. Ths s as expected, snce the amont of work per row and colmn s almost the same. In table 2.1 the tmngs for sqare mages are gven for p = 1 to p = 4 processors. Note that the comptaton of MDT and CDT s only slghtly faster than the exact EDT. We also mplemented the seqental algorthm of [81] for CDT, and fond that or algorthm s less than a factor of 2 slower, whch can easly be overcome by parallel processng. The algorthm can be easly extended to d-dmensonal dstance transforms by separatng the problem nto d phases, each solvng a one-dmensonal problem, as carred ot above for the case d = 2.

10 4 1.1 Introdcton to Mathematcal Morphology X Y Dlaton of X by Y Eroson of X by Y Fgre 1.1. The geometrcal nterpretaton of dlaton and eroson (n the contnos case). In order to avod havng to wrte many parentheses that make expressons hard to read, we ntrodce the notaton Y h = (Y ) h = {h y y Y }. Dlaton and eroson have a smple geometrcal nterpretaton, whch helps to nderstand ther behavor (see fgre 1.1): δ Y (X) = {h X Y h /} ε Y (X) = {h Y h X} In words, the dlaton of X by Y s the set of ponts h sch that the translaton of the reflected set Y over the vector h hts the set X. Smlarly, the eroson of X by Y s the set of ponts h sch that after translatng Y over the vector h t fts n X. Several algebrac propertes of dlaton and eroson exst. The most mportant propertes are: Dlaton and eroson are ncreasng operators, whch means that f X Y we have δ B (X) δ B (Y ), and ε B (X) ε B (Y ) for any strctrng element B. Eroson s decreasng n ts second argment (the strctrng element). If B 1 B 2, then ε B2 (X) ε B1 (X), for every set X. Eroson and dlaton form an adjncton,.e. δ B (A) C A ε B (C), for any sets A,B and C. Dlaton s commtatve: δ B (A) = δ A (B), or eqvalently A B = B A, for any sets A and B.

11 Parallelzaton, tmng reslts and conclsons

Modeling Local Uncertainty accounting for Uncertainty in the Data

Modeling Local Uncertainty accounting for Uncertainty in the Data Modelng Local Uncertanty accontng for Uncertanty n the Data Olena Babak and Clayton V Detsch Consder the problem of estmaton at an nsampled locaton sng srrondng samples The standard approach to ths problem

More information

Numerical Solution of Deformation Equations. in Homotopy Analysis Method

Numerical Solution of Deformation Equations. in Homotopy Analysis Method Appled Mathematcal Scences, Vol. 6, 2012, no. 8, 357 367 Nmercal Solton of Deformaton Eqatons n Homotopy Analyss Method J. Izadan and M. MohammadzadeAttar Department of Mathematcs, Faclty of Scences, Mashhad

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

TN348: Openlab Module - Colocalization

TN348: Openlab Module - Colocalization TN348: Openlab Module - Colocalzaton Topc The Colocalzaton module provdes the faclty to vsualze and quantfy colocalzaton between pars of mages. The Colocalzaton wndow contans a prevew of the two mages

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

Scheduling with Integer Time Budgeting for Low-Power Optimization

Scheduling with Integer Time Budgeting for Low-Power Optimization Schedlng wth Integer Tme Bdgetng for Low-Power Optmzaton We Jang, Zhr Zhang, Modrag Potkonjak and Jason Cong Compter Scence Department Unversty of Calforna, Los Angeles Spported by NSF, SRC. Otlne Introdcton

More information

OBJECT TRACKING BY ADAPTIVE MEAN SHIFT WITH KERNEL BASED CENTROID METHOD

OBJECT TRACKING BY ADAPTIVE MEAN SHIFT WITH KERNEL BASED CENTROID METHOD ISSN : 0973-739 Vol. 3, No., Janary-Jne 202, pp. 39-42 OBJECT TRACKING BY ADAPTIVE MEAN SHIFT WITH KERNEL BASED CENTROID METHOD Rahl Mshra, Mahesh K. Chohan 2, and Dhraj Ntnawwre 3,2,3 Department of Electroncs,

More information

Hybrid Method of Biomedical Image Segmentation

Hybrid Method of Biomedical Image Segmentation Hybrd Method of Bomedcal Image Segmentaton Mng Hng Hng Department of Electrcal Engneerng and Compter Scence, Case Western Reserve Unversty, Cleveland, OH, Emal: mxh8@case.ed Abstract In ths paper we present

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

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

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

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

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

Sorting Review. Sorting. Comparison Sorting. CSE 680 Prof. Roger Crawfis. Assumptions

Sorting Review. Sorting. Comparison Sorting. CSE 680 Prof. Roger Crawfis. Assumptions Sortng Revew Introducton to Algorthms Qucksort CSE 680 Prof. Roger Crawfs Inserton Sort T(n) = Θ(n 2 ) In-place Merge Sort T(n) = Θ(n lg(n)) Not n-place Selecton Sort (from homework) T(n) = Θ(n 2 ) In-place

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

An Improved Isogeometric Analysis Using the Lagrange Multiplier Method

An Improved Isogeometric Analysis Using the Lagrange Multiplier Method An Improved Isogeometrc Analyss Usng the Lagrange Mltpler Method N. Valzadeh 1, S. Sh. Ghorash 2, S. Mohammad 3, S. Shojaee 1, H. Ghasemzadeh 2 1 Department of Cvl Engneerng, Unversty of Kerman, Kerman,

More information

UNIT 2 : INEQUALITIES AND CONVEX SETS

UNIT 2 : INEQUALITIES AND CONVEX SETS UNT 2 : NEQUALTES AND CONVEX SETS ' Structure 2. ntroducton Objectves, nequaltes and ther Graphs Convex Sets and ther Geometry Noton of Convex Sets Extreme Ponts of Convex Set Hyper Planes and Half Spaces

More information

Range images. Range image registration. Examples of sampling patterns. Range images and range surfaces

Range images. Range image registration. Examples of sampling patterns. Range images and range surfaces Range mages For many structured lght scanners, the range data forms a hghly regular pattern known as a range mage. he samplng pattern s determned by the specfc scanner. Range mage regstraton 1 Examples

More information

Image Representation & Visualization Basic Imaging Algorithms Shape Representation and Analysis. outline

Image Representation & Visualization Basic Imaging Algorithms Shape Representation and Analysis. outline mage Vsualzaton mage Vsualzaton mage Representaton & Vsualzaton Basc magng Algorthms Shape Representaton and Analyss outlne mage Representaton & Vsualzaton Basc magng Algorthms Shape Representaton and

More information

CE 221 Data Structures and Algorithms

CE 221 Data Structures and Algorithms CE 1 ata Structures and Algorthms Chapter 4: Trees BST Text: Read Wess, 4.3 Izmr Unversty of Economcs 1 The Search Tree AT Bnary Search Trees An mportant applcaton of bnary trees s n searchng. Let us assume

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

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

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

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

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

Array transposition in CUDA shared memory

Array transposition in CUDA shared memory Array transposton n CUDA shared memory Mke Gles February 19, 2014 Abstract Ths short note s nspred by some code wrtten by Jeremy Appleyard for the transposton of data through shared memory. I had some

More information

Non-Split Restrained Dominating Set of an Interval Graph Using an Algorithm

Non-Split Restrained Dominating Set of an Interval Graph Using an Algorithm Internatonal Journal of Advancements n Research & Technology, Volume, Issue, July- ISS - on-splt Restraned Domnatng Set of an Interval Graph Usng an Algorthm ABSTRACT Dr.A.Sudhakaraah *, E. Gnana Deepka,

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

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

An Application of the Dulmage-Mendelsohn Decomposition to Sparse Null Space Bases of Full Row Rank Matrices

An Application of the Dulmage-Mendelsohn Decomposition to Sparse Null Space Bases of Full Row Rank Matrices Internatonal Mathematcal Forum, Vol 7, 2012, no 52, 2549-2554 An Applcaton of the Dulmage-Mendelsohn Decomposton to Sparse Null Space Bases of Full Row Rank Matrces Mostafa Khorramzadeh Department of Mathematcal

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

Subspace clustering. Clustering. Fundamental to all clustering techniques is the choice of distance measure between data points;

Subspace clustering. Clustering. Fundamental to all clustering techniques is the choice of distance measure between data points; Subspace clusterng Clusterng Fundamental to all clusterng technques s the choce of dstance measure between data ponts; D q ( ) ( ) 2 x x = x x, j k = 1 k jk Squared Eucldean dstance Assumpton: All features

More information

Local Quaternary Patterns and Feature Local Quaternary Patterns

Local Quaternary Patterns and Feature Local Quaternary Patterns Local Quaternary Patterns and Feature Local Quaternary Patterns Jayu Gu and Chengjun Lu The Department of Computer Scence, New Jersey Insttute of Technology, Newark, NJ 0102, USA Abstract - Ths paper presents

More information

A New Approach For the Ranking of Fuzzy Sets With Different Heights

A New Approach For the Ranking of Fuzzy Sets With Different Heights New pproach For the ankng of Fuzzy Sets Wth Dfferent Heghts Pushpnder Sngh School of Mathematcs Computer pplcatons Thapar Unversty, Patala-7 00 Inda pushpndersnl@gmalcom STCT ankng of fuzzy sets plays

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

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

An Optimal Algorithm to Find a Minimum 2-neighbourhood Covering Set on Cactus Graphs

An Optimal Algorithm to Find a Minimum 2-neighbourhood Covering Set on Cactus Graphs Annals of Pre Appled Mathematcs Vol 2 No 1 212 45-59 ISSN: 2279-87X (P) 2279-888(onlne) Pblshed on 18 December 212 wwwresearchmathscorg Annals of An Optmal Algorthm to Fnd a Mnmm 2-neghborhood overng Set

More information

Parallel Numerics. 1 Preconditioning & Iterative Solvers (From 2016)

Parallel Numerics. 1 Preconditioning & Iterative Solvers (From 2016) Technsche Unverstät München WSe 6/7 Insttut für Informatk Prof. Dr. Thomas Huckle Dpl.-Math. Benjamn Uekermann Parallel Numercs Exercse : Prevous Exam Questons Precondtonng & Iteratve Solvers (From 6)

More information

Line Clipping by Convex and Nonconvex Polyhedra in E 3

Line Clipping by Convex and Nonconvex Polyhedra in E 3 Lne Clppng by Convex and Nonconvex Polyhedra n E 3 Václav Skala 1 Department of Informatcs and Computer Scence Unversty of West Bohema Unverztní 22, Box 314, 306 14 Plzeò Czech Republc e-mal: skala@kv.zcu.cz

More information

Edge Detection in Noisy Images Using the Support Vector Machines

Edge Detection in Noisy Images Using the Support Vector Machines Edge Detecton n Nosy Images Usng the Support Vector Machnes Hlaro Gómez-Moreno, Saturnno Maldonado-Bascón, Francsco López-Ferreras Sgnal Theory and Communcatons Department. Unversty of Alcalá Crta. Madrd-Barcelona

More information

USING GRAPHING SKILLS

USING GRAPHING SKILLS Name: BOLOGY: Date: _ Class: USNG GRAPHNG SKLLS NTRODUCTON: Recorded data can be plotted on a graph. A graph s a pctoral representaton of nformaton recorded n a data table. t s used to show a relatonshp

More information

GSA Training Notes Raft and Piled-raft Analysis

GSA Training Notes Raft and Piled-raft Analysis GSA Tranng Notes Rat and Pled-rat Analyss 1 Introdcton Rat analyss n GSA provdes a means o lnkng GSA statc analyss and sol settlement analyss, so the sol-strctre nteractons can be consdered n the analyss.

More information

All-Pairs Shortest Paths. Approximate All-Pairs shortest paths Approximate distance oracles Spanners and Emulators. Uri Zwick Tel Aviv University

All-Pairs Shortest Paths. Approximate All-Pairs shortest paths Approximate distance oracles Spanners and Emulators. Uri Zwick Tel Aviv University Approxmate All-Pars shortest paths Approxmate dstance oracles Spanners and Emulators Ur Zwck Tel Avv Unversty Summer School on Shortest Paths (PATH05 DIKU, Unversty of Copenhagen All-Pars Shortest Paths

More information

Obstacle Avoidance by Using Modified Hopfield Neural Network

Obstacle Avoidance by Using Modified Hopfield Neural Network bstacle Avodance by Usng Modfed Hopfeld Neral Network Panrasee Rtthpravat Center of peraton for Feld Robotcs Development (FIB), Kng Mongkt s Unversty of Technology Thonbr. 91 Sksawas road Tongkr Bangkok

More information

Brave New World Pseudocode Reference

Brave New World Pseudocode Reference Brave New World Pseudocode Reference Pseudocode s a way to descrbe how to accomplsh tasks usng basc steps lke those a computer mght perform. In ths week s lab, you'll see how a form of pseudocode can be

More information

Content Based Image Retrieval Using 2-D Discrete Wavelet with Texture Feature with Different Classifiers

Content Based Image Retrieval Using 2-D Discrete Wavelet with Texture Feature with Different Classifiers IOSR Journal of Electroncs and Communcaton Engneerng (IOSR-JECE) e-issn: 78-834,p- ISSN: 78-8735.Volume 9, Issue, Ver. IV (Mar - Apr. 04), PP 0-07 Content Based Image Retreval Usng -D Dscrete Wavelet wth

More information

Ramsey numbers of cubes versus cliques

Ramsey numbers of cubes versus cliques Ramsey numbers of cubes versus clques Davd Conlon Jacob Fox Choongbum Lee Benny Sudakov Abstract The cube graph Q n s the skeleton of the n-dmensonal cube. It s an n-regular graph on 2 n vertces. The Ramsey

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

Machine Learning: Algorithms and Applications

Machine Learning: Algorithms and Applications 14/05/1 Machne Learnng: Algorthms and Applcatons Florano Zn Free Unversty of Bozen-Bolzano Faculty of Computer Scence Academc Year 011-01 Lecture 10: 14 May 01 Unsupervsed Learnng cont Sldes courtesy of

More information

Classifier Selection Based on Data Complexity Measures *

Classifier Selection Based on Data Complexity Measures * Classfer Selecton Based on Data Complexty Measures * Edth Hernández-Reyes, J.A. Carrasco-Ochoa, and J.Fco. Martínez-Trndad Natonal Insttute for Astrophyscs, Optcs and Electroncs, Lus Enrque Erro No.1 Sta.

More information

Electrical analysis of light-weight, triangular weave reflector antennas

Electrical analysis of light-weight, triangular weave reflector antennas Electrcal analyss of lght-weght, trangular weave reflector antennas Knud Pontoppdan TICRA Laederstraede 34 DK-121 Copenhagen K Denmark Emal: kp@tcra.com INTRODUCTION The new lght-weght reflector antenna

More information

MULTISPECTRAL IMAGES CLASSIFICATION BASED ON KLT AND ATR AUTOMATIC TARGET RECOGNITION

MULTISPECTRAL IMAGES CLASSIFICATION BASED ON KLT AND ATR AUTOMATIC TARGET RECOGNITION MULTISPECTRAL IMAGES CLASSIFICATION BASED ON KLT AND ATR AUTOMATIC TARGET RECOGNITION Paulo Quntlano 1 & Antono Santa-Rosa 1 Federal Polce Department, Brasla, Brazl. E-mals: quntlano.pqs@dpf.gov.br and

More information

CS 534: Computer Vision Model Fitting

CS 534: Computer Vision Model Fitting CS 534: Computer Vson Model Fttng Sprng 004 Ahmed Elgammal Dept of Computer Scence CS 534 Model Fttng - 1 Outlnes Model fttng s mportant Least-squares fttng Maxmum lkelhood estmaton MAP estmaton Robust

More information

Design and Analysis of Algorithms

Design and Analysis of Algorithms Desgn and Analyss of Algorthms Heaps and Heapsort Reference: CLRS Chapter 6 Topcs: Heaps Heapsort Prorty queue Huo Hongwe Recap and overvew The story so far... Inserton sort runnng tme of Θ(n 2 ); sorts

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

12/2/2009. Announcements. Parametric / Non-parametric. Case-Based Reasoning. Nearest-Neighbor on Images. Nearest-Neighbor Classification

12/2/2009. Announcements. Parametric / Non-parametric. Case-Based Reasoning. Nearest-Neighbor on Images. Nearest-Neighbor Classification Introducton to Artfcal Intellgence V22.0472-001 Fall 2009 Lecture 24: Nearest-Neghbors & Support Vector Machnes Rob Fergus Dept of Computer Scence, Courant Insttute, NYU Sldes from Danel Yeung, John DeNero

More information

Today s Outline. Sorting: The Big Picture. Why Sort? Selection Sort: Idea. Insertion Sort: Idea. Sorting Chapter 7 in Weiss.

Today s Outline. Sorting: The Big Picture. Why Sort? Selection Sort: Idea. Insertion Sort: Idea. Sorting Chapter 7 in Weiss. Today s Outlne Sortng Chapter 7 n Wess CSE 26 Data Structures Ruth Anderson Announcements Wrtten Homework #6 due Frday 2/26 at the begnnng of lecture Proect Code due Mon March 1 by 11pm Today s Topcs:

More information

CS1100 Introduction to Programming

CS1100 Introduction to Programming Factoral (n) Recursve Program fact(n) = n*fact(n-) CS00 Introducton to Programmng Recurson and Sortng Madhu Mutyam Department of Computer Scence and Engneerng Indan Insttute of Technology Madras nt fact

More information

Algorithm To Convert A Decimal To A Fraction

Algorithm To Convert A Decimal To A Fraction Algorthm To Convert A ecmal To A Fracton by John Kennedy Mathematcs epartment Santa Monca College 1900 Pco Blvd. Santa Monca, CA 90405 jrkennedy6@gmal.com Except for ths comment explanng that t s blank

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

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

Performance Modeling of Web-based Software Systems with Subspace Identification

Performance Modeling of Web-based Software Systems with Subspace Identification Acta Poltechnca Hngarca Vol. 13, No. 7, 2016 Performance Modelng of Web-based Software Sstems wth Sbspace Identfcaton Ágnes Bogárd-Mészöl, András Rövd, Shohe Yokoama Department of Atomaton and Appled Informatcs,

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

Detection of an Object by using Principal Component Analysis

Detection of an Object by using Principal Component Analysis Detecton of an Object by usng Prncpal Component Analyss 1. G. Nagaven, 2. Dr. T. Sreenvasulu Reddy 1. M.Tech, Department of EEE, SVUCE, Trupath, Inda. 2. Assoc. Professor, Department of ECE, SVUCE, Trupath,

More information

5 The Primal-Dual Method

5 The Primal-Dual Method 5 The Prmal-Dual Method Orgnally desgned as a method for solvng lnear programs, where t reduces weghted optmzaton problems to smpler combnatoral ones, the prmal-dual method (PDM) has receved much attenton

More information

Fast Computation of Shortest Path for Visiting Segments in the Plane

Fast Computation of Shortest Path for Visiting Segments in the Plane Send Orders for Reprnts to reprnts@benthamscence.ae 4 The Open Cybernetcs & Systemcs Journal, 04, 8, 4-9 Open Access Fast Computaton of Shortest Path for Vstng Segments n the Plane Ljuan Wang,, Bo Jang

More information

Usage of continuous skeletal image representation for document images dewarping.

Usage of continuous skeletal image representation for document images dewarping. Usage of contnuous skeletal mage representaton for document mages dewarpng. Anton Masalovtch, Leond Mestetsky Moscow State Unversty, Moscow, Russa anton_m@abbyy.com, l.mest@ru.net Abstract In ths paper

More information

Unsupervised Learning and Clustering

Unsupervised Learning and Clustering Unsupervsed Learnng and Clusterng Why consder unlabeled samples?. Collectng and labelng large set of samples s costly Gettng recorded speech s free, labelng s tme consumng 2. Classfer could be desgned

More information

the nber of vertces n the graph. spannng tree T beng part of a par of maxmally dstant trees s called extremal. Extremal trees are useful n the mxed an

the nber of vertces n the graph. spannng tree T beng part of a par of maxmally dstant trees s called extremal. Extremal trees are useful n the mxed an On Central Spannng Trees of a Graph S. Bezrukov Unverstat-GH Paderborn FB Mathematk/Informatk Furstenallee 11 D{33102 Paderborn F. Kaderal, W. Poguntke FernUnverstat Hagen LG Kommunkatonssysteme Bergscher

More information

FEATURE EXTRACTION. Dr. K.Vijayarekha. Associate Dean School of Electrical and Electronics Engineering SASTRA University, Thanjavur

FEATURE EXTRACTION. Dr. K.Vijayarekha. Associate Dean School of Electrical and Electronics Engineering SASTRA University, Thanjavur FEATURE EXTRACTION Dr. K.Vjayarekha Assocate Dean School of Electrcal and Electroncs Engneerng SASTRA Unversty, Thanjavur613 41 Jont Intatve of IITs and IISc Funded by MHRD Page 1 of 8 Table of Contents

More information

Sorting: The Big Picture. The steps of QuickSort. QuickSort Example. QuickSort Example. QuickSort Example. Recursive Quicksort

Sorting: The Big Picture. The steps of QuickSort. QuickSort Example. QuickSort Example. QuickSort Example. Recursive Quicksort Sortng: The Bg Pcture Gven n comparable elements n an array, sort them n an ncreasng (or decreasng) order. Smple algorthms: O(n ) Inserton sort Selecton sort Bubble sort Shell sort Fancer algorthms: O(n

More information

LECTURE : MANIFOLD LEARNING

LECTURE : MANIFOLD LEARNING LECTURE : MANIFOLD LEARNING Rta Osadchy Some sldes are due to L.Saul, V. C. Raykar, N. Verma Topcs PCA MDS IsoMap LLE EgenMaps Done! Dmensonalty Reducton Data representaton Inputs are real-valued vectors

More information

Clustering on antimatroids and convex geometries

Clustering on antimatroids and convex geometries Clusterng on antmatrods and convex geometres YULIA KEMPNER 1, ILYA MUCNIK 2 1 Department of Computer cence olon Academc Insttute of Technology 52 Golomb tr., P.O. Box 305, olon 58102 IRAEL 2 Department

More information

Person Identity Clustering in TV Show Videos

Person Identity Clustering in TV Show Videos Person Identty Clsterng n TV Show Vdeos Yna Han*, Gzhong L* *School of Electrcal and Informaton Engneerng, X an Jaotong Unversty, X an, P.R.Chna Emal:yan@malst.xjt.ed.cn, lgz@mal.xjt.ed.cn Keywords: Identty

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

Introduction to Geometric

Introduction to Geometric Manel Ventra Shp Desgn I MSc n Marne Engneerng and Naal Archtectre Smmary. Parametrc Cres 2. Parametrc Srfaces 2 Parametrc Cres. Mathematcal Formlatons Cbc Splnes Bézer B-Splne Beta-Splne NURBS 2. Interpolaton

More information

Tree Spanners for Bipartite Graphs and Probe Interval Graphs 1

Tree Spanners for Bipartite Graphs and Probe Interval Graphs 1 Algorthmca (2007) 47: 27 51 DOI: 10.1007/s00453-006-1209-y Algorthmca 2006 Sprnger Scence+Busness Meda, Inc. Tree Spanners for Bpartte Graphs and Probe Interval Graphs 1 Andreas Brandstädt, 2 Feodor F.

More information

Vanishing Hull. Jinhui Hu, Suya You, Ulrich Neumann University of Southern California {jinhuihu,suyay,

Vanishing Hull. Jinhui Hu, Suya You, Ulrich Neumann University of Southern California {jinhuihu,suyay, Vanshng Hull Jnhu Hu Suya You Ulrch Neumann Unversty of Southern Calforna {jnhuhusuyay uneumann}@graphcs.usc.edu Abstract Vanshng ponts are valuable n many vson tasks such as orentaton estmaton pose recovery

More information

Visual Curvature. 1. Introduction. y C. IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), June 2007

Visual Curvature. 1. Introduction. y C. IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), June 2007 IEEE onf. on omputer Vson and Pattern Recognton (VPR June 7 Vsual urvature HaRong Lu, Longn Jan Lateck, WenYu Lu, Xang Ba HuaZhong Unversty of Scence and Technology, P.R. hna Temple Unversty, US lhrbss@gmal.com,

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

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

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

ELEC 377 Operating Systems. Week 6 Class 3

ELEC 377 Operating Systems. Week 6 Class 3 ELEC 377 Operatng Systems Week 6 Class 3 Last Class Memory Management Memory Pagng Pagng Structure ELEC 377 Operatng Systems Today Pagng Szes Vrtual Memory Concept Demand Pagng ELEC 377 Operatng Systems

More information

Sorting and Algorithm Analysis

Sorting and Algorithm Analysis Unt 7 Sortng and Algorthm Analyss Computer Scence S-111 Harvard Unversty Davd G. Sullvan, Ph.D. Sortng an Array of Integers 0 1 2 n-2 n-1 arr 15 7 36 40 12 Ground rules: sort the values n ncreasng order

More information

Robust Visual Tracking via Fuzzy Kernel Representation

Robust Visual Tracking via Fuzzy Kernel Representation Research Jornal of Appled Scences, Engneerng and Technolog 5(): 3-38, 3 ISSN: 4-7459; e-issn: 4-7467 Maxwell Scentfc Organzaton, 3 Sbmtted: October 7, Accepted: December, Pblshed: Aprl 5, 3 Robst Vsal

More information

Complex Numbers. Now we also saw that if a and b were both positive then ab = a b. For a second let s forget that restriction and do the following.

Complex Numbers. Now we also saw that if a and b were both positive then ab = a b. For a second let s forget that restriction and do the following. Complex Numbers The last topc n ths secton s not really related to most of what we ve done n ths chapter, although t s somewhat related to the radcals secton as we wll see. We also won t need the materal

More information

News. Recap: While Loop Example. Reading. Recap: Do Loop Example. Recap: For Loop Example

News. Recap: While Loop Example. Reading. Recap: Do Loop Example. Recap: For Loop Example Unversty of Brtsh Columba CPSC, Intro to Computaton Jan-Apr Tamara Munzner News Assgnment correctons to ASCIIArtste.java posted defntely read WebCT bboards Arrays Lecture, Tue Feb based on sldes by Kurt

More information

Introduction to Geometrical Optics - a 2D ray tracing Excel model for spherical mirrors - Part 2

Introduction to Geometrical Optics - a 2D ray tracing Excel model for spherical mirrors - Part 2 Introducton to Geometrcal Optcs - a D ra tracng Ecel model for sphercal mrrors - Part b George ungu - Ths s a tutoral eplanng the creaton of an eact D ra tracng model for both sphercal concave and sphercal

More information

Smoothing Spline ANOVA for variable screening

Smoothing Spline ANOVA for variable screening Smoothng Splne ANOVA for varable screenng a useful tool for metamodels tranng and mult-objectve optmzaton L. Rcco, E. Rgon, A. Turco Outlne RSM Introducton Possble couplng Test case MOO MOO wth Game Theory

More information

Harvard University CS 101 Fall 2005, Shimon Schocken. Assembler. Elements of Computing Systems 1 Assembler (Ch. 6)

Harvard University CS 101 Fall 2005, Shimon Schocken. Assembler. Elements of Computing Systems 1 Assembler (Ch. 6) Harvard Unversty CS 101 Fall 2005, Shmon Schocken Assembler Elements of Computng Systems 1 Assembler (Ch. 6) Why care about assemblers? Because Assemblers employ some nfty trcks Assemblers are the frst

More information

Course Introduction. Algorithm 8/31/2017. COSC 320 Advanced Data Structures and Algorithms. COSC 320 Advanced Data Structures and Algorithms

Course Introduction. Algorithm 8/31/2017. COSC 320 Advanced Data Structures and Algorithms. COSC 320 Advanced Data Structures and Algorithms Course Introducton Course Topcs Exams, abs, Proects A quc loo at a few algorthms 1 Advanced Data Structures and Algorthms Descrpton: We are gong to dscuss algorthm complexty analyss, algorthm desgn technques

More information

ON SOME ENTERTAINING APPLICATIONS OF THE CONCEPT OF SET IN COMPUTER SCIENCE COURSE

ON SOME ENTERTAINING APPLICATIONS OF THE CONCEPT OF SET IN COMPUTER SCIENCE COURSE Yordzhev K., Kostadnova H. Інформаційні технології в освіті ON SOME ENTERTAINING APPLICATIONS OF THE CONCEPT OF SET IN COMPUTER SCIENCE COURSE Yordzhev K., Kostadnova H. Some aspects of programmng educaton

More information

Accessibility Analysis for the Automatic Contact and Non-contact Inspection on Coordinate Measuring Machines

Accessibility Analysis for the Automatic Contact and Non-contact Inspection on Coordinate Measuring Machines Proceedngs of the World Congress on Engneerng 008 Vol I Accessblty Analyss for the Automatc Contact and Non-contact Inspecton on Coordnate Measurng Machnes B. J. Álvarez, P. Fernández, J. C. Rco and G.

More information

Report on On-line Graph Coloring

Report on On-line Graph Coloring 2003 Fall Semester Comp 670K Onlne Algorthm Report on LO Yuet Me (00086365) cndylo@ust.hk Abstract Onlne algorthm deals wth data that has no future nformaton. Lots of examples demonstrate that onlne algorthm

More information

Analog amplifier card Type VT-VSPA2-1-2X/V0/T1 Type VT-VSPA2-1-2X/V0/T5

Analog amplifier card Type VT-VSPA2-1-2X/V0/T1 Type VT-VSPA2-1-2X/V0/T5 Analog amplfer card Type VT-VPA2--2X/V0/T Type VT-VPA2--2X/V0/T5 RE 300-Z/0. Replace: 02. /0 Addtonal nfmaton Infmaton regardng the converson of dfferent amplfer cards to amplfer card type VT-VPA2--2X/V0/T

More information

Machine Learning. Support Vector Machines. (contains material adapted from talks by Constantin F. Aliferis & Ioannis Tsamardinos, and Martin Law)

Machine Learning. Support Vector Machines. (contains material adapted from talks by Constantin F. Aliferis & Ioannis Tsamardinos, and Martin Law) Machne Learnng Support Vector Machnes (contans materal adapted from talks by Constantn F. Alfers & Ioanns Tsamardnos, and Martn Law) Bryan Pardo, Machne Learnng: EECS 349 Fall 2014 Support Vector Machnes

More information

Parallel Solutions of Indexed Recurrence Equations

Parallel Solutions of Indexed Recurrence Equations Parallel Solutons of Indexed Recurrence Equatons Yos Ben-Asher Dep of Math and CS Hafa Unversty 905 Hafa, Israel yos@mathcshafaacl Gad Haber IBM Scence and Technology 905 Hafa, Israel haber@hafascvnetbmcom

More information

Lossless Compression of Map Contours by Context Tree Modeling of Chain Codes

Lossless Compression of Map Contours by Context Tree Modeling of Chain Codes Lossless Compresson of Map Contours by Context Tree Modelng of Chan Codes Alexander Akmo, Alexander Kolesnko, and Pas Fränt Department of Computer Scence, Unersty of Joensuu, P.O. Box 111, 80110 Joensuu,

More information

A. General Type- Fzzy Clsterng There are two knds of type- fzzy sets whch are often sed n clsterng algorthms: 1) nterval and ) general. In nterval typ

A. General Type- Fzzy Clsterng There are two knds of type- fzzy sets whch are often sed n clsterng algorthms: 1) nterval and ) general. In nterval typ 014 IEEE Internatonal Conference on Fzzy Systems (FUZZ-IEEE) Jly 6-11, 014, Beng, Chna A Hybrd Type- Fzzy Clsterng Technqe for Inpt Data Preprocessng of Classfcaton Algorthms Vahd Nor, Mohammad-. Akbarzadeh-T.

More information