Center crop xy in StochasticFocalPatchSampler
ibro45 opened this issue · 0 comments
ibro45 commented
If the defined 3D patch size is big enough in x and y dimension to encompass the whole body, center cropping it in x and y would most likely be ideal, while z position could be selected as usual.
Add an option to StochasticFocalPatchSampler for center cropping in x and y.