1. A method of identifying the boundary of an object in an image, the image being represented by a data set, the data set comprising a plurality of data elements, each data element having a data value corresponding to a feature of at least part of the image, the method comprising; adjusting a boundary estimate at least partially according to one of the group consisting of a Jensen-Shannon divergence value corresponding to the boundary estimate and a Jensen-Renyi divergence value corresponding to the boundary estimate such that the boundary estimate substantially matches the object boundary.