This paper introduces a computer-aided detection (CAD) tool designed to enhance mammography images for effective breast cancer mass identification and classification, using techniques like wavelet transformation and particle swarm optimization. Experimental results demonstrate the method's effectiveness, achieving a detection rate of 94.44% with 100% sensitivity and only 2.56 false positives per image. The proposed system aims to improve early detection and management of breast cancer, which is critical for treatment success.