/** * @brief Return the stream resolution of the specified stream type. * @param[in] type The stream type. * @return the stream resolution. */ public PXCMSizeI32 QueryImageSize(PXCMCapture.StreamType type) { PXCMSizeI32 size = new PXCMSizeI32(); PXCMCaptureManager_QueryImageSize(instance, type, ref size); return(size); }
internal static extern void PXCMCaptureManager_QueryImageSize(IntPtr putil, PXCMCapture.StreamType type, ref PXCMSizeI32 size);
/* * UpScaleDepth: Resize the depth map of a given Sample according to its color image size. * High quality upscaling of depth image based on color image. * sample: input image color+depth * Returns a Depth map that matches the color image resolution. */ public PXCMPhoto DepthResize(PXCMPhoto sample, PXCMSizeI32 size) { IntPtr image = PXCMEnhancedPhoto_DepthResize(instance, sample.instance, size); return(image != IntPtr.Zero ? new PXCMPhoto(image, true) : null); }
/* UpScaleDepth: Resize the depth map of a given Sample according to its color image size. High quality upscaling of depth image based on color image. sample: input image color+depth Returns a Depth map that matches the color image resolution. */ public PXCMPhoto DepthResize(PXCMPhoto sample, PXCMSizeI32 size) { IntPtr image = PXCMEnhancedPhoto_DepthResize(instance, sample.instance, size); return image != IntPtr.Zero ? new PXCMPhoto(image, true) : null; }
internal static extern IntPtr PXCMEnhancedPhoto_DepthResize(IntPtr ep, IntPtr sample, PXCMSizeI32 size);
/** @brief Return the stream resolution of the specified stream type. @param[in] type The stream type. @return the stream resolution. */ public PXCMSizeI32 QueryImageSize(PXCMCapture.StreamType type) { PXCMSizeI32 size = new PXCMSizeI32(); PXCMCaptureManager_QueryImageSize(instance, type, ref size); return size; }