From 2feb6d1639b40f3b52af949f181115af69b915fc Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Thu, 23 Sep 2010 20:57:31 +0100 Subject: [PATCH 2/2] Assign BORDER_TRANSPARENT a unique constant --- .../imgproc/include/opencv2/imgproc/imgproc.hpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/imgproc/include/opencv2/imgproc/imgproc.hpp b/modules/imgproc/include/opencv2/imgproc/imgproc.hpp index 0fa0aeb..68f5c51 100644 --- a/modules/imgproc/include/opencv2/imgproc/imgproc.hpp +++ b/modules/imgproc/include/opencv2/imgproc/imgproc.hpp @@ -60,8 +60,8 @@ namespace cv //! various border interpolation methods enum { BORDER_REPLICATE=IPL_BORDER_REPLICATE, BORDER_CONSTANT=IPL_BORDER_CONSTANT, - BORDER_REFLECT=IPL_BORDER_REFLECT, BORDER_REFLECT_101=IPL_BORDER_REFLECT_101, - BORDER_REFLECT101=BORDER_REFLECT_101, BORDER_WRAP=IPL_BORDER_WRAP, + BORDER_REFLECT=IPL_BORDER_REFLECT, BORDER_WRAP=IPL_BORDER_WRAP, + BORDER_REFLECT_101=IPL_BORDER_REFLECT_101, BORDER_REFLECT101=BORDER_REFLECT_101, BORDER_TRANSPARENT, BORDER_DEFAULT=BORDER_REFLECT_101, BORDER_ISOLATED=16 }; //! 1D interpolation function: returns coordinate of the "donor" pixel for the specified location p. -- 1.6.5