Welcome to iraf.net Monday, May 13 2024 @ 08:24 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 Replacing cosmic rays
   
maineguy
 02/09/2011 05:14PM (Read 1540 times)  
+----
Newbie

Status: offline


Registered: 02/09/2011
Posts: 3
I'm trying to add two images while removing cosmic rays in the process. If I use crreject in imcombine in IMAGES the pixels in the final image will only have half the pixel value as the surrounding pixels if there was a cosmic ray in one of the images as pixels were just used from one image. I've tried using ccdclip to reject the cosmic ray pixels and the corresponding pixels in the other image and set blank to twice the mode. This works for cosmic rays that aren't against any object but it doesn't work if it overlaps an object. I've also tried using cosmicrays in NOAO.IMRED.CRUTIL but the program just runs and runs without doing anything. Ideally I would like to use the pixel values from the image without the cosmic ray twice so that the combined image doesn't have any spots with low pixel values.I'm using IRAF 2.14 on MAC OS 10.6

 
Profile Email
 Quote
maineguy
 02/09/2011 05:14PM  
+----
Newbie

Status: offline


Registered: 02/09/2011
Posts: 3
I discovered if I average the two images using crreject and then multiply the pixels in the combined image by 2, I get the combined image that I want.

 
Profile Email
 Quote
   
Content generated in: 0.03 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

Login