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

Violating VR definition #453

Open
spandan-roy-ainostics opened this issue Mar 21, 2022 · 3 comments
Open

Violating VR definition #453

spandan-roy-ainostics opened this issue Mar 21, 2022 · 3 comments

Comments

@spandan-roy-ainostics
Copy link

I am trying to create a dicom seg file using itkimage2segimage, however I keep running into VR definition violation errors.
image
image (1)

What would be the exact fix for this issue?

@fedorov
Copy link
Member

fedorov commented Mar 22, 2022

Can you try checking if the input DICOM files are valid using this tool: https://www.dclunie.com/dicom3tools/dciodvfy.html ?

@spandan-roy-ainostics
Copy link
Author

I am getting the following output when I check the validity for the dicom files:

image

Does this mean the images don't meet the validity required by itkimage2segimage?

@fedorov
Copy link
Member

fedorov commented Mar 24, 2022

Yes, you would need to fix the errors related to VR constraints violations before you can use this dataset with dcmqi. Some of those fields are copied into the output SEG, and the converter will not be able to write a valid SEG with those values in the input.

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

No branches or pull requests

2 participants