I'm dealing with nifti file currently, and I cannot find way to extract segmentation info (or data) from it.
I have a {filename}.nii.gz file and read this file with NIFTI-Reader-JS package, render it into html canvas. enter image description here
As you can see, the brain image have separated areas that can be recorgnized with its color.
Q1. But how can i get each segmentation info from NIFTI-Reader-JS package or anything else? I checked all header info from this file but cannot find any hint.
When I open this file whit 3D Slicer in windows, I can choose segmentation option and it renders more specifically with various colors. And that's what I want to do with javascript. enter image description here
My english is not good enough, so if anyone have a question or need more specific instructions please tell me.
Thanks for all your helps.