stable-diffusion-webui-depthmap-script
stable-diffusion-webui-depthmap-script copied to clipboard
Is it possible to get a depthmap without banding? Maybe create a PNG with more precision like 32bit(floating point)?
So I'm using this to create depth maps and then use that for mesh displacement in Blender. I've been getting the best results with dpt_beit_large_384 (midas 3.1), believe it or not. However I am getting steps on the mesh and when I look at the png file created, I see these "steps" as bands. Is there a way to create a depth map without this banding? I see the created depth map has a precision of 16bits. I'm guessing going 32bit would remove or improve the banding? How can I change the precision of the created PNG files to be 32bits?
Banding example: