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

Value transformed automatically #1

Open
DoctorYe opened this issue Dec 17, 2017 · 0 comments
Open

Value transformed automatically #1

DoctorYe opened this issue Dec 17, 2017 · 0 comments

Comments

@DoctorYe
Copy link
Owner

DoctorYe commented Dec 17, 2017

example1:
original data: (0018, 1310) Acquisition Matrix US: [160, 0, 0, 125]
extracted result: '\xa0\x00\x00\x00\x00\x00}\x00'
the way of transfor 'back' is:
map(ord,'\xa0\x00\x00\x00\x00\x00}\x00')
#[160, 0, 0, 0, 0, 0, 125, 0]
example2:
original data:
(0028, 0030) Pixel Spacing DS: ['1.5', '1.5']
extracted result: 1.5\1.5
example3:
original data:
(0028, 0010) Rows US: 160 extracted result:'\xa0\x00'
the way of transfor 'back' is:
map(ord,'\xa0\x00')
#[160, 0]

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

1 participant