In order to develop and validate the quantum image processing algorithm on quantum computer, combined with quantum computing operation on IBM quantum experiment platform (IBM Q) and quantum image processing theory, a quantum image segmentation method based on IBM Q platform was designed. An improved enhanced quantum representation (IEQR) was proposed based on the existing novel enhanced quantum representation (NEQR). The quantum image segmentation circuit, which consists of the quantum bit string comparator (QBSC) and the Control swap (Cswap) gate, is initialized according to the IEQR. Finally, quantum image segmentation of 2×2 and 4×4 size images are realized on IBM Q and local classical computer simulator. The experimental results demonstrate the feasibility and effectiveness of the algorithm and the superiority of quantum computers is validated.