图像2值化用迭代法求最佳阀值的小问题!
iNewThreshold = (iMinGrayValue + iMaxGrayValue)/2;
iThreshold = 0;
这是用迭代法求最佳阀值最外面一层循环:
for(iIterationTimes = 0; iThreshold != iNewThreshold && iIterationTimes < 100;iIterationTimes ++)
有谁知道iThreshold != iNewThreshold && iIterationTimes < 100,这个控制循环的变量是什么意义啊?(iThreshold 阀值,iThreshold是迭代次数)为什么要这样设?