Author Topic: CometAlignment saving issue in drizzle mode with operand image  (Read 873 times)

Offline jpaana

  • Newcomer
  • Posts: 13
Currently when using CometAlignment in drizzle mode with operand image the comet aligned result is not saved correctly and is identical to star aligned result image. Reason seems to be a copy & paste error in the code:

Code: [Select]
void CometAlignmentInstance::SaveImage ( CAThread* t)
{
Save(t->TargetImage(), t, 0); //Save result image

if(t->StarAligned()) //Save PureStarAligned
{
ImageVariant* img = new ImageVariant(t->StarAligned());
Save(img, t, 1);
delete img, img = 0;
}
if(t->CometAligned()) //Save PureCometAligned
{
ImageVariant* img = new ImageVariant(t->StarAligned());   // <-- this should probably be t->CometAligned()?
Save(img, t, 2);
delete img, img = 0;
}
}

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: CometAlignment saving issue in drizzle mode with operand image
« Reply #1 on: 2019 September 09 07:10:16 »
Bug confirmed. This is now fixed in version 1.8.7. Thank you for reporting and for your spot-on solution.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/