-
Notifications
You must be signed in to change notification settings - Fork 22
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
multi label graphCut #37
Comments
This will depend if we want to support or not macOS.
As the first solution is an easy one, I can start with this one. Then, if you want to build something that allows the user to create a multilabel image, this could be great too for mac users. We could even imagine a conditional build depending on the MITK version. |
Awesome! How about this:
|
Sounds like good ideas, do you think you would have time to do it ? |
I'll see what i can do. What intensity values are used in the resulting multilabel grid cut segmentation? Voxel value 0 for the first label, increment by 1 for each additional label? Highest intensity value in the segmentation would thus be number of labels - 1? |
No, the background (not labeled voxels) gets 0 value, then the 1st label is 1 and so on. |
Great work @Celli119! I've been following along here because I'm interested in using the GraphCut method with a sheetness measure to annotate a large number of images. I was able to compile your command line tools. I got similar results on my data to what you showed above. I have the same issue as in the pelvis above. I'm trying with some sheetness measures now. What is the state of the project? Have most people dropped it for now? Do you think pursuing a graphical interface is worthwhile? |
Actually, I'm not comfortable with GUIs, I've tried to see how to write the ideas of @araex but I realized I would need a lot of time to do it. This is the reason why I've done a dirty GUI here which does the job. It requires a special version of MITK (as for the current MITK-GEM) you can find here. |
Okay, that's great. Thanks @Celli119! I was thinking of implementing GraphCut as it's own ITK module and then submoduling it with git. There are issues with the daviddoria method (when you try and use non-standard boundary or regional terms). You're probably pretty busy, so I do not want to bog you down. But, I do want to give you credit. If you would like, you could copy the GraphCut code to this repository with a commit. I would then make my modifications there. Or you could copy it to your own repository. I don't really care, I just don't want to start from scratch. |
Could this be used to split the GraphCut3D folder of MITK-GEM into a new repository, keeping the history? |
@ypauchard, you're brilliant! Okay, I'll give it a try sometime here. |
Thanks for that @ypauchard. I think I have added it now... It is just in a separate repository. Sadly, I don't know if I'll ever be able to remove the stank of GPL. |
I've finally got some time to finish the multilabel/binary user interface. Of course this will only work with MITK-2016.11. Let me know about the way you want to merge this stuff. |
@Celli119 That is awesome, thank you for doing this! I will give it a try this weekend. It will help me out a lot. |
Hey @Celli119! I just compiled branch uiInerface on both a Mac and CentOS machine. Two minor comments:
If you have a better solution for both I would be happy to hear! Finally, is it possible to have bi-directional multi-label graph cuts? I've only looked at the multi label gridcut API once, but I believe you create a table of neighbourhood values for each label. Intuitively, you could have 'n-directional cuts'. I guess this isn't a simple UI implementation though. On Mac I compiled with CXX flags |
Sadly, I cannot select Maybe I built something wrong and this is a common issue? Edit: |
Hello @Besler ,
|
Sorry, I realize I interjected myself a little strong there. That all makes sense then. The GridCut team doesn't respond much it seems... I hear they're considering making GridCut a module on GitHub so you can submodule it in Git. Anyways, I will try |
How does MITK-GEM establish that an image can be used for multilabel graph cut? I have image data that is of type uint8. I have 5 labels. Label 0 is 'unlabelled' data. Label 1 is 'background'. the remaining labels are {pelvis, femur} x {left, right}. In your implementation @Celli119, is there anyway to load such an image data into MITK-GEM and apply multilabel graph cut? |
Did you convert your image into segmentation ? (right click on it in the
data manager -> convert to segmentation)
2017-09-18 23:47 GMT+02:00 Bryce Besler <[email protected]>:
… How does MITK-GEM establish that an image can be used for multilabel graph
cut? I have image data that is of type uint8. I have 5 labels. Label 0 is
'unlabelled' data. Label 1 is 'background'. the remaining labels are
{pelvis, femur} x {left, right}.
In your implementation @Celli119 <https://github.com/celli119>, is there
anyway to load such an image data into MITK-GEM and apply multilabel graph
cut?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#37 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AJnA8l4tizL11WstUEmrLRpYKibzGWOFks5sjuT8gaJpZM4M1gED>
.
|
Okay, now I see. I don't have that option on right click. I'm using MITK-GEM 2017.5.0 after the superbuild. I am going to guess the difference between how you and I compiled (SuperBuild vs your linking/building separately) is making a difference in the MITK version. I'm probably wrong on that front though. |
I was thinking about starting developing a multi label graphCut (using gridCut library) feature soon. Problem is, I don't know how to manage the GUI part. Do you have any idea how could we manage a user-friendly selection of an arbitrary number of labels in MITK ?
Thanks.
The text was updated successfully, but these errors were encountered: