Skip to content

fn searchClumpOnFrame log

Jose Alonso (mac) edited this page May 1, 2020 · 3 revisions

TUTORIAL: Search for a clump on a frame

One task that could arise from the analysis is the manual selection of clumps. This was addressed by the function searchClumponFrame.m, which works by allowing the user to select a clump from a frame that needs analysing. The code is simple enough, as long as the appropriate variables are on the workspace, namely, the handles structure that generates from phagosight, followed by the overlapping analysis of the clumps that can be seen on initscript.m.

The user calls the function:

[clumpcode, nucleionclump] = searchClumpOnFrame(handles, 48);

Which will prompt an instruction window:

instruction-prompt

The program loads the frame fr specified from handles.dataLa, and using the clumphandles.overlappingClumps variable, it displays the available clumps in the frame, which the user can click on (the function uses ginput).

available-clumps

In this example, the output would be clumpcode=uint64(8002) and nucleionclump=[7;8].

This information can then be used to analyse chunks of data to see interesting intervals for analysing the frames.

plotTracks(handles,2,nucleionclump)
Clone this wiki locally