/* 
	        EnhanceDepth: enhance the depth image quality by filling holes and denoising
	        outputs the enhanced depth image
	        sample: is the input color & depth sample
	        depthQuality: Depth fill Quality: HIGH or LOW for post or realtime processing respectively
	        Note: The application must release the returned enhanced depth image
	    */
        public PXCMPhoto EnhanceDepth(PXCMPhoto sample, DepthFillQuality depthQuality)
        {
            IntPtr image = PXCMEnhancedPhoto_EnhanceDepth(instance, sample.instance, depthQuality);
            return image != IntPtr.Zero ? new PXCMPhoto(image, true) : null;
        }
    /*
     *  EnhanceDepth: enhance the depth image quality by filling holes and denoising
     *  outputs the enhanced depth image
     *  sample: is the input color & depth sample
     *  depthQuality: Depth fill Quality: HIGH or LOW for post or realtime processing respectively
     *  Note: The application must release the returned enhanced depth image
     */
    public PXCMPhoto EnhanceDepth(PXCMPhoto sample, DepthFillQuality depthQuality)
    {
        IntPtr image = PXCMEnhancedPhoto_EnhanceDepth(instance, sample.instance, depthQuality);

        return(image != IntPtr.Zero ? new PXCMPhoto(image, true) : null);
    }
 internal static extern IntPtr PXCMEnhancedPhoto_EnhanceDepth(IntPtr ep, IntPtr sample, DepthFillQuality depthQuality);