Biquandle: Difference between revisions
No edit summary |
en>Hyacinth |
||
| Line 1: | Line 1: | ||
[[Image:Signed distance1.png|right|thumb|A disk (top) and its signed distance function (bottom, in red). The ''x''-''y'' plane is shown in blue.]] | |||
[[Image:Signed distance2.png|right|thumb|A more complicated set (top) and its signed distance function (bottom, in red).]] | |||
In [[mathematics]] and applications, the '''signed distance function''' of a set ''Ω'' in a [[metric space]], also called the '''oriented distance function''', determines the distance of a given point ''x'' from the [[boundary (topology)|boundary]] of ''Ω'', with the sign determined by whether ''x'' is in ''Ω''. The function has positive values at points ''x'' inside ''Ω'', it decreases in value as ''x'' approaches the boundary of ''Ω'' where the signed distance function is zero, and it takes negative values outside of ''Ω''. | |||
==Definition== | |||
If (''X'', ''d'') is a metric space, the ''signed distance function'' ''f'' is defined by | |||
:<math>f(x)= | |||
\begin{cases} | |||
d(x, \Omega^c) & \mbox{ if } x\in\Omega \\ | |||
-d(x, \Omega)& \mbox{ if } x\in\Omega^c | |||
\end{cases} | |||
</math> | |||
where | |||
: <math> d(x, \Omega)=\inf_{y\in \Omega}d(x, y)</math> | |||
and 'inf' denotes the [[infimum]]. | |||
[[Algorithm]]s for calculating the signed distance function include the efficient [[fast marching method]] and the more general but slower [[level set method]]. | |||
Signed distance functions are applied for example in [[computer vision]]. | |||
==Properties in Euclidean space== | |||
If ''Ω'' is a subset of the [[Euclidean space]] '''R'''<sup>''n''</sup> with [[piecewise]] [[smooth function|smooth]] boundary, then the signed distance function is differentiable [[almost everywhere]], and its [[gradient]] satisfies the [[eikonal equation]] | |||
: <math>|\nabla f|=1.</math> | |||
If the boundary of ''Ω'' is ''C''<sup>''k''</sup> for ''k''≥2 (see [[differentiability classes]]) then ''d'' is ''C''<sup>''k''</sup> on points sufficiently close to the boundary of ''Ω''.{{sfn|Gilbarg|1983|loc=Lemma 14.16}} In particular, '''''on''''' the boundary ''f'' satisfies | |||
:<math>\nabla f(x) = N(x),</math> | |||
where ''N'' is the inward normal vector field. The signed distance function is thus a differentiable extension of the normal vector field. In particular, the [[Hessian]] of the signed distance function on the boundary of ''Ω'' gives the [[Weingarten map]]. | |||
If, further, ''Γ'' is a region sufficiently close to the boundary of ''Ω'' that ''f'' is twice continuously differentiable on it, then there is an explicit formula involving the Weingarten map ''W''<sub>''x''</sub> for the Jacobian of changing variables in terms of the signed distance function and nearest boundary point. Specifically, if ''Γ'' is the set of points within distance ''μ'' of the boundary of ''Ω'', and ''g'' is an absolutely integrable function on ''Γ'', then | |||
:<math>\int_{\Gamma} g(x)\,dx = \int_{\partial\Omega}\int_{-\mu}^\mu g(u+\lambda N(u))\, \det(I-\lambda W_u) \,d\lambda \,dS_u,</math> | |||
where det indicates the [[determinant]] and ''dS''<sub>''u''</sub> indicates that we are taking the [[surface integral]].{{sfn|Gilbarg|1983|loc=Equation (14.98)}} | |||
==See also== | |||
* [[Level set method]] | |||
* [[Eikonal equation]] | |||
==Notes== | |||
{{reflist}} | |||
==References== | |||
*{{cite book | author=Stanley J. Osher and Ronald P. Fedkiw | title=Level Set Methods and Dynamic Implicit Surfaces | publisher=Springer | year=2002}} | |||
*{{cite book | author1=Gilbarg, D. | author2=Trudinger, N. S. | year=1983 | edition=2nd | title=Elliptic Partial Differential Equations of Second Order | publisher=Springer-Verlag | volume=224 | series=Grundlehren der mathematischen Wissenschaften }} (or the Appendix of the 1977 1st ed.) | |||
{{mathapplied-stub}} | |||
[[Category:Applied mathematics]] | |||
Revision as of 10:07, 11 April 2013
In mathematics and applications, the signed distance function of a set Ω in a metric space, also called the oriented distance function, determines the distance of a given point x from the boundary of Ω, with the sign determined by whether x is in Ω. The function has positive values at points x inside Ω, it decreases in value as x approaches the boundary of Ω where the signed distance function is zero, and it takes negative values outside of Ω.
Definition
If (X, d) is a metric space, the signed distance function f is defined by
where
and 'inf' denotes the infimum.
Algorithms for calculating the signed distance function include the efficient fast marching method and the more general but slower level set method.
Signed distance functions are applied for example in computer vision.
Properties in Euclidean space
If Ω is a subset of the Euclidean space Rn with piecewise smooth boundary, then the signed distance function is differentiable almost everywhere, and its gradient satisfies the eikonal equation
If the boundary of Ω is Ck for k≥2 (see differentiability classes) then d is Ck on points sufficiently close to the boundary of Ω.Template:Sfn In particular, on the boundary f satisfies
where N is the inward normal vector field. The signed distance function is thus a differentiable extension of the normal vector field. In particular, the Hessian of the signed distance function on the boundary of Ω gives the Weingarten map.
If, further, Γ is a region sufficiently close to the boundary of Ω that f is twice continuously differentiable on it, then there is an explicit formula involving the Weingarten map Wx for the Jacobian of changing variables in terms of the signed distance function and nearest boundary point. Specifically, if Γ is the set of points within distance μ of the boundary of Ω, and g is an absolutely integrable function on Γ, then
where det indicates the determinant and dSu indicates that we are taking the surface integral.Template:Sfn
See also
Notes
43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.
References
- 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.
My blog: http://www.primaboinca.com/view_profile.php?userid=5889534 - 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.
My blog: http://www.primaboinca.com/view_profile.php?userid=5889534 (or the Appendix of the 1977 1st ed.)