What is the equivalent of "ismember" of matlab in opencv?
I am trying to convert a matlab code to opencv ( C/CPP ). For this I need to convert the below step to Opencv. Can some one please guide me in this regard?
[Lia Locb1] = ismember(tl(:,1),ind3);
where Mat tl = Mat::ones(106, 3, CV_8U); and
ind3 = find(Sm(:,1) >= xm & Sm(:,1) <= xM & Sm(:,2) >= ym & Sm(:,2) <= yM);