Author Topic: Trouble running old script: HDRWaveletTransform is not defined  (Read 1228 times)

Offline gvanhau

  • PixInsight Old Hand
  • ****
  • Posts: 345
    • View Profile
Hello
Running an old script, Y got this error:
line 44: ReferenceError: HDRWaveletTransform is not defined

Is there a replacement for this function in newer releases?

Regards
Geert
Geert Vanhauwaert

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • View Profile
    • Próxima Sur
Re: Trouble running old script: HDRWaveletTransform is not defined
« Reply #1 on: 2015 October 04 14:10:47 »
Hi Geert, HDRWaveletTransform module was replaced by HDRMultiscaleTransform module. May be if you edit the script and replace the name in line 44 it works. (Also replace the name in every line that it appears)

Saludos, Alejandro.

Offline gvanhau

  • PixInsight Old Hand
  • ****
  • Posts: 345
    • View Profile
Re: Trouble running old script: HDRWaveletTransform is not defined
« Reply #2 on: 2015 October 06 05:24:20 »
Tks Alejandro.

I did this before, but I feel the the script is not working as it should. I think there must be something aditional be done than only changing the function name.
I think there are some parameters missing for the new function.  The new HDRMultiscaleTransform User interface has some parameters that were not there in the old HDRWavelet transform.


Geert
Geert Vanhauwaert

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • View Profile
    • Próxima Sur
Re: Trouble running old script: HDRWaveletTransform is not defined
« Reply #3 on: 2015 October 07 19:45:36 »
Hi Geert,

I think there must be something aditional be done than only changing the function name.
That is quite likely.
I remember that I have changed that in ClassicStarMask script and it works. What script are you referring?

Saludos, Alejandro.