Пример #1
0
        //
        // C++:  Ptr_GrayworldWB cv::xphoto::createGrayworldWB()
        //

        //javadoc: createGrayworldWB()
        public static GrayworldWB createGrayworldWB()
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            GrayworldWB retVal = GrayworldWB.__fromPtr__(xphoto_Xphoto_createGrayworldWB_10());

            return(retVal);
#else
            return(null);
#endif
        }
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.GrayworldWB))
            {
                LogError("owner is not initialized. Add Action \"newGrayworldWB\".");
                return;
            }
            OpenCVForUnity.XphotoModule.GrayworldWB wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.GrayworldWB, OpenCVForUnity.XphotoModule.GrayworldWB>(owner);

            storeResult.Value = wrapped_owner.getSaturationThreshold();
        }
Пример #3
0
 public GrayworldWB(OpenCVForUnity.XphotoModule.GrayworldWB nativeObj) : base(nativeObj)
 {
 }