• 大小: 102KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-07
  • 语言: 其他
  • 标签: java  第一版  

资源简介

图像分割分水岭算法第一版,详见我的相关博文

资源截图

代码片段和文件信息



/**
 * 一维高斯模板类
 * @author Administrator
 *
 */
public final class GaussTemplate1D {
/**
 * sigma:1.6
 */
private static double[] templateX_Y0={0.00188981359067462160.010960421019112630.043011959070075420.114210209675151960.20519858035704110.249458032575888580.20519858035704110.114210209675151960.043011959070075420.010960421019112630.0018898135906746216};

/**
 * sigma:1.2262734984654078
 */
private static double[] templateX_Y1={0.0015919437733814690.0163213723175423130.086055245615065130.23334030137366280.32538227384069660.23334030137366280.086055245615065130.0163213723175423130.001591943773381469};

/**
 * sigma:1.5450077936447955
 */
private static double[] templateX_Y2={0.00137367520006772370.0090490752916855080.039209069510136160.111745761765913040.20947768951588220.25828945743263090.20947768951588220.111745761765913040.039209069510136160.0090490752916855080.0013736752000677237};

/**
 * sigma:1.9465878414647124
 */
private static double[] templateX_Y3={0.00177382319338739020.007573303107953160.024834001942346880.062545266061981440.12098416730128460.179741762912007470.2050953509620780.179741762912007470.12098416730128460.062545266061981440.024834001942346880.007573303107953160.0017738231933873902};

/**
 * sigma:2.4525469969308156
 */
private static double[] templateX_Y4={7.968609236745192E-40.0027726690712482760.0081698009930128160.020385569560404080.043075681223463890.077079589160346980.116800461920932320.149881372649704660.16287284991809940.149881372649704660.116800461920932320.077079589160346980.043075681223463890.020385569560404080.0081698009930128160.002772669071248276};

/**
 * sigma:3.0900155872895905
 */
private static double[] templateX_Y5={6.875504209566184E-40.00185954567662960740.0045292333484362080.0099347762330579560.0196248809366889670.034911741965936510.055930867455773970.080695095258283010.104847545912282780.122683158483275960.129278759038313460.122683158483275960.104847545912282780.080695095258283010.055930867455773970.034911741965936510.0196248809366889670.0099347762330579560.0045292333484362080.0018595456766296074};


/**
 * 
 * 根據i的值來獲取不同的高斯模板
 * @param i
 * @return
 */
public static double[] gettemplateX_Y(int i){
switch(i){
case 0:
return templateX_Y0;
case 1:
return templateX_Y1;
case 2:
return templateX_Y2;
case 3:
return templateX_Y3;
case 4:
return templateX_Y4;
case 5:
return templateX_Y5;
default: return null;
}
}





}

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

     文件        301  2014-11-17 22:45  IMG_OBJ_PICK\.classpath

     文件        388  2014-11-17 22:45  IMG_OBJ_PICK\.project

     文件        598  2014-11-17 22:45  IMG_OBJ_PICK\.settings\org.eclipse.jdt.core.prefs

     文件       1727  2014-11-18 07:19  IMG_OBJ_PICK\bin\GaussTemplate1D.class

     文件       4243  2014-11-18 07:19  IMG_OBJ_PICK\bin\Image_Utility.class

     文件       1761  2014-11-18 07:19  IMG_OBJ_PICK\bin\Main.class

     文件       7803  2014-11-18 07:19  IMG_OBJ_PICK\bin\WaterShed.class

     文件      11921  2014-11-06 02:04  IMG_OBJ_PICK\img\2.jpg

     文件       9601  2014-11-12 15:53  IMG_OBJ_PICK\img\3.jpg

     文件      44784  2014-11-18 07:19  IMG_OBJ_PICK\img\gauss-grad.jpg

     文件      16572  2014-11-18 07:19  IMG_OBJ_PICK\img\watershed.jpg

     文件       6173  2014-09-15 12:38  IMG_OBJ_PICK\img\xl.jpg

     文件       2640  2014-11-12 14:15  IMG_OBJ_PICK\src\GaussTemplate1D.java

     文件       5856  2014-11-17 23:18  IMG_OBJ_PICK\src\Image_Utility.java

     文件        790  2014-11-18 07:51  IMG_OBJ_PICK\src\Main.java

     文件      15142  2014-11-18 07:52  IMG_OBJ_PICK\src\WaterShed.java

     目录          0  2014-11-17 22:45  IMG_OBJ_PICK\.settings

     目录          0  2014-11-18 07:19  IMG_OBJ_PICK\bin

     目录          0  2014-11-18 07:19  IMG_OBJ_PICK\img

     目录          0  2014-11-18 07:19  IMG_OBJ_PICK\src

     目录          0  2014-11-17 23:21  IMG_OBJ_PICK

----------- ---------  ---------- -----  ----

               130300                    21


评论

共有 条评论