Class ReflectanceSettings.LinearTranslation
java.lang.Object
net.algart.json.PropertyChecker
net.algart.json.AbstractConvertibleToJson
net.algart.executors.modules.cv.matrices.camera.reflectance.ReflectanceSettings.Translation
net.algart.executors.modules.cv.matrices.camera.reflectance.ReflectanceSettings.LinearTranslation
- Direct Known Subclasses:
ReflectanceSettings.LogLinearTranslation
- Enclosing class:
- ReflectanceSettings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildJson(jakarta.json.JsonObjectBuilder builder) doublegetA()doublegetB()protected doubleintensity255ToReflectance(double intensity) protected doubleintensityToReflectance(double intensity) protected doublereflectanceToIntensity(double reflectance) protected doublereflectanceToIntensity255(double reflectance) setA(double a) setA255(double a255) setB(double b) toString()Methods inherited from class net.algart.json.AbstractConvertibleToJson
checkCompleteness, checkNull, checkNull, jsonString, toJsonMethods inherited from class net.algart.json.PropertyChecker
doubleOrDefault, doubleOrNegativeInfinity, doubleOrNull, doubleOrPositiveInfinity, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, inRange, inRange, inRange, inRange, inRange, inRange, intOrDefault, intOrNull, longOrDefault, longOrNull, nonEmpty, nonEmpty, nonEmptyTrimmed, nonEmptyTrimmed, nonLessThan, nonLessThan, nonLessThan, nonLessThan, nonLessThan, nonLessThan, nonNegative, nonNegative, nonNegative, nonNegative, nonNegative, nonNegative, nonNull, nonNull, positive, positive, positive, positive, positive, positive, propertyName
-
Constructor Details
-
LinearTranslation
public LinearTranslation() -
LinearTranslation
public LinearTranslation(jakarta.json.JsonObject json)
-
-
Method Details
-
getA
public double getA() -
setA
-
setA255
-
getB
public double getB() -
setB
-
buildJson
public void buildJson(jakarta.json.JsonObjectBuilder builder) - Specified by:
buildJsonin classnet.algart.json.AbstractConvertibleToJson
-
toString
-
intensityToReflectance
protected double intensityToReflectance(double intensity) - Specified by:
intensityToReflectancein classReflectanceSettings.Translation
-
reflectanceToIntensity
protected double reflectanceToIntensity(double reflectance) - Specified by:
reflectanceToIntensityin classReflectanceSettings.Translation
-
intensity255ToReflectance
protected double intensity255ToReflectance(double intensity) - Overrides:
intensity255ToReflectancein classReflectanceSettings.Translation
-
reflectanceToIntensity255
protected double reflectanceToIntensity255(double reflectance) - Overrides:
reflectanceToIntensity255in classReflectanceSettings.Translation
-