Author Topic: Integration scaling question  (Read 545 times)

Offline MineralMike

  • Member
  • *
  • Posts: 60
Integration scaling question
« on: 2019 November 21 09:15:29 »
I'm working on a two-panel mosaic of the Witch Head nebula. When I integrated the two panels, I got:

Code: [Select]
AO: ** Warning: Rescaling output image. Integration range:
[-1.4548146e-03,9.1608858e-01]

A1: ** Warning: Rescaling output image. Integration range:
[-1.3681161e-03,8.6130935e-01]

Needless to say, I'd like both panels to be scaled the same. I think I could use PixelMath to scale one of them to match the other.

But I don't know what the numbers mean. Why are there two numbers? Is there a way to use them in PixelMath?

Thanks for all information and advice.

--- Mike

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Integration scaling question
« Reply #1 on: 2019 November 21 10:25:51 »
Hi Mike,

The two numbers define the range of pixel values in the integrated image, that is, the minimum and maximum pixel values. As the resulting image must be in the [0,1] range, it must be either truncated or rescaled. By default, ImageIntegration rescales the result in these cases, which preserves the entire integrated data.

You can disable this behavior by enabling the truncate on out-of-range option. This will clip negative values to zero, but will output two images without any scaling and referred to the same numeric range.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/