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

Home » Public Forums » archive » Re: measuring lines
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: measuring lines [message #45853 is a reply to message #45836] Tue, 11 October 2005 04:37 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
robin.vandebroek@gmail.com writes:

> My apologies if this is a trivial problem.
> I have a bitmap which is a picture of glass fibers distributed on a
> flat surface.
> The bitmap is already processed so the fibers can be easily
> distinguished.
> Is there a way or a method within IDL to measure the length of the
> individual fibers apart from programming a scanning algorithm myself ?

You could use the tape measure tool in my AnnotateWindow
program for this purpose:

AnnotateWindow, image, XRange=[0,5], YRange=[0,4]

The ranges specify the actual extent of your image data
(shown here at 4 mm by 5 mm). You can find out about the
program here:

http://www.dfanning.com/documents/programs.html#ANNOTATEWIND OW

(The angle measuring tool might also be of interest to you.)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Previous Topic: Re: g++ with IDL call_external
Next Topic: Re: Tab Widgets changes at runtime?

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

Current Time: Fri Oct 10 11:18:29 PDT 2025

Total time taken to generate the page: 7.36833 seconds