All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.mianalysis.mia.lostandfound.inputoutput.MetadataExtractorLostFound Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 1.6.12
Show newest version
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;
    
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy