Preprocessing For Content-Based Image Retrieval