BlockMatching::BlockMatching() { this->bm = StereoBM(StereoBM::BASIC_PRESET, 64, 21); this->bm.state->disp12MaxDiff = 1; }
void featureFinder::onNewFrame(StereoPair& newPair) { StereoBM(newPair, &_disparityMap); }