Skip to content

Conversation

@sbokov
Copy link
Contributor

@sbokov sbokov commented Jul 21, 2015

Several changes to minimize the need for explicit parameter tuning when using with either StereoBM or StereoSGBM and to make the filter more easy to use in general.

@mshabunin mshabunin self-assigned this Jul 27, 2015
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest to divide this method to:

createDisparityWLSFilter(left_matcher)
// and
setupRightMatcher(left_matcher) // or 'createRightMatcher'

@mshabunin
Copy link
Contributor

Looks good, thank you!
Please, squash all commits into one.

Now the filter natively supports StereoBM and StereoSGBM with no
parameter tuning required. Also, now user won't need to set the ROI and
the right matcher parameters manually, it is all done in the respective
convenience factory method based on the left matcher instance. Tutorial
was added to clarify the provided example of use.
@sbokov sbokov force-pushed the improvingStereoSGBM branch from f8889a8 to 6a0545e Compare July 31, 2015 13:23
@sbokov
Copy link
Contributor Author

sbokov commented Jul 31, 2015

@mshabunin I replaced the code in the tutorial with a link to GitHub and squashed all the commits

@mshabunin
Copy link
Contributor

👍

@opencv-pushbot opencv-pushbot merged commit 6a0545e into opencv:master Aug 6, 2015
@Arqu
Copy link

Arqu commented Aug 12, 2015

Is it possible that this change introduced this error when building:
no member named 'MODE_SGBM_3WAY' in 'cv::StereoSGBM' found in the file disparity_filtering.cpp at lines 170 and 235 from the samples folder?

@mshabunin
Copy link
Contributor

@Arqu , please use latest master branch version of opencv repository when building latest version of opencv_contrib.

This mode has been added recently:
https://github.com/Itseez/opencv/blob/master/modules/calib3d/include/opencv2/calib3d.hpp#L1559

@Arqu
Copy link

Arqu commented Aug 13, 2015

Thanks, I'll rebuild it when I get some spare time, I've managed to skip the module in the build process for now. I probably didn't use the latest source as I've used the 3.0.0 branch instead of master.

@sbokov sbokov deleted the improvingStereoSGBM branch May 20, 2016 19:40
allnes pushed a commit to allnes/opencv_contrib that referenced this pull request Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants