示例#1
0
        public void CombineMapsBW()
        {
            var result = ImageTools.CombineMapsBW(new Image <Gray, byte>[] {
                new Image <Gray, byte>(Properties.Resources.CombineBW1),
                new Image <Gray, byte>(Properties.Resources.CombineBW2)
            }).ToBitmap();

            var expected = Properties.Resources.CombineBWresult;

            var actual = result;

            Assert.IsTrue(CompareBitmaps(expected, actual));
        }