Hi,
when I use Dynamic Background Extraction on a really large image, DBE throws a messagebox:
"Variant::ToDouble(): Invalid conversion from invalid type" while computing view property: MAD.
Details:
- PixInsight Core 01.08.03.1123 Ripley (x64)
- Windows 7 64bit
- Image: FITS: 16-bit integers, 3 channel(s), 64433x38460 pixels
- reproduction:
- open the image
- open Dynamic Background Extraction, leave all options at default
- under "Sample Generation", klick on "Generate"
--> PI first reserves 90Gigabytes of RAM, computes view property Median, then tries to compute view property MAD, then throws the error:
"Variant::ToDouble(): Invalid conversion from invalid type"
This seems to be some kind of type overflow. It is fairly easy reproducable with that image. The image is about 14.5Gigabytes in size, so it would be a real challenge to upload it for reproduction.
If I crop the image down to 54140x19062 pixels, DBE works fine.
I know I'm really pushing the envelope here, but PixInsight has some beautiful tools, that HAVE to be used!
Hope you can help.
Kind Regards,
Silvio.