Image contours and thresholding [message #10097] |
Wed, 22 October 1997 00:00 |
Karl Young
Messages: 31 Registered: April 1996
|
Member |
|
|
I'm about to embark on writing a little program that puts up
an image, alows the user to outline a section of it, and do
some calculations for the pixels in the selected section (e.g.
calculate what fraction of the pixels are greater than some threshold)
This is obviously a program that someone like David (Fanning)
could write in his sleep but I've been away from widgetizing for
a few months (how soon they forget !). It probably wouldn't be
the worst thing for me to have to do this from scratch but since
I'm in a bit of a hurry I thought I'd ask if anybody knows of
any programs in any of the available libraries that sound like
they do something like this and that I could modify. (David, I
checked your web site and nothing seemed all that close to what
I need) Thanks for any tips, advice,...
-- KY
------------------------------------------------------------ -------
Karl Young Phone: (415) 750-2158 lab
UCSF (415) 750-9463 home
VA Medical Center, MRS Unit (114M) FAX: (415) 668-2864
4150 Clement Street Email:kyoung@itsa.ucsf.edu
San Francisco, CA 94121
------------------------------------------------------------ -------
|
|
|
Re: Image contours and thresholding [message #10100 is a reply to message #10097] |
Wed, 22 October 1997 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Karl Young (kyoung@itsa.ucsf.edu) writes:
> I'm about to embark on writing a little program that puts up
> an image, alows the user to outline a section of it, and do
> some calculations for the pixels in the selected section (e.g.
> calculate what fraction of the pixels are greater than some threshold)
> This is obviously a program that someone like David (Fanning)
> could write in his sleep but I've been away from widgetizing for
> a few months (how soon they forget !). It probably wouldn't be
> the worst thing for me to have to do this from scratch but since
> I'm in a bit of a hurry I thought I'd ask if anybody knows of
> any programs in any of the available libraries that sound like
> they do something like this and that I could modify. (David, I
> checked your web site and nothing seemed all that close to what
> I need) Thanks for any tips, advice,...
You are not the only one who has accused me of writing programs
in my sleep, believe me! :-)
In fact some of the nonsense I have had on my web page lately
would have been greatly improved if I HAD written it in my
sleep. But that's another story...
I will tell you that if *I* needed a neat ROI-like tool
for medical images I would hot-foot it over to Phil Williams
site and have a look at his XDISPLAY program. I think Phil is
is the process of updating it from handles to pointers, but
it is a very nice tool. I think it will probably do all you
need and much more.
Here is the URL:
http://www.irc.chmcc.org/idl/philsIDL.html
Cheers,
David
-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|