Skip to content
Snippets Groups Projects
Commit 049d8018 authored by ac_22's avatar ac_22
Browse files

processMovie - timing in constants.processInfo

parent 3f9358a8
Branches
No related tags found
No related merge requests found
function tProcess=processMovie(strDB) function processInfo=processMovie(strDB)
tProcess=[]; processInfo=[];
tx=tic(); tx=tic();
Batch.batchSegment(strDB,[],false); Batch.batchSegment(strDB,[],false);
tProcess.tBatch=toc(tx); processInfo.tBatch=toc(tx);
tx=tic(); tx=tic();
Batch.batchTrack(strDB); Batch.batchTrack(strDB);
tProcess.tTrack1=toc(tx); processInfo.tTrack1=toc(tx);
[conn,CONSTANTS]=openDB(strDB); [conn,CONSTANTS]=openDB(strDB);
tx=tic(); tx=tic();
Smooth.Patch.patch11(conn); Smooth.Patch.patch11(conn);
Smooth.Patch.patch12(conn); Smooth.Patch.patch12(conn);
Smooth.Patch.patch21(conn); Smooth.Patch.patch21(conn);
tProcess.tPatch=toc(tx); processInfo.tPatch=toc(tx);
tx=tic(); tx=tic();
Smooth.Classify.goClassifyMitosis(conn,CONSTANTS); Smooth.Classify.goClassifyMitosis(conn,CONSTANTS);
Smooth.extFamily(conn); Smooth.extFamily(conn);
tProcess.tClassify=toc(tx); processInfo.tClassify=toc(tx);
tx=tic(); tx=tic();
Batch.batchFeatures(conn,CONSTANTS); Batch.batchFeatures(conn,CONSTANTS);
tProcess.tFeatures=toc(tx); processInfo.tFeatures=toc(tx);
processInfo.processDate=datetime('now');
CONSTANTS.processInfo=processInfo;
Write.updateConstants(conn,CONSTANTS);
close(conn) close(conn)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment