A concave cost formulation for parametric curve fitting: Detection of leukocytes from intravital microscopy images