The application relates to the technical field of
image processing, in particular to a
bladder cancer contour drawing method and
system based on ultrasonic images. The method comprises the following steps: acquiring bladder ultrasonic images and contrast images under each
view angle; obtaining a
muscle layer infiltration depth factor according to the shape, length and surrounding pixel gray scale of blood vessels in each region in the ultrasonic images, and determining a deviation
error factor of each region under each
view angle; obtaining a pulling error sensitive factor according to the
volume change of the
bladder cavity, the distance between the
tumor region and the texture region of the urinary
muscle bundle, the overall tumor displacement direction and the local
muscle bundle main direction in each frame of the bladder ultrasonic images under each
view angle, and then obtaining the registration error cumulative value of each region under each view angle; and comprehensively obtaining a drawing
error coefficient by combining the deviation
error factor, the registration error cumulative value and the pulling error sensitive factor, adjusting an initial edge reservation parameter, and obtaining a
bladder cancer contour drawing result. The application improves the accuracy of the
bladder cancer contour drawing result.