SBSDKImageChannelMetrics

@interface SBSDKImageChannelMetrics : NSObject

Class containing the metrics for a single image channel.

  • min

    The minimum value of the image channel (0 - 255). *

    Declaration

    Objective-C

    @property (readonly, nonatomic) double min;

    Swift

    var min: Double { get }
  • max

    The maximum value of the image channel (0 - 255). *

    Declaration

    Objective-C

    @property (readonly, nonatomic) double max;

    Swift

    var max: Double { get }
  • The average of all values of the image channel (0 - 255). *

    Declaration

    Objective-C

    @property (readonly, nonatomic) double mean;

    Swift

    var mean: Double { get }
  • The variance of all values of the image channel. *

    Declaration

    Objective-C

    @property (readonly, nonatomic) double variance;

    Swift

    var variance: Double { get }
  • The standard deviation of all values of the image channel. *

    Declaration

    Objective-C

    @property (readonly, nonatomic) double stdDeviation;

    Swift

    var stdDeviation: Double { get }
  • The sharpness or detail level of the image channel. This is a logarithic measure for the high-frequency proportions of the image channel. Ranges from 0.0 to around 20.0. Values depend on general content of the image channel and are best analyzed in an empirical context. Generally values below 1.0 mean very low detail or very high blurriness, rendering the image unusable.

    Declaration

    Objective-C

    @property (readonly, nonatomic) double sharpness;

    Swift

    var sharpness: Double { get }