Examples of ParametersUtils


Examples of org.visitrend.ndvis.parameters.ParametersUtils

            rgb = new int[upperBound];
            rgb = resetPixels(rgb);
            rgbCopy = new int[upperBound];
            rgbCopy = resetPixels(rgbCopy);
        }
        ParametersUtils pUtils = parameters.getParametersUtils();
        int xParams = parameters.getNumParametersOnX();
        // System.out.println("number of parameters on X is " + xParams);
        upperXbound = pUtils.getNumberOfPossibleValuesForBases(pUtils.extractXbases(
                currentOrder, xParams));
        // System.out.println("upperXbound is " + upperXbound);
        int yParams = parameters.getNumParametersOnY();
        // System.out.println("numParameters on Y is " + yParams);
        upperYbound = pUtils.getNumberOfPossibleValuesForBases(pUtils.extractYbases(
                currentOrder, yParams));
    }
View Full Code Here

Examples of org.visitrend.ndvis.parameters.ParametersUtils

        short[] bestOrder = PermutorCombinator.cloneShorts(engine.getCurrentOrder());
        // I leave this as being a local reference to bases because the user may
        // actually set a different value while this processing is happening
        short[] bases = view.getDataInfoForVisualization(
                dataVis).getBases();
        ParametersUtils paramUtils = dataVis.getLookup().lookup(Parameters.class).getParametersUtils();

        // score the current image
        int score = Score0.score(paramUtils, currentOrder, numParametersOnX,
                rgb, Integer.MAX_VALUE);
        int bestScore = score;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.