SimpleWB

Objective-C

@interface SimpleWB : WhiteBalancer

Swift

class SimpleWB : WhiteBalancer

A simple white balance algorithm that works by independently stretching each of the input image channels to the specified range. For increased robustness it ignores the top and bottom

p\%
of pixel values.

Member of Xphoto

Methods

  • Input image range maximum value

    Declaration

    Objective-C

    - (float)getInputMax;

    Swift

    func getInputMax() -> Float
  • Input image range minimum value

    Declaration

    Objective-C

    - (float)getInputMin;

    Swift

    func getInputMin() -> Float
  • Output image range maximum value

    Declaration

    Objective-C

    - (float)getOutputMax;

    Swift

    func getOutputMax() -> Float
  • Output image range minimum value

    Declaration

    Objective-C

    - (float)getOutputMin;

    Swift

    func getOutputMin() -> Float
  • Percent of top/bottom values to ignore

    See

    -setP:

    Declaration

    Objective-C

    - (float)getP;

    Swift

    func getP() -> Float
  • getInputMax - see: -getInputMax:

    Declaration

    Objective-C

    - (void)setInputMax:(float)val;

    Swift

    func setInputMax(val: Float)
  • getInputMin - see: -getInputMin:

    Declaration

    Objective-C

    - (void)setInputMin:(float)val;

    Swift

    func setInputMin(val: Float)
  • getOutputMax - see: -getOutputMax:

    Declaration

    Objective-C

    - (void)setOutputMax:(float)val;

    Swift

    func setOutputMax(val: Float)
  • getOutputMin - see: -getOutputMin:

    Declaration

    Objective-C

    - (void)setOutputMin:(float)val;

    Swift

    func setOutputMin(val: Float)
  • getP - see: -getP:

    Declaration

    Objective-C

    - (void)setP:(float)val;

    Swift

    func setP(val: Float)