The seeds are automatically determined (located) by an ad-hoc procedure, since this process is problem-dependent.
Considering the great variability of colour of the wood boards, the seed selection is based on adaptive thresholding in the RGB colour space.
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.