revanalyzer.generators.fdmss_generator.run_fdmss
- revanalyzer.generators.fdmss_generator.run_fdmss(image, direction, datadir, outputdir, n_threads=1, resolution=1.0, show_time=False)
Running FDMSS solver for an initial image.
Input:
image (str): name of binary (‘uint8’) file representing the image;
direction (str): ‘x’, ‘y’, ‘z’ or ‘all’. If label of this parameter is ‘all’, all 3 possible flow directions are considered;
datadir (str): path to the folder containing image;
outputdir (str): path to the output folder containing generated data;
n_threads (int): number of threads used by FDMSS, default: 1;
resolution (float): resolution of studied sample (micrometers), default: 1;
show_time (bool): Added to monitor time cost for large images, default: False.