Message Boards Message Boards

GROUPS:

Problems with image .fits format

Posted 7 years ago
8736 Views
|
2 Replies
|
0 Total Likes
|

Whenever I try to open an gray image .fits format, even though a 16-bit image, the image displayed always appears in gray scale pixel intensity variation between 0 and 1. I would like to know if it is possible to somehow open the same image .fits format in order to be displayed with the original intensity variation of 16 bits. I have used the following commands:

Import[ "Image.fits", ImageSize -> Large,"BitDepth" -> 16] 

Thanks for any help

Antonio

Attachments:
2 Replies

For FITS, I always refer to my comment cell: (* !! Export[] "Data", Import "RawData" !! *)

Then you can dispense with the ImageSize and BitDepth options. You'll get an array of Integers (IIRC), which if you care to, can be N[]'ed to give Real numbers.

POSTED BY: Frank Iannarilli

Frank, This is already a promising start....

Thanks a lot

Antonio

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract