Skip to main content
100%

Gist 61f729d5fdcda29e57ebc8ec0b06652f

✓ Published0🌍 Public
Aakeshavan
Last edited Jul 18, 2017
Created on Jul 18, 2017

This example generates image tiles from 3D neuroimaging data, converting MRI volumes into 2D slice images along a specified axis. It loads NIfTI files with nibabel, reorients the data to IPL coordinates, and renders each slice as a grayscale PNG using matplotlib. The code also creates JSON manifests that record slice indices, mask information, and file paths, enabling tile-based visualization of brain scans.

AI-generated description

Similar vizzes