1. A method for performing image-on-medium registration, comprising: providing a fiducial mark pattern printed on a printing medium by a printing device, said fiducial mark pattern comprising a plurality of fiducial marks at predefined relative distances; capturing an image of said printing medium; identifying said plurality of fiducial marks in a captured representation of said printing medium; identifying a first edge of said printing medium in said captured representation of said printing medium; determining a first distance between said first edge and a first fiducial mark of said fiducial mark pattern from said captured representation of said printing medium; determining a plurality of second distances between said plurality of fiducial marks from said captured representation of said printing medium; computing a distance between said fiducial mark pattern and said first edge based on said determined first distance and said plurality of determined second distances, wherein computing said distance between said fiducial mark pattern and said first edge comprises a linear regression based on said plurality of determined second distances, and predetermined distances between the fiducial marks; and calibrating the printing device using the computed distance.