Image enhancement can effectively enhance the overall or local features of an image. Histogram specification and equalization are effective techniques for image enhancement. Raw woven fabric defect images, after processing with histogram equalization or specification, can better reveal the defective parts. Using the MATLAB Image Toolbox functions, this paper discusses how histogram processing techniques enhance fabric defect images and compares the results of different specification functions used for histogram processing.