ivoflipse / pydicom

Automatically exported from code.google.com/p/pydicom
0 stars 1 forks source link

Explicitly identify ambiguous VRs like OW/OB #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Some dictionary items are OW/OB, 'US or SS' etc. See if can resolve which
was actually used and read with appropriate byte swapping if required.
  * e.g. PixelData is OB for encapsulated formats -- PS 3.5-2008 A.4

Original issue reported on code.google.com by darcymason@gmail.com on 12 Oct 2008 at 1:44

GoogleCodeExporter commented 9 years ago

Original comment by darcymason@gmail.com on 26 Dec 2008 at 4:44

GoogleCodeExporter commented 9 years ago
Set difficulty. Chose 'Hard' based on fact that determining whether is OB or OW 
may 
require knowing values of other data elements, which can be tricky. Perhaps it 
can be 
done like for private tags, where Private Creator was checked when the data 
element 
was added to the dataset (__setitem__ in that case).

Original comment by darcymason@gmail.com on 12 Jun 2009 at 3:27