160 likes | 374 Views
Automating the Polarizing Filter. Help taking great pictures easier. Motivation. Everything else in the camera is already automated, Why not make life even simpler?. What is a polarizing filter?. only transfers light in a specific plane reduces or eliminates glare and reflections
E N D
Automating the Polarizing Filter Help taking great pictures easier
Motivation Everything else in the camera is already automated, Why not make life even simpler?
What is a polarizing filter? • only transfers light in a specific plane • reduces or eliminates glare and reflections • improves both contrast and color saturation • glare cannot be reduced after taking the picture
Objective We want the camera to select automatically between pictures of different polarization angles every time we push the button, so even the novice photographer will take expert photos
The Algorithm • Picture alignment. • Initial guess. • Gaussian smoothing. • Differentiation. • Modified hysteresis. • Scoring.
alignment • Take a few pictures of the same object with different rotations of the filter • Align them using pixel shifting™
Initial guess • Using the images’ entropy as an ad-hoc basis of comparison, choose two extremes (min and max)
Gaussian smoothing • Use the smoothing technique to diminish small local differences between images
Differentiation • By subtracting the two images of the initial guess (after they have been smoothed) regions of big difference between images are emphasized.
Hysteresis • Use a hysteresis algorithm to determine regions of inter-image change
Scoring • To select the optimal image according to the user’s specification, score the image’s characteristics
What else? • We still need to determine the two hysteresis thresholds, which can be done automatically with a bit more research