Author Topic: HDR Crashes  (Read 3491 times)

Offline mcintyre_sj

  • Newcomer
  • Posts: 41
HDR Crashes
« on: 2010 February 18 13:17:16 »
I first successfully ran the HDRScript with the default settings to combine 3 fts files generated from PI itself. The files are originally 3 DSS stacks of different exposures for M42. HDR worked although i am not happy with the results. (i will post a second thread for HDR help)

So now i am trying to play with the parameters and its crashing.

Error message is:
*** Error [000]: c:/.../HDCCompoistion.js LIne 399 at address 14002CBA3 with exception code C0000005.
Access violoationL invalid memorhy read operation at address FFFFFFFFFFFFFFF

I had adjusted the hightlight and low lights. Up'ed the mast to 4pixels and set the mask growth to 2.

I also enabled postprocessing options with the defaults: balance .0005, HDRWT Layers 6, interations 1, Enhance colors checked.

I am not sure it matters with all this Java stuff, but i am running Windows 7 with 4GB or ram.


Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: HDR Crashes
« Reply #1 on: 2010 February 19 03:00:13 »
Hi,

Thank you for reporting this. I'll revise the script and will try to find where the problem is.

Anyway, we plan on reimplementing this script as a module written in C++/PCL. As a module, the HDR composition process will work much faster and will be completely stable.

Quote
I also enabled postprocessing options with the defaults: balance .0005, HDRWT Layers 6, interations 1, Enhance colors checked.

Better don't enable HDRWT in the script, as it will complicate script execution. I'd apply HDRWT after HDR composition, using the HDRWaveletTransform tool.

Quote
I am not sure it matters with all this Java stuff, but i am running Windows 7 with 4GB or ram.

No problem at all with your machine.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline mcintyre_sj

  • Newcomer
  • Posts: 41
Re: HDR Crashes
« Reply #2 on: 2010 February 19 17:47:55 »
I ran into two other problems.
1) warning, i think it was line 177, about an assigment to an undeclared variable. Sorry i didn't really take note of it.

2) error on line 343, about an array index being out or range. This happens when i set the hightlight low limit too high. Looking at the script, i can't see why that would be the case as the only array script is the number of channels. Oh well. i'll leave it to you to figure out.