Difference between revisions of "Team:Cambridge-JIC/Autofocus"
KaterinaMN (Talk | contribs) |
KaterinaMN (Talk | contribs) |
||
Line 35: | Line 35: | ||
<li><p>Implemented the parabola approximation to find in focus position. </p></li> | <li><p>Implemented the parabola approximation to find in focus position. </p></li> | ||
</ul> | </ul> | ||
+ | <p>The autofocus algorithm we have developed is open for further improvements and performance enhancement. Ideas for future development include a threshold value to indicate the event of reaching max focus, and hence to stop the search. Another option is gradient search, which is a simple technique for convergence to local extrema. This was attempted, but did not give good results, as the learning rate of the algorithm was slow. Also, noise from images disrupts the calculations. This was a significant problem even when the gradient was calculated by taking multiple pictures around the point of interest. Another algorithm that we found was unsuccessful is the golden section interval algorithm. </p> | ||
<p>The performance of our final algorithm varies, depending on the starting point of the search. A typical processing time is around 40s, which allows for autofocus during live-stream imaging through the <a href="" class="blue">Webshell</a>.</p> | <p>The performance of our final algorithm varies, depending on the starting point of the search. A typical processing time is around 40s, which allows for autofocus during live-stream imaging through the <a href="" class="blue">Webshell</a>.</p> | ||
− | |||
<hr> | <hr> | ||
<p><i>The Autofocus algorithm we have developed can be found in the <a href="" class="blue">full software package</a>. It was developed solely by Rajiv, with useful feedback and advice from the rest of the Software team.</i></p> | <p><i>The Autofocus algorithm we have developed can be found in the <a href="" class="blue">full software package</a>. It was developed solely by Rajiv, with useful feedback and advice from the rest of the Software team.</i></p> |
Revision as of 22:56, 17 September 2015