Wolfram Computation Meets Knowledge

Wolfram Summer School


Petr Schovánek

Summer School

Class of 2014


Petr is an undergraduate student at Palacký University in Olomouc, Czech Republic. He is studying optics and optoelectronics for two years. During his study, he is attending a global manufacturer of precision optics specializing in the design, engineering, and assembly of complex optical, optomechanical, and optoelectronic systems. His hobbies include physics, nature, and digital photography, especially astrophotography and sport. He is fascinated by astronomy and the evolution of the universe.

Project: Detection of Out-of-Focus Digital Photographs

Undoubtedly one of the most noticeable differences between “good” and “bad” photography is rate of sharpness. Other parameters such as saturation, colors, or brightness can be adjusted using suitable software. I would rephrase, saying that a blurred photo cannot be adjusted that easily, so the only way to go is to take multiple pictures. Especially in astrophotography there is a real problem with focusing. Some people solve it by capturing sequences of photographs and then picking the sharpest. My aim is to write a program that will automatically select the sharpest picture in a given set.

Another task is to determine whether a photograph is sharp or blurred. A possible approach is the following:

  1. Divide the image into non-overlapping blocks
  2. For each block compute a local measure of sharpness
  3. Compute the global figures of merit from local measures
  4. Determine whether the image is well-focused from the global figures of merit.

Although it looks like an easy task, we must take into account a lot of parameters, which may influence overall sharpness.

Favorite Outer Totalistic r=1, k=2 2D Cellular Automaton

Rule 238558