Nightmare-n / DepthAnyVideo

Depth Any Video with Scalable Synthetic Data
https://depthanyvideo.github.io
Apache License 2.0
413 stars 27 forks source link

checkerboard pattern in depth output #20

Open Redmond-AI opened 4 weeks ago

Redmond-AI commented 4 weeks ago

Is there any way to get rid of the "dithering" and export a smoother depth map?

Nightmare-n commented 4 weeks ago

Hi, you can save the output depth video as a list of “.png” depth images, as converting images to video causes visual compression (please refer to here).

Redmond-AI commented 3 weeks ago

I'm not sure if you understand the artifacting I am talking about

image image

I suppose a heavy median would fix this, but it would remove a lot of detail too. I modified the code to save 16bit pngs of "disparity". You can also see this artifacting in every example online.

Redmond-AI commented 3 weeks ago

Am I doing something wrong or is this expected behavior?