cortex.dataset.VolumeRGB.to_json¶
- VolumeRGB.to_json(simple=False)[source]¶
Serialize this RGB volume to a JSON-compatible dict, for the webgl viewer / HDF5 export.
- Parameters:
- simplebool, optional
If True, return an abbreviated summary suitable for a quick listing rather than the full webgl payload. Default False.
- Returns:
- dict
Serialized view data, including the transform matrix (when not simple) needed to place the RGB volume in the correct space.