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

Allow reductions in making polygons

parent 071b71fe
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ endCoords_rcz = Utils.SwapXY_RC(max(pixelList_xy,[],1)); ...@@ -38,7 +38,7 @@ endCoords_rcz = Utils.SwapXY_RC(max(pixelList_xy,[],1));
startPadded = startCoords_rcz-PADDING; startPadded = startCoords_rcz-PADDING;
endPadded = endCoords_rcz+PADDING; endPadded = endCoords_rcz+PADDING;
roiIm = false(endPadded-startPadded+1); roiIm = false(ceil(endPadded-startPadded+1));
paddedPixelList_rcz = Utils.SwapXY_RC(pixelList_xy)-startPadded+1; paddedPixelList_rcz = Utils.SwapXY_RC(pixelList_xy)-startPadded+1;
indList = Utils.CoordToInd(size(roiIm),paddedPixelList_rcz); indList = Utils.CoordToInd(size(roiIm),paddedPixelList_rcz);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment