-
Notifications
You must be signed in to change notification settings - Fork 25
Manual Labeling GUI
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.
Figure1. Stage 1 of the manual labeling software
Figure2. Stage 2 of the manual labeling software