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

Adds simple labkit plugin #36

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

frauzufall
Copy link
Contributor

These are preparations for operating Labkit without a user interface from e.g. from macros / scripts.

This PR..

  • adds a command that takes an input image, a labeling image and returns the segmented output image
  • adds a demo / test class

Example usage:

CommandModule result = ij.command().run(SimpleLabkitPlugin.class, true, "input", input, "labeling", labeling).get();
Img output = (Img) result.getOutput("output");

As discussed, it would maybe make more sense to have the classifier as an input parameter to the segmentation on multiple images without the need of a user interface.

- adds a command that takes an input image, a labeling image and returns
the segmented output image
- adds demo / test class
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.

1 participant