added some quaternion operations on Scalar's.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user