public CVImageWithCapabilities(int width, int height, CVDepth depth, int channels) : base(width, height, depth, channels) { }
private void Create(int width, int height, CVDepth depth, int channels) { image = PInvoke.cvCreateImage(new __CvSize(width, height), (int)depth, channels); CVUtils.CheckLastError(); created = true; }
public CVImage(int width, int height, CVDepth depth, int channels) { Create(width, height, depth, channels); }
private void Create(int width, int height, CVDepth depth, int channels) { image = PInvoke.cvCreateImage(new __CvSize(width, height), (int) depth, channels); CVUtils.CheckLastError(); created = true; }