Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cilNexusReader and cilNexusResampleReader #131

Open
lauramurgatroyd opened this issue Jul 21, 2021 · 0 comments
Open

Add cilNexusReader and cilNexusResampleReader #131

lauramurgatroyd opened this issue Jul 21, 2021 · 0 comments
Assignees

Comments

@lauramurgatroyd
Copy link
Member

These will be specific cases of the cilHDF5Reader and cilHDF5ResampleReader, that will be setup to read the cil Nexus format.

Note that the cil nexus format may include data, dark fields and flat fields. The readers should be able to read all of these and return each of them separately. How it works will depend on how we adjust the cil nexus format to include dark and flat fields, see TomographicImaging/CIL#934 .

If we want to write the results of resampling with the cilNexusReader to a file, this will need to contain the dark and flat fields, but also the origin and spacing of the image that will need to be used to display it correctly with the viewer if this file was read back in.
We can either write out a cilnexus file and add extra attributes for the origin and spacing - in this case we need to come up with some convention for this. Or we can write out 3 metaimage files (which already have the origin and spacing as settings in the header).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants