A stochastic computing architecture for local contrast and mean image thresholding algorithm. (19th May 2022)