Commit 0a990728 authored by Andrew Cohen's avatar Andrew Cohen

fill kernel holes on segreduce, built matlabpolldb

parent b9a3636c
......@@ -172,7 +172,7 @@ if bEnsemble
end
tElapsed=toc;
sz=sprintf('segmented frame %d found %d hulls, useCuda=%d, time=%f\n',t,length(Cells),USE_CUDA,tElapsed);
sz=sprintf('segmented frame %d found %d hulls, useCuda=%d, minRadius=%f time=%f\n',t,length(Cells),USE_CUDA,segParams.minimumRadius_um,tElapsed);
ljsLog(sz,3);
if DRAW
title([num2str(tElapsed,'%0.0f') 'seconds']);
......
......@@ -16,6 +16,7 @@ bwOut=bw;
nIter=pi*max(min_radius_pixels)/2;
for nDilate=1:nIter
bwKernels=bwOut&~bwLog;
bwKernels=imfill(bwKernels,'holes');
bwKernels=Segment.aiAreaOpen(bwKernels,0.5*min_radius_pixels);
L=bwlabeln(bwKernels);
......
No preview for this file type
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