io.github.mianalysis.mia.lostandfound.inputoutput.ImageLoaderLostFound Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mia-modules Show documentation
Show all versions of mia-modules Show documentation
ModularImageAnalysis (MIA) is an ImageJ plugin which provides a modular framework for assembling image and object analysis workflows. Detected objects can be transformed, filtered, measured and related. Analysis workflows are batch-enabled by default, allowing easy processing of high-content datasets.
package io.github.mianalysis.mia.lostandfound.inputoutput;
import java.util.HashMap;
import org.scijava.Priority;
import org.scijava.plugin.Plugin;
import io.github.mianalysis.mia.module.inputoutput.ImageLoader;
import io.github.mianalysis.mia.module.lostandfound.LostAndFoundItem;
@Plugin(type = LostAndFoundItem.class, priority = Priority.LOW, visible = true)
public class ImageLoaderLostFound extends LostAndFoundItem {
@Override
public String getModuleName() {
return new ImageLoader(null).getClass().getSimpleName();
}
@Override
public String[] getPreviousModuleNames() {
return new String[]{""};
}
@Override
public HashMap getPreviousParameterNames() {
HashMap parameterNames = new HashMap();
return parameterNames;
}
@Override
public HashMap> getPreviousParameterValues() {
HashMap values = null;
HashMap> parameterValues = new HashMap<>();
values = new HashMap<>();
values.put("Image sequence", ImageLoader.ImportModes.IMAGE_SEQUENCE_ZEROS);
parameterValues.put(ImageLoader.IMPORT_MODE, values);
values = new HashMap<>();
values.put("BioFormats", ImageLoader.Readers.BIOFORMATS);
parameterValues.put(ImageLoader.READER, values);
return parameterValues;
}
}