neuropoly / axonseg

Segment axon and myelin from microscopy data. Written in Matlab.
MIT License
18 stars 12 forks source link

Matlab path? #57

Open GPana opened 3 years ago

GPana commented 3 years ago

Sorry for this, but I am not a coder! This is a bit awkward..

How do I add the folder code in the Matlab path?

How do I run the script AxonSeg?

Kind Regards,

George

alexfoias commented 3 years ago

Hi @GPana ,

  1. Download the latest release (3.4) of Axon Segmentation Toolbox : https://github.com/neuropoly/axonseg/releases
  2. Unzip the axonseg-3.4 archive file
  3. In the MATLAB - Command Window execute: folder = 'PATH_TO_UNZIPPED_axonseg-3.4' where PATH_TO_UNZIPPED_axonseg-3.4 is the path of the unzipped axonseg-3.4 archive
  4. In the MATLAB - Command Window execute: addpath(genpath(folder)); This command will add the scripts and subfolders to the MATLAB Environment
  5. Run AxonSeg. In the matlab command window execute: AxonSeg

You can consult our tutorial script under /as_tutorial.m

mathieuboudreau commented 3 years ago

Hi @GPana - I'd also like to chime in to say that this project isn't being actively used anymore, I'd recommend you check out our more up-to-date AxonDeepSeg project here for a more automated approach at axon/myelin segmentation.