Live data from Hacker News

Bokehlicious Selfies

rahulrav.com

41–50 of 53 posts

Re: Bokehlicious Selfies

#42
post #37

One problem with bokeh is that it disappears when you scale the image down. Perhaps this technique can help solve that (but I suppose there would be better ways to do this). Anyway, the entire technique is also very easy to do manually with Photoshop.

I don't have much experience with Photoshop. Would it be possible to record some sort of macro in it to automatically transform any image?

If not, this approach seems to have merit

Re: Bokehlicious Selfies

#43
post #27

Earlier quoted context omitted.

Having just used it, it feels like a few factors: - a background scene is usually static. if a pixel matches its historical average (i e. not changing) then it's probably background. - if a pixel color matches its neighbors, it's probably the same as them. i noticed my black shirt tripped it up on occasion, but was all-or-nothing. - people are blobs, not diffuse, so try to segment large regions.

Yes, it did not work for me sitting with a laptop on a swing chair. It actually works better with clear static features in the background, but it seams to be a bit more (cnn?) because it seams to isolate paintings on the wall for me as well. Wish there was more open source easy to use camera stream manipulation. Skype also has background blurring.

My work is using Meets, and I second this desire to edit my camera stream. I didn't find anything even cheap to do it.

Re: Bokehlicious Selfies

#44
post #12
post #4

This is really cool, but it isn't bokeh, it's just blur.

Yeah. I don’t see anything here that couldn’t be done in Photoshop with a bit of masking work. Here’s an example [1] of how bokeh really looks, using a high quality fast lens on a decent camera. We’ve got a long way to go. [1] https://upload.wikimedia.org/wikipedia/commons/8/8a/Josefina...

So it’s a “find bright spots, bloom them into circles or hexagons or some such, then make 2-4 offset less opaque circle clones and overlay them offset by position”?

Re: Bokehlicious Selfies

#45
post #27

Earlier quoted context omitted.

Yes, it did not work for me sitting with a laptop on a swing chair. It actually works better with clear static features in the background, but it seams to be a bit more (cnn?) because it seams to isolate paintings on the wall for me as well. Wish there was more open source easy to use camera stream manipulation. Skype also has background blurring.

My work is using Meets, and I second this desire to edit my camera stream. I didn't find anything even cheap to do it.

A green screen should make it pretty straightforward?

Re: Bokehlicious Selfies

#46
post #37

One problem with bokeh is that it disappears when you scale the image down. Perhaps this technique can help solve that (but I suppose there would be better ways to do this). Anyway, the entire technique is also very easy to do manually with Photoshop.

I don't have much experience with Photoshop. Would it be possible to record some sort of macro in it to automatically transform any image? If not, this approach seems to have merit

Yes, Photoshop supports pretty customizable recorded and custom actions. Can also process multiple files in bulk/batch.

Re: Bokehlicious Selfies

#47
post #16
post #14

OT: I can't understand why this website _want_ to looks like a mobile web __and__ hides scrolling bar. I'm on desktop and it irritates me a bit.

Might be that it's a mobile first theme that's more like mobile only – styling for the phone and not making any changes for desktop.

What’s odd is that I can’t interact with it at all on my iPad. I scroll down, hit a media object of some kind, and that’s the end of it. Blank space, no scroll indication, can’t seem to scroll back up to the top.

Re: Bokehlicious Selfies

#48

Wow this looks ugly :D. But still nice work. It's just that the girl is totally over-processed and the "bokeh", well I hate to break it to you, but this isn't bokeh, its called "blur". This is bokeh: https://cdn.mos.cms.futurecdn.net/JgrDuxQPCAvgd5VzqiKN5a-650... And bokeh is 3 dimensional and surrounds the focus area, increasing with distance: https://www.flickr.com/photos/scottcartwrightphotography/145... I suggest…

I agree. My goal here was to get something that look like bokeh if you squinted at it. I just wanted to see how far I could take this idea.

FYI, the web page seems entirely unusable on my iPad Pro. It goes blank at the first example, and without a scroll indicator I have no idea what’s going on.

I was able to scroll to the bottom footer, but I can’t scroll back to the top, so there’s literally nothing but a blank page now except for the footer.

Re: Bokehlicious Selfies

#49

To make the Gaussian blur look better, it needs to be applied to linear lightness, not to gamma-encoded colors, as it is done here. In reality, the blur is induced by the lens, on linear lightness, and only gamma-encoded afterwards. The effect being that blurred colors mix wrongly, as you can see where the red from the flower mixes with the green. The transition looks wrong, and not how a lens would render it.

Shallow depth of field blur is not a Gaussian blur though. Attempts at faking shallow depth of field with that filter will not result with true bokeh.

Re: Bokehlicious Selfies

#50

Earlier quoted context omitted.

My work is using Meets, and I second this desire to edit my camera stream. I didn't find anything even cheap to do it.

A green screen should make it pretty straightforward?

Yes, that would make it trivial. But Zoom gives you the option of using a green screen or not.
Post reply on HN