FarnebackOpticalFlow.h 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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/video.hpp"
  8. #import "opencv2/video/tracking.hpp"
  9. #else
  10. #define CV_EXPORTS
  11. #endif
  12. #import <Foundation/Foundation.h>
  13. #import "DenseOpticalFlow.h"
  14. NS_ASSUME_NONNULL_BEGIN
  15. // C++: class FarnebackOpticalFlow
  16. /**
  17. * Class computing a dense optical flow using the Gunnar Farneback's algorithm.
  18. *
  19. * Member of `Video`
  20. */
  21. CV_EXPORTS @interface FarnebackOpticalFlow : DenseOpticalFlow
  22. #ifdef __cplusplus
  23. @property(readonly)cv::Ptr<cv::FarnebackOpticalFlow> nativePtrFarnebackOpticalFlow;
  24. #endif
  25. #ifdef __cplusplus
  26. - (instancetype)initWithNativePtr:(cv::Ptr<cv::FarnebackOpticalFlow>)nativePtr;
  27. + (instancetype)fromNative:(cv::Ptr<cv::FarnebackOpticalFlow>)nativePtr;
  28. #endif
  29. #pragma mark - Methods
  30. //
  31. // int cv::FarnebackOpticalFlow::getNumLevels()
  32. //
  33. - (int)getNumLevels NS_SWIFT_NAME(getNumLevels());
  34. //
  35. // void cv::FarnebackOpticalFlow::setNumLevels(int numLevels)
  36. //
  37. - (void)setNumLevels:(int)numLevels NS_SWIFT_NAME(setNumLevels(numLevels:));
  38. //
  39. // double cv::FarnebackOpticalFlow::getPyrScale()
  40. //
  41. - (double)getPyrScale NS_SWIFT_NAME(getPyrScale());
  42. //
  43. // void cv::FarnebackOpticalFlow::setPyrScale(double pyrScale)
  44. //
  45. - (void)setPyrScale:(double)pyrScale NS_SWIFT_NAME(setPyrScale(pyrScale:));
  46. //
  47. // bool cv::FarnebackOpticalFlow::getFastPyramids()
  48. //
  49. - (BOOL)getFastPyramids NS_SWIFT_NAME(getFastPyramids());
  50. //
  51. // void cv::FarnebackOpticalFlow::setFastPyramids(bool fastPyramids)
  52. //
  53. - (void)setFastPyramids:(BOOL)fastPyramids NS_SWIFT_NAME(setFastPyramids(fastPyramids:));
  54. //
  55. // int cv::FarnebackOpticalFlow::getWinSize()
  56. //
  57. - (int)getWinSize NS_SWIFT_NAME(getWinSize());
  58. //
  59. // void cv::FarnebackOpticalFlow::setWinSize(int winSize)
  60. //
  61. - (void)setWinSize:(int)winSize NS_SWIFT_NAME(setWinSize(winSize:));
  62. //
  63. // int cv::FarnebackOpticalFlow::getNumIters()
  64. //
  65. - (int)getNumIters NS_SWIFT_NAME(getNumIters());
  66. //
  67. // void cv::FarnebackOpticalFlow::setNumIters(int numIters)
  68. //
  69. - (void)setNumIters:(int)numIters NS_SWIFT_NAME(setNumIters(numIters:));
  70. //
  71. // int cv::FarnebackOpticalFlow::getPolyN()
  72. //
  73. - (int)getPolyN NS_SWIFT_NAME(getPolyN());
  74. //
  75. // void cv::FarnebackOpticalFlow::setPolyN(int polyN)
  76. //
  77. - (void)setPolyN:(int)polyN NS_SWIFT_NAME(setPolyN(polyN:));
  78. //
  79. // double cv::FarnebackOpticalFlow::getPolySigma()
  80. //
  81. - (double)getPolySigma NS_SWIFT_NAME(getPolySigma());
  82. //
  83. // void cv::FarnebackOpticalFlow::setPolySigma(double polySigma)
  84. //
  85. - (void)setPolySigma:(double)polySigma NS_SWIFT_NAME(setPolySigma(polySigma:));
  86. //
  87. // int cv::FarnebackOpticalFlow::getFlags()
  88. //
  89. - (int)getFlags NS_SWIFT_NAME(getFlags());
  90. //
  91. // void cv::FarnebackOpticalFlow::setFlags(int flags)
  92. //
  93. - (void)setFlags:(int)flags NS_SWIFT_NAME(setFlags(flags:));
  94. //
  95. // static Ptr_FarnebackOpticalFlow cv::FarnebackOpticalFlow::create(int numLevels = 5, double pyrScale = 0.5, bool fastPyramids = false, int winSize = 13, int numIters = 10, int polyN = 5, double polySigma = 1.1, int flags = 0)
  96. //
  97. + (FarnebackOpticalFlow*)create:(int)numLevels pyrScale:(double)pyrScale fastPyramids:(BOOL)fastPyramids winSize:(int)winSize numIters:(int)numIters polyN:(int)polyN polySigma:(double)polySigma flags:(int)flags NS_SWIFT_NAME(create(numLevels:pyrScale:fastPyramids:winSize:numIters:polyN:polySigma:flags:));
  98. + (FarnebackOpticalFlow*)create:(int)numLevels pyrScale:(double)pyrScale fastPyramids:(BOOL)fastPyramids winSize:(int)winSize numIters:(int)numIters polyN:(int)polyN polySigma:(double)polySigma NS_SWIFT_NAME(create(numLevels:pyrScale:fastPyramids:winSize:numIters:polyN:polySigma:));
  99. + (FarnebackOpticalFlow*)create:(int)numLevels pyrScale:(double)pyrScale fastPyramids:(BOOL)fastPyramids winSize:(int)winSize numIters:(int)numIters polyN:(int)polyN NS_SWIFT_NAME(create(numLevels:pyrScale:fastPyramids:winSize:numIters:polyN:));
  100. + (FarnebackOpticalFlow*)create:(int)numLevels pyrScale:(double)pyrScale fastPyramids:(BOOL)fastPyramids winSize:(int)winSize numIters:(int)numIters NS_SWIFT_NAME(create(numLevels:pyrScale:fastPyramids:winSize:numIters:));
  101. + (FarnebackOpticalFlow*)create:(int)numLevels pyrScale:(double)pyrScale fastPyramids:(BOOL)fastPyramids winSize:(int)winSize NS_SWIFT_NAME(create(numLevels:pyrScale:fastPyramids:winSize:));
  102. + (FarnebackOpticalFlow*)create:(int)numLevels pyrScale:(double)pyrScale fastPyramids:(BOOL)fastPyramids NS_SWIFT_NAME(create(numLevels:pyrScale:fastPyramids:));
  103. + (FarnebackOpticalFlow*)create:(int)numLevels pyrScale:(double)pyrScale NS_SWIFT_NAME(create(numLevels:pyrScale:));
  104. + (FarnebackOpticalFlow*)create:(int)numLevels NS_SWIFT_NAME(create(numLevels:));
  105. + (FarnebackOpticalFlow*)create NS_SWIFT_NAME(create());
  106. @end
  107. NS_ASSUME_NONNULL_END