Region of interest (ROI) corresponding to a soft tissue mass are tracked
in a training video acquired by sonography. The locations of the ROI are
used to construct a directed graph in which each node represents a
location of the tracked ROI, and the edges represent temporal relations
of the ROIs. The soft tissue mass can also be tracked using the graph,
and appropriate treatment can be delivered.