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); } }
public bool IsSpotted(int x, int y, TeamData team) { var index = TeamLookup[team]; return(TrueVision.GetBit(x, y, index)); }