io.github.mianalysis.mia.lostandfound.inputoutput.MetadataExtractorLostFound 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.MetadataExtractor;
import io.github.mianalysis.mia.module.lostandfound.LostAndFoundItem;
@Plugin(type = LostAndFoundItem.class, priority = Priority.LOW, visible = true)
public class MetadataExtractorLostFound extends LostAndFoundItem {
@Override
public String getModuleName() {
return new MetadataExtractor(null).getClass().getSimpleName();
}
@Override
public String[] getPreviousModuleNames() {
return new String[]{""};
}
@Override
public HashMap getPreviousParameterNames() {
HashMap parameterNames = new HashMap();
parameterNames.put("Keyword list", "");
parameterNames.put("Keyword source", "");
return parameterNames;
}
@Override
public HashMap> getPreviousParameterValues() {
HashMap values = null;
HashMap> parameterValues = null;
values = new HashMap<>();
values.put("Cell Voyager filename", MetadataExtractor.FilenameExtractors.CV1000_FILENAME_EXTRACTOR);
values.put("Yokogawa filename", MetadataExtractor.FilenameExtractors.CV1000_FILENAME_EXTRACTOR);
parameterValues = new HashMap<>();
parameterValues.put(MetadataExtractor.FILENAME_EXTRACTOR, values);
values = new HashMap<>();
values.put("Cell Voyager foldername",
MetadataExtractor.FoldernameExtractors.CV1000_FOLDERNAME_EXTRACTOR);
parameterValues.put(MetadataExtractor.FILENAME_EXTRACTOR, values);
return parameterValues;
}
}