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

Features Bug Fix

parent 2d6abf9c
No related branches found
No related tags found
No related merge requests found
......@@ -196,7 +196,7 @@ function replaceIdx = checkMergeHulls(t, costMatrix, checkHulls, nextHulls, merg
return;
end
[mergeObj, mergeFeat, deleteCells] = Segmentation.CreateMergedCell(nextMergeHulls);
[mergeObj, deleteCells] = Segmentation.CreateMergedCell(nextMergeHulls);
if ( isempty(mergeObj) || isempty(deleteCells) )
return;
end
......@@ -204,7 +204,7 @@ function replaceIdx = checkMergeHulls(t, costMatrix, checkHulls, nextHulls, merg
replaceIdx = min(nextMergeHulls);
deleteCells = setdiff(nextMergeHulls, replaceIdx);
Hulls.SetHullEntries(replaceIdx, mergeObj, mergeFeat);
Hulls.SetHullEntries(replaceIdx, mergeObj);
for i=1:length(deleteCells)
Hulls.RemoveHull(deleteCells(i));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment