Let X be a S x 2 input matrix, where S is the number of seeds selected
The position of the hth seed in the image is represented by the vector Xh = (xh1,xh2), where the first coordinate indicates the column and the second coordinate the row of the image.