I am trying to mask some background in an agricultural research plot using the OTSU algorithm. This creates two separate classes of pixels, which can then be separated. I have read about this in the literature, but I haven't been able to find this feature.
Could anyone tell me the steps to execute this algorithm?
Thanks in advance!