Skip to content

Support for automatic multidimensional loading & GC #9

@RainerHeintzmann

Description

@RainerHeintzmann

The reshaping of filename arrays currently sounds non-ideal, or did I miss a tool which would do this already automatically?
How about selecting filenames by a Printf.jl-like pattern definition myimage_z=%.3d_t=%.2d.tiff or even allowing for multiple "*" in the pattern match, each of them automatically adding a dimension. Together with (optional) ranges and/or strides this could allow to flexibly select sub-arrays of data.
I did started something like this independently just based on FileIO.load, but the lazy loading mechanism in here might be a much better implementation.

Another thing which may be nice, is to turn off the garbage collector (GC) by default when loading a whole series into memory. The current version of FileIO.load has pretty bad timing when loading thousands of ".tiff" images, but turning the GC off temporarily avoids these issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions