Welcome to iraf.net Tuesday, May 21 2024 @ 06:24 PM GMT
tiffa019 |
01/30/2009 03:28PM (Read 2189 times)
|
|
|
Status: offline
Registered: 01/30/2009
Posts: 1
|
I'm working on a set of images with IRAF. I have replaced a bad (over saturated) part of an image with another section from a good image, but I want to do a smooth transition between the two pieces (something like a 3rd order polynomial). I've been told that I can smooth these with IRAF, but I can't find an appropriate application. Any suggestions on what to use would be appriciated.Thanks in advance!
|
|
|
|
fitz |
01/30/2009 03:28PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
I think the task you're looking for is IMEDIT which has lots of options for replacing bad pixels, however it replaces pixels from another area of the same image. FIXPIX can be used to interpolate across rows/cols and if you've copied in a region of pixels might be useful to patch the transition region, but you may still have a different background level in the patched region to deal with.Another option might be to use IMEXPR to select pixels from one image or the other depending on whether the value is saturated. For example,[code:1:94b581437f]cl> imexpr "(a > 65000 ? b : a)" fixed.fits a=saturated.fit b=patch.fits[/code:1:94b581437f]This assumes the images are already registered (see tasks like WREGISTER if not) but will replace only those pixels above a certain value with the corresponding pixel from a second image.
Hope this helps.-Mike
|
|
|
|
| |
|
Content generated in: 0.08 seconds |
|