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

io.github.mianalysis.mia.process.math.ArrayFunc 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.process.math;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Arrays;

public class ArrayFunc
{
    public static int[] uniqueVals (int[] col_vals) {
        //Unique values from the input int array "col_vals"
        ArrayList un_al = new ArrayList();
        for (int i=0;i un_al = new ArrayList();
        for (int i=0;i un_al = new ArrayList();
        for (int i=0;i un_al = new ArrayList();
        for (int i=0;i un_al = new ArrayList();
        ArrayList r_al = new ArrayList();
        for (int i=0;i  un_al = new ArrayList();

        for (int i=0;i corr_al = new ArrayList();
        for (int i=0;i list, int test) {
        Boolean boo = false;

        for (int i=0;iout) {
                out = arr[i];
            }
        }
        return out;
    }

    public static double[] arrayListToArray(ArrayList al) {
        double[] ar = new double[al.size()];
        for (int i=0;i




© 2015 - 2024 Weber Informatics LLC | Privacy Policy