Re: CURSOR skips a few beats :-( [message #69718 is a reply to message #69619] |
Fri, 29 January 2010 14:25  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Gianguido Cianci writes:
> I am glad Google is immortalizing all this: THE David Fanning just
> called *me* his friend! Wot?! If only JD Smith would follow suit I
> could retire happy :-)
To get JD to notice, you have to write something that looks
like five or six programs on one line. Use a LOT of parentheses.
Now that I look at your code again, you are not too far off. ;-)
> David - It seems to me that allowing the user to measure thickness at
> arbitrary points could allow for a few sources of error: Are the
> starting points chosen uniformly along the lumen? are the ending
> points really the closest ones? Of course, in many cases determining
> where exactly the lumen/tissue (or any other) edge is, is itself a
> difficult problem... My thinking was that if the user draws what he/
> she is happy calling an edge (I am not a biologist - it all looks
> fuzzy to me), then I can measure the shortest distance at all points,
> and therefore eliminate some error. (BTW, we're looking at the
> effectiveness of various tissues as a barrier to virus particles....)
Well, I just foresee the measurements bouncing off in all kinds
of directions, so that you are never really measuring what you
think you are measuring. But I don't have any idea what your images
actually look like. So what would I know?
> David and paulv - Why do widgets act as anti-hatered shields?
I can't speak for Paul, but I can tell you it is difficult, (nay,
impossible!) to write a procedural program that acts like a user-driven
one. Users will expect functionality that you can't deliver (like
recovering from a cursor that goes out of the window).
> And why not go all the way
> and use custom iTool interface then?
Clearly, you have never tried to do this. :-)
Let's just say, iTool programming is... no, I'm not even going
to get started today. I'm just going to go get a couple of beers
and chuckle to myself.
Cheers,
Your Friend,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|