An analysis of whole body tracer kinetics in dynamic PET studies with application to image-based blood input function