Commit 11386ce8 authored by Walt Mankowski's avatar Walt Mankowski

add all the tracks on the first frame to the same extended family

parent 6aa69a43
% MultiTreeAllTracks.m - Add all tracks on a frame to the same extended
% family
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Copyright 2011 Andrew Cohen, Eric Wait and Mark Winter
%
% This file is part of LEVer - the tool for stem cell lineaging. See
% https://pantherfile.uwm.edu/cohena/www/LEVer.html for details
%
% LEVer is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% LEVer is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with LEVer in file "gnu gpl v3.txt". If not, see
% <http://www.gnu.org/licenses/>.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function MultiTreeAllTracks(t)
global HashedCells CellTracks CellFamilies
trackIDs = [HashedCells{t}.trackID];
familyIDs = [CellTracks(trackIDs).familyID];
[CellFamilies(familyIDs).extFamily] = deal(familyIDs);
end
......@@ -202,6 +202,9 @@ function [errStatus,tSeg,tTrack] = SegAndTrackDataset(numProcessors, segArgs)
return;
end
%% Add all the families in the first frame to the same extended family
Families.MultiTreeAllTracks(1);
fprintf('Done\n');
errStatus = '';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment