필터 지우기
필터 지우기

How to improve Depth map Accuracy generated from Stereo Images?

조회 수: 2 (최근 30일)
JAI PRAKASH
JAI PRAKASH 2018년 7월 8일
댓글: Madhusudan Govindraju 2018년 7월 13일
Hey
How can I improve the Depth Map Quality??
I am following Depth Estimation From Stereo Video Documentation.
Below is my two L&R images.
And, Below is what I achieved from
points3D(:, :, 3)
Below, is Ideal Depth Map
%%This is my entire code :)
clc
clear all
close all
load('stereoParams.mat')
frameLeft = imread('Left.png');
frameRight = imread('Right.png');
[frameLeftRect, frameRightRect] = rectifyStereoImages(frameLeft, frameRight, stereoParams);
frameLeftGray = rgb2gray(frameLeftRect);
frameRightGray = rgb2gray(frameRightRect);
disparityMap = disparity(frameLeftGray, frameRightGray, 'BlockSize', 15,'DisparityRange', [0 64]);
disparityMap = medfilt2(disparityMap);
points3D = reconstructScene(disparityMap, stereoParams);
Z = points3D(:, :, 3)./ 1000;
imtool(Z, [0, 100]);

답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing and Computer Vision에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by