Evaluation of diamond bar patterns on fabric surface using an images analysis technique