Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Perceptual loss not working when one of the dimensions in a 3D volume is too small #159

@virginiafdez

Description

@virginiafdez

When one of the dimensions in a 3D volume is too small (which can occur, in images with small number of slices - i.e. cardiac images), the generation of pseudo-3d slices along all directions gives error because it results in 2D slices with one very small dimension.

We could automatise the choice of the directions that are taken into account for the calculation as a function of the size.

IE: volume of dimensions [64, 64, 12]. Because slices of size [64, 12] will not work due to the small width, only axial cuts ([64, 64]) will be taken into account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions