problem with xroi [message #43393] |
Wed, 06 April 2005 08:57  |
Pravesh
Messages: 17 Registered: August 2004
|
Junior Member |
|
|
Hello:
2 problems:
1. I have medical images in GE Format. As IDL cannot open it, I tried
to act smart and converted them to JPG. The trade-off being that I have
grayscale images.
I was wondering if we have an image reader for the GE Format otherwise
how can I work around this problem?
2. xroi seems to be opening up filtered images in a weird way. while i
am able to pull up the same filtered images perfectly well in a normal
window, xroi does not display the images as the regular window does..
all i am doing to the image before pulling up is inverting it and
LPFing it.
Any inputs are appreciated
thanks,,
Pravesh
|
|
|
Re: problem with xroi [message #43404 is a reply to message #43393] |
Tue, 12 April 2005 07:17  |
Pravesh
Messages: 17 Registered: August 2004
|
Junior Member |
|
|
Hi :
Thanks for all the inputs. My guess is that since GE Genesis is a
proprietary format, i may have to buy one of those tools available in
the market such as DICOMatic. However, I have tried a crooked way to
see if that helps.
I converted the Genesis file to Analyze and from Analyze to DICOM using
DICOMatic.
I obtained a DICOM image too. However, the problem comes with XROI now.
If I open the DICOM image directly from XROI, it is completely messed
up. So, I try to open the image as xroi, bytscl(image).
THIS DOES NOT SERVE THE PURPOSE AS THE SCALED IMAGE IS GRAYSCALE. EVEN
WHEN I SPECIFY THE TOP, THE IMAGE HAS A MAX VALUE OF 255. THE ORIGINAL
IMAGE HAS INTENSITY VALUES RANGING FROM 0-2000 BUT THE SCALED ONE
BECOMES VERY LOSSY AND I LOSE PRECIOUS DATA.
My question:
What's the problem with XROI in opening such images that are in the
proper format but not in 0-255 range? I guess if I cant get XROI to
open it, I will make a program that can draw an ROI and I can further
work with it?
ANy suggestions on that one?
Thanks a lot, guys.
Pravs
|
|
|
Re: problem with xroi [message #43406 is a reply to message #43393] |
Tue, 12 April 2005 02:37  |
maarten
Messages: 30 Registered: April 2002
|
Member |
|
|
The program MRIcro (freeware) opens GE images for you. The problem then
is that it only can write them as analyze file. From there you would
have to convert them to some simple binary format, or write something
that reads in the analyze format files (is not too hard I think).
It is a long way and probably not the preferred one, but it might
provide a solution for the moment.
Pravs wrote:
> Hello:
>
> 2 problems:
>
> 1. I have medical images in GE Format. As IDL cannot open it, I tried
> to act smart and converted them to JPG. The trade-off being that I have
> grayscale images.
>
> I was wondering if we have an image reader for the GE Format otherwise
> how can I work around this problem?
>
>
> 2. xroi seems to be opening up filtered images in a weird way. while i
> am able to pull up the same filtered images perfectly well in a normal
> window, xroi does not display the images as the regular window does..
>
> all i am doing to the image before pulling up is inverting it and
> LPFing it.
>
> Any inputs are appreciated
>
> thanks,,
> Pravesh
>
|
|
|