Author Topic: FFT registration script fails  (Read 3700 times)

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
FFT registration script fails
« on: 2011 May 09 14:14:14 »
Hi,

I believe this has already been reported a number of times, but I could not find a fix for this. The FFT registration script fails with:

Code: [Select]
...
*** Evaluating FFT translation:
FFT: 100%
Inverse FFT: 100%
Rescaling pixel values: 100%
*** Translation corrections:
dx :   +31.48 px
dy :   -13.66 px
*** Applying translation:
Translate dx=31.479, dy=-13.662, Bicubic Spline Interpolation, c=0.30: 100%
*** Error [000]: C:/PCL64_169/PixInsight/src/scripts/FFTRegistration.js, line 277: At address 000007FEFD83A49D with exception code C0000005 :
Access violation: invalid memory read operation at address 000000001579003F
Reading swap files...
513.32 MB/s

And yes, I probably need rotations.

Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: FFT registration script fails
« Reply #1 on: 2011 May 09 15:28:46 »
Yes... known issue.

Use the module I wrote instead.
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: FFT registration script fails
« Reply #2 on: 2011 May 10 00:55:03 »
Hi Carlos,

I was just hoping that there was a patch after all this time... Also, your module does not support rotation (AFAIK).

A question to you and Juan: Why do such modules not find their way into the official release (maybe as user provided modules)? After all, Carlos is a PTeam member, several users found his modules useful, and there should have been enough time for a code review? With the new update system, it should also not be difficult to deliver such modules between releases?

Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: FFT registration script fails
« Reply #3 on: 2011 May 10 06:45:40 »
Nope, no rotation. The rotation in the script also doesn't work very well. The reason is that the main routine in the FFTRegistration class is the one that needs to be improved. I implemented it, with a few extra features ;) So, until Juan fixes that in the PCL, we'll have to wait for FFT rotation and scalations.

BTW, the calls to the rotation and scalation routines have been wrote into my code, but commented until they work. So, once this is ready, it should be a matter of a day to get everything running.
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
(FIXED) FFT registration script fails
« Reply #4 on: 2011 June 01 00:26:04 »
Hi,

This bug has been fixed in PixInsight Core 1.7.0.696. The new version is now available as a regular update for Windows x86 and x64.

Thanks for your patience!
« Last Edit: 2011 June 01 00:38:30 by Juan Conejero »
Juan Conejero
PixInsight Development Team
http://pixinsight.com/