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

extending -otsu with parameters to add multiple threshold functionality #23

Closed
wants to merge 8 commits into from

Conversation

br-cpvc
Copy link
Contributor

@br-cpvc br-cpvc commented Nov 28, 2022

Note: this is only one patch (71fbe5b), but it sits on top of the patches in PR #22 as this include the function used to parse int parameters to the adapter.

@pyushkevich
Copy link
Owner

pyushkevich commented Nov 28, 2022 via email

@br-cpvc
Copy link
Contributor Author

br-cpvc commented Nov 29, 2022

Hi Paul. Sure. Thanks for the your suggestions. I have redone my changes in a new branch and created the new PR #24 with the changes.

All changes except the '-label-voting' patch have been cherry-pick'ed and reworked into this new PR.

I have tried using the '-vote' to do the voting that I need, but could not figure out how to do this, may I have overlooked something. I would greatly appreciate any suggestions on if/how this can be accomplished.

What I need is to do voting on X number of input multilabel images (containing labels and not probabilities as -vote describes), the output should also be a multilabel images containing the same labels as the input, it the vote is a tie then a predefined label should be inserted so this can be identified later on.

@br-cpvc br-cpvc closed this Nov 29, 2022
@pyushkevich
Copy link
Owner

pyushkevich commented Nov 29, 2022 via email

@br-cpvc
Copy link
Contributor Author

br-cpvc commented Nov 29, 2022

Yes that is precisely what I want to do. Thank you for clarifying that the -vote command cannot do this. My head was spinning around trying to find a way to convert my problem into probability maps in a straight forward way, which seems non trivial :)

I have created the new PR #25 with the changes on top of the current master, including renaming the command to -mv, -majority-vote as you have suggested.

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

Successfully merging this pull request may close these issues.

2 participants