Artoriuz / glsl-joint-bilateral

JointBilateral chroma upscaler shader for mpv
MIT License
17 stars 0 forks source link

Usage in iOS app for improving a depth map #6

Closed alexfoxy closed 5 months ago

alexfoxy commented 5 months ago

Hey, this looks really interesting, how feasible do you think it would be to port it to a metal shader to use within an iOS app? I was hoping I could use a technique like this to improve the depth map captured by the camera for adding depth of field to photographs. I have been using an anti aliasing filter, which is quite good but bilateral filtering would be the next level.

Thanks!

Artoriuz commented 5 months ago

I have no idea, but the code itself is relatively simple so you shouldn't have any problems with it.