Research Article
Protocol for Quantification of Defects in Natural Fibres for Composites
Algorithm 2
Otsu’s method for defect area.
= 0 Initial values | = 0 | = 0 | = 0 | = Overall mean based on histogram | for do | for do | for do | = Weight of the first segment | = Weight of the second segment | = Weight of the third segment | = Weight of the fourth segment | = Mean of the first segment | = Mean of the second segment | = Mean of the third segment | = Mean of the fourth segment | Between-class variance | if then Storing threshold combination for largest | = | = | = | = | end if | end for | end for | end for |
|