// // C++: static Ptr_TransientAreasSegmentationModule cv::bioinspired::TransientAreasSegmentationModule::create(Size inputSize) // //javadoc: TransientAreasSegmentationModule::create(inputSize) public static TransientAreasSegmentationModule create(Size inputSize) { #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER TransientAreasSegmentationModule retVal = TransientAreasSegmentationModule.__fromPtr__(bioinspired_TransientAreasSegmentationModule_create_10(inputSize.width, inputSize.height)); return(retVal); #else return(null); #endif }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.TransientAreasSegmentationModule)) { LogError("owner is not initialized. Add Action \"newTransientAreasSegmentationModule\"."); return; } OpenCVForUnity.BioinspiredModule.TransientAreasSegmentationModule wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.TransientAreasSegmentationModule, OpenCVForUnity.BioinspiredModule.TransientAreasSegmentationModule>(owner); wrapped_owner.write(fs.Value); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.TransientAreasSegmentationModule)) { LogError("owner is not initialized. Add Action \"newTransientAreasSegmentationModule\"."); return; } OpenCVForUnity.BioinspiredModule.TransientAreasSegmentationModule wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.TransientAreasSegmentationModule, OpenCVForUnity.BioinspiredModule.TransientAreasSegmentationModule>(owner); wrapped_owner.setup(segmentationParameterFile.Value, applyDefaultSetupOnFailure.Value); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.TransientAreasSegmentationModule)) { LogError("owner is not initialized. Add Action \"newTransientAreasSegmentationModule\"."); return; } OpenCVForUnity.BioinspiredModule.TransientAreasSegmentationModule wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.TransientAreasSegmentationModule, OpenCVForUnity.BioinspiredModule.TransientAreasSegmentationModule>(owner); if (!(storeResult.Value is OpenCVForUnityPlayMakerActions.Size)) { storeResult.Value = new OpenCVForUnityPlayMakerActions.Size(); } ((OpenCVForUnityPlayMakerActions.Size)storeResult.Value).wrappedObject = wrapped_owner.getSize(); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.TransientAreasSegmentationModule)) { LogError("owner is not initialized. Add Action \"newTransientAreasSegmentationModule\"."); return; } OpenCVForUnity.BioinspiredModule.TransientAreasSegmentationModule wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.TransientAreasSegmentationModule, OpenCVForUnity.BioinspiredModule.TransientAreasSegmentationModule>(owner); if (!(inputToSegment.Value is OpenCVForUnityPlayMakerActions.Mat)) { LogError("inputToSegment is not initialized. Add Action \"newMat\"."); return; } OpenCVForUnity.CoreModule.Mat wrapped_inputToSegment = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Mat, OpenCVForUnity.CoreModule.Mat>(inputToSegment); wrapped_owner.run(wrapped_inputToSegment); }
public TransientAreasSegmentationModule(OpenCVForUnity.BioinspiredModule.TransientAreasSegmentationModule nativeObj) : base(nativeObj) { }
// // C++: static Ptr_TransientAreasSegmentationModule cv::bioinspired::TransientAreasSegmentationModule::create(Size inputSize) // /** * allocator * param inputSize : size of the images input to segment (output will be the same size) * return automatically generated */ public static TransientAreasSegmentationModule create(Size inputSize) { return(TransientAreasSegmentationModule.__fromPtr__(bioinspired_TransientAreasSegmentationModule_create_10(inputSize.width, inputSize.height))); }