MIR.utils.other_utilsΒΆ
Miscellaneous utility helpers for MIR.
Functions
|
Reassign SLANT label IDs to contiguous indices. |
|
Create a deflate-compressed zip file from a directory. |
|
Load weights from a checkpoint into a model, skipping unmatched layers. |
|
Load a pickled object from disk. |
|
Build the lookup from contiguous label index to FreeSurfer structure name. |
|
Save an object to a pickle file. |
|
Append a line to a CSV file. |
|
Resample a 3D image from its voxel spacing to a target spacing with |
Classes
|
Crop or pad a 3-D medical image tensor so the spatial size becomes exactly |