Accurate and efficient visualization of invasive medical devices is extremely important in many ultrasound-guided minimally invasive procedures. Here, a method for localizing the spatial position of a needle tip relative to the ultrasound imaging probe is presented.