Research Article

Protocol for Quantification of Defects in Natural Fibres for Composites

Algorithm 3

Coefficient of variation method for defect area.
for    do
            Binary image mask with threshold =
               Amount of non-zero pixels in
end for
for   =   do
   for   =   do
      = +                   Sum of foreground areas
   end for
    =                   The mean of the foreground areas
   for   =   do
       = +             Sum for calculating the standard deviation
   end for
    =                      The standard deviation
    =                       Coefficient of variation
end for
= index          The placeholder of that contains the lowest value