Re: geometric challenge :)
Posted by
BenTupper on
URL: http://imagej.273.s1.nabble.com/Macro-code-to-fit-a-spline-to-two-segments-tp5009069p5009089.html
Hi Oliver,
On Aug 8, 2014, at 8:12 AM, olivier <
[hidden email]> wrote:
> Hi there,
>
> I need to calculate the length of a spline fitted to two straight lines and
> I am trying to write a macro for this.
> The attached figure illustrates the situation.
>
> I went as far as to calculate segments AB and BC, and angles alpha and beta.
> the distance "d" is known.
>
> What should I do next? try to get the coordinates of A, B and C? And then
> what? Some suggesting of macro scripts or directions would be much
> appreciated!
>
> <
http://imagej.1557.x6.nabble.com/file/n5009069/geometry.png>
>
I am not 100% sure I understand what you are after. It appears to me that you know segments AB and BC, and, therefore, you have an estimate of the length of the spline. Don't you?
Cheers,
Ben
>
>
> --
> View this message in context:
http://imagej.1557.x6.nabble.com/geometric-challenge-tp5009069.html> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html