Rolling with the shutter – SYFY WIRE (blog)

A couple of weeks ago, I posted an article about a very weird video effect I saw when I was in a small airplane: The propeller looked like it was in several pieces, with parts of it apparently hovering off the plane. This is obviously not something physically happening to the propeller, but is instead an artifact, an effect occurring inside the camera.

In my explanation, I said it was due to two effects: shutter roll and aliasing. Shutter roll has to do with how the digital detector rapidly scans the scene row by row, which can cause weird warped distortions in rapidly moving objects. Aliasing is when the video frame rate of the camera beats, or resonates, with a cyclic motion in the scene (like a wheel spinning). Although I dont say so explicitly in the article, I wound up implying that aliasing was the bigger of the two effects.

Heres the video:

In the video, I actually didnt mention shutter roll for the simple reason that at the time it slipped my mind! Mea culpa. Thats one reason I wrote the article; so I could add that in.

But my friend and fellow science communicator Destin, who makes the fantastic Smarter Every Day video series, has (with the help of another friend, Henry Reich of Minute Physics just put out a new video that explains rolling shutter extremely well. I mean, like very very well. The footage is simply stunning, and you really should watch this whole thing, because its so cool:

How about that? Ive seen a lot of these effects before, but the guitar string and coin spin were new to me. Henrys animations really bring home how the scanning of the shutter stretches out or compresses the motions of objects in cameras.

They also put together a behind-the-scenes video with more technical details for those of you who, like me, love to dig into the bits (haha) of digital imaging:

So, the weird distortion is due to rolling shutter, and the multiple dissociated propeller blades are due, in part to aliasing (note how when he changes the scan rate you see a different number of phantom blades).

At one point, near the beginning of that video, Destin says quite rightly that Henry is a wizard. He really drives home how this works.

I was surprised to feel a strong pang of nostalgia watching the second video. After I got my degree, I worked at NASAs Goddard Space Flight center helping to calibrate a camera that was being built to go onboard the Hubble Space Telescope. Called STIS, for the Space Telescope Imaging Spectrograph, it was an incredibly advanced machine, with three separate detectors and vast array of filters and spectroscopic settings. My job was to understand its performance: Literally, photons go in one end, and data (brightness, color info, and more) come out the other. What happens in between? If you want to fully understand what youre seeing in the images and spectra, you have to know whats happening inside the camera.

I used software (IDL, for those of you fluent in ancient languages) to do this analysis, and many times those of us working on this had to dream up odd ways of taking the data and manipulating it so we could understand it better. Watching Henry work reminded me strongly of that, and Ill admit it made me smile. The first idea I came up with to show the rolling shutter effect would have worked, but wouldve also been inefficient. Henrys method using a temporal gradient mask is way more efficient. Even as I write these words a part of my brain is chewing over how Id do this in IDL.

You can take the programmer away from Hubble, but you cant take the programmer out of the brain.

So, I apologize for my first article not being more clear on how this works, and Im delighted to be able to showcase Destins and Henrys work here. And the point I made in the article remains the same: Seeing is not believing, and what you see is never, ever what you really get. Cameras change whats really happening, inevitably, and if you dont understand how, youll be at the mercy of those who are trying to fool you when they say, The camera doesnt lie.

Because oh my, yes it does.

Read the original here:

Rolling with the shutter - SYFY WIRE (blog)

Related Posts

Comments are closed.