bpass_mh#
Convert *.nd2 file to image sequence and apply bandpass filter to each image. Save this image sequence in a subfolder under the same folder as the *.nd2 file with corresponding name as the *.nd2 file name. An additional histogram matching is performed so that the processed image looks similar to the original image.
Syntax
python bpass_mh.py folder saveDir bpassLow bpassHigh
folder = E:GithubPythonCorrelation est_imagesixdiv_autocorr
aw * saveDir = E:GithubPythonCorrelation est_imagesixdiv_autocorrp_mh * bpassLow = 3 * bpassHigh = 500
Edit
Jan 05, 2023 – Adapt myimagelib import style.
Feb 08, 2023 – Rewrite in function wrapper form, to make autodoc work properly. (autodoc import the script and execute it, so anything outside
if __name__=="__main__"
will be executed, causing problems)