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

document CSV files #25

Open
bbrister opened this issue Dec 1, 2020 · 4 comments
Open

document CSV files #25

bbrister opened this issue Dec 1, 2020 · 4 comments

Comments

@bbrister
Copy link
Owner

bbrister commented Dec 1, 2020

There is little documentation for the CSV files written by the CLI

@SFUMECJF
Copy link

Dear Blaine,
I think you did a great job!
When using CLI for image registration, there are several output formats. The most important output format should be matches.csv, right? Because other images just use the information in this file to draw key points.
image
So, For this matches.csv, The meanings of these six columns are:
a column: x coordinate of the source image
b column: y coordinate of the source image
d column: y coordinate of the reference image
e column: y coordinate of the reference image
So, what do the data in columns c and f mean?

@bbrister
Copy link
Owner Author

Hi, thanks for your interest. Columns c and f and the z-coordinates. I should really document this.

@SFUMECJF
Copy link

Hi, thanks for your interest. Columns c and f and the z-coordinates. I should really document this.
Hi, Thank you for your advice.
For the z-coordinate you mentioned, it refers to the ordinal number of the picture, right?
In other words, if a row of data in matches.csv is 96 201 6 96 201 5, it means that (96, 201) in the sixth picture of the 1.nii and (96, 201) in the fifth picture of the 2.nii are matched.
However, there are three directions of Axial, Coronal, and Sagittal in the nii file. How can I know which direction the z coordinate refers to?

@bbrister
Copy link
Owner Author

bbrister commented May 11, 2021

The Nifti file format actually encodes a 3D (or sometimes more than 3D) image. Please see here:
https://nifti.nimh.nih.gov/nifti-1/

If no special registration is encoded in the Nifti file, then the xy-plane is the same as the axial plane in your viewer.

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