I have a 3D CT image size of shape 284,143,143 and I want to extract 3D patches of size 64x64x64.
Is there a way I can extract the patches from this volumetric image and reconstruct patches back. I have been using unfold function from pytorch so far but havent acheived the desired goal . But is there any way to do it using ITK.
The aim is to send these image patches as input to my 3D GANs model. And reconstruct the generated image patches back to an image