DetUtils.h 524 B

123456789101112131415161718192021222324
  1. #ifndef __MAS_DETUTILS_H
  2. #define __MAS_DETUTILS_H
  3. #define NAMESPACE_DETUTILS_BEGIN namespace detutils {
  4. #define NAMESPACE_DETUTILS_END };
  5. #include "MAS_AlgoDef.h"
  6. NAMESPACE_MAS_BEGIN
  7. NAMESPACE_DETUTILS_BEGIN
  8. TZ_BOOL IsInRoi(const TZ_DOUBLE & ltx, const TZ_DOUBLE & lty, const TZ_DOUBLE & rbx, const TZ_DOUBLE & rby,
  9. const std::vector<AreaBox> & focusArea, const std::vector<AreaBox> & ignoreArea,
  10. const TZ_DOUBLE & roiThreshold);
  11. TZ_INT GetDetSample(TZ_INT freq);
  12. NAMESPACE_DETUTILS_END
  13. NAMESPACE_MAS_END
  14. #endif