Show / Hide Table of Contents

Class BrightnessCorrection

This class can be used to calibrate the Brightness values returned in an IProfile by setting the offset with Offset and the scale factors with this[int].

Inheritance
object
BrightnessCorrection
Implements
ICloneable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: JoeScan.Pinchot.Beta
Assembly: JoeScan.Pinchot.dll
Syntax
public class BrightnessCorrection : ICloneable

Properties

| Improve this Doc View Source

Count

The number of scale factors. There is one scale factor for each column of the camera.

Declaration
public int Count { get; }
Property Value
Type Description
int

The number of scale factors.

| Improve this Doc View Source

this[int]

Gets or sets the scale factor of the column. There are Count number of columns that can be set.

Declaration
public float this[int column] { get; set; }
Parameters
Type Name Description
int column

The column to get or set the scale factor.

Property Value
Type Description
float

The scale factor to be applied to the brightness of the column.

Exceptions
Type Condition
ArgumentException

value is non-positive, NaN, or infinity.

| Improve this Doc View Source

Offset

The offset to be applied to all brightness values.

Declaration
public int Offset { get; set; }
Property Value
Type Description
int

The brightness offset.

Methods

| Improve this Doc View Source

Clone()

Returns a clone of this object. Changes to the original object will not reflect in the cloned object.

Declaration
public object Clone()
Returns
Type Description
object

A clone of this object.

| Improve this Doc View Source

GetScaleFactors()

Gets all the scale factors. Use this[int] to modify the factors.

Declaration
public List<float> GetScaleFactors()
Returns
Type Description
List<float>

A copy of the list of scale factors.

Implements

ICloneable
  • Improve this Doc
  • View Source
Back to top Copyright JoeScan, Inc.
Generated by DocFX