I'm experiencing an unusual problem with XTK. I'm trying to visualise a CT volume (a .nrrd) and its corresponding labelmap (also a .nrrd). The code is based on the tutorial found here: http://lessons.goxtk.com/13/
When I use the example data, it works perfectly well. However, when I use some of our own data I get the following error: "Uncaught TypeError: Cannot read property '_children' of undefined". The CT volume loads and displays fine on its own, but when you add the labelmap it breaks.
It's very tricky to debug, but one thing I have found is that "parseLUT.js" is used with the example data, but not with our data for some reason. Any advice would be very much appreciated!
I'm experiencing an unusual problem with XTK. I'm trying to visualise a CT volume (a .nrrd) and its corresponding labelmap (also a .nrrd). The code is based on the tutorial found here: http://lessons.goxtk.com/13/
When I use the example data, it works perfectly well. However, when I use some of our own data I get the following error: "Uncaught TypeError: Cannot read property '_children' of undefined". The CT volume loads and displays fine on its own, but when you add the labelmap it breaks.
It's very tricky to debug, but one thing I have found is that "parseLUT.js" is used with the example data, but not with our data for some reason. Any advice would be very much appreciated!