Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

where can I find kitti disparity map #1

Closed
wlgcqh opened this issue Apr 13, 2017 · 7 comments
Closed

where can I find kitti disparity map #1

wlgcqh opened this issue Apr 13, 2017 · 7 comments

Comments

@wlgcqh
Copy link

wlgcqh commented Apr 13, 2017

No description provided.

@mrharicot
Copy link
Owner

Hi,

Which disparities are you looking for?

-Clement

@wlgcqh
Copy link
Author

wlgcqh commented Apr 13, 2017

disp = cv2.imread(path + "/training/disp_noc_0/" + str(i).zfill(6) + "_10.png", -1) in utils/evaluation_utils.py 38 lines,I'm looking for kitti disparity map ground truth.

@mrharicot
Copy link
Owner

They are the KITTI 2015 stereo disparities, you can find them here:
http://www.cvlibs.net/download.php?file=data_scene_flow.zip

-Clement

@wlgcqh
Copy link
Author

wlgcqh commented Apr 13, 2017

thanks a lot for your response! it's a fantastic work in this year

mrharicot pushed a commit that referenced this issue Aug 1, 2017
fix a ValueError when input image is grayscale
@salmankh47
Copy link

@mrharicot How can I convert sparse disparity map to dense?
The disparity provided in scene_flow dataset looks sparse.

sparse_disp

@1475015695
Copy link

@mrharicot How can I convert sparse disparity map to dense?
The disparity provided in scene_flow dataset looks sparse.

sparse_disp

Did you soved it?I met the same issue

@royshil
Copy link

royshil commented Jul 30, 2021

you could use maxpooling to dense up the sparse map in expense of resolution

kittiD = cv2.imread('training/disp_noc_0/000000_10.png',0)
import skimage.measure
plt.imshow(skimage.measure.block_reduce(kittiD, (5,5), np.max))

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants