i have a tensor which shape is [4,1,224,224]. This is a 4 grayscale image batch. I want to get certain range values of each image. For example, the image grayscale range is 0 to 255, I want to get 30 to 40 values from the image and other pixels should be zero. is there a good way to do it?