SelectiveSearchSegmentationStrategyMultiple.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. //
  2. // This file is auto-generated. Please don't modify it!
  3. //
  4. #pragma once
  5. #ifdef __cplusplus
  6. //#import "opencv.hpp"
  7. #import "opencv2/ximgproc.hpp"
  8. #import "opencv2/ximgproc/segmentation.hpp"
  9. #else
  10. #define CV_EXPORTS
  11. #endif
  12. #import <Foundation/Foundation.h>
  13. #import "SelectiveSearchSegmentationStrategy.h"
  14. @class SelectiveSearchSegmentationStrategy;
  15. NS_ASSUME_NONNULL_BEGIN
  16. // C++: class SelectiveSearchSegmentationStrategyMultiple
  17. /**
  18. * Regroup multiple strategies for the selective search segmentation algorithm
  19. *
  20. * Member of `Ximgproc`
  21. */
  22. CV_EXPORTS @interface SelectiveSearchSegmentationStrategyMultiple : SelectiveSearchSegmentationStrategy
  23. #ifdef __cplusplus
  24. @property(readonly)cv::Ptr<cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategyMultiple> nativePtrSelectiveSearchSegmentationStrategyMultiple;
  25. #endif
  26. #ifdef __cplusplus
  27. - (instancetype)initWithNativePtr:(cv::Ptr<cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategyMultiple>)nativePtr;
  28. + (instancetype)fromNative:(cv::Ptr<cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategyMultiple>)nativePtr;
  29. #endif
  30. #pragma mark - Methods
  31. //
  32. // void cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategyMultiple::addStrategy(Ptr_SelectiveSearchSegmentationStrategy g, float weight)
  33. //
  34. /**
  35. * Add a new sub-strategy
  36. * @param g The strategy
  37. * @param weight The weight of the strategy
  38. */
  39. - (void)addStrategy:(SelectiveSearchSegmentationStrategy*)g weight:(float)weight NS_SWIFT_NAME(addStrategy(g:weight:));
  40. //
  41. // void cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategyMultiple::clearStrategies()
  42. //
  43. /**
  44. * Remove all sub-strategies
  45. */
  46. - (void)clearStrategies NS_SWIFT_NAME(clearStrategies());
  47. @end
  48. NS_ASSUME_NONNULL_END