Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I hadn't seen that. So if you can shoot your photos in very flat light, you could get close the result I'm talking about with very little additional code from what already exists (it would help to reproject the image as a single "texture" as it would wrap around the 3D data). What I don't know of is an algorithm that "de-lights" an image, essentially bringing it to flat matte lighting, regardless of the original data.

Obviously that's something that involves multiple stages, and I can think of three. The first is removing gradients from diffuse shading. The second is lightening shadows to match their surroundings (shadows, incidentally, could probably be used in combination with the 3D structure to infer light sources). Finally, you'd need to identify specular highlights and inpaint them. You might also have to use inpainting in stage 2, in order to deal with full-black shadows.



I saw a video demonstrating something like this on YouTube a couple of years ago, but I don't recall any of the key words to search for.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: