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

Ensure that there are no empty distances

parent edfa42ec
Branches
Tags
No related merge requests found
......@@ -11,6 +11,10 @@ for i=1:length(Hulls)
Hulls(i).distances(2) = min(distances(:));
Hulls(i).distances(3) = distanceImage(round(Hulls(i).centerOfMassOrg(1)),round(Hulls(i).centerOfMassOrg(2)),...
round(Hulls(i).centerOfMassOrg(3)),chan,Hulls(i).frame);
else
Hulls(i).distances(1) = -1;
Hulls(i).distances(2) = -1;
Hulls(i).distances(3) = -1;
end
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment