if I have an image with 11x11 pixels and In the center of the image is a square of 5x5 pixels. The gray level of the background is 0 and the gray level of the square is 50.