How to open Segmentation.seg.nrrd file using vtk

See my answer here: Why does the color of the label map change when I save the label map?