Automatic Fabric Fault Detection Using Morphological Operations on Bit Plane