now use statistics if available in band.
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
2020-07-28 19:05:38 +02:00
parent e6cda406c9
commit f014dc9f93
9 changed files with 115 additions and 26 deletions

View File

@@ -28,6 +28,22 @@ export interface IHistogram {
confidence?: number;
}
export interface IStatistics {
min: number;
max: number;
mean: number;
stddev: number;
populationCount: number;
minPlus: number;
maxMinus: number;
mode: number;
median: number;
curtosis: number;
skewness: number;
variance: number;
variationCoefficient: number;
}
export interface IGradientstop {
relativestop: number,
color: IColor
@@ -41,7 +57,8 @@ export interface IColorMap {
}
export interface IBand {
histogram: IHistogram
histogram: IHistogram;
statistics?: IStatistics;
}