SparsePyrLKOpticalFlow.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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 "SparseOpticalFlow.h"
  14. @class Size2i;
  15. @class TermCriteria;
  16. NS_ASSUME_NONNULL_BEGIN
  17. // C++: class SparsePyrLKOpticalFlow
  18. /**
  19. * Class used for calculating a sparse optical flow.
  20. *
  21. * The class can calculate an optical flow for a sparse feature set using the
  22. * iterative Lucas-Kanade method with pyramids.
  23. *
  24. * @see calcOpticalFlowPyrLK
  25. *
  26. * Member of `Video`
  27. */
  28. CV_EXPORTS @interface SparsePyrLKOpticalFlow : SparseOpticalFlow
  29. #ifdef __cplusplus
  30. @property(readonly)cv::Ptr<cv::SparsePyrLKOpticalFlow> nativePtrSparsePyrLKOpticalFlow;
  31. #endif
  32. #ifdef __cplusplus
  33. - (instancetype)initWithNativePtr:(cv::Ptr<cv::SparsePyrLKOpticalFlow>)nativePtr;
  34. + (instancetype)fromNative:(cv::Ptr<cv::SparsePyrLKOpticalFlow>)nativePtr;
  35. #endif
  36. #pragma mark - Methods
  37. //
  38. // Size cv::SparsePyrLKOpticalFlow::getWinSize()
  39. //
  40. - (Size2i*)getWinSize NS_SWIFT_NAME(getWinSize());
  41. //
  42. // void cv::SparsePyrLKOpticalFlow::setWinSize(Size winSize)
  43. //
  44. - (void)setWinSize:(Size2i*)winSize NS_SWIFT_NAME(setWinSize(winSize:));
  45. //
  46. // int cv::SparsePyrLKOpticalFlow::getMaxLevel()
  47. //
  48. - (int)getMaxLevel NS_SWIFT_NAME(getMaxLevel());
  49. //
  50. // void cv::SparsePyrLKOpticalFlow::setMaxLevel(int maxLevel)
  51. //
  52. - (void)setMaxLevel:(int)maxLevel NS_SWIFT_NAME(setMaxLevel(maxLevel:));
  53. //
  54. // TermCriteria cv::SparsePyrLKOpticalFlow::getTermCriteria()
  55. //
  56. - (TermCriteria*)getTermCriteria NS_SWIFT_NAME(getTermCriteria());
  57. //
  58. // void cv::SparsePyrLKOpticalFlow::setTermCriteria(TermCriteria crit)
  59. //
  60. - (void)setTermCriteria:(TermCriteria*)crit NS_SWIFT_NAME(setTermCriteria(crit:));
  61. //
  62. // int cv::SparsePyrLKOpticalFlow::getFlags()
  63. //
  64. - (int)getFlags NS_SWIFT_NAME(getFlags());
  65. //
  66. // void cv::SparsePyrLKOpticalFlow::setFlags(int flags)
  67. //
  68. - (void)setFlags:(int)flags NS_SWIFT_NAME(setFlags(flags:));
  69. //
  70. // double cv::SparsePyrLKOpticalFlow::getMinEigThreshold()
  71. //
  72. - (double)getMinEigThreshold NS_SWIFT_NAME(getMinEigThreshold());
  73. //
  74. // void cv::SparsePyrLKOpticalFlow::setMinEigThreshold(double minEigThreshold)
  75. //
  76. - (void)setMinEigThreshold:(double)minEigThreshold NS_SWIFT_NAME(setMinEigThreshold(minEigThreshold:));
  77. //
  78. // static Ptr_SparsePyrLKOpticalFlow cv::SparsePyrLKOpticalFlow::create(Size winSize = Size(21, 21), int maxLevel = 3, TermCriteria crit = TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, 0.01), int flags = 0, double minEigThreshold = 1e-4)
  79. //
  80. + (SparsePyrLKOpticalFlow*)create:(Size2i*)winSize maxLevel:(int)maxLevel crit:(TermCriteria*)crit flags:(int)flags minEigThreshold:(double)minEigThreshold NS_SWIFT_NAME(create(winSize:maxLevel:crit:flags:minEigThreshold:));
  81. + (SparsePyrLKOpticalFlow*)create:(Size2i*)winSize maxLevel:(int)maxLevel crit:(TermCriteria*)crit flags:(int)flags NS_SWIFT_NAME(create(winSize:maxLevel:crit:flags:));
  82. + (SparsePyrLKOpticalFlow*)create:(Size2i*)winSize maxLevel:(int)maxLevel crit:(TermCriteria*)crit NS_SWIFT_NAME(create(winSize:maxLevel:crit:));
  83. + (SparsePyrLKOpticalFlow*)create:(Size2i*)winSize maxLevel:(int)maxLevel NS_SWIFT_NAME(create(winSize:maxLevel:));
  84. + (SparsePyrLKOpticalFlow*)create:(Size2i*)winSize NS_SWIFT_NAME(create(winSize:));
  85. + (SparsePyrLKOpticalFlow*)create NS_SWIFT_NAME(create());
  86. @end
  87. NS_ASSUME_NONNULL_END