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

attempt for RealWorldValueMapping rescale support in Wrapper #143

Closed
wants to merge 6 commits into from

Conversation

bpinsard
Copy link
Contributor

I do have dicoms (from ADNI) that don't have RescaleSlope/Intercept but RealWorldValueMappingSequence and the pixel values matters as these are real/imaginary parts of Philips fieldmaps but it depends on the scanner/software.
I modified the Wrapper._scale_data to use this to rescale the data properly but I do not know the exact specification of such value mapping and there seems to also exists an alternative LUT data.
The RealWorldValueMappingSequence can also contains multiple mappings which is not handled here.

@matthew-brett
Copy link
Member

Thanks very much for this - and sorry to be so slow to get back to you. I messed up my laptop and have had a family reunion, so I've fallen behind. I will try hard to give you some feedback in the next few days.

@bpinsard
Copy link
Contributor Author

bpinsard commented Dec 3, 2012

here is a link to the dicom
https://docs.google.com/open?id=0B26jhHh-t8-zdld2WU94M1VXX2s

@matthew-brett
Copy link
Member

Can we put this DICOM into the tests ? Can we release it with an MIT license to release with the code?

bpinsard added 4 commits December 21, 2012 12:00
* master:
  BF: doctest output not correctly formatted
  BF: ornt_transform was returning the inverse of the correct orientation.
  DOC: Fixed typo in axcodes2ornt docstring
  ENH: Added funtions to transform orientations.
@matthew-brett
Copy link
Member

@bpinsard - I've created a rebased version of these changes here : #169

Are those the correct changes? OK to close this pull request in favor of the new one with rebased changes?

Any thoughts about the license for the example DICOM?

@bpinsard
Copy link
Contributor Author

bpinsard commented Apr 4, 2013

yes I do agree with the changes, ok to close.
about the license I do not really know as it is ADNI file...

@matthew-brett
Copy link
Member

Thanks - closing in favor of : #169

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

Successfully merging this pull request may close these issues.

2 participants