public SWIGTYPE_p_Imagefloat tofloat() { global::System.IntPtr cPtr = libPhotoAssistantImageProcessingPINVOKE.Image16_tofloat(swigCPtr); SWIGTYPE_p_Imagefloat ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Imagefloat(cPtr, false); return(ret); }
public void Apply(SWIGTYPE_p_Imagefloat pImg, int preferredIlluminant, string workingSpace, ColorTemp wb, SWIGTYPE_p_double pre_mul, SWIGTYPE_p_a_3__double camMatrix, bool useToneCurve, bool applyHueSatMap, bool applyLookTable) { libPhotoAssistantImageProcessingPINVOKE.DCPProfile_Apply__SWIG_0(swigCPtr, SWIGTYPE_p_Imagefloat.getCPtr(pImg), preferredIlluminant, workingSpace, ColorTemp.getCPtr(wb), SWIGTYPE_p_double.getCPtr(pre_mul), SWIGTYPE_p_a_3__double.getCPtr(camMatrix), useToneCurve, applyHueSatMap, applyLookTable); if (libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Pending) { throw libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Imagefloat obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }