Skip to content

[Requirement] [File-Handling] Support various image formats. #34

@YooSunYoung

Description

@YooSunYoung

Executive summary

Imaging workflows should be able to load/save various image formats.

Context and background knowledge

There are various existing imaging analysis tools that support complicated features and we can't support all of them with essimaging so we are expecting to use those existing tools.
However, they might only accept certain image formats, so we need to be flexible about exporting images.

Loading various images should be also supported since we will need to verify our methods with other existing tools with existing images, that are not in nexus format.

Inputs

See fabio for more examples.
Common neutron image formats are

  • tiff
  • png
  • mpeg
  • nexus
  • binary (i.e. binary files from timepix detector)

Methodology

  • Write/wrap loader/exporters of each image format using reliable third party APIs.
  • Define a data structure that is useful for neutron imaging and load images into the data structure or save the data structure into the target format.
  • Write clear documentation about how to write such wrapper/loader/exporter to be inserted in workflows.

Outputs

Same as Inputs

Which interfaces are required?

Integrated into reduction workflow, Python module / function, Jupyter notebook

Test cases

We have some images from timepix detector we can use for testings.
We can use background image or iron sample measurement.

Comments

No response

Metadata

Metadata

Assignees

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