def METHOD_NAME():
    def call(shape, rgb_channel, with_mask=True):
        image = np.ones(shape)
        image[:, :, 0] = rgb_channel[0]
        image[:, :, 1] = rgb_channel[1]
        image[:, :, 2] = rgb_channel[2]
        if with_mask:
            image[10:50, 50:120] = 100
        return image.astype(np.float32)
    return call