Author Topic: One more time - FITs question  (Read 8973 times)

Offline Emanuele

  • PixInsight Addict
  • ***
  • Posts: 270
One more time - FITs question
« on: 2011 March 04 06:51:06 »
Hi all.

alright, I have read every thread on the subject and tried most of the suggestions in the forum about this.
I have a Master Lum that has been calibrated and registered in Maxim.
Then saved as 32Bit Int.

Opened it up in PixInsight, then rescaled (window popped up asking the range values) to 0-65535, but the result is below (STF)
What am I doing wrong and how do I import this image in PI?

Thank you,
Emanuele



Offline Philip de Louraille

  • PixInsight Addict
  • ***
  • Posts: 289
Re: One more time - FITs question
« Reply #1 on: 2011 March 04 07:01:56 »
Saved as a 32 bit?
2^32  = 4,294,967,296
so your range might be 0 to 4,294,967,295 not 0 - 65,535 (unless you have signed integers and then half these values)

Philip de Louraille

Offline Emanuele

  • PixInsight Addict
  • ***
  • Posts: 270
Re: One more time - FITs question
« Reply #2 on: 2011 March 04 07:17:55 »
Philip, thank you for your help.

I saved the IEEE Float Luminance image in Maxim, in 32Bit Int still in Maxim, and then opened it up in PI but now PI is not asking me to rescale the image.

 ::)
Not sure what to do. How can I force a range in PI?

Offline Philip de Louraille

  • PixInsight Addict
  • ***
  • Posts: 289
Re: One more time - FITs question
« Reply #3 on: 2011 March 04 07:45:17 »
Yes, PI likes to store values between 0 - 1 so it maybe what it is asking. Try entering 0 as the min and 1 as the max.
Philip de Louraille

Offline Emanuele

  • PixInsight Addict
  • ***
  • Posts: 270
Re: One more time - FITs question
« Reply #4 on: 2011 March 04 07:47:17 »
Philip,

what I meant was that PI is not asking me (now) to specify a range for the 32Bit Int Maxim image.



Offline Philip de Louraille

  • PixInsight Addict
  • ***
  • Posts: 289
Re: One more time - FITs question
« Reply #5 on: 2011 March 04 08:08:28 »
hmm.... Open the Format Explorer tab on the far left, and double click on the FITS icons. This will open the FITS Format Preferences window where the Lower and Upper Range are set.
If that is not what you mean/want, then use the PixelMath Process.
Philip de Louraille

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1458
    • http://www.harrysastroshed.com
Re: One more time - FITs question
« Reply #6 on: 2011 March 04 08:11:23 »
Hi

When I get this I just rescale it using the rescale tool


Harry
Harry Page

Offline Emanuele

  • PixInsight Addict
  • ***
  • Posts: 270
Re: One more time - FITs question
« Reply #7 on: 2011 March 04 08:11:47 »
Yep, the values in the FITS Format Preferences are set to 0 and 1. And also to Ask Always as far rescaling if out of range goes.

How do I set a range in pixelmath?

Offline Philip de Louraille

  • PixInsight Addict
  • ***
  • Posts: 289
Re: One more time - FITs question
« Reply #8 on: 2011 March 04 08:32:44 »
I was looking at the Rescale tool earlier but I was not sure that was the one to use as I do not have an image with that kind of problem to test it on. It does not do anything to my opened images (as they are scaled properly already.)

But it seems easier to use than my PixelMath suggestion!
Philip de Louraille

Offline Emanuele

  • PixInsight Addict
  • ***
  • Posts: 270
Re: One more time - FITs question
« Reply #9 on: 2011 March 04 09:29:09 »
Harry, thanks for the suggestion.

But Rescale is not working for me.   :sad: I have the same results as the screenshot above.

Offline Philip de Louraille

  • PixInsight Addict
  • ***
  • Posts: 289
Re: One more time - FITs question
« Reply #10 on: 2011 March 04 09:39:10 »
After the rescale, did you redo an STF automatic adjustment?
Philip de Louraille

Offline Emanuele

  • PixInsight Addict
  • ***
  • Posts: 270
Re: One more time - FITs question
« Reply #11 on: 2011 March 04 09:47:04 »
Yes, Philip, I did. No change from before.  

Here's something strange (see the attached screenshots)
The first screenshot is the the range values of the Luminance and Green masters when importing them into PI.
The second screenshot is the range of values of the Red and Blue masters.

Notice the difference in the range...
well, the Red and Blue masters are rescaled correctly, just by letting PI rescale the image to 0-1.
But instead the Luminance and Green masters are not scaled correctly by PI.

Why do even the Lum, Green and Blue, Red masters have different range values, coming out of Maxim?
« Last Edit: 2011 March 04 10:08:20 by Emanuele »

Offline Philip de Louraille

  • PixInsight Addict
  • ***
  • Posts: 289
Re: One more time - FITs question
« Reply #12 on: 2011 March 04 10:38:18 »
Can you make your image available? If you do not have access to a public server, place it there
https://public.me.com/pkcyll
(click on the circled white arrow pointing upward to upload your image.)

I have to leave the house in about 1 hr so I may not be abler to look at this with more details until later on this afternoon. (California time.)
Philip de Louraille

Offline Emanuele

  • PixInsight Addict
  • ***
  • Posts: 270
Re: One more time - FITs question
« Reply #13 on: 2011 March 05 03:09:56 »
Hi Philip...

here I am. I placed the images (Lum and Red) in my public dropbox folder.

Hope something can be figured out because it's really good data and it deserves to be post-processed in PI.

E.

EDIT: Since this issue has been solved, I removed the images links for copyright purposes. If anyone wants them again, please ask. :)
« Last Edit: 2011 March 05 06:15:21 by Emanuele »

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: One more time - FITs question
« Reply #14 on: 2011 March 05 05:35:17 »
Hi Philip...

here I am. I placed the images (Lum and Red) in my public dropbox folder.

http://dl.dropbox.com/u/1427295/NGC2024_Lum.fit

http://dl.dropbox.com/u/1427295/NGC2024_Red.fit

Hope something can be figured out because it's really good data and it deserves to be post-processed in PI.

E.

When Pixinsight tries to open your images it detects a maximum value of 5.79e7. That value is not correct. There are several rows of bad pixels at the bottom result of the stacking process.
When PixInsight shows the "FITS floating point range options" dialog you should set a maximum value of 69000 and the "Truncate all out of range values" option. Doing this the image appears ok in Pixinsight.