예제 #1
0
 public void saveLuma(string path)
 {
     using (var f = File.Create(path))
     {
         ReadOnlySpan <byte> src = span.Slice(0, stride * size.cy);
         TrueVision.saveGrayscale(f, src, size, stride);
     }
 }
예제 #2
0
        public bool IsSpotted(int x, int y, TeamData team)
        {
            var index = TeamLookup[team];

            return(TrueVision.GetBit(x, y, index));
        }