An investigation into the weft insertion periodic errors in fabric using an image analysis method