//javadoc: KAZE::create(extended, upright, threshold, nOctaves) public static KAZE create(bool extended, bool upright, float threshold, int nOctaves) { #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER KAZE retVal = KAZE.__fromPtr__(features2d_KAZE_create_12(extended, upright, threshold, nOctaves)); return(retVal); #else return(null); #endif }
//javadoc: KAZE::create() public static KAZE create() { #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER KAZE retVal = KAZE.__fromPtr__(features2d_KAZE_create_16()); return(retVal); #else return(null); #endif }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.KAZE)) { LogError("owner is not initialized. Add Action \"newKAZE\"."); return; } OpenCVForUnity.Features2dModule.KAZE wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.KAZE, OpenCVForUnity.Features2dModule.KAZE>(owner); wrapped_owner.setUpright(upright.Value); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.KAZE)) { LogError("owner is not initialized. Add Action \"newKAZE\"."); return; } OpenCVForUnity.Features2dModule.KAZE wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.KAZE, OpenCVForUnity.Features2dModule.KAZE>(owner); storeResult.Value = wrapped_owner.getNOctaveLayers(); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.KAZE)) { LogError("owner is not initialized. Add Action \"newKAZE\"."); return; } OpenCVForUnity.Features2dModule.KAZE wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.KAZE, OpenCVForUnity.Features2dModule.KAZE>(owner); storeResult.Value = wrapped_owner.getExtended(); Fsm.Event(storeResult.Value ? trueEvent : falseEvent); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.KAZE)) { LogError("owner is not initialized. Add Action \"newKAZE\"."); return; } OpenCVForUnity.Features2dModule.KAZE wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.KAZE, OpenCVForUnity.Features2dModule.KAZE>(owner); if (!(storeResult.Value is OpenCVForUnityPlayMakerActions.Double)) { storeResult.Value = new OpenCVForUnityPlayMakerActions.Double(); } ((OpenCVForUnityPlayMakerActions.Double)storeResult.Value).wrappedObject = wrapped_owner.getThreshold(); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.KAZE)) { LogError("owner is not initialized. Add Action \"newKAZE\"."); return; } OpenCVForUnity.Features2dModule.KAZE wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.KAZE, OpenCVForUnity.Features2dModule.KAZE>(owner); if (!(threshold.Value is OpenCVForUnityPlayMakerActions.Double)) { LogError("threshold is not initialized. Add Action \"newDouble\"."); return; } System.Double wrapped_threshold = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Double, System.Double>(threshold); wrapped_owner.setThreshold(wrapped_threshold); }
public KAZE(OpenCVForUnity.Features2dModule.KAZE nativeObj) : base(nativeObj) { }
// // C++: static Ptr_KAZE cv::KAZE::create(bool extended = false, bool upright = false, float threshold = 0.001f, int nOctaves = 4, int nOctaveLayers = 4, KAZE_DiffusivityType diffusivity = KAZE::DIFF_PM_G2) // /** * The KAZE constructor * * param extended Set to enable extraction of extended (128-byte) descriptor. * param upright Set to enable use of upright descriptors (non rotation-invariant). * param threshold Detector response threshold to accept point * param nOctaves Maximum octave evolution of the image * param nOctaveLayers Default number of sublevels per scale level * param diffusivity Diffusivity type. DIFF_PM_G1, DIFF_PM_G2, DIFF_WEICKERT or * DIFF_CHARBONNIER * return automatically generated */ public static KAZE create(bool extended, bool upright, float threshold, int nOctaves, int nOctaveLayers, int diffusivity) { return(KAZE.__fromPtr__(features2d_KAZE_create_10(extended, upright, threshold, nOctaves, nOctaveLayers, diffusivity))); }
/** * The KAZE constructor * * DIFF_CHARBONNIER * return automatically generated */ public static KAZE create() { return(KAZE.__fromPtr__(features2d_KAZE_create_16())); }
/** * The KAZE constructor * * param extended Set to enable extraction of extended (128-byte) descriptor. * DIFF_CHARBONNIER * return automatically generated */ public static KAZE create(bool extended) { return(KAZE.__fromPtr__(features2d_KAZE_create_15(extended))); }
/** * The KAZE constructor * * param extended Set to enable extraction of extended (128-byte) descriptor. * param upright Set to enable use of upright descriptors (non rotation-invariant). * DIFF_CHARBONNIER * return automatically generated */ public static KAZE create(bool extended, bool upright) { return(KAZE.__fromPtr__(features2d_KAZE_create_14(extended, upright))); }
/** * The KAZE constructor * * param extended Set to enable extraction of extended (128-byte) descriptor. * param upright Set to enable use of upright descriptors (non rotation-invariant). * param threshold Detector response threshold to accept point * DIFF_CHARBONNIER * return automatically generated */ public static KAZE create(bool extended, bool upright, float threshold) { return(KAZE.__fromPtr__(features2d_KAZE_create_13(extended, upright, threshold))); }
/** * The KAZE constructor * * param extended Set to enable extraction of extended (128-byte) descriptor. * param upright Set to enable use of upright descriptors (non rotation-invariant). * param threshold Detector response threshold to accept point * param nOctaves Maximum octave evolution of the image * DIFF_CHARBONNIER * return automatically generated */ public static KAZE create(bool extended, bool upright, float threshold, int nOctaves) { return(KAZE.__fromPtr__(features2d_KAZE_create_12(extended, upright, threshold, nOctaves))); }