This code is part of a bigger workflow, this is only the MATLAB® portion separated here to include in the MATLAB® file exchange, all documentation relating to this MATLAB® code can be found there.
Link to main Workflow repository: https://github.com/jpgsantos/Subcellular_workflow