示例#1
0
        public static bool HLReconstructionNecessary(SWIGTYPE_p_LUTu histRedRaw, SWIGTYPE_p_LUTu histGreenRaw, SWIGTYPE_p_LUTu histBlueRaw)
        {
            bool ret = libPhotoAssistantImageProcessingPINVOKE.ToneCurveParams_HLReconstructionNecessary(SWIGTYPE_p_LUTu.getCPtr(histRedRaw), SWIGTYPE_p_LUTu.getCPtr(histGreenRaw), SWIGTYPE_p_LUTu.getCPtr(histBlueRaw));

            if (libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Pending)
            {
                throw libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#2
0
 public virtual void computeHistogramAutoWB(SWIGTYPE_p_double avg_r, SWIGTYPE_p_double avg_g, SWIGTYPE_p_double avg_b, SWIGTYPE_p_int n, SWIGTYPE_p_LUTu histogram, int compression)
 {
     libPhotoAssistantImageProcessingPINVOKE.ImageDatas_computeHistogramAutoWB(swigCPtr, SWIGTYPE_p_double.getCPtr(avg_r), SWIGTYPE_p_double.getCPtr(avg_g), SWIGTYPE_p_double.getCPtr(avg_b), SWIGTYPE_p_int.getCPtr(n), SWIGTYPE_p_LUTu.getCPtr(histogram), compression);
     if (libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Pending)
     {
         throw libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_LUTu obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }