Welcome to iraf.net Monday, August 21 2017 @ 08:14 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 change background in display?
   
seitzer
 01/27/2017 10:21PM (Read 728 times)  
+----
Newbie

Status: offline


Registered: 12/02/2005
Posts: 1
When I load an image into ds9 from iraf with display, the background (area larger than the image) is always white. This does not depend on the ds9 invert colormap setting nor 'background color/Blank/Inf/NAN preferences.

Is there a way to force the background to be black?

If I load a FITS image directly into ds9 (using the File/open menu option, for example) then the background behaves as expected.

So what is 'display' loading into ds9 outside the image area? How can it be changed?

Trying to minimize the amount of white staring me in the face.

thanks, Pat

 
Profile Email
 Quote
fitz
 01/27/2017 10:53PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 3966
The answer may depend on your DS9 version, and saord@cfa.harvard.edu would be the place to ask about specific DS9 options.

However, the image being displayed by IRAF is centered in the framebuffer defined by the 'stdimage' variable. For the standard 512x512 dev$pix image this means that if stdimage=imt800 the image is centered in an 800x800 frame where the area outside the image has zero values and is rendered as black. Now if you stretch the DS9 window so the display area is bigger than that, then the area outside of the *frame buffer* is white, but that's a matter of how DS9 renders the frame buffer and not how IRAF displayed the image. You can use a smaller frame buffer and/or turn on the 'fill' parameter to fill the frame buffer, but that won't eliminate the white area. To do that the only option I know of is to make the ds9 window smaller.

 
Profile Email
 Quote
fitz
 01/27/2017 10:56PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 3966
Of course, making the frame buffer insanely huge would also work in most cases, but you may find that having to zoom in to a smaller image all the time is even more annoying.

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