if
can we draw the label use the code?
The question is not quite clear, but there is an ScribbleInteractor that you can use to draw on the image to indicate "seeds". There is also a Mask class that you can use to load pre-created masks/label images.
I hope this helps.
i compile it,but the ScribbleInteractor cant grab the fouces and i can't draw the seeds.i don't konw how to fix it . my env is qt5.13 vtk 9.0 itk 5.2
Sorry, this repository is quite old and certainly wasn't tested with those library versions. Unfortunately I can't provide support, but would be happy to accept pull requests if you get it to work with these modern libraries!
today i find some track. if use VTKHelpers::MakeImageTransparent function i make the pixel[3] = 1. and i can grab the draw seed event.but make pixel[3] = TRANSPARENT_PIXEL ,i can't grab the draw event.