![]() | This article is rated Start-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||
|
Could somebody add a section that explains how to derive the level set equation? In Osher's book it is just given, as if it were obvious. But it's not obvious to me.Singularitarian 08:53, 11 July 2007 (UTC)
Well, I hope this is what you want. Supose that
is the curve you have at . So, the level set method say that this identity holds for any time, so there's that satisfy
for every in your domain. Take its derivatives with respect to time,
and then you get your Level Set equation. Hamilton-Jacobi equation is a particularly case of this: if the has no second order derivatives in space, so we have the the Hamilton-Jacobi equation. (And I hope my English don´t confuse you too much) Do you work with this method? Thschiavo 13:24, 27 July 2007 (UTC)
Both of Osher's and Sethian's books (given in the references section) give level set function values as negative inside the curve and positive outside. Osher does so explicitly on page 5 (a circle shown with phi < 0 inside and phi > 0 outside) whereas Sethian's plots on page 8 do so implicitly. I would argue that their sign convention trumps whatever was used as the basis for this article, but I don't want to be the one who has to recreate all of the pretty graphs if a change is made. WokYai 17:56, 16 October 2007 (UTC)
The level set method [...] is a numerical technique for tracking interfaces and shapes.
Thanks, --Abdull (talk) 21:33, 2 July 2008 (UTC)
While I certainly appreciate the hard work that knowledgeable authors put into pages such as this, I'd like to request clarification of some basic ambiguities which make this article difficult to understand.
First, what do the individual words "zero" "level" and "set" refer to? At the moment, one might guess that "set" refers to the set of points in the boundary of either gamma or phi. "level" perhaps means "at the z level of a particular intersecting plane (in the case of a 2-variable phi, as in the example). And "zero" perhaps refers to the intersecting plane having a z-value of zero. Is this right?
If we are sticking with the example in which z = phi(x,y), is "level set" simply synonymous with "surface of phi"?
(Note that the sentence "This function is called a level set function" might refer back to either gamma or phi, so doesn't help us.)
Moving on, "The Level set method" section promised that a more technical definition will become quite accessible. That's presumably what we're going to get to in the "The level set equation" section, however...
1. The title suggests that "THE level set equation" is about to be shown. Either it's not there, or that's an alternate name for the HJE. Yet HJE, as described here, is a means of describing the *motion* of a zero level set, not the zero level set itself.
2. How does the notation used here for HJE relate to the notation on the wikipedia Hamilton-Jacobi_equation page? What's the intended interpretation of the vertical bars? http://en.wikipedia.orghttps://demo.azizisearch.com/lite/wikipedia/page/Vertical_bar
3. What's the interpretation of "t" in this equation, relative to the example? Does it correspond to z?
4. What is to be made of the intro sentence: "If the zero level set moves in the normal direction to itself with a speed v, this movement can be represented by..."?
Which direction is "normal to itself"? Does this mean normal to the z=0 plane? Or is it referring to each point in gamma moving within the z=0 plane, normal to the tangent at that point (loosely speaking "radially")?
I'm leaning towards this sentence actually referring to the "vertical" movement of phi, relative to the z=0 plane. Ie: movement and velocity of phi rather than movement of the *zero* level set per se... but I'm not sure.
5. OK, now we're discussing "numerical solution of the level set equation". What does this refer to? (Still suffering from not knowing whether "THE level set equation" is HJE or not.) Get values for gamma by applying phi to particular values of z (or t?) (or apply z=0 to some "vertical" position of phi)? Or solve the HJE, and if so how do these relate?
6. But, says the article, finite difference methods "fail quickly". Why do they fail? Qualitatively, what approach is needed to avoid whatever that failure is?
I'm guessing that HJE is a method for calculating incremental changes in gamma by making incremental changes in phi (or z position of phi), which conceptually could be integrated to calculate gamma at any value of z (or t?).... and that this suffers from the usual problem of this kind of strategy... that what works for small differences might encounter difficulty in integrating up to large changes. But again I'm not sure from this discussion.
At any rate, by this point in the article, we've been told that (a) using level set method is "very easy" and (b) the approach "requires sophisticated techniques" and "is questionable".
In short, the more technical discussion seems incomplete, and not coherent with the introduction.
Gwideman (talk) 04:56, 29 November 2009 (UTC)
First, what do the individual words "zero" "level" and "set" refer to? At the moment, one might guess that "set" refers to the set of points in the boundary of either gamma or phi. "level" perhaps means "at the z level of a particular intersecting plane (in the case of a 2-variable phi, as in the example). And "zero" perhaps refers to the intersecting plane having a z-value of zero. Is this right?
If we are sticking with the example in which z = phi(x,y), is "level set" simply synonymous with "surface of phi"?
1. The title suggests that "THE level set equation" is about to be shown. Either it's not there, or that's an alternate name for the HJE. Yet HJE, as described here, is a means of describing the *motion* of a zero level set, not the zero level set itself.
2. How does the notation used here for HJE relate to the notation on the wikipedia Hamilton-Jacobi_equation page? What's the intended interpretation of the vertical bars? http://en.wikipedia.orghttps://demo.azizisearch.com/lite/wikipedia/page/Vertical_bar
3. What's the interpretation of "t" in this equation, relative to the example? Does it correspond to z?
4. What is to be made of the intro sentence: "If the zero level set moves in the normal direction to itself with a speed v, this movement can be represented by..."?
Which direction is "normal to itself"? Does this mean normal to the z=0 plane? Or is it referring to each point in gamma moving within the z=0 plane, normal to the tangent at that point (loosely speaking "radially")?
6. But, says the article, finite difference methods "fail quickly". Why do they fail? Qualitatively, what approach is needed to avoid whatever that failure is?
I'm guessing that HJE is a method for calculating incremental changes in gamma by making incremental changes in phi (or z position of phi), which conceptually could be integrated to calculate gamma at any value of z (or t?).... and that this suffers from the usual problem of this kind of strategy... that what works for small differences might encounter difficulty in integrating up to large changes. But again I'm not sure from this discussion.
At any rate, by this point in the article, we've been told that (a) using level set method is "very easy" and (b) the approach "requires sophisticated techniques" and "is questionable".
In short, the more technical discussion seems incomplete, and not coherent with the introduction.
Cool! Thanks Jmath666 for the improvements, they do indeed help. Could you comment on a couple of these items further? In the discussion comments I ask:
If we are sticking with the example in which z = phi(x,y), is "level set" simply synonymous with "surface of phi"?
And you reply:
... In which I _think_ you're saying that "surface of phi" is not the level set. Yet the article currently says "the red surface is the graph of a level set function phi". It seems to me that the red surface is z = phi(x,y), and that this is the level set... or is there some subtle point I'm missing?
OK, next point. What is the relationship between t and z in this example? I am assuming that t is the parameter for selecting a particular "state" of curve gamma... but that looks to be parallel to a particular value of z (or at least a particular z positioning of phi, if gamma is the intersection of phi and z=0).
Thanks for your comments. Gwideman (talk) 12:54, 30 November 2009 (UTC)
Thanks again for the answer. Regarding time t: Presumably "t" is completely unrelated to any notion of time in the real world, it is simply a parameter by which to characterize the progression of shapes that gamma can take on, right? And the point of the level set method is to address awkward gammas where to directly state gamma as a function of t is too difficult; that is the set of (x,y) values at t is too difficult to determine directly. Hence we instead proceed to try to find a function z=phi(t,x,y), and take the intersection of this with z=0 to find the set of (x,y) values of gamma at t.
This generalizes to more dimensions, with the general idea being that the shape of phi changes as t progresses. As it happens, for two-variable-plus-time phi(t,x,y), phi can actually be a fixed shape, with progression over time being just translation in the z direction, as illustrated in the figure. Hence the simple relationship between z and t in the example. However, this is only one possible progression of phi... it could instead perform a more complicated combination of shape and position progression and achieve the same progression of gamma.
If I got all that right, it would be helpful for the article to describe explicitly the central role of t in the example, where it's currently not mentioned -- specifically reconciling this t with the parameter described in the intro. Indeed, is it really correct for the intro to say "without having to parameterize these objects"? The method does appear to achieve a parametrization of the objects, just indirectly. Thanks for the discussion. Gwideman (talk) 15:46, 1 December 2009 (UTC)
Hmmm, on more reading I'm less happy with my understanding than I was. But, I've ordered a couple of books, so there's hope. Anyhow, thanks for the comments, and maybe we'll convene again at some later time. Gwideman (talk) 14:33, 4 December 2009 (UTC)
As a side note, for those encountering "level sets" for the first time, the choice of symbols might be challenging. Given that this article needs to distinguish less than ten different entities, is there really a need to stretch over two different alphabets and so many different type style combinations? It would be helpful to indicate how much of this variation is intended to convey something important, and how much is simply sticking to convention.
For example, what is the significance of using greek letters, and these particular greek letters, in this example? Are they reandomly chosen, or does their particular choice, and type style, signify something that's important to understand? Why upper-case greek non-italic for one function, and lower-case greek script italic for the other function? Or perhaps it's just customary, and if so that could be explained. I point out that if readers didn't already know that the phi symbol used here happens to be a rather "scripty" version of the italic and lower-case phi, they would not figure it out from wikipedia page:
... and lacking that knowledge would find it difficult to even verbalize what they were reading. Gwideman (talk) 04:57, 29 November 2009 (UTC)