Skip to content

Labkit output segmentation not available in IJ macro run from command line #123

@Alxcho

Description

@Alxcho

Hi,

I've got a macro running with Labkit for segmentation - everything is fine, even ran in batch mode. But it doesn't work when IJ is ran from cmd line. Code as follow

run("Segment Image With Labkit", "segmenter_file=pretrained_classifier.classifier use_gpu=true");
while (!isOpen(output)) {wait(1000);} //(output is just the input image with Labkit added prefix)

When trying to run IJ from command line, nothing happens. Likely the output image (segmentation/probability map) remains unavailable for selection in IJ, can't be selected, so the wait doesn't ends. No issue when ran form IJ directly, batch mode or not. Is there any way to solve or go around this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions