added some quaternion operations on Scalar's.

This commit is contained in:
Vadim Pisarevsky
2010-07-07 15:25:42 +00:00
parent 609ad4e409
commit 796553d051
3 changed files with 143 additions and 1 deletions

View File

@@ -52,7 +52,7 @@ struct MaskPredicate
{
MaskPredicate( const Mat& _mask ) : mask(_mask)
{}
MaskPredicate& operator=(const MaskPredicate&) {}
MaskPredicate& operator=(const MaskPredicate&) { return *this; }
bool operator() (const KeyPoint& key_pt) const
{
return mask.at<uchar>( (int)(key_pt.pt.y + 0.5f), (int)(key_pt.pt.x + 0.5f) ) == 0;