Automatic pattern segmentation of jacquard warp-knitted fabric based on hybrid image processing methods