Boring changes - gpustereo.
This commit is contained in:
parent
d6146e9543
commit
d33ff4bb11
@ -200,7 +200,7 @@ namespace
|
|||||||
|
|
||||||
Ptr<gpu::DisparityBilateralFilter> cv::gpu::createDisparityBilateralFilter(int ndisp, int radius, int iters)
|
Ptr<gpu::DisparityBilateralFilter> cv::gpu::createDisparityBilateralFilter(int ndisp, int radius, int iters)
|
||||||
{
|
{
|
||||||
return new DispBilateralFilterImpl(ndisp, radius, iters);
|
return makePtr<DispBilateralFilterImpl>(ndisp, radius, iters);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* !defined (HAVE_CUDA) */
|
#endif /* !defined (HAVE_CUDA) */
|
||||||
|
@ -179,7 +179,7 @@ namespace
|
|||||||
|
|
||||||
Ptr<gpu::StereoBM> cv::gpu::createStereoBM(int numDisparities, int blockSize)
|
Ptr<gpu::StereoBM> cv::gpu::createStereoBM(int numDisparities, int blockSize)
|
||||||
{
|
{
|
||||||
return new StereoBMImpl(numDisparities, blockSize);
|
return makePtr<StereoBMImpl>(numDisparities, blockSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* !defined (HAVE_CUDA) */
|
#endif /* !defined (HAVE_CUDA) */
|
||||||
|
@ -361,7 +361,7 @@ namespace
|
|||||||
|
|
||||||
Ptr<gpu::StereoBeliefPropagation> cv::gpu::createStereoBeliefPropagation(int ndisp, int iters, int levels, int msg_type)
|
Ptr<gpu::StereoBeliefPropagation> cv::gpu::createStereoBeliefPropagation(int ndisp, int iters, int levels, int msg_type)
|
||||||
{
|
{
|
||||||
return new StereoBPImpl(ndisp, iters, levels, msg_type);
|
return makePtr<StereoBPImpl>(ndisp, iters, levels, msg_type);
|
||||||
}
|
}
|
||||||
|
|
||||||
void cv::gpu::StereoBeliefPropagation::estimateRecommendedParams(int width, int height, int& ndisp, int& iters, int& levels)
|
void cv::gpu::StereoBeliefPropagation::estimateRecommendedParams(int width, int height, int& ndisp, int& iters, int& levels)
|
||||||
|
@ -366,7 +366,7 @@ namespace
|
|||||||
|
|
||||||
Ptr<gpu::StereoConstantSpaceBP> cv::gpu::createStereoConstantSpaceBP(int ndisp, int iters, int levels, int nr_plane, int msg_type)
|
Ptr<gpu::StereoConstantSpaceBP> cv::gpu::createStereoConstantSpaceBP(int ndisp, int iters, int levels, int nr_plane, int msg_type)
|
||||||
{
|
{
|
||||||
return new StereoCSBPImpl(ndisp, iters, levels, nr_plane, msg_type);
|
return makePtr<StereoCSBPImpl>(ndisp, iters, levels, nr_plane, msg_type);
|
||||||
}
|
}
|
||||||
|
|
||||||
void cv::gpu::StereoConstantSpaceBP::estimateRecommendedParams(int width, int height, int& ndisp, int& iters, int& levels, int& nr_plane)
|
void cv::gpu::StereoConstantSpaceBP::estimateRecommendedParams(int width, int height, int& ndisp, int& iters, int& levels, int& nr_plane)
|
||||||
|
Loading…
Reference in New Issue
Block a user