HAL interface for morphology operations
This commit is contained in:
@@ -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 :
|
||||
|
Reference in New Issue
Block a user