diff --git a/modules/core/include/opencv2/core/types.hpp b/modules/core/include/opencv2/core/types.hpp index 9252cad14a..e2b49749e8 100644 --- a/modules/core/include/opencv2/core/types.hpp +++ b/modules/core/include/opencv2/core/types.hpp @@ -282,6 +282,7 @@ public: */ typedef Size_ Size2i; typedef Size_ Size2f; +typedef Size_ Size2d; typedef Size2i Size; /*! @@ -349,7 +350,10 @@ public: /*! \typedef */ -typedef Rect_ Rect; +typedef Rect_ Rect2i; +typedef Rect_ Rect2f; +typedef Rect_ Rect2d; +typedef Rect2i Rect; /*! traits