Skip to content

Would like to be able to do DIC on in-memory images #1

@sdh4

Description

@sdh4

I would like to be able to do DIC on in-memory images without having to write them to a file (they are not stored in a standard format). I'd be happy to implement the capability and submit a pull request.

Any suggestions on the approach?

One simple option would be to modify the Image2D class to handle both cases (filename, and Array2D, only one of which is valid at any given time.

Another option could be to make the Image2D class a superclass with subclasses for file input and array input.

A third option could be to make the existing Image2D class no longer "final" and make its methods virtual, so that a derived class could be externally defined. In this case the interface functions would need to become virtual methods (or thin layers over virtual methods) so that they will properly call the derived class's methods.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions