GeneralizedHough.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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/imgproc.hpp"
  8. #else
  9. #define CV_EXPORTS
  10. #endif
  11. #import <Foundation/Foundation.h>
  12. #import "Algorithm.h"
  13. @class Mat;
  14. @class Point2i;
  15. NS_ASSUME_NONNULL_BEGIN
  16. // C++: class GeneralizedHough
  17. /**
  18. * finds arbitrary template in the grayscale image using Generalized Hough Transform
  19. *
  20. * Member of `Imgproc`
  21. */
  22. CV_EXPORTS @interface GeneralizedHough : Algorithm
  23. #ifdef __cplusplus
  24. @property(readonly)cv::Ptr<cv::GeneralizedHough> nativePtrGeneralizedHough;
  25. #endif
  26. #ifdef __cplusplus
  27. - (instancetype)initWithNativePtr:(cv::Ptr<cv::GeneralizedHough>)nativePtr;
  28. + (instancetype)fromNative:(cv::Ptr<cv::GeneralizedHough>)nativePtr;
  29. #endif
  30. #pragma mark - Methods
  31. //
  32. // void cv::GeneralizedHough::setTemplate(Mat templ, Point templCenter = Point(-1, -1))
  33. //
  34. - (void)setTemplate:(Mat*)templ templCenter:(Point2i*)templCenter NS_SWIFT_NAME(setTemplate(templ:templCenter:));
  35. - (void)setTemplate:(Mat*)templ NS_SWIFT_NAME(setTemplate(templ:));
  36. //
  37. // void cv::GeneralizedHough::setTemplate(Mat edges, Mat dx, Mat dy, Point templCenter = Point(-1, -1))
  38. //
  39. - (void)setTemplate:(Mat*)edges dx:(Mat*)dx dy:(Mat*)dy templCenter:(Point2i*)templCenter NS_SWIFT_NAME(setTemplate(edges:dx:dy:templCenter:));
  40. - (void)setTemplate:(Mat*)edges dx:(Mat*)dx dy:(Mat*)dy NS_SWIFT_NAME(setTemplate(edges:dx:dy:));
  41. //
  42. // void cv::GeneralizedHough::detect(Mat image, Mat& positions, Mat& votes = Mat())
  43. //
  44. - (void)detect:(Mat*)image positions:(Mat*)positions votes:(Mat*)votes NS_SWIFT_NAME(detect(image:positions:votes:));
  45. - (void)detect:(Mat*)image positions:(Mat*)positions NS_SWIFT_NAME(detect(image:positions:));
  46. //
  47. // void cv::GeneralizedHough::detect(Mat edges, Mat dx, Mat dy, Mat& positions, Mat& votes = Mat())
  48. //
  49. - (void)detect:(Mat*)edges dx:(Mat*)dx dy:(Mat*)dy positions:(Mat*)positions votes:(Mat*)votes NS_SWIFT_NAME(detect(edges:dx:dy:positions:votes:));
  50. - (void)detect:(Mat*)edges dx:(Mat*)dx dy:(Mat*)dy positions:(Mat*)positions NS_SWIFT_NAME(detect(edges:dx:dy:positions:));
  51. //
  52. // void cv::GeneralizedHough::setCannyLowThresh(int cannyLowThresh)
  53. //
  54. - (void)setCannyLowThresh:(int)cannyLowThresh NS_SWIFT_NAME(setCannyLowThresh(cannyLowThresh:));
  55. //
  56. // int cv::GeneralizedHough::getCannyLowThresh()
  57. //
  58. - (int)getCannyLowThresh NS_SWIFT_NAME(getCannyLowThresh());
  59. //
  60. // void cv::GeneralizedHough::setCannyHighThresh(int cannyHighThresh)
  61. //
  62. - (void)setCannyHighThresh:(int)cannyHighThresh NS_SWIFT_NAME(setCannyHighThresh(cannyHighThresh:));
  63. //
  64. // int cv::GeneralizedHough::getCannyHighThresh()
  65. //
  66. - (int)getCannyHighThresh NS_SWIFT_NAME(getCannyHighThresh());
  67. //
  68. // void cv::GeneralizedHough::setMinDist(double minDist)
  69. //
  70. - (void)setMinDist:(double)minDist NS_SWIFT_NAME(setMinDist(minDist:));
  71. //
  72. // double cv::GeneralizedHough::getMinDist()
  73. //
  74. - (double)getMinDist NS_SWIFT_NAME(getMinDist());
  75. //
  76. // void cv::GeneralizedHough::setDp(double dp)
  77. //
  78. - (void)setDp:(double)dp NS_SWIFT_NAME(setDp(dp:));
  79. //
  80. // double cv::GeneralizedHough::getDp()
  81. //
  82. - (double)getDp NS_SWIFT_NAME(getDp());
  83. //
  84. // void cv::GeneralizedHough::setMaxBufferSize(int maxBufferSize)
  85. //
  86. - (void)setMaxBufferSize:(int)maxBufferSize NS_SWIFT_NAME(setMaxBufferSize(maxBufferSize:));
  87. //
  88. // int cv::GeneralizedHough::getMaxBufferSize()
  89. //
  90. - (int)getMaxBufferSize NS_SWIFT_NAME(getMaxBufferSize());
  91. @end
  92. NS_ASSUME_NONNULL_END