Closed aamster closed 2 years ago
Currently, if a mask was larger than the crop size, then it would not be padded. This PR first center crops the mask to the crop size so that it is always <= crop size. This will cut off part of the mask if it is very large.
It deals with projections correctly (img size is (128, 128)) and it lines up with the mask
Currently, if a mask was larger than the crop size, then it would not be padded. This PR first center crops the mask to the crop size so that it is always <= crop size. This will cut off part of the mask if it is very large.
Before
After