The application provides a method and equipment for optimizing a needle channel of a postoperative implantation plan. The method comprises the following steps: S1, constructing a three-dimensional coordinate
system of an
object based on CT or MRI images, and reconstructing three-dimensional space information of PTV and OAR; S2, setting a surface
needle insertion surface position and range of the object in the three-dimensional coordinate
system of the object, calculating all needle paths according to the three-dimensional spatial position relationship of PTV and OAR, combining the needle size and the physical restriction condition between the needle channels; S3, defining a penalty
function model, calculating the position relationship between the prescription
dose line and PTV and OAR in the three-dimensional space according to the
dose distribution and the attenuation characteristics of the
radiation source, and generating the penalty
function model; S4, defining the number of needles, calculating the penalty function values of different needle number combinations, and taking the needle combination and path corresponding to the
minimum function value as the optimal scheme. The application can reduce the
normal tissue damage of implantation treatment and improve the efficiency and
curative effect.