Lines Matching refs:ndisp_
90 int getNumDisparities() const { return ndisp_; } in getNumDisparities()
91 void setNumDisparities(int numDisparities) { ndisp_ = numDisparities; } in setNumDisparities()
130 int ndisp_; member in __anon256d62500111::StereoBPImpl
153 ndisp_(ndisp), iters_(iters), levels_(levels), in StereoBPImpl()
178 CV_Assert( 0 < ndisp_ && 0 < iters_ && 0 < levels_ ); in compute()
199 datas_[0].create(rows_ * ndisp_, cols_, msg_type_); in compute()
210 CV_Assert( 0 < ndisp_ && 0 < iters_ && 0 < levels_ ); in compute()
216 CV_Assert( (data.type() == msg_type_) && (data.rows % ndisp_ == 0) ); in compute()
218 rows_ = data.rows / ndisp_; in compute()
238 u_.create(rows_ * ndisp_, cols_, msg_type_); in init()
239 d_.create(rows_ * ndisp_, cols_, msg_type_); in init()
240 l_.create(rows_ * ndisp_, cols_, msg_type_); in init()
241 r_.create(rows_ * ndisp_, cols_, msg_type_); in init()
257 u2_.create(less_rows * ndisp_, less_cols, msg_type_); in init()
258 d2_.create(less_rows * ndisp_, less_cols, msg_type_); in init()
259 l2_.create(less_rows * ndisp_, less_cols, msg_type_); in init()
260 r2_.create(less_rows * ndisp_, less_cols, msg_type_); in init()
271 …load_constants(ndisp_, max_data_term_, scale_ * data_weight_, scale_ * max_disc_term_, scale_ * di… in init()
319 datas_[i].create(rows_all_[i] * ndisp_, cols_all_[i], msg_type_); in calcBP()