Determining the boundaries of grayscale image. (2019). Mathematical Machines and Systems, 4, 52–64. https://doi.org/10.34121/1028-9763-2019-4-52-64