I have three images from left right and front cameras i want to match the features of left and front then front and right to find the camera parameters as a controlled matching using the function
void detail::FeaturesMatcher::operator()(const std::vector<imagefeatures>& features, std::vector<matchesinfo>& pairwise_matches, const Mat& mask=Mat() link is:http://docs.opencv.org/modules/stitching/doc/matching.html#detail-featuresmatcher-operator Parameters:
features – Features of the source images
pairwise_matches – Found pairwise matches
mask – Mask indicating which image pairs must be matched
my doubt is how the mask is created for this matching if it gets created the i can specify the pairs kindly help me