InteractiveImageGraphCutSegmentation icon indicating copy to clipboard operation
InteractiveImageGraphCutSegmentation copied to clipboard

if

Open YuDe95 opened this issue 3 years ago • 4 comments

can we draw the label use the code?

YuDe95 avatar May 16 '22 08:05 YuDe95

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.

daviddoria avatar May 16 '22 12:05 daviddoria

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

YuDe95 avatar May 17 '22 06:05 YuDe95

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!

daviddoria avatar May 17 '22 13:05 daviddoria

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.

YuDe95 avatar May 18 '22 09:05 YuDe95