A Space & astronomy forum. SpaceBanter.com

Go Back   Home » SpaceBanter.com forum » Astronomy and Astrophysics » Amateur Astronomy
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

Registax 32 bit FIT files- why don't they work in other programs?



 
 
Thread Tools Display Modes
  #21  
Old August 21st 04, 11:23 PM
Roger Hamlett
external usenet poster
 
Posts: n/a
Default

BSCALE = 1
BZERO = 32768

This is the 'key' one. The offset here should be 32768, for an

unsigned
_16bit_ FITs file. The result as it stands, will be that the image

will
have 2147483648 subtracted from the effective pixel values, and then

32768
added!. Try changing it to 2147483648, then saving the file _as

32bit_,
and reopening, or try simply selecting 'process', 'pixel math', havin

just
one image selected, and at the bottom of the page (add constant), put

in
2147450880 (2147483648-32768). You may then find the image appears OK.
Registax is being 'naughty', using the 32bit format as if it is

unsigned,
and then putting the wrong offset into here...


Still couldn't get it to work, Roger, so I have abandoned any further
workarounds. I have been down this road many times before, adding and
subtracting values, changing historgrams, etc, and was never able to

achieve
compatability. So, as Chris suggested, I'll just continue to stick with

the
16 bit FITs as they ARE compatable with most of my other images

programs.
Thank you in earnest for your suggestions, however.

Blaine

A pity.
I thought maybe I'd 'hit it' with the offset idea, but it sounds as if
something else if wrong as well.

Best Wishes


  #22  
Old August 22nd 04, 02:05 PM
Chris Marriott
external usenet poster
 
Posts: n/a
Default


"Chris L Peterson" wrote in message
...
Lots of programs don't support 32-bit FITS. I know that Maxim does. Smart
programmers will use the free NASA fitsio library, and that will provide

full
FITS support for 32-bit and floating point formats.


Could you point me at a source of this, please Chris? My "SkyMap" program
only supports a very limited subset of FITS (basically that used by the
DSS/RealSky); it would be nice to be able to support more forms of it!

TIA for any assistance,

Regards,

Chris


  #23  
Old August 22nd 04, 03:03 PM
Chris L Peterson
external usenet poster
 
Posts: n/a
Default

On Sun, 22 Aug 2004 14:05:04 +0100, "Chris Marriott" wrote:

Could you point me at a source of this, please Chris? My "SkyMap" program
only supports a very limited subset of FITS (basically that used by the
DSS/RealSky); it would be nice to be able to support more forms of it!


Here you go: http://heasarc.gsfc.nasa.gov/docs/so...io/fitsio.html

If you want, you can work with the source, but the easiest thing is just to
include the library as a DLL with your app and not worry about the details.
Since this code is coming from people key to the maintenance of the FITS
standard, it evolves right along with the standard, and makes it easy for your
app to do the same.

_________________________________________________

Chris L Peterson
Cloudbait Observatory
http://www.cloudbait.com
  #24  
Old August 23rd 04, 08:49 AM
Chris Marriott
external usenet poster
 
Posts: n/a
Default


"Chris L Peterson" wrote in message
...
On Sun, 22 Aug 2004 14:05:04 +0100, "Chris Marriott"

wrote:

Could you point me at a source of this, please Chris? My "SkyMap" program
only supports a very limited subset of FITS (basically that used by the
DSS/RealSky); it would be nice to be able to support more forms of it!


Here you go: http://heasarc.gsfc.nasa.gov/docs/so...io/fitsio.html

If you want, you can work with the source, but the easiest thing is just

to
include the library as a DLL with your app and not worry about the

details.
Since this code is coming from people key to the maintenance of the FITS
standard, it evolves right along with the standard, and makes it easy for

your
app to do the same.


Thanks Chris - much appreciated!

Regards,

Chris


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No Moon, Mars, or Space in the State of the Union Speech [was Audio of Bush's Speech] GCGassaway Space Shuttle 1 January 22nd 04 12:22 PM
Reading floating point FITS files John Green FITS 34 November 29th 03 12:31 AM
International Student Team Selected to Work in Mars Rover Mission Operations Ron Baalke Science 0 November 7th 03 05:55 PM
Humans, Robots Work Together To Test 'Spacewalk Squad' Concept Ron Baalke Space Station 0 July 2nd 03 04:15 PM


All times are GMT +1. The time now is 05:21 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 SpaceBanter.com.
The comments are property of their posters.