| Re: Adding elements in an Array [message #86007 is a reply to message #85999] |
Mon, 23 September 2013 17:56   |
wlandsman
Messages: 743 Registered: June 2000
|
Senior Member |
|
|
The priority for display programs when resizing images is not to conserve flux but to avoid spurious shifts and distortions. A feature in the center of the image should remain in the center of the image after resizing, and yes cgResizeImage() does this correctly.
And apologies that this thread has gotten quite far from the original question. --Wayne
On Monday, September 23, 2013 5:25:48 PM UTC-4, David Fanning wrote:
> David Fanning writes:
> Just as a preemptive strike, and so I can sit most of the following
>
> discussion out, I want you to know I *am* doing the right thing in
>
> cgResizeImage (which I use in place of Rebin and Congrid) when I am
>
> resizing images. I wrote this code the last time I was dragged kicking
>
> and screaming though the discussion which is sure to follow. :-)
>
>
>
> Cheers,
>
>
>
> David
>
>
>
>
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>
> Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|
|