In order to meet the requirement of calculating the binary image centroid quickly in real time signal processing, authors used second generation's DSP TM320C25 (made by TI), gave full play its object image centroid quickly simplified traditional algorithm of centroid calculation and calculated image centroid by combining software and hardware.