更改

删除1,112字节 、 2020年12月8日 (二) 14:32
第583行: 第583行:  
The parameter <math>\lambda</math> in each of above functions adjusts the functions’ respective shapes.<br />Step 2 Construction process:<br />The ant's movement is based on 4-connected pixels or 8-connected pixels. The probability with which the ant moves is given by the probability equation <math>P_{x,y}</math><br />Step 3 and Step 5 Update process:<br />The pheromone matrix is updated twice. in step 3 the trail of the ant (given by <math>\tau_{(x,y)}</math> ) is updated where as in step 5 the evaporation rate of the trail is updated which is given by the below equation.<br /><math>
 
The parameter <math>\lambda</math> in each of above functions adjusts the functions’ respective shapes.<br />Step 2 Construction process:<br />The ant's movement is based on 4-connected pixels or 8-connected pixels. The probability with which the ant moves is given by the probability equation <math>P_{x,y}</math><br />Step 3 and Step 5 Update process:<br />The pheromone matrix is updated twice. in step 3 the trail of the ant (given by <math>\tau_{(x,y)}</math> ) is updated where as in step 5 the evaporation rate of the trail is updated which is given by the below equation.<br /><math>
   −
上面每个函数中的参数 <math> lambda </math > 用来调整函数各自的形状。<br/> 步骤2构建过程: <br/> 蚂蚁的移动是在4个连接的像素或8个连接的像素进行的。根据概率方程<math>P_{x,y}</math>给出蚂蚁移动的概率<br />步骤3与步骤5更新过程<br />信息素矩阵更新两次。在步骤3中,蚂蚁(由<math>\tau_{(x,y)}</math>给出)的踪迹被更新,就像在步骤5中,蚂蚁的踪迹蒸发率由下面的方程进行更新。
+
上面每个函数中的参数<math>lambda</math> 用来调整函数各自的形状。<br/> 步骤2构建过程: <br/> 蚂蚁的移动是在4个连接的像素或8个连接的像素进行的。根据概率方程<math>P_{x,y}</math>给出蚂蚁移动的概率<br />步骤3与步骤5更新过程<br />信息素矩阵更新两次。在步骤3中,蚂蚁(由<math>\tau_{(x,y)}</math>给出)的踪迹被更新,就像在步骤5中,蚂蚁的踪迹蒸发率由下面的方程进行更新。
 
<br /><math>
 
<br /><math>
 
\tau_{new} \leftarrow
 
\tau_{new} \leftarrow
第597行: 第597行:       −
Image Edge detected using ACO:<br />The images below are generated using different functions given by the equation (1) to (4).<br />The images below are generated using different functions given by the equation (1) to (4).<ref>{{cite web|title=File Exchange {{ndash}} Ant Colony Optimization (ACO)|website=[[MATLAB]] Central|url=http://www.mathworks.com/matlabcentral/fileexchange/32009-ant-colony-optimization--aco-}}</ref>
+
Image Edge detected using ACO:<br />The images below are generated using different functions given by the equation (1) to (4).<ref>{{cite web|title=File Exchange {{ndash}} Ant Colony Optimization (ACO)|website=[[MATLAB]] Central|url=http://www.mathworks.com/matlabcentral/fileexchange/32009-ant-colony-optimization--aco-}}</ref>
 
[[File:(a)Original Image (b)Image Generated using equation(1) (c)Image generated using equation(2) (d) Image generated using equation(3) (e)Image generated using equation(4).jpg|none|thumb]]
 
[[File:(a)Original Image (b)Image Generated using equation(1) (c)Image generated using equation(2) (d) Image generated using equation(3) (e)Image generated using equation(4).jpg|none|thumb]]
    
使用 ACO 检测图像边缘: < br/> 下面的图像是使用方程(1)至(4)给出的不同函数生成的。
 
使用 ACO 检测图像边缘: < br/> 下面的图像是使用方程(1)至(4)给出的不同函数生成的。
  −
\end{cases}</math><br />The parameter <math>\lambda</math> in each of above functions adjusts the functions’ respective shapes.<br />''Step 2 Construction process:<br />''The ant's movement is based on [[4-connected neighborhood|4-connected]] [[pixel]]s or [[8-connected]] [[pixel]]s. The probability with which the ant moves is given by the probability equation <math>P_{x,y}</math><br />''Step 3 and Step 5 Update process:<br />''The pheromone matrix is updated twice. in step 3 the trail of the ant (given by <math>\tau_{(x,y)}</math> ) is updated where as in step 5 the evaporation rate of the trail is updated which is given by the below equation.
  −
<br /><math>
  −
\tau_{new} \leftarrow
  −
(1-\psi)\tau_{old} + \psi \tau_{0}
  −
</math>, where <math>\psi</math> is the pheromone decay coefficient <math>0< \tau <1</math>
  −
  −
  −
[[File:(a)Original Image (b)Image Generated using equation(1) (c)Image generated using equation(2) (d) Image generated using equation(3) (e)Image generated using equation(4).jpg|none|thumb]]
  −
       
7,129

个编辑