Mercurial > hg > octave-image
changeset 114:36260c1a5884
Uses uint8 to save some temporal memory (suggested by David Bateman)
author | jmones |
---|---|
date | Fri, 03 Sep 2004 17:12:36 +0000 |
parents | fd3207ef9b7d |
children | ae08274e7790 |
files | poly2mask.m |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/poly2mask.m +++ b/poly2mask.m @@ -62,7 +62,7 @@ endif ## create output matrix - BW=logical(zeros(m,n)); + BW=logical(zeros(m,n,"uint8")); ## close polygon if needed if((x(1)!=x(length(x)))||(y(1)!=y(length(y)))) @@ -235,6 +235,9 @@ % % $Log$ +% Revision 1.4 2004/09/03 17:12:36 jmones +% Uses uint8 to save some temporal memory (suggested by David Bateman) +% % Revision 1.3 2004/09/03 13:32:07 jmones % Work with logical arrays from BW creation %