Difference between revisions of "Team:Cambridge-JIC/Autofocus"
KaterinaMN (Talk | contribs) |
KaterinaMN (Talk | contribs) |
||
Line 1: | Line 1: | ||
{{:Team:Cambridge-JIC/Templates/Menu}} | {{:Team:Cambridge-JIC/Templates/Menu}} | ||
<html> | <html> | ||
+ | |||
+ | <style> | ||
+ | section.guide-section a:link, section.guide-section a:visited{ | ||
+ | color:#6fd85e !important; | ||
+ | } | ||
+ | img | ||
+ | { | ||
+ | filter: grayscale(1); | ||
+ | -webkit-filter: grayscale(1); | ||
+ | -moz-filter: grayscale(1); | ||
+ | -o-filter: grayscale(1); | ||
+ | -ms-filter: grayscale(1); | ||
+ | } | ||
+ | |||
+ | img:hover | ||
+ | { | ||
+ | filter: grayscale(0); | ||
+ | -webkit-filter: grayscale(0); | ||
+ | -moz-filter: grayscale(0); | ||
+ | -o-filter: grayscale(0); | ||
+ | -ms-filter: grayscale(0); | ||
+ | } | ||
+ | } | ||
+ | </style> | ||
+ | |||
<section style="background-color:#fff"> | <section style="background-color:#fff"> | ||
Line 25: | Line 50: | ||
<div style="width: 100%; padding: 0% 10%; margin: 30px 0px;color:#000"> | <div style="width: 100%; padding: 0% 10%; margin: 30px 0px;color:#000"> | ||
<h3>The Solution</h3> | <h3>The Solution</h3> | ||
+ | </center><img src="//2015.igem.org/wiki/images/d/da/CamJIC-Software-Autofocus-Example.jpg" style="width:60%"><p><i>Autofocus algorithm in action</i></p></center> | ||
<p>The strategy of the autofocus algorithm is to calculate the <b>focus score</b> for each frame imaged while gradually changing the sample-objective distance, until the score is maximized. This corresponds to the most sharply focused image. The physics behind the process is very simple: image of an object, viewed through a lens, is produced at a particular distance from the lens; at any shorter/longer distance the light rays from a single point on the object do not converge into a point, and therefore the image is blurred. The focus score can therefore be simply regarded as a mathematical function with a single maximum. However, multiple methods exist for calculating the focus score. The challenge was to find the most robust one. Here is what we tried: | <p>The strategy of the autofocus algorithm is to calculate the <b>focus score</b> for each frame imaged while gradually changing the sample-objective distance, until the score is maximized. This corresponds to the most sharply focused image. The physics behind the process is very simple: image of an object, viewed through a lens, is produced at a particular distance from the lens; at any shorter/longer distance the light rays from a single point on the object do not converge into a point, and therefore the image is blurred. The focus score can therefore be simply regarded as a mathematical function with a single maximum. However, multiple methods exist for calculating the focus score. The challenge was to find the most robust one. Here is what we tried: | ||
<ul> | <ul> |
Revision as of 23:05, 17 September 2015