A novel method for the identification of weave through image processing