1. A method for performance by a computer, for automatically processing an image including the junction between a cornea and an iris, the method comprising: defining a region of interest (ROI) in the image; deriving an estimated position of said junction within the region of interest; defining a second region of the image based on the estimated position of the junction; extracting features of the second region of the image; and inputting the extracted features to an adaptive model, the adaptive model outputting at least one variable characterizing the junction; wherein the estimated position of the junction is found by: binarizing the ROI, selecting a connected region of the binarized region of interest by a criterion which selects a connected region which has said junction as one of its corners, and deriving the estimated position of the junction from the connected region; and wherein the connected region is selected by: calculating a plurality of pixel numbers N and a plurality of center coordinates (Cx, Cy) of a plurality of connected regions of the binarized ROI, for each of the connected regions calculating a corresponding weight Nw from the plurality of pixel numbers and the plurality of center coordinates, and selecting the one of the connected regions of the ROI with the highest value of the weight Nw.