-
-
Notifications
You must be signed in to change notification settings - Fork 664
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
MetaDataDictionary::Print only prints [UNKNOWN_PRINT_CHARACTERISTICS] #1454
Labels
type:Bug
Inconsistencies or issues which will cause an incorrect result under some or all circumstances
Comments
blowekamp
added
the
type:Bug
Inconsistencies or issues which will cause an incorrect result under some or all circumstances
label
Nov 29, 2019
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
Facing this as well... By the way @blowekamp, it would be absolutely fantastic to transfer some of the SimpleITK great goodies on handling metadata dictionaries to ITK wrappings. SimpleITK reference: https://simpleitk.readthedocs.io/en/master/link_DicomImagePrintTags_docs.html |
phcerdan
added a commit
to phcerdan/ITK
that referenced
this issue
Dec 14, 2023
Also removes dead code related to METADATAPRINT Fix InsightSoftwareConsortium#1454
4 tasks
phcerdan
added a commit
to phcerdan/ITK
that referenced
this issue
Dec 14, 2023
Also removes dead code related to METADATAPRINT Fix InsightSoftwareConsortium#1454
phcerdan
added a commit
to phcerdan/ITK
that referenced
this issue
Dec 14, 2023
Also removes dead code related to METADATAPRINT Fix InsightSoftwareConsortium#1454
blowekamp
added a commit
to blowekamp/ITK
that referenced
this issue
Aug 21, 2024
Also removes dead code related to METADATAPRINT Fix InsightSoftwareConsortium#1454 Co-Author: Pablo Hernandez-Cerdan <pablo.hernandez.cerdan@outlook.com>
7 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
type:Bug
Inconsistencies or issues which will cause an incorrect result under some or all circumstances
Description
For any MetaDataObject calling
obj->Print(std::cout)
produces "[UNKNOWN_PRINT_CHARACTERISTICS]" on the console.ITK/Modules/Core/Common/include/itkMetaDataObject.hxx
Lines 63 to 69 in 6046976
Expected behavior
For
itk::Object
base objects thePrint
method should be used while those which supportoperator<<
, that method should be used.It is expected to be able to iterate over the metadata dictionary and print the key and value of all types and get descriptive output.
The text was updated successfully, but these errors were encountered: