Skip to content
Discussion options

You must be logged in to vote

The input image is all (512, 512, 108), which is good. Can you check whether there are Spacingd transform? This step will resample the input volume to a specific resolution, then the dimensions will change, I guess the z axis, after resample, there are less than 96 slices.

In detail, this transform: you can remove this if your images resolution are consistent.

        Spacingd(
            keys=["image", "label"],
            pixdim=(1.5, 1.5, 2.0),
            mode=("bilinear", "nearest"),
        ),
        ScaleIntensityRanged(
            keys=["image"],
            a_min=-175,
            a_max=250,
            b_min=0.0,
            b_max=1.0,
            clip=True,
        ),
     …

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@vikashg
Comment options

vikashg Feb 21, 2023
Collaborator Author

Comment options

vikashg
Feb 21, 2023
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@vikashg
Comment options

vikashg Feb 23, 2023
Collaborator Author

Answer selected by vikashg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed
2 participants