Code: Select all
Visualization(0, 65535)
MultiscalehighPass(5, 6, 2, 1.46)
Are the above two functions available as script functions?
Or is it perhaps possible to run a macro from a script?
Code: Select all
fitsFiles = FindFiles(folder, "*.tif")
N = Count(fitsFiles)
for i = 1 to N
Image.Open(folder + fitsFiles{i})
' this does not work: Visualization(0, 65535)
' this does not work: MultiScaleHighPass(5, 6, 2, 1.46)
Image.SaveView(folder + "Scaled_and_MultiScaleHighPass\" + fitsFiles{i} + ".tiff")
Image.Close
next i