IDL for Windows and MAC... [message #26853] |
Thu, 27 September 2001 15:03 |
Gonzalo Rojas
Messages: 14 Registered: February 2001
|
Junior Member |
|
|
Hi:
Sometime ago, I created an image processing software using IDL 5.2
for Windows... That simple widget software, reads a DICOM image (lung CT
images; 2 bytes per pixel), displays it, you could change the color
palette (I used xcolors.pro of David Fanning), and it computes some
statistics from a ROI selected in the image (I used CW_DEFROI procedure
to define the ROI)... That statistics are, for example, the histogram in
a fixed interval, and other values computed with it... That software in
Windows runs very well...
I tried to ran my software using IDL 5.2 for MAC (in a iMAC
computer), but it didn't work ok... It read and displayed the image
well, the ROI is created well... but all the statistics that it
computed, was wrong... The histogram, etc, etc. was wrong... There exist
a problem with little endian-big endian ?... Besides, I tested an
"!ORDER = 1" at the beginning of the software... Then, obviously the
software shows the images rotated, but for what reason if I define a ROI
in the same relative position that with !ORDER = 0, my software computes
different values ?...
Please, send me the answer, urgently...
Thanks in advance...
Gonzalo Rojas
Medicine School
Universidad Catolica de Chile
|
|
|