comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: CURSOR skips a few beats :-(
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: CURSOR skips a few beats :-( [message #69624 is a reply to message #69623] Fri, 29 January 2010 09:00 Go to previous messageGo to previous message
cgguido is currently offline  cgguido
Messages: 195
Registered: August 2005
Senior Member
Thanks David and pp.

David - yes, I solved that rookie operator precedence mistake while
hitting myself in the forehead! :-(

Some quick background about the project. We are taking micrographs of
tissue samples (mostly skin). I am writing a set of IDL programs that
would allow others in the lab to draw two curves on the picture, say
along the lumen and along the edge of some skin layer, and then
calculate the thickness of that part of the skin. I define thickness
as the shortest path from each point in the lumen line to any point in
the inner line. So far so good.

The problem is that without the interpolation above, while you move
along a straight-ish part of the tissue (you can therefore move faster
with less error) you get a few points. On the other hand, if there is
a part of the tissue that is convoluted (and the user instinctively
slows down) you get more, or even every, point the mouse visits. This
behaviour would bias the average thickness value toward the thickness
of convoluted parts of the tissue, and that's not cool.

What do you guys think? I fear I may be reinventing a few wheels,
maybe a whole set of wheels.

pp - your way seems much simpler to read... I am starting to see why
these here objects are cool... I will investigate further.

Thanks again to both of you.

Gianguido
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Mode and variation of cells in multiple grids (3-D problem)
Next Topic: read an mp3?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 04:37:42 PDT 2025

Total time taken to generate the page: 0.64754 seconds