FIX throw warning when image.crop img with pad=True runs on empty images
FIX throw warning when image.crop img with pad=True runs on empty images: a task in life-science-SWE1.0 (Harbor dataset). Title: FIX throw warning when image.crop img with pad=True runs on empty images
The task
**Title:** [FIX] throw warning when `image.crop_img` with `pad=True` runs on empty images
Part of scalingX/life-science-SWE1.0.