decodeOBJ3(file)

Version 1.0.0.0 (12,1 KB) von Bill Crum
Read Analyze (TM) version 7 object maps .
40 Downloads
Aktualisiert 16. Mai 2017

Lizenz anzeigen

This code is an update of Dave Johnson's original decodeOBJ. It reads Analyze (TM) object (.obj) files, which store voxel data in a compressed format, and returns a MATLAB array of the uncompressed data and structure header of all the fields.
The main differences to the original code are:
(i) reads Version 7 object files (and should also read Version 6).
(ii) supports multiple volumes.
(iii) should support 4D objects but this is untested.
(iv) uses connected component analysis to merge connected ROIs across slices.
(v) returns the object map as an int16 array and sets datatype and bitpix in the header structure to Analyze/NIfTI appropriate values.

This function was tested on R2017a but should work in earlier versions.
The Image Processing Toolbox is only required for the connected component analysis using bwconncomp.

Zitieren als

Bill Crum (2025). decodeOBJ3(file) (https://de.mathworks.com/matlabcentral/fileexchange/62963-decodeobj3-file), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2017a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0