HAL interface for morphology operations

This commit is contained in:
Maksim Shabunin
2016-02-19 13:49:13 +03:00
parent 4e479d58f8
commit 83379695a0
5 changed files with 407 additions and 283 deletions

View File

@@ -221,6 +221,18 @@ static inline IppiSize ippiSize(const cv::Size & _size)
return size;
}
static inline IppiPoint ippiPoint(const cv::Point & _point)
{
IppiPoint point = { _point.x, _point.y };
return point;
}
static inline IppiPoint ippiPoint(int x, int y)
{
IppiPoint point = { x, y };
return point;
}
static inline IppiBorderType ippiGetBorderType(int borderTypeNI)
{
return borderTypeNI == cv::BORDER_CONSTANT ? ippBorderConst :