opencv中matlab的“ismember”等价物是什么?
我正在尝试将 matlab 代码转换为 opencv ( C/CPP )。为此,我需要将以下步骤转换为 Opencv。有人可以在这方面指导我吗?
[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);