|
Hello all,
I have to deconvolve a huge amount of cropped images, so I am looking for a way to do so in batch mode using the Iterative Deconvolve 3D plugin.
Currently this is the macro I have written:
open("C:\\Users\\PSFJAO.tif");
open();
selectImage(2);
convolved=getTitle();
run("Iterative Deconvolve 3D", "image=convolved point=PSFJAO.tif output=Deconvolved normalize perform wiener=0.000 low=1.0 z_direction=1.0 maximum=20 terminate=0.010");
selectWindow("Deconvolved_20");
saveAs("tiff")
run("Close All");
For some reason, the resulting image (Dconvolved_20) shows the PSF, so it seems not to consider the convolved image to perform the process.
It would be nice if someone can help me with this, as I am new with the macro writing.
All the best
Nicole
|