Hi Dave:
You must read about operations on any programing language. Anyway we only use simplest operations usually.
+ is sum, - is substrac, * is multiply, / is division
If you want x raised to y you must use x^y, and so on.
If you click Pixelmath Edit button it opens Pixelmath Expression Editor, in the right pannel you will see Functions, Operators and Punctuators. Under Operators you will see all Pixelmath operators.
One of them is ~ that means invert.
In Step2 you must multiply Original Image (clonned) by the inverted of the Small Scales Image ie the image generated in Step 1. Pixelmath knows what to do
.
After Atrous I do a CurvesTrans like this aprox.
See your m97 Image06 on Filckr
Best. Silvercup