[daip] shifting an imagr
Farhad Zadeh
zadeh at northwestern.edu
Fri Dec 16 18:48:47 EST 2016
Thanks for your quick response. I have an IR image that needs to be
shifted and rotated to coincide with a radio image.
I have been just changing the reference pixel of the IR mage by adding
the needed shift (CRPIX1 and CRPIX2) and then
ohgeom with the radio image. It is a bit cumbersome to get the direction
of the shifts right. Not sure if there is a better way of doing the shift.
I remember something like "patting" or something like it to shift an
image but I am not sure??
Farhad
On 12/16/16 4:05 PM, Eric Greisen wrote:
> On 12/16/2016 02:03 PM, Farhad Zadeh wrote:
>> Hi Eric,
>> Sorry for this simple question. I have a radio image that I need to
>> shift by x and y arcseconds in RA DEC to the NE in order to register
>> the image with
>> an IR image. I can go though RA dec and piel positions for a star but I
>> thought there was a simpler task that would shift the entire image by
>> some some amount.
>> I appreciate your letting me know.
>> Best,
>> farhad
> OHGEO and HGEOM can shift one image to match the coordinates of another.
> They do assume that the coordinates of both images are correct.
>
> I am unclear what you actually want to do - have the image at the
> correct coordinates but have those be at some different pixel number
> than currently? Or do you want to change the coordinate labeling
> assuming that you have it wrong for some reason? (Optical has suffered
> from that in the past but less so these days.)
>
> There are also OGEOM and LGEOM that do simpler shifts and re-grids.
> And of course IMAGR can do RASHIFT and DECSHIFT which changes the
> coordinates of the center pixel.
>
> Eric
>
More information about the Daip
mailing list