The present disclosure relates to systems, methods, and computer-readable storage media for segmenting medical image. Embodiments of the present disclosure may locate and track a moving, three-dimensional (3D) target in a patient undergoing image-guided radiation therapy. For example, an adaptive filter model for a region of interest in the patient may be received, wherein the adaptive filter model is based on the target to be tracked. An image acquisition device may obtain a two-dimensional (2D) slice of a region of interest in the patient. A processor may then apply the adaptive filter model to the 2D slice, wherein the adaptive filter model includes an offset value. The processor may also determine a location of the target in the 2D slice based on the adaptive filter model. The processor may also estimate a potential location of the target based on the offset value. The processor may then repeat one or more of the above steps to track the moving target during image-guided radiation therapy of the patient.