资源简介

纯java代码写的sift图片识别算法,欢迎交流指正!图片匹配效果还是可以的,可以直接运行!木有使用opencv、metlab等api = =

代码片段和文件信息

package pic.algorithm.sift;

/**
 * 高斯模板类
 * @author Administrator
 *
 */
public final class GaussTemplate {
/**
 * sigma:1.6
 */
private static double[][] template0={
{3.5713954074985066E-62.0713152601434842E-58.128458481216907E-52.1583600643790033E-43.8778706594587474E-44.714291802648668E-43.8778706594587474E-42.1583600643790033E-48.128458481216907E-52.0713152601434842E-53.5713954074985066E-6}
{2.0713152601434842E-51.2013082891620593E-44.714291802648668E-40.00125179198272079680.00224906283323738540.0027341650636312530.00224906283323738540.00125179198272079684.714291802648668E-41.2013082891620593E-42.0713152601434842E-5}
{8.128458481216907E-54.714291802648668E-40.00185002862304584350.0049124048639323680.0088259929395546370.0107296786868556620.0088259929395546370.0049124048639323680.00185002862304584354.714291802648668E-48.128458481216907E-5}
{2.1583600643790033E-40.00125179198272079680.0049124048639323680.0130439719940421760.023435772887621190.0284906542056431280.023435772887621190.0130439719940421760.0049124048639323680.00125179198272079682.1583600643790033E-4}
{3.8778706594587474E-40.00224906283323738540.0088259929395546370.023435772887621190.0421064573805450540.051188434143232860.0421064573805450540.023435772887621190.0088259929395546370.00224906283323738543.8778706594587474E-4}
{4.714291802648668E-40.0027341650636312530.0107296786868556620.0284906542056431280.051188434143232860.06222931001663310.051188434143232860.0284906542056431280.0107296786868556620.0027341650636312534.714291802648668E-4}
{3.8778706594587474E-40.00224906283323738540.0088259929395546370.023435772887621190.0421064573805450540.051188434143232860.0421064573805450540.023435772887621190.0088259929395546370.00224906283323738543.8778706594587474E-4}
{2.1583600643790033E-40.00125179198272079680.0049124048639323680.0130439719940421760.023435772887621190.0284906542056431280.023435772887621190.0130439719940421760.0049124048639323680.00125179198272079682.1583600643790033E-4}
{8.128458481216907E-54.714291802648668E-40.00185002862304584350.0049124048639323680.0088259929395546370.0107296786868556620.0088259929395546370.0049124048639323680.00185002862304584354.714291802648668E-48.128458481216907E-5}
{2.0713152601434842E-51.2013082891620593E-44.714291802648668E-40.00125179198272079680.00224906283323738540.0027341650636312530.00224906283323738540.00125179198272079684.714291802648668E-41.2013082891620593E-42.0713152601434842E-5}
{3.5713954074985066E-62.0713152601434842E-58.128458481216907E-52.1583600643790033E-43.8778706594587474E-44.714291802648668E-43.8778706594587474E-42.1583600643790033E-48.128458481216907E-52.0713152601434842E-53.5713954074985066E-6
};

/**
 * sigma:1.2262734984654078
 */
private static double[][] template1={
{2.5342849776080325E-62.5982707033952188E-51.369951124237161E-43

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        384  2014-02-20 09:29  Pic_True\.project

     文件        301  2014-02-20 09:29  Pic_True\.classpath

     文件       7135  2014-02-25 11:45  Pic_True\hs_err_pid10388.log

     文件       8612  2014-02-25 13:54  Pic_True\hs_err_pid9496.log

     文件       1313  2014-03-03 13:41  Pic_True\Help.txt

     文件      31744  2014-02-27 17:40  Pic_True\我的读书笔记(一):数据信息中的相似度计算算法.doc

     文件       7129  2014-03-04 10:54  Pic_True\hs_err_pid10084.log

     文件        138  2014-03-12 17:42  Pic_True\ref\info.txt

     文件      92765  2014-03-12 15:39  Pic_True\ref\精确定位metlab.jpg

     文件       4648  2014-03-12 17:21  Pic_True\ref\opencv.txt

     文件        598  2014-02-20 09:29  Pic_True\.settings\org.eclipse.jdt.core.prefs

     文件         74  2014-03-04 15:24  Pic_True\.settings\org.eclipse.core.resources.prefs

     文件       2206  2014-03-26 16:49  Pic_True\bin\pic\algorithm\sift\MyPoint.class

     文件      19653  2014-03-27 11:19  Pic_True\bin\pic\algorithm\sift\ImageTransform.class

     文件      11007  2014-03-26 16:49  Pic_True\bin\pic\algorithm\sift\GaussTemplate.class

     文件       5915  2014-03-27 11:14  Pic_True\bin\pic\ui\Mainframe.class

     文件       1037  2014-03-27 11:14  Pic_True\bin\pic\utility\Test.class

     文件        402  2014-03-26 16:49  Pic_True\bin\pic\utility\Pic_Utility.class

     文件       2570  2014-03-26 16:49  Pic_True\bin\pic\utility\Math_Utility.class

     文件       6878  2014-03-26 16:49  Pic_True\bin\pic\utility\Image_Utility.class

     文件      10011  2014-03-27 11:14  Pic_True\src\pic\ui\Mainframe.java

     文件      29621  2014-03-27 11:19  Pic_True\src\pic\algorithm\sift\ImageTransform.java

     文件       1914  2014-03-13 13:17  Pic_True\src\pic\algorithm\sift\MyPoint.java

     文件      25986  2014-03-26 14:09  Pic_True\src\pic\algorithm\sift\GaussTemplate.java

     文件       2364  2014-03-27 11:14  Pic_True\src\pic\utility\Test.java

     文件        704  2014-03-04 15:24  Pic_True\src\pic\utility\Pic_Utility.java

     文件       3528  2014-03-21 15:11  Pic_True\src\pic\utility\Math_Utility.java

     文件      11175  2014-03-06 17:00  Pic_True\src\pic\utility\Image_Utility.java

     目录          0  2014-03-27 11:23  Pic_True\bin\pic\algorithm\sift

     目录          0  2014-03-27 11:23  Pic_True\src\pic\algorithm\sift

............此处省略16个文件信息

评论

共有 条评论