batchgenerators icon indicating copy to clipboard operation
batchgenerators copied to clipboard

Why twice crop in Brats example?

Open CarlosNacher opened this issue 2 years ago • 0 comments

Hi Fabian,

First thanks all your team for the great job developing this package!

I have a doubt. In the brats2017_dataloader_3D.py example you implement in the generate_train_batch method, inside you load patient and seg and crop it. But after, when pass BraTS2017DataLoader3D to MultiThreaderAugmenter with SpatialTransforms, inside its transforms also the data is cropped. Aren't you cropping twice when could you do once only?

Bests regards, Nácher.

CarlosNacher avatar Aug 10 '22 06:08 CarlosNacher