How to improve Depth map Accuracy generated from Stereo Images?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hey
How can I improve the Depth Map Quality??
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]);
1 Kommentar
Antworten (1)
Sukhendu
am 3 Sep. 2024
What is the level of reprojection error in stereo calibration ?
What is the dataset (details, samples) used to compute stereo calibration pararmeters, on your street view (assuming you have not used, matlab default) ?
0 Kommentare
Siehe auch
Kategorien
Mehr zu Point Cloud Processing finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!