First I’d like to mention that I’m new to slicer and probably I’m making a very obvious mistake.
While trying to segment ct data captured on a Skyscan 1176, I ran into the issue that I could not use the painting function. I followed the tutorial Whole heart segmentation from cardiac CT in 10 minutes but when painting into the viewport I receive this error message in the python console: [VTK] No input data. The model looks fine in the viewport.
I imported the data using the slicermorph extension, which is why I also tagged it. Maybe I did something wrong there.
Any suggestions as to why I cannot use the painting function in the segmentation editor?
If the data are read as vector (RGB) then SegmentEditor won’t work.
In SlicerMorph there is a SkyscanReconImport module that simplifies the procedure, though it is not ideal to use if your data is too large or you want to downsample as you import etc. If that’s the case, use the ImageStacks module in SlicerMorph. Both of them will bring the data ready to be used in SegmentEditor.
Indeed I used Imagestack to import the files (tiff). SkyscanReconImport didn’t work because I was missing one image which I will get tomorrow. Otherwise I will have to adjust the log file which I would prefer not to.
I will check if I accidentally imported it as RGB (I don’t know where the setting is).
Thank you @pieper for pointing out this bug.
Looks like it’s exactly that. But what can I do about it? Should it still draw something? It doesn’t draw anything in my case.
Yes, it should still draw so if it’s still an issue after doing the steps that @muratmaga suggested, it would be great if you could share a few files (enough that someone could replicate the issue).
Sorry, for taking so long to reply. I was running experiments and new CT scans the last couple days.
I resolved the issue. While not being 100% sure, what resolved the problem was downloading the files to have them locally. Probably an obvious solution but I prefer to leave such large datasets (20 Gb) on the NAS. Anyway, now I know and it worked now for another dataset too. The STLs I exported from it are impressively good.
What strangely doesn’t work is the SkyscanReconImport I always have to use ImageStack but that’s off-topic.