Skip to content

Manual Labeling GUI

soltanianzadeh edited this page Mar 28, 2019 · 1 revision

Our developed GUI for manual marking of videos consists of two stages, which can be launched by running demo_ManualLabeling.m in MATLAB. In stage 1, the GUI provides simultaneous visualization of the video overlaid with segmented neurons’ masks on two separate panels (Figure 1). On the left panel the background corrected video and in the right panel a summary image of choice (mean, max-projected, or correlation image) are displayed. In stage 2, the GUI shows the zoomed-in region of the video for each segmented neuron in three panels (Figure 2), which includes the background corrected video, the mean image, and the Δ𝐹/𝐹 trace of the average pixel intensities within the neuron’s mask. The grader can choose to keep the mask by clicking the Yes button, or to discard the mask by pressing the No button. The grader also has the option to manually determine the spike times by clicking the Spike Times button and then click on the trace at the spike times.

The software will save three .mat files: Added_name.mat, ManualIDs_traces_name.mat, and FinalMasks_name.mat, The first file contains all the drawn masks and the final set of verified neuron masks are saved in FinalMasks_name.mat. Stage 1 of the manual labeling software Figure1. Stage 1 of the manual labeling software

Stage2 of the manual labeling software Figure2. Stage 2 of the manual labeling software

Clone this wiki locally