Ejemplo n.º 1
0
        public LazyIplImage Clone()
        {
            var clone = new LazyIplImage();

            if (this.stream != null)
            {
                var stream = new System.IO.MemoryStream();
                MiscUtil.IO.StreamUtil.Copy(this.stream, stream);
                clone.stream = stream;
            }

            clone.ipl = this.ipl == null ? null : this.ipl.Clone();

            return(clone);
        }
Ejemplo n.º 2
0
        public LazyIplImage Clone()
        {
            var clone = new LazyIplImage();

            if (this.stream != null)
            {
                var stream = new System.IO.MemoryStream();
                MiscUtil.IO.StreamUtil.Copy(this.stream, stream);
                clone.stream = stream;
            }

            clone.ipl = this.ipl == null ? null : this.ipl.Clone();

            return clone;
        }