Hi,
I have two different modality dicom data set ,CT :512 X 512 X 568 and PET:200 X 200 X 426
Both images are preprocessed to get a volumetric data of equal size and pixel spacing .
The dimensions after resampling are 143 X 143 X 284 for both with slice thickness of 3mm.
Now I want to extract patch of 64 X 64 X 64 from my preprocessed data  by sliding the window with
overlap size of 18 × 18 × 18 to its neighbouring patches.
My aim is to extract these patches from my volume data and pass it to the U Net based generator model of my cycle GANs.
Can anyone explain me how can I acheive this in pytorch