-
-
Notifications
You must be signed in to change notification settings - Fork 101
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/enforce that -vertfile
and -i
are in the same voxel coordinate system
#3111
Comments
Code check:In the code, the details are in the following:
Questions:Do I need to do some test for dimensions between input(-i) and vertebral labelling file (-vertfile), similar to the following check between atlas and data?
|
Good question-- it depends how the information from the If it is retrieve from the "physical" coordinate system (ie: using the affine transformation in the header), then it is not necessary-- but it doubt it is the case... |
…put image and the vertebral labelling file. Second, update the help. Fix #3111
…en the input and the vertebral labelling file. Second, update the help. Fix #3111
In #3120, we partially address this issue by throwing an error in the API when the spinalcordtoolbox/spinalcordtoolbox/aggregate_slicewise.py Lines 235 to 240 in 269018a
However, as @jcohenadad points out in #3120 (comment), this check might be too shallow, so a deeper verification could be done instead.
|
-vertfile
and -i
are in the same voxel coordinate system
-vertfile
and -i
are in the same voxel coordinate system-vertfile
and -i
are in the same voxel coordinate system
Currently the usage says:
We need to check (look into the code) if the input file is transformed into the same voxel coordinate system as the input image, or if it is not.
And depending on the answer, we need to specify in the usage what is expected from this input vertfile.
The same comment applies to:
sct_extract_metric
sct_process_segmentation
The text was updated successfully, but these errors were encountered: