Skip to content

"<BaSiC> There are no images open" during ImageJ --headless #1

@Anders-Lunde

Description

@Anders-Lunde

Hi. I'm trying to call basic during ImageJ headless execution, but I get the error message in the title.

ImagePlus stack = FolderOpener.open(currentChannelPath);
stack.setTitle("Stack.tif");
IJ.run(stack, "BaSiC ", "processing_stack=Stack.tif flat-field=None dark-field=None shading_estimation=[Estimate shading profiles] shading_model=[Estimate flat-field only (ignore dark-field)] setting_regularisationparametes=Automatic temporal_drift=Ignore correction_options=[Compute shading and correct images] lambda_flat=0.50 lambda_dark=0.50");

Then I get the error, even though the stack is opened. I run ImageJ from the command line using --headless and call the script above during excecution. Would greatly appreciate any help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions