Submit a Story  :  IRAF Links  :  Past Polls  :  Calendar  :  Advanced Search  
     iraf.net
FAQ
 Forum FAQForum FAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

interpolation task in IRAF?

 
Post new topic   Reply to topic    iraf.net Forum Index -> General IRAF
View previous topic :: View next topic  
Author Message
AndrewS
Active IRAF User


Joined: 10 Oct 2010
Posts: 33
Location: Galway Ireland

PostPosted: Sun Mar 18, 2012 1:23 am    Post subject: interpolation task in IRAF? Reply with quote

Hi there

can any1 recommend is there a task available in IRAF similar to fixpix except that it could perform types of interpolation other than linear?

Thanks
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3255
Location: Tucson

PostPosted: Sun Mar 18, 2012 1:27 am    Post subject: Reply with quote

Try IMEDIT
Back to top
View user's profile Send private message
AndrewS
Active IRAF User


Joined: 10 Oct 2010
Posts: 33
Location: Galway Ireland

PostPosted: Wed Mar 28, 2012 3:12 pm    Post subject: Reply with quote

I have just a quick follow up question!

When using fixpix, if the gap to interpolate over is equal in both the horizontal and vertical directions, you can specify if you want fixpix to interpolate using either good pixels along a row or along a column (by using a specific value for the flag in the mask.). What I am not sure of though is how fixpix interpolates in the diagonal case, ie. conside a 3X3 block of pixels with good pixels at each of the corners:

G I G
I ..I .. I
G I G

above is my rough attempt at representing, where "G" represents Good pixels and "I" represents pixels to be interpolated over. clearly the "I" pixels on the border will be interpolated over using the adjacent "G" pixels. But what is done for the central pixel? is an interpolatiion done along the two diagonals, ie. all 4 "G" pixels are involved in the interpolation?
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3255
Location: Tucson

PostPosted: Thu Mar 29, 2012 4:23 am    Post subject: Reply with quote

Unless you specifically set the linterp/cinterp params to specify the direction, the task will attempt to choose the narrowest dimension, or all things being equal, will preferentially work along lines. AFAIK, diagonals aren't ever used.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> General IRAF All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2009 phpBB Group
 Copyright © 2005-2011 iraf.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.09 seconds