立即学习:https://edu.csdn.net/course/play/10552/234929?utm_source=blogtoedu
阈值分割(基础知识)
①二进制阈值化(Threshold Binary)
dst(x,y) = maxVal if src(x,y) > thresh
0 if src(x,y) < thresh
②反二进制阈值化(Threshold Binary,Inverted)
dst(x,y) = 0 if src(x,y) > thresh
maxVal if src(x,y) < thresh
③截断阈值化(Truncate)
dst(x,y)=threshold if src(x,y) > thresh
src(x,y) overwise
④反阈值化为0(Threshold to zero,Inverted)
dst(x,y)= 0 if src(x,y) > thresh
src(x,y) overwise
⑤阈值化为0 (Threshold to zero)
dst(x,y)= src(x,y) if src(x,y) > thresh
0 overwise