Suppose I have a large image (5000 x 5000), how can I randomly select a portion ( 200 x 200 square) from this large image? Also I want to set boundary so the selection won’t take any area outside the image.
If anyone has any idea, please shed some light.
How you do the last bit depends on how you’re working with the image.