Ejemplo n.º 1
0
        public void Raster_FindPattern_Self_Pixel()
        {
            var raster = new UInt32[]
            {
                UInt32.MaxValue,
            }.AsRaster2D(1);

            var predicate = raster.RasterMatchAtOffsetPredicateBinary(0);

            var setMatch = raster.FindSetMatch(predicate)?.ToArray();

            Assert.AreEqual(1, setMatch.Length, "match count");
        }