| Modifier and Type | Field and Description |
|---|---|
int |
functionType
Funcion grafica que se ha usado para generar el LinearStretchParams
0 - Lineal
1 - Exponencial / Logaritmica
2 - Raiz cuadrada / Cuadrada
3 - Level slice
|
double |
maxValue
Valores máximos y mínimos
|
double |
minValue |
double[] |
offset
Valores de desplazamiento a calcular por el filtro lineal por tramos.
|
double[] |
scale
Valores de escala a calcular por el filtro lineal por tramos.
|
double[] |
stretchIn
Valores de los datos de entrada correspondientes al mínimo y al máximo de
cada tramo.
|
int[] |
stretchOut
Valores de los datos de salida correspondientes al mínimo y al máximo de
cada tramo.
|
double |
tailTrimMax |
double |
tailTrimMin
Porcentajes de recorte de colas (Valores de entrada)
|
double |
tailTrimValueMax |
double |
tailTrimValueMin
Valores de recorte de colas (Valores de salida calculados por el filtro TailTrim)
|
double |
valueFunction
Valor de la gráfica para la función.
|
| Constructor and Description |
|---|
DefaultStretch() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyRemoveEndsToStretchs(Statistics stats,
boolean rgb,
int band)
Aplica el eliminado de extremos.
|
void |
applyTrimToStretchs()
Aplica el recorte de colas sobre los extremos de los máximos y mínimos de entrada.
|
void |
calcLinearScaleAndOffset()
Calcula la escala y el desplazamiento teniendo en cuenta que
ya tenga todos los valores de entrada asignados.
|
int |
getFunctionType() |
double |
getMaxValue() |
double |
getMinValue() |
double[] |
getOffset() |
double[] |
getStretchIn() |
int[] |
getStretchOut() |
double |
getValueFunction() |
boolean |
hasTailTrim()
Consulta si tiene algún valor el recorte de colas
|
void |
setMaxMin(Statistics stats,
int band,
boolean rgb)
Asigna el máximo y el mínimo
|
public double[] stretchIn
public int[] stretchOut
public double tailTrimMin
public double tailTrimMax
public double tailTrimValueMin
public double tailTrimValueMax
public double[] scale
public double[] offset
public double maxValue
public double minValue
public int functionType
public double valueFunction
public void applyTrimToStretchs()
applyTrimToStretchs in interface Stretchpublic boolean hasTailTrim()
hasTailTrim in interface Stretchpublic void calcLinearScaleAndOffset()
calcLinearScaleAndOffset in interface Stretchpublic void setMaxMin(Statistics stats, int band, boolean rgb)
public void applyRemoveEndsToStretchs(Statistics stats, boolean rgb, int band)
applyRemoveEndsToStretchs in interface Stretchpublic double getMaxValue()
getMaxValue in interface Stretchpublic double getMinValue()
getMinValue in interface Stretchpublic int getFunctionType()
getFunctionType in interface Stretchpublic double[] getStretchIn()
getStretchIn in interface Stretchpublic int[] getStretchOut()
getStretchOut in interface Stretchpublic double getValueFunction()
getValueFunction in interface Stretch