Welcome to iraf.net Friday, May 17 2024 @ 06:11 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 inverted images
   
Anonymous: Guest
 06/02/2009 02:08PM (Read 1416 times)  



Dear IRAF expert,I would like to process CCD images taken with a plate scanning
machine. These are negatives (i.e. black stars on white background)
with a limited dynamic range. I do have FITS files and they display
fine with IRAF. With imexam I can display contour maps but the
"r" radial profile fit crashes.1) Is there a way to "invert" the image (have bright stars on
dark background)?2) How can I change the pre-set "z-scale" to "linear"?Norbert
------------------------------------------------
Norbert Zacharias, Ph.D.
Chief of Cataloging Division
Astrometry Department
US Naval Observatory voice: 202 762 1423
3450 Mass. Ave. NW fax: 202 762 1516
Washington, DC 20392 e-mail: nz@usno.navy.mil
------------------------------------------------

 
 Quote
fitz
 06/02/2009 02:08PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The IMEXPR task will allow you to write an expression than can effectively invert the values as you describe. Note you'll need to figure out what are reasonable values for the high/low pixels. Note there is also the DTOI package under IMRED which was (long, long ago) used for dealing with plate-scanned images.The z-scale display algorithm is just a way of picking optimal values to scale the display from 16/32-bit range to the 8-bit display range. Likewise, IMEXPR could also be used to linearly scale your pixels values to the range
0-200 and you could display then with the params "zscale- zrange- ztrans=none" to display raw pixels.-Mike

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