Color mask script doesn't run

Linwood

Well-known member
i have never run this before, so I may be running it incorrectly, but it looks like the program will not run with the new Pixelmath:


run --execute-mode=auto "C:/Program Files/PixInsight/src/scripts/ColorMask/ColorMask.js"
Processing script file: C:/Program Files/PixInsight/src/scripts/ColorMask/ColorMask.js
PixelMath: Processing view: Image04
*** Error: Disassociated subexpressions:

iif(CIEh($T)<=0,~mtf((CIEh($T)+1-0.8333333333333334)/0.16666666666666663,0)*CIEc($T),iif(CIEh($T)<=0.16666666666666666,~mtf((0.16666666666666666-CIEh($T))/0.16666666666666666,0)*CIEc($T),iif(CIEh($T)<0.8333333333333334,0,~mtf((CIEh($T)-0.8333333333333334)/0.16666666666666663,0)*CIEc($T))))

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
<* failed *>
ColorMask: 0.39 s


I'm on Windows 10 Pro x 64, latest pixinsight as of about 15 minutes ago, 1.8.8-7, I don't know how to show the version of pixelmath but a new version came down just a few minutes ago.
 
yes it appears the new pixelmath parser is expecting spaces between the various arguments to functions. other scripts have broken as well. hopefully juan will look into this since it should be morning time in spain about now.

rob
 
This bug is now fixed in version 1.8.1 of PixelMath, which I have just released as an update. Sorry for the inconvenience.
This report is duplicate of:
 
Back
Top