Re: Maxima in a plot profile
Posted by
Michael Schmid on
URL: http://imagej.273.s1.nabble.com/Maxima-in-a-plot-profile-tp5003690p5003696.html
Hi Eric,
Edit>Selection>Straighten works only with lines that are smooth; it does not work if there are sharp corners. Thus, if you don't have 'Spline Fit' clicked to get a smooth line, it does that for you.
Imagine a segmented line with a sharp corner, and you cut out a band with a given width along the segmented line from a rubber sheet. Then you want to straighten it: at the inner (concave) side, when you try to straighten it, it will break. In other words, the pixel values of the straightened selection are undefined.
In any case, I am not sure what it should be good for to straighten a segmented selection that is not splined.
What's the idea behind it, i.e. why do you need it?
If you are interested in the profile along the line, you can get it with 'Plot profile' or the getProfile() macro call anyhow.
Michael
________________________________________________________________
On Jun 28, 2013, at 10:09, Eric Denarier wrote:
> Thanks Jerome,
> That was the problem.
> But I have an other one : If I draw a segmented line and Edit/Selection/Straigthen, it makes a curve that doesn't overlay the original line. Can it be fix ?
>
> Eric Denarier
> Grenoble Institut des Neurosciences
> Inserm U836
> Chemin Fortuné Ferrini
> 38700 La Tronche
> France
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html