Skip to content

REV should adapt to aspect ratio of image #581

Open
@jgostick

Description

@jgostick

Some images are thin, like of fibrous media. In these cases the REV function will use cubes with a maximum size equal to the thin dimension. It might be handy to include a mode argument that controls this a bit. For instance, mode='equal' means cubes as we do now, mode='maximal' would mean cubes when smaller than min(im.shape), but uses cuboids when needed, and lastly mode='proportional' would mean the cube always has the same aspect ratio as the image. There would probably be other modes we could add in future....maybe spheres?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions