Skip to content
Snippets Groups Projects
Commit 43c6b22c authored by Eric Wait's avatar Eric Wait
Browse files

Ensure that there are no huge convex hulls that are sent to the tracker.

parent 6fd4a3d4
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ stats = regionprops(bwIm,orgIm,'BoundingBox','PixelList','WeightedCentroid');
newHulls(length(stats)).label = -1;
for i=1:length(stats)
if (size(stats(i).PixelList,1) < minCellVol)
if (size(stats(i).PixelList,1)<minCellVol || size(stats(i).PixelList,1)>imageData.XDimension*imageData.YDimension)
continue;
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment