Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if #3

Open
YuDe95 opened this issue May 16, 2022 · 4 comments
Open

if #3

YuDe95 opened this issue May 16, 2022 · 4 comments

Comments

@YuDe95
Copy link

YuDe95 commented May 16, 2022

can we draw the label use the code?

@daviddoria
Copy link
Owner

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.

@YuDe95
Copy link
Author

YuDe95 commented May 17, 2022

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

@daviddoria
Copy link
Owner

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!

@YuDe95
Copy link
Author

YuDe95 commented May 18, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants