EdgeBoxes.h 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  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/edgeboxes.hpp"
  9. #else
  10. #define CV_EXPORTS
  11. #endif
  12. #import <Foundation/Foundation.h>
  13. #import "Algorithm.h"
  14. @class Mat;
  15. @class Rect2i;
  16. NS_ASSUME_NONNULL_BEGIN
  17. // C++: class EdgeBoxes
  18. /**
  19. * Class implementing EdgeBoxes algorithm from CITE: ZitnickECCV14edgeBoxes :
  20. *
  21. * Member of `Ximgproc`
  22. */
  23. CV_EXPORTS @interface EdgeBoxes : Algorithm
  24. #ifdef __cplusplus
  25. @property(readonly)cv::Ptr<cv::ximgproc::EdgeBoxes> nativePtrEdgeBoxes;
  26. #endif
  27. #ifdef __cplusplus
  28. - (instancetype)initWithNativePtr:(cv::Ptr<cv::ximgproc::EdgeBoxes>)nativePtr;
  29. + (instancetype)fromNative:(cv::Ptr<cv::ximgproc::EdgeBoxes>)nativePtr;
  30. #endif
  31. #pragma mark - Methods
  32. //
  33. // void cv::ximgproc::EdgeBoxes::getBoundingBoxes(Mat edge_map, Mat orientation_map, vector_Rect& boxes, Mat& scores = Mat())
  34. //
  35. /**
  36. * Returns array containing proposal boxes.
  37. *
  38. * @param edge_map edge image.
  39. * @param orientation_map orientation map.
  40. * @param boxes proposal boxes.
  41. * @param scores of the proposal boxes, provided a vector of float types.
  42. */
  43. - (void)getBoundingBoxes:(Mat*)edge_map orientation_map:(Mat*)orientation_map boxes:(NSMutableArray<Rect2i*>*)boxes scores:(Mat*)scores NS_SWIFT_NAME(getBoundingBoxes(edge_map:orientation_map:boxes:scores:));
  44. /**
  45. * Returns array containing proposal boxes.
  46. *
  47. * @param edge_map edge image.
  48. * @param orientation_map orientation map.
  49. * @param boxes proposal boxes.
  50. */
  51. - (void)getBoundingBoxes:(Mat*)edge_map orientation_map:(Mat*)orientation_map boxes:(NSMutableArray<Rect2i*>*)boxes NS_SWIFT_NAME(getBoundingBoxes(edge_map:orientation_map:boxes:));
  52. //
  53. // float cv::ximgproc::EdgeBoxes::getAlpha()
  54. //
  55. /**
  56. * Returns the step size of sliding window search.
  57. */
  58. - (float)getAlpha NS_SWIFT_NAME(getAlpha());
  59. //
  60. // void cv::ximgproc::EdgeBoxes::setAlpha(float value)
  61. //
  62. /**
  63. * Sets the step size of sliding window search.
  64. */
  65. - (void)setAlpha:(float)value NS_SWIFT_NAME(setAlpha(value:));
  66. //
  67. // float cv::ximgproc::EdgeBoxes::getBeta()
  68. //
  69. /**
  70. * Returns the nms threshold for object proposals.
  71. */
  72. - (float)getBeta NS_SWIFT_NAME(getBeta());
  73. //
  74. // void cv::ximgproc::EdgeBoxes::setBeta(float value)
  75. //
  76. /**
  77. * Sets the nms threshold for object proposals.
  78. */
  79. - (void)setBeta:(float)value NS_SWIFT_NAME(setBeta(value:));
  80. //
  81. // float cv::ximgproc::EdgeBoxes::getEta()
  82. //
  83. /**
  84. * Returns adaptation rate for nms threshold.
  85. */
  86. - (float)getEta NS_SWIFT_NAME(getEta());
  87. //
  88. // void cv::ximgproc::EdgeBoxes::setEta(float value)
  89. //
  90. /**
  91. * Sets the adaptation rate for nms threshold.
  92. */
  93. - (void)setEta:(float)value NS_SWIFT_NAME(setEta(value:));
  94. //
  95. // float cv::ximgproc::EdgeBoxes::getMinScore()
  96. //
  97. /**
  98. * Returns the min score of boxes to detect.
  99. */
  100. - (float)getMinScore NS_SWIFT_NAME(getMinScore());
  101. //
  102. // void cv::ximgproc::EdgeBoxes::setMinScore(float value)
  103. //
  104. /**
  105. * Sets the min score of boxes to detect.
  106. */
  107. - (void)setMinScore:(float)value NS_SWIFT_NAME(setMinScore(value:));
  108. //
  109. // int cv::ximgproc::EdgeBoxes::getMaxBoxes()
  110. //
  111. /**
  112. * Returns the max number of boxes to detect.
  113. */
  114. - (int)getMaxBoxes NS_SWIFT_NAME(getMaxBoxes());
  115. //
  116. // void cv::ximgproc::EdgeBoxes::setMaxBoxes(int value)
  117. //
  118. /**
  119. * Sets max number of boxes to detect.
  120. */
  121. - (void)setMaxBoxes:(int)value NS_SWIFT_NAME(setMaxBoxes(value:));
  122. //
  123. // float cv::ximgproc::EdgeBoxes::getEdgeMinMag()
  124. //
  125. /**
  126. * Returns the edge min magnitude.
  127. */
  128. - (float)getEdgeMinMag NS_SWIFT_NAME(getEdgeMinMag());
  129. //
  130. // void cv::ximgproc::EdgeBoxes::setEdgeMinMag(float value)
  131. //
  132. /**
  133. * Sets the edge min magnitude.
  134. */
  135. - (void)setEdgeMinMag:(float)value NS_SWIFT_NAME(setEdgeMinMag(value:));
  136. //
  137. // float cv::ximgproc::EdgeBoxes::getEdgeMergeThr()
  138. //
  139. /**
  140. * Returns the edge merge threshold.
  141. */
  142. - (float)getEdgeMergeThr NS_SWIFT_NAME(getEdgeMergeThr());
  143. //
  144. // void cv::ximgproc::EdgeBoxes::setEdgeMergeThr(float value)
  145. //
  146. /**
  147. * Sets the edge merge threshold.
  148. */
  149. - (void)setEdgeMergeThr:(float)value NS_SWIFT_NAME(setEdgeMergeThr(value:));
  150. //
  151. // float cv::ximgproc::EdgeBoxes::getClusterMinMag()
  152. //
  153. /**
  154. * Returns the cluster min magnitude.
  155. */
  156. - (float)getClusterMinMag NS_SWIFT_NAME(getClusterMinMag());
  157. //
  158. // void cv::ximgproc::EdgeBoxes::setClusterMinMag(float value)
  159. //
  160. /**
  161. * Sets the cluster min magnitude.
  162. */
  163. - (void)setClusterMinMag:(float)value NS_SWIFT_NAME(setClusterMinMag(value:));
  164. //
  165. // float cv::ximgproc::EdgeBoxes::getMaxAspectRatio()
  166. //
  167. /**
  168. * Returns the max aspect ratio of boxes.
  169. */
  170. - (float)getMaxAspectRatio NS_SWIFT_NAME(getMaxAspectRatio());
  171. //
  172. // void cv::ximgproc::EdgeBoxes::setMaxAspectRatio(float value)
  173. //
  174. /**
  175. * Sets the max aspect ratio of boxes.
  176. */
  177. - (void)setMaxAspectRatio:(float)value NS_SWIFT_NAME(setMaxAspectRatio(value:));
  178. //
  179. // float cv::ximgproc::EdgeBoxes::getMinBoxArea()
  180. //
  181. /**
  182. * Returns the minimum area of boxes.
  183. */
  184. - (float)getMinBoxArea NS_SWIFT_NAME(getMinBoxArea());
  185. //
  186. // void cv::ximgproc::EdgeBoxes::setMinBoxArea(float value)
  187. //
  188. /**
  189. * Sets the minimum area of boxes.
  190. */
  191. - (void)setMinBoxArea:(float)value NS_SWIFT_NAME(setMinBoxArea(value:));
  192. //
  193. // float cv::ximgproc::EdgeBoxes::getGamma()
  194. //
  195. /**
  196. * Returns the affinity sensitivity.
  197. */
  198. - (float)getGamma NS_SWIFT_NAME(getGamma());
  199. //
  200. // void cv::ximgproc::EdgeBoxes::setGamma(float value)
  201. //
  202. /**
  203. * Sets the affinity sensitivity
  204. */
  205. - (void)setGamma:(float)value NS_SWIFT_NAME(setGamma(value:));
  206. //
  207. // float cv::ximgproc::EdgeBoxes::getKappa()
  208. //
  209. /**
  210. * Returns the scale sensitivity.
  211. */
  212. - (float)getKappa NS_SWIFT_NAME(getKappa());
  213. //
  214. // void cv::ximgproc::EdgeBoxes::setKappa(float value)
  215. //
  216. /**
  217. * Sets the scale sensitivity.
  218. */
  219. - (void)setKappa:(float)value NS_SWIFT_NAME(setKappa(value:));
  220. @end
  221. NS_ASSUME_NONNULL_END