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 #43454] Thu, 14 April 2005 13:49 Go to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
Pravs,
I am afraid you are looking for functionality beyond what xroi can do for
you since it obviously does all evaluation on the byte scaled image, i.e.
you 0-2000 are squeezed into 0-255. You may just have to start doing some
programming here. The good thin is that idl provides all the commands you
need for you application.

Haje


"Pravs" <praveshsubramanian@yahoo.com> wrote in message
news:1113508669.308735.144030@l41g2000cwc.googlegroups.com.. .
> 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 05:36:54 PDT 2025

Total time taken to generate the page: 0.31954 seconds