Пример #1
0
    /**
     *  @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);
    }
Пример #2
0
 internal static extern void PXCMCaptureManager_QueryImageSize(IntPtr putil, PXCMCapture.StreamType type, ref PXCMSizeI32 size);
Пример #3
0
    /*
     *  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);
    }
Пример #4
0
	    /* 
	        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;
        }
Пример #5
0
 internal static extern IntPtr PXCMEnhancedPhoto_DepthResize(IntPtr ep, IntPtr sample, PXCMSizeI32 size);
Пример #6
0
 /**
     @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;
 }
Пример #7
0
 internal static extern void PXCMCaptureManager_QueryImageSize(IntPtr putil, PXCMCapture.StreamType type, ref PXCMSizeI32 size);