Commit 8bd4b087 authored by ac32's avatar ac32

min_area_pixels 4x in segment, 10 pix in segReduce

parent 0a4c72be
......@@ -109,7 +109,7 @@ end
% final CC pass
for n=1:num
idx=find(L==n);
if length(idx)<min_area_pixels
if length(idx)<4*min_area_pixels
continue
end
newCell=Segment.FrameSegment_texture_create(idx,size(bw),chan,t);
......
......@@ -7,7 +7,7 @@ bwDilate=bwLog;
qL=[];
% nDimension is 2 for 2-D, 3 for 3-D used for concat'ing
nDimension=length(size(bw));
minKernelArea=floor(min_area_pixels/2)+1;
minKernelArea=10; %floor(min_area_pixels/4)+1;
for nDilate=1:2*min_radius_pixels
bwDilate=bwmorph(bwDilate,'dilate');
......
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