apple tech

Fixing Portrait mode’s grossness

A few weeks ago, I bought an iPhone X. I love its face-unlock authentication and its gorgeously tall screen, but its dual-lens camera is easily my favorite feature. The iPhone X is the best camera I’ve every owned, and it’s not even really a competition. I’ve never had an SLR and my last point-and-shoot was from the early days of digital photography.

In fact, the iPhone X camera is so good (or, rather, “good enough”) that it’s hard to imagine I’ll ever consider buying a standalone camera again.

That’s not to say there isn’t plenty of room for improvement. In particular, I find “portrait mode” (the fake bokeh blur effect) alternately intoxicating and maddening. In many cases, it does a great job isolating my photo’s foreground subject. But when it fails, it fails hard. As many others have pointed out, hair poses a serious challenge to its algorithm, as do non-contiguous background areas (e.g. a piece of the background visible through the crook of your subject’s arm) and ambiguous edges.

Could Apple fix these sorts of hiccups in software? This is my first dance with Portrait mode, so I can’t say whether the feature has improved since its first release last year. But I have at least some hope that edge detection will improve and fill in some of the gaps (pun intended).

Even if the algorithms improve, I’d like to see some way to touch up these problematic Portrait mode depth maps. There are already several interesting apps that let me see the underlying depth channel. Slør paints it as a black-and-white alpha channel; Focos lets me spin the depth layers around like I’m in some sort of sci-fi flick (“Rotate. Zoom. Enhance.”).

But neither of those apps—nor any others that I’ve heard of—let you actually fix the depth sensing errors that creep into Portrait mode photos. Take those non-continugous background areas I mentioned earlier. Given a decent channel-editing interface, it would be relatively simple to paint a foreground area back into the background, where it belongs.

It’s possible that Apple’s developer-facing APIs won’t allow depth changes to be written back into a fully editable Portrait mode photo. If not, that’s a shame and ought to be corrected. In the meantime, though, I’d love to see an app handle depth edits “in-house”, then export a flattened photo (with the proper blur baked in) back to the camera roll.

Hopefully that sort of functionality arrives soon. Portrait mode is a blast, but it’s hard to feel too enthusiastic when it produces such glaring flaws. ■

history sports Uncategorized

Living links

We saw Twelve Years a Slave last night. It’s not a perfect film,[1] but it offers an honest, heart-wrenching account of the most shameful “secret” in American history.

Because lawful slavery ended long before we were born, we might be tempted to dismiss it as a half-remembered relic of a less-civilized age.

That’s too easy, for several reasons. First, human trafficking continues to occur here in the U.S. and around the world. In addition, 150 years is not so long a time, after all. Using historic photos, we can leapfrog our way back to the Civil War in just a few moves:

  • The (still-living) George H.W. Bush once met Babe Ruth.
  • Babe Ruth posed for a photo with Pittsburgh Pirates legend Honus Wagner, with whom Ruth’s career briefly overlapped.
  • President William Howard Taft cheered on Honus Wagner at a 1909 baseball game.
  • Taft delivered an address at the fiftieth anniversary of the Battle of Bull Run. Many aging Civil War veterans attended the ceremony.

Another thought: the last surviving Civil War veteran didn’t pass away until 1956.[2] Although he was a contemporary to Lincoln and Lee, he lived to witness the first automobile, the fall of the Third Reich, and the dawn of the atomic era.

We tend to compartmentalize history into distinct eras. But individual lives transcend these neat mental barriers—and bring history’s injustices uncomfortably close.

  1. Steve McQueen, the film’s director, seems to love uncomfortably long shots of nothing in particular.  ↩
  2. There are several dozen children of Civil War veterans who are still alive, as of October 2013.  ↩