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

How to provide background seed point for ITKGrowCut? #7

Closed
zhang-qiang-github opened this issue Aug 4, 2021 · 1 comment
Closed

Comments

@zhang-qiang-github
Copy link

I can compile ITKGrowCut, and successfully run it. But the result is not good.

image

In the above figure, the left is the result from ITKGrowCut and the right is the result from geodesic segmentation.

The result from ITKGrowCut is poor, and I want to know:

  1. how to set the seed point for background? I can only set seed point for foreground by: fgcFilter->SetSeedImage(foregroundMaskReader->GetOutput());.

  2. what should be the image for seed point? The pixel of none seed point should be 0, what's the value for the pixel of seed point? 1 or 255?

@zhang-qiang-github
Copy link
Author

run the GrowCut using the provide data, and I know how to set the seed point.

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

1 participant