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 #43455 is a reply to message #43454] Thu, 14 April 2005 12:57 Go to previous messageGo to previous message
Pravesh is currently offline  Pravesh
Messages: 17
Registered: August 2004
Junior Member
Hi Maarten,

If it gets scaled to the 0-255 range, i will not get as accurate
answers as I would otherwise. see, when you doing calculations, should
not I have the original numbers than these scaled values?

i tend to miss out on certain pixels because of that.


pravs
maarten wrote:
> 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: Sat Oct 11 18:07:25 PDT 2025

Total time taken to generate the page: 1.67943 seconds