Features.ImageInfo.ImageInfo C# (CSharp) 메소드

ImageInfo() 공개 메소드

DeepCopy Constructor
public ImageInfo ( ImageInfo from ) : System
from ImageInfo Copied Source
리턴 System
        public ImageInfo(ImageInfo from)
        {
            _disposed = false;
            // copy path
            _path = from.getPath();
            // copy gray image
            _imGray = new Bitmap(from.getIm());
            // copy histogram
            _hist = from.getHist() == null ? null : copyHist(from.getHist());
            // copy _imf
            if (from.getImF() != null)
            {
                _imf = new float[from.getImF().Length];
                from.getImF().CopyTo(_imf, 0);
            }
            else { _imf = null; }
            // copy _imb
            if (from.getImF() != null)
            {
                _imb = new byte[from.getImb().Length];
                from.getImb().CopyTo(_imb, 0);
            }
            else { _imb = null; }
            // copy size
            _width = from.Width;
            _height = from.Height;
        }

Same methods

ImageInfo::ImageInfo ( ImageInfo origIm, System.Drawing.Size newSize ) : System
ImageInfo::ImageInfo ( System.Drawing.Bitmap imGray ) : System
ImageInfo::ImageInfo ( string path ) : System