类 BoundaryNorm


  • public class BoundaryNorm
    extends Normalize
    Generate a colormap index based on discrete intervals
    • 构造器详细资料

      • BoundaryNorm

        public BoundaryNorm​(Array boundaries,
                            int nColors,
                            ExtendType extendType)
        Constructor
        参数:
        boundaries - Boundaries
        nColors - Number of colors
        extendType - Extend type
    • 方法详细资料

      • getNRegions

        public int getNRegions()
        Get number of color regions
        返回:
        Number of color regions
      • apply

        public Number apply​(double v)
        从类复制的说明: Normalize
        Normalize a value
        覆盖:
        apply 在类中 Normalize
        参数:
        v - The value
        返回:
        Normalized value
      • apply

        public Array apply​(Array a)
        从类复制的说明: Normalize
        Normalize the data array
        覆盖:
        apply 在类中 Normalize
        参数:
        a - The data array
        返回:
        Normalized data array
      • inverse

        public double inverse​(double v)
        从类复制的说明: Normalize
        Inverse data value
        覆盖:
        inverse 在类中 Normalize
        参数:
        v - The data value
        返回:
        Inverse data value
      • inverse

        public Array inverse​(Array a)
        从类复制的说明: Normalize
        Inverse data array
        覆盖:
        inverse 在类中 Normalize
        参数:
        a - The data array
        返回:
        Inverse data array