Пример #1
0
        public Img GetScaled(double scale)
        {
            var size   = GetScaledCvSize(GetCvSize(), scale);
            var scaled = MT.Resize(size);

            return(new Img(scaled));
        }
Пример #2
0
        public Img GetResized(SysSize size)
        {
            var resized = MT.Resize(size.ToCvSize());

            return(new Img(resized));
        }