This document presents a novel method for image segmentation using a Local Binary Fitting (LBF) algorithm enhanced by Cooperative Quantum Particle Swarm Optimization (CQPso-LF), addressing challenges with contour initialization in complex medical images. By incorporating a particle swarm optimization approach, the proposed technique improves the accuracy and efficiency of segmentation by selecting optimal contour seeds and minimizing fitting energy. Experimental results demonstrate the effectiveness of this hybrid approach on both simple and complex medical images.