Merge pull request #4159 from alalek:vector_processing

This commit is contained in:
Alexander Alekhin
2015-07-06 13:22:57 +00:00
4 changed files with 89 additions and 0 deletions

View File

@@ -222,6 +222,7 @@ public:
bool isMatVector() const;
bool isUMatVector() const;
bool isMatx() const;
bool isVector() const;
~_InputArray();

View File

@@ -130,6 +130,7 @@ inline bool _InputArray::isUMat() const { return kind() == _InputArray::UMAT; }
inline bool _InputArray::isMatVector() const { return kind() == _InputArray::STD_VECTOR_MAT; }
inline bool _InputArray::isUMatVector() const { return kind() == _InputArray::STD_VECTOR_UMAT; }
inline bool _InputArray::isMatx() const { return kind() == _InputArray::MATX; }
inline bool _InputArray::isVector() const { return kind() == _InputArray::STD_VECTOR || kind() == _InputArray::STD_BOOL_VECTOR; }
////////////////////////////////////////////////////////////////////////////////////////