Package cn.mapway.common.geo.stretch
Class LinearStretch
java.lang.Object
cn.mapway.common.geo.stretch.LinearStretch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double[]static int[]static byte[]static byte[]linearStretch(double[] data, Double[] noValues, Double min, Double max, Double minPct, Double maxPct, List<Histogram> out) linear stretch byte [ ].static byte[]linearStretch(float[] data, Double[] noData, Double min, Double max, Double minPct, Double maxPct, List<Histogram> out) static byte[]linearStretch(int[] data, Double[] noValues, Double min, Double max, Double minPct, Double maxPct, List<Histogram> out) static byte[]
-
Constructor Details
-
LinearStretch
public LinearStretch()
-
-
Method Details
-
getMinMax
-
getMinMax
-
linearStretch
public static byte[] linearStretch(double[] data, Double[] noValues, Double min, Double max, Double minPct, Double maxPct, List<Histogram> out) linear stretch byte [ ].- Parameters:
data- 数据noValues- 无效值min- 最小值max- 最大值minPct- 最小百分比maxPct- 最大百分比- Returns:
-
linearStretch
-
linearStretch
-
linearStretch
-
linearStretch
-