📄 032-034.html
字号:
<HTML>
<HEAD>
<META name=vsisbn content="0849398010">
<META name=vstitle content="Industrial Applications of Genetic Algorithms">
<META name=vsauthor content="Charles Karr; L. Michael Freeman">
<META name=vsimprint content="CRC Press">
<META name=vspublisher content="CRC Press LLC">
<META name=vspubdate content="12/01/98">
<META name=vscategory content="Web and Software Development: Artificial Intelligence: Other">
<TITLE>Industrial Applications of Genetic Algorithms:Image-Calibration Transformation Matrix Solution Using a Genetic Algorithm</TITLE>
<!-- HEADER -->
<STYLE type="text/css">
<!--
A:hover {
color : Red;
}
-->
</STYLE>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<!--ISBN=0849398010//-->
<!--TITLE=Industrial Applications of Genetic Algorithms//-->
<!--AUTHOR=Charles Karr//-->
<!--AUTHOR=L. Michael Freeman//-->
<!--PUBLISHER=CRC Press LLC//-->
<!--IMPRINT=CRC Press//-->
<!--CHAPTER=2//-->
<!--PAGES=032-034//-->
<!--UNASSIGNED1//-->
<!--UNASSIGNED2//-->
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="029-032.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="../ch03/035-036.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
<P><BR></P>
<P><FONT SIZE="+1"><B>CONCLUSIONS</B></FONT></P>
<P>A Genetic Algorithm has been successfully implemented to locate an acceptable transformation matrix to map one image into the space of another image. The current state of the GA does find an acceptable solution below the desired target of 0.4 in 42% of the runs in the 2,560-run test-case. Tests with another image-set test-case yields similar results. The desire to better the time using the GA algorithm over the existing iterative approach was achieved for the test case, but the average distance result did not achieve its goal.
</P>
<P><FONT SIZE="+1"><B><I>Total-Comet-Strike (TCS) Operator</I></B></FONT></P>
<P>The idea of re-initializing the GA every MG/N generations, by implementing the Total-Comet-Strike operator, was prompted by this effort and looks promising. The next logical addition is to cache all of the final values of the N sub-runs, and if the solution has not converged in the N sub-runs, then either the best of the five should be used and the run terminates, or the best of the N is used and the run continues for another period of time. A time-based or maximum-generation termination needs to be maintained to avoid the rouge case which refuses to converge.
</P>
<P><FONT SIZE="+1"><B><I>GA Use in a Time-constrained Environment</I></B></FONT></P>
<P>Revisiting the requirement of achieving a 0.4 distance goal within 20 seconds, on a per-individual case, this goal cannot be guaranteed with the GA approach. However, this requirement needs to be considered for the overall population of runs in the job-set, and if no one run is time critical and the desire is for the entire job-set to complete faster, this GA approach is usable. With the addition of the sub-run TCS technique as described above, the times should be improved even more. As a last resort, for a run which fails to converge, the run can be processed with the existing method with a maximum run-time of twice the targeted 20 seconds (20 for the failed GA, and 20 for the non-GA run). This time could be reduced by avoiding the initialization overhead by carrying both algorithms which share the same front and back ends in the same program (Figures 2.3 and 2.4). This hybrid approach would result in an overall reduction in time for a set of runs, and will also guarantee all runs reach the specified minimum distance value.
</P>
<P><FONT SIZE="+1"><B><I>Applicability in a Production Environment</I></B></FONT></P>
<P>With the above mentioned additions to make the algorithm finite in execution time with an acceptable convergence value, this GA-based hybrid method will result in a net time savings without sacrificing the quality of the solution.
</P>
<P><FONT SIZE="+1"><B><I>Repeatability</I></B></FONT></P>
<P>A concern with using algorithms which utilize randomness is the repeatability of the solution for the same dataset. In my experience working with engineers, answers, even good answers, which are different for the same set of inputs, are regarded as suspect. With computer-generated randomness as used by the GA, the random-number generator could be seeded with a calculated value derived from the two input images. This would generate the exact same calculated value for the same set of images and parameter settings, which would generate in the same exact result. If the code is to be run on a variety of computers or operating system versions, care should be taken to ensure that the random number generators on the set of computers and operating systems, all behave the same; generating the same set of “random” values. A custom random-number generator could be implemented as part of the GA code, which would run the same across different platforms. The drawback to this is that the random number generator provided with the OS has generally been tuned to perform well on the specific hardware. With the time-critical nature of the requirement, this trade-off would need to be weighed carefully.
</P>
<P><FONT SIZE="+1"><B><I>Matrix Techniques</I></B></FONT></P>
<P>The technique of calculating an initial transformation matrix, and then using the GA to find the deltas to this initial matrix, proved to be effective. Identifying the necessary matrix locations and not utilizing the remaining locations also proved to be useful in the performance of this GA implementation. The creation of a sub-matrix crossover which groups matrix values which are related to the matrix usage worked well; it was not the only crossover method required, but the addition of this method aided the algorithm in general.
</P>
<P><FONT SIZE="+1"><B>REFERENCES</B></FONT></P>
<DL>
<DD><B>1</B> Dasgupta, D.; McGregor, D.R. (1992). <I>Digital image registration using structured genetic algorithms</I>. Proceedings of the SPIE - The International Society for Optical Engineering, <B>1766</B>, 226-34.
<DD><B>2</B> Nagao, T.; Agui, T.; Nagahashi, H. (1995). <I>Fitting three-dimensional models to stereo images using a genetic algorithm</I>. Proceedings of the SPIE -The International Society for Optical Engineering Conference Title: Proceedings of the SPIE (USA), <B>2501</B>, 129-39.
<DD><B>3</B> Wallet, B.C.; Marchette, D.J.; Solka, J.L. (1996). <I>A matrix representation for genetic algorithms</I>. Proceedings of the SPIE. <B>2756</B>, 206-14.
<DD><B>4</B> John J. Craig. (1986). <I>Introduction to Robotics: Mechanics & Control</I>. Reading, MA: Addison-Wesley Publishing Company.
<DD><B>5</B> F. S. Hill Jr. (1990). <I>Computer Graphics</I>. New York: Macmillan Publishing Company.
<DD><B>6</B> David E. Goldberg. (1989). <I>Genetic Algorithms in Search, Optimization & Machine Learning</I>. Reading, MA: Addison-Wesley Publishing Company.
<DD><B>7</B> Robert Dain is a student in this class and should have his project included in this publication. He was a fellow Boeing employee, but has since left Boeing to pursue his fortune at Microsoft.
<DD><B>8</B> William H. Press et al. (1992). <I>Numerical Recipes in C: The Art of Scientific Computing, second edition</I>. Cambridge, MA: Cambridge University Press.
</DL>
<P><BR></P>
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="029-032.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="../ch03/035-036.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
<hr width="90%" size="1" noshade>
<div align="center">
<font face="Verdana,sans-serif" size="1">Copyright © <a href="/reference/crc00001.html">CRC Press LLC</a></font>
</div>
<!-- all of the reference materials (books) have the footer and subfoot reveresed -->
<!-- reference_subfoot = footer -->
<!-- reference_footer = subfoot -->
</BODY>
</HTML>
<!-- END FOOTER -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -