-
Hey there! Recently I've tried extracting AXIAL view from RSNA MICCAI Brain Tumor Kaggle competition, and storing it as a sequence of DICOM files by using DCMTK img2dcm binary. When I try to feed the data to my network using following set of preprocessing transformations: preprocess = tio.Compose([
tio.ToCanonical(),
tio.HistogramStandardization(landmarks_dict),
tio.RescaleIntensity((-1, 1)),
tio.Resample((1.0, 1.0, 1.0)),
tio.Resize((128, 128, 64)),
]) I am getting this WARNING message which I ma not sure why it occurs:
Why is output shape 128, 128, 1? How does keeping only 1 image VIEW affect this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hi, @cepa995. Can you share one image to reproduce this?
|
Beta Was this translation helpful? Give feedback.
Hi, @cepa995. Can you share one image to reproduce this?
Resize
is typically not a good choice in medical imaging. Can you try withCropOrPad
instead?Resize
will deform your images.