Bimean clustering

An algorithm is presented which finds the best-fitting pair of constants, in the least squares sense, to a set of scalar data; we call this pair of constants the 'bimean' of the data. The relationship of the bimean clustering to the ISODATA clustering algorithm, and its application to image thresholding, are also discussed.