Documentation of 'org.jplot2d.image.PercentCalculator' Java class
PercentCalculator
org.jplot2d.image

Class PercentCalculator

  • All Implemented Interfaces:
    LimitsCalculator


    public class PercentCalculator
    extends java.lang.Object
    implements LimitsCalculator
    The limits calculator to produce the upper and lower limits to based on the specified percentage. A histogram of the data is created and the limits are set to display the percentage, about the mean value.
    • Constructor Summary

      Constructors 
      Constructor and Description
      PercentCalculator(double percentage) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double[] calcLimits(ImageDataBuffer[] dbufArray, java.awt.Dimension[] sizeArray)
      Calculate cutting limits for the given ImageDataBuffers.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PercentCalculator

        public PercentCalculator(double percentage)
    • Method Detail

      • calcLimits

        public double[] calcLimits(ImageDataBuffer[] dbufArray,
                                   java.awt.Dimension[] sizeArray)
        Description copied from interface: LimitsCalculator
        Calculate cutting limits for the given ImageDataBuffers. If the given ImageDataBuffers contains no valid data, null is returned.
        Specified by:
        calcLimits in interface LimitsCalculator
        Parameters:
        dbufArray - ImageDataBuffers for calculation
        sizeArray - the dimension of the given ImageDataBuffers
        Returns:
        low limit and high limit in a double array

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.