Shear Correction Wrapper API

ImageDataIO.shear_correction_nrrd!Function
shear_correction_nrrd!(
    param_path::Dict, param::Dict, ch::Int, shear_params_dict::Dict;
    vmax::Int=1600, nrrd_in_key::String="path_dir_nrrd", nrrd_out_key::String="path_dir_nrrd_shearcorrect",
    MIP_out_key::String="path_dir_MIP_shearcorrect"
)

Applies shear correction to a dataset.

Arguments

  • param_path::Dict: Dictionary containing locations of input and output directories with NRRD files
  • param::Dict: Dictionary containing image dimension parameters x_range, y_range, z_range, and t_range
  • ch: Channel to apply shear correction to
  • shear_params_dict::Dict: Dictionary of shear correction parameters. If nonempty, those parameters will be used. If empty, it will be filled with the computed paramers.
  • vmax::Int (optional, default 1600): Contrast parameter for png files
  • nrrd_in_key::String (optional): Key in param_path containing input NRRD directory
  • NRRD_out_key::String (optional): Key in param_path containing output NRRD directory
  • MIP_out_key::String (optional): Key in param_path containing output MIP directory