ImageSimilarityOptions Class
Immutable options of ImageSimilarity.ComputeSsim and ImageSimilarity.ComputePsnr: the precision of the samples they compare.
public sealed class ImageSimilarityOptionsConstructors
| Name | Description |
|---|---|
| ImageSimilarityOptions() |
ImageSimilarityOptions()
ImageSimilarityOptions.cspublic ImageSimilarityOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| DataRange | Gets the range of the color samples with SimilarityPrecision.FloatingPoint: the peak of the PSNR and the L of the SSIM constants, scikit-image's data_range. Defaults to 1, the reference white; use the largest value of high dynamic range frames, such as 4 for a highlight headroom of 4. Alpha, a coverage, always has the range 1. The other precisions have the range of their samples (255 or 65,535). |
| Precision | Gets the samples that are compared. Defaults to SimilarityPrecision.EightBit, the samples of the overloads without options. |
DataRange
ImageSimilarityOptions.csGets the range of the color samples with SimilarityPrecision.FloatingPoint: the peak of the PSNR and the L of the SSIM constants, scikit-image's data_range. Defaults to 1, the reference white; use the largest value of high dynamic range frames, such as 4 for a highlight headroom of 4. Alpha, a coverage, always has the range 1. The other precisions have the range of their samples (255 or 65,535).
public double DataRange { get; init; }Precision
ImageSimilarityOptions.csGets the samples that are compared. Defaults to SimilarityPrecision.EightBit, the samples of the overloads without options.
public SimilarityPrecision Precision { get; init; }