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

Home » Public Forums » archive » Re: retaining ROI when rescaling?
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: retaining ROI when rescaling? [message #60273 is a reply to message #60272] Thu, 08 May 2008 14:38 Go to previous messageGo to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
Spon wrote:
> On May 7, 8:38 pm, Dave L <dave.le...@gmail.com> wrote:
>> Hi,
>>
>> I have a 384X512 MRI image that I want to select an ROI in then
>> rescale it to overlay on a second MRI image measuring 110X110. I
>> would then select the same ROI on the second image. My question is
>> how can I retain the ROI selection when I rescale the image?
>>
>> Thanks,
>> Dave
>
> For a quick-and-dirty result, I would use CONGRID. You may well want
> better interpolation though. I'm making a big assumption: that your
> second image is a distorted version of the first one (or a distorted
> image of the same field of view). If this isn't the case, it won't
> work.

if the two images does not cover the same area, you would have to
transform your ROI coordinates to lat-long, and transform them back to
image coordinates of your second image...

Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: reading in a long line of data
Next Topic: A heartfelt thank you for MPFIT

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

Current Time: Fri Oct 10 19:38:12 PDT 2025

Total time taken to generate the page: 0.56171 seconds