[Neuroimaging] JSON-LD and DICOM?

Matthew Brett matthew.brett at gmail.com
Tue Jul 4 13:04:37 EDT 2017


On Tue, Jul 4, 2017 at 5:55 PM, Chris Gorgolewski
<krzysztof.gorgolewski at gmail.com> wrote:
>
> On Tue, Jul 4, 2017 at 12:36 PM, Matthew Brett <matthew.brett at gmail.com>
> wrote:
>>
>> It's near the beginning - specifically, if it's the only extension
>> (which will usually be true), then it will start at byte 352 of the
>> file.   So yes, if you open the nifti file with a standard text
>> editor, as long as it doesn't try and force you into using a hex
>> display or something, you should see the header extension text on the
>> first screen.
>
>
> Interesting! This would not work for nii.gz right? Also I'm afraid that
> editors like atom would choke on files larger than 20mb...

No, wouldn't work on big .gz files without unpacking, unless you did
something like:

gunzip -c ~/tmp/my_mri.nii.gz | head -c 2000 | cat -v

Cheers,

Matthew


More information about the Neuroimaging mailing list