Welcome to iraf.net Saturday, January 20 2018 @ 07:13 AM GMT

 Forum Index > Help Desk > General IRAF New Topic Post Reply
 missing data
 12/13/2016 12:42PM (Read 866 times)  

Status: offline

Registered: 03/08/2006
Posts: 57
Running iraf on linux.

Is there some way to get routines that use image interpolation to not use the missing values? I have an image that has some large negative numbers for missing.

From the header.
BLANK = -2147483648
BZERO = 0.
BSCALE = 0.01

I tried the magnify task and it uses the missing values as valid numbers. My real problem is my own code that
uses the msi_ interpolation routines, but I thought if I could get it to work on, say, magnify, that this would be a start.

Do I somehow need to put Nan's into the bad values?


Profile Email
 04/25/2017 10:47PM  
Active Member

Status: offline

Registered: 11/11/2005
Posts: 725

I was going through some old forum questions. No the IRAF interpolation code doesn't have anything to use masks. What I would suggest is you first replace the bad data. If you make a mask for the data you want to minimize the effect on you can then use fixpix to interpolate over the regions and that will make the interpolators much better behaved.

Frank Valdes

Profile Email
Content generated in: 0.05 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies

Privacy Policy
Terms of Use

User Functions