Mental Masturbation, Musings, and Methods

The Mind of Alex Beutel

Image Aliasing of Plane Propellers in Photos and Video

July 23rd, 2009 · 12 Comments

Recently, while flying between Durham and New York, I decided to take a picture of the propeller during take off.  I don’t know what prompted to me to do this, but when I pointed my iPhone camera at the propeller out my window I noticed very odd pattens.  I took multiple pictures throughout the flight with my iPhone, and in some cases at the same time took pictures/video with my Canon camera.  To clarify the specs of the two cameras: I have an iPhone 3G (8 GB) and a Canon SD700 IS.  As you will see in the pictures below, the iPhone’s picture simply makes no sense with the blades appearing to be disconnected vertical lines.  The photo from the Canon seems reasonable, but as you will see in the video the propeller appears to be going fairly slowly, when in real life all I could see was a blur because of how fast it was moving.

Plane Propeller Photo from iPhone 3G

Plane Propeller Photo from iPhone 3G

Canon SD700 IS Plane Propeller Photo

Canon SD700 IS Plane Propeller Photo

Update: here is a video taken from my iPhone 3G of the propeller.
This got me thinking about why the images looked the way they did. I assumed they were related to frame rate and as a result wondered if I could work backwards to find the speed of the propeller. When I got back to Duke, I talked it over with some of my friends. We discussed one theory that explained the slow spinning in the video from my Canon. I later found out is similar to the Wagon-wheel effect, and will go into more detail on this later. We also discussed possible distortions and other possible causes but couldn’t figure out exactly what was causing the odd pattern in the iPhone photo. Eventually, I decided to search around the internet and found that I was not the only one to notice this oddity. I also stumbled upon this great post explaining clearly and graphically why the iPhone photo looks the way it does. In short, most cameras save pixels from all parts of the lens at once, while the iPhone camera goes through the lens saving pixels linearly over time, similar to watching a scanner save the page of a book. (If anyone has an iPhone 3GS and can snap a picture and/or video of a propeller, please let me know. I’m very intrested to see if Apple’s upgraded camera still behaves this way. Please let me know if you find out.) The writer of the post also demonstrated this in a cool video made from a Matlab script:
Personally, I think this is really cool so I decided to play around with it some more. As I mentioned earlier, my friends and I had discussed the wagon-wheel effect or the stroboscopic effect, so I thought I’d modify his script to demonstrate it more clearly since the Wikipedia pages on the two topics both seemed a bit lacking. First, it is necessary to explain the general concept. The stroboscopic effect explains if you only see flashes or quick individual frames of a moving object at regular intervals you can get a distorted view of the motion, especially if the motion of the object that is being watched is cyclic or has a frequency. The relationship between the frequency of the flashes or frames and the frequency of the motion is what determines the perceived motion. The most common case of this is seeing a wheel which you know to be rolling forward, but it looks to be spinning backwards slowly. I modified the previous Matlab code to create a basic example of this with the propeller (download the code here). As you will see, the propeller on the left will spin counterclockwise at a moderate speed and every 8 frames the image on the right will update with a copy of the image on the left. This out of sync updating will make the propeller on the right appear to rotate clockwise.
Click the image to view the video

Click the image to view the video

I also decided to show this more mathematically by plotting these movements in Mathematica. In the following examples I graph both the y-coordinate of the tip of the propeller and the angle that the blade has rotated in radians. In the graph of y the coordinate, there are three sinusoidal functions representing 3 propellers, each offset from the previous by 120 degrees (thus equally spaced). These lines and their colors correspond to the colored lines on the radian vs. time graph. The red lines mark a flash or frame and the dot on the line shows the top-most propeller. As you vary the spacing of the lines and thus change the frame rate, you can see the propeller will appear to stay still, then go backwards, then flip back and forth with no perceived motion, then go forwards, until it appears to stand still again. Below are pictures showing each of these stages, followed by a video fluidly showing these variations.
Here is the propeller appearing to stand still. This is due to the fact that the spacing of the frames is twice the period.

The graphs below show the propeller appearing to go backwards. Here we see that the frame rate is just below two periods of the propeller. The downward slope on the radian graph is a simple quick way to see the direction of the propeller rotation.

Propeller appearing to flip repeatedly:

This example shows the propeller appearing to rotate forwards. Again, the upwards slope of the points on the radian graph is an easy way to see the direction of rotation.

Last, here is the propeller appearing to stand still again. Unlike the first case of the propeller standing still, the spacing of the frames is not a multiple of the period. Rather, we see here that it is a multiple of 1/3 the period. It is only necessary that the spacing be a multiple of 1/3 the period because there are three blades and the blades are indistinguishable.

And finally, putting it all together:

The Mathematica code can be viewed here or downloaded here, and a printout of the entire Mathematica worksheet can be found here. Last, if one had a camera which could vary the frame rate just so slightly as to find two nearest frame rates to show the propeller standing still, the frequency of the propeller could be calculated as shown below.

As for the iPhone picture, a single image (and knowing the number of blades) is enough to roughly approximate the speed of the propeller as shown below.

However, just as a warning both of these are back of the envelope calculations and it is very possible I made a mistake (if so please let me know). That is all for now. Nothing ground breaking, but as the title suggests, it was a good chance for some mental masturbation, playing with Mathematica and Matlab.

Tags: iPhone · Math · Miscellanious

12 responses so far ↓

  • 1 Adam Prince // Aug 2, 2009 at 12:33 am

    Honestly, I don’t think I will ever look at propellers in the same way ever again. You are truly a genius Alexander. Can you put the screen door app up too?

  • 2 mark // Jan 25, 2010 at 9:37 pm

    For what it’s worth, my Nokia E71 does a similar thing – having photographed the prop in mid flight at cruising speed. However, I did notice that the actual pattern of teh aliasing varied depending on the angle I held my phone – vertical vs horizontal.

  • 3 Jim // Mar 6, 2010 at 1:40 am

    Very interesting writeup.. Nice!

    I am constantly taking photos containing propellers, because I fly behind one.
    Here is what my wife’s iPHone3GS looks like when capturing a 2 blade prop on a Mooney airplane.
    and here is a short video.

    Wish there was an easy fix….much slower shutter speed maybe..but how..on the iPhone..

  • 4 Jim // Mar 6, 2010 at 1:44 am

    Ooops..let try this video instead..

  • 5 Robn Parsons // Oct 14, 2010 at 12:20 am

    Hi Jim (?). I think your video of the propeller was accidentally posted to my facebook page. Everyone loves it. And it is very cool.

  • 6 Simon // May 15, 2011 at 3:17 pm

    Hi Alex

    I got this with my iPhone 4.

  • 7 Puzzle: Warped Turboprop Propeller Blades « Pondering Technology // Jul 14, 2011 at 8:20 am

    […] Oscar Gemperle sent me the solution as explained in another blog: […]

  • 8 プロペラが??? | あたしンちのおとうさんの独り言 // Sep 17, 2011 at 8:13 pm

    […] Image Aliasing of Plane Propellers in Photos and Video by Mental Masturbation, Musings, and Methods at 2009.07.23 […]

  • 9 vishnu // Nov 12, 2011 at 5:58 am

    very help full in my marine life

  • 10 Julian // May 28, 2014 at 8:19 pm

    How bout an equation/method using a still distorted image of a plane propeller and an Iphone 3G to find the RPMs of the propeller.
    I’m trying to figure this out but it’s hurting my brain. Love to hear your thoughts.

  • 11 bush pileit // Aug 15, 2014 at 9:14 am

    I think Marks comment should steer you in the right direction. Digital cameras would scan pixel by pixel very quickly but don’t capture the entire photo at once like the old shutter style. There will be slight but real movement during the whole process causing this wierd distortion. Therefore, when Mark turns his camera sideways the scan will produce different distortion results.

  • 12 Gerhard // May 21, 2015 at 4:53 am

    Cheap CMOS cameras use what is called “rolling shutter” instead of “global shutter” because the logic required to read out the pixel values is greatly reduced. Usually, this is performed on a line per line basis in the vertical direction, which explains the difference in effects seen when holding the camera vertical vs. horizontal.

Leave a Comment