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

Home » Public Forums » archive » Re: problem with xroi continued....
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: problem with xroi continued.... [message #43471 is a reply to message #43455] Wed, 13 April 2005 07:13 Go to previous message
maarten is currently offline  maarten
Messages: 30
Registered: April 2002
Member
I am not sure if I understand your problem, but what is the problem with
bytscl?
It shouldn't matter whether the data is in the 0-2000 range, or the
0-255 range, it is just a matter of scaling. You should probably not
specify a top and just let bytscl convert your full range of values to
the 0-255 range. At my computer this works perfectly well.

cheers maarten

Pravs wrote:
> Hi :
>
> Thanks for all the previous 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
>
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Get IDLgrText size
Next Topic: Adobe Reader 7.0 in IDL ?

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

Current Time: Fri Nov 28 16:50:40 PST 2025

Total time taken to generate the page: 0.40192 seconds