Skip to content
Snippets Groups Projects
Select Git revision
  • c1b81d42449cf05b002610124548fccebfe65cc3
  • master default protected
2 results

foci-annotator

  • Clone with SSH
  • Clone with HTTPS
  • vand's avatar
    vand authored
    c1b81d42
    History
    Name Last commit Last update
    data_folder
    mcode
    .gitignore
    README.md

    To run this code:

    • Download foci-annotator which contains two folders: mcode and data_folder.
    • Start matlab and navigate to foci-annotator/mcode.
    • Open and run annotation_example.m. This will start the GUI on 5 images provided in foci-annotator/data_folder.

    To annotate images:

    • Left-right arrows are used to change between images.
    • Up-down arrows are used to increase or decrease the radius by one (starts with five).
    • Clicking adds annotations (if within the view limits and outside a previously added annotation).
    • Pressing D (shift-d) allows deleting one annotation by clicking close (less than five times its radius) to it.
    • Zooming and panning works as normal in Matlab, but must be exited to continue adding annotations.
    • Pressing s saves annotations as a .mat file and a .txt file with csv formatted text. NOTE: previously saved files will be overwritten.

    Each row of the data contains one annotation given by: image number, transverse (x) coordinate, axial (z) coordinate, radius (in pixels).