1. A method, comprising: receiving an image of a portion of an object captured by a confocal imaging device having a particular astigmatic character; determining an image pattern associated with the image; and determining a distance between a focus plane of the confocal imaging device and the portion of the object based, at least in part, on information regarding the image pattern.