Re: Catalyst Library [message #42312] |
Wed, 02 February 2005 19:24  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Robert Barnett writes:
> Wonderful! Works in idl 6.1 on SunOS 5.9. The images occasionally look a
> bit silly because annotation colors are slipped into the look up table
> (LUT). However, I think it is quite a reasonable price to pay for the
> increase in performance. I tried setting 'device, decomposed=0' and
> 'device, decomposed=1' but it doesn't make any difference.
The Library should definitely be "device-decomposed-independent",
but I can believe things look silly on any but a 24-bit graphics
card. Dave and I both thought there was no sense any more writing
software that is restricted to 8-bits of color. It is a lot of work
for machines that *surely* are going to be obsolete real soon now. :-)
> I wouldn't mind seeing 'Save window as DICOM' or perhaps even 'Send
> window to PACS' in the file menu. I've been using wrappers to spawn the
> DICOM Toolkit (DCMTK) for a while now. Amongst many other things DCMTK
> allows you to send/recieve images using command line executables. I've
> also got a DICOM writer which is just a logical extention of
> dicom_writer.pro.
As soon as I get a customer that requires DICOM output, I'll
probably have to purchase that option. Meanwhile, my second
son is picking out colleges and my attention (and wallet) is
directed elsewhere. :-(
What is PACS, anyway? Never heard of it.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|
|
Re: Catalyst Library [message #42420 is a reply to message #42312] |
Sun, 06 February 2005 16:09  |
Robert Barnett
Messages: 70 Registered: May 2004
|
Member |
|
|
> The Library should definitely be "device-decomposed-independent",
> but I can believe things look silly on any but a 24-bit graphics
> card. Dave and I both thought there was no sense any more writing
> software that is restricted to 8-bits of color. It is a lot of work
> for machines that *surely* are going to be obsolete real soon now. :-)
David,
I am definately on 24-bit graphics display. If I do the following commands:
a = dist(255) & b = rot(a,33) & c = rot(a,60)
erase & tv, a, 0,0, 1 & tv, b, 0, 0, 2 & tv, c, 0, 0, 3
It looks as it would in windows.
My idl startup tells all:
adac9{24}(~/idl) > more idl.startup
device, TRUE_COLOR=24
device, decomposed=0
!order=1
I'm guessing that your application picks up that I'm using decomposed=0
and takes the sensible precaution of never trying to display more than
256 colors.
I think I used device, decomposed=0 because some of our older
workstations here use Pseudo color. I too am of the opinion that they
are ready for the junk heap.
--
nrb@
Robbie Barnett
imag
Research Assistant
wsahs
Nuclear Medicine & Ultrasound
nsw
Westmead Hospital
gov
Sydney Australia
au
+61 2 9845 7223
|
|
|