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

foci-annotator

  • Clone with SSH
  • Clone with HTTPS
  • Vedrana's avatar
    vand authored
    f80a4a94
    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 radius by one (starts with five).
    • Clicking adds annotations (if in view limits and outside a previously added annotation).
    • D (shift-d) allows deleting one annotation by clicking close (less than five times radius) to it.
    • Zooming and panning works as normal in Matlab, but must be exited to continue adding annotations.
    • 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).