public void GetImage(CVImageDoubleBuffer target) { lock (target.BackLock) { FLink.GetImage(target.BackImage); } }
public override void Initialise() { FNeedsConversion = ImageUtils.NeedsConversion(FInput.ImageAttributes.ColourFormat, out FConvertedFormat); if (FNeedsConversion) { FBufferConverted = new CVImageDoubleBuffer(); FBufferConverted.Initialise(new CVImageAttributes(FInput.ImageAttributes.Size, FConvertedFormat)); } FNeedsTexture = true; }
public override void Allocate() { FNeedsConversion = ImageUtils.NeedsConversion(FInput.ImageAttributes.ColourFormat, out FConvertedFormat); if (FNeedsConversion) { FBufferConverted = new CVImageDoubleBuffer(); FBufferConverted.Initialise(new CVImageAttributes(FInput.ImageAttributes.Size, FConvertedFormat)); } FNeedsTexture = true; }