Author Topic: Warning While Doing ImageIntegration?  (Read 1847 times)

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Warning While Doing ImageIntegration?
« Reply #15 on: 2019 June 03 01:17:37 »
Hi Shane,

Since I use CatlogStarGenerator to make a synthetic reference frame for registration, would I even see this issue?  Does that synthectic frame contain whatever information ImageIntegration needs?

This should not make any difference. The synthetic image will only be used as a reference image for registration; existing metadata in registered frames will always be preserved by the StarAlignment tool.

Another question: Since my subs are typically taken over several months from several different locations (up to 700 miles apart if there is a good star party happening), can ImageIntegration decide what to use for the values even when they are in the correct format?

Clever question. With the current implementation, ImageIntegration will compute the average longitude and latitude of the observation location. In other words, it will compute the unweighted centroid of all geodetic locations found in the metadata of the entire data set.

While this may not be the optimal solution, from a strict point of view, it should work well for practical purposes. The most accurate solution should use some form of weighted average, taking into account the amount of signal contributed by each frame to the final integrated image as a first approximation, but this is probably overkill here.

The same solution is currently implemented for the approximate coordinates of the center of the image, i.e. the OBJCTRA and OBJCTDEC keywords generated in the final integrated image.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline csmart

  • Newcomer
  • Posts: 1
Re: Warning While Doing ImageIntegration?
« Reply #16 on: 2019 August 05 11:25:44 »

But, I now have years of data that I cannot process with the current version of PixInsight (as my techniques and PI tools get better).  So can you reconsider and give us some workaround that doesn't involve trying to maintain 2 installations of PixInsight?  Maybe an "Input Hints" keyword that converts the value when a file with the old SGP format is loaded?


I had a similar problem and had assumed it was a bug of some sort but now stand corrected.  Given I have a similar issue, I decided to write a quick python script to cleanse the SGP header data.  As Juan and others have noted, it does not really impact the image processing but it was a nuisance and this was a simple workaround.

Providing a link here to the github repository in the event others may find it useful... No warranties of any kind, but it works for me.  Note that I generate copies of all original fits files in a temp folder for processing, so I always have the original files to fall back on if something goes wrong.

https://github.com/smartc/fits_cleaner

Cheers!
Corey