Class RdOptimizerSettings

Class RdOptimizerSettings

Namespace: Aspose.Imaging.ImageOptions
Assembly: Aspose.Imaging.dll (25.7.0)

RD optimizer settings class

public class RdOptimizerSettings
   {
       public bool UseCustomDictionary { get; set; }
       public int MaximumSentenceLength { get; set; }
       public double MinimumWordFrequency { get; set; }
       public int MaximumNumberOfTokens { get; set; }
       public double CosineSimilarityThreshold { get; set; }
   }

Inheritance

object RdOptimizerSettings

Inherited Members

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

RdOptimizerSettings()

public RdOptimizerSettings()
   {
      SomeProperty1 = default(SomeType1);
      SomeProperty2 = default(SomeType2);
      AnotherProperty1 = default(AnotherType1);
      AnotherProperty2 = default(AnotherType2);
   }

Properties

BppMax

Gets or sets the maximum R value for consideration in in bits per pixel

public double BppMax
    {
        get;
        set;
    }

Property Value

double

BppScale

Gets or sets the BPP (bits per pixel) scale factor.

public int BppScale
    {
        get;
        set;
    }

Property Value

int

DiscretizedBppMax

Gets the maximum R value for consideration.

public int DiscretizedBppMax
   {
      get;
   }

Property Value

int

MaxPixelValue

Gets the maximum pixel value.

public int MaxPixelValue
   {
      get;
   }

Property Value

int

MaxQ

Gets or sets the maximum quantization value.

public int MaxQ
   {
      get;
      set;
   }

Property Value

int

MinQ

Gets the minimum allowed quantization value.

public int MinQ
   {
      get;
   }

Property Value

int

PsnrMax

Gets the PSNR maximum expected value.

public int PsnrMax
   {
      get;
   }

Property Value

int

Methods

Create()

Creates this instance.

public static RdOptimizerSettings Create()
{
    return new RdOptimizerSettings
    {
        MaxSamplesPerIteration = 10,
        IterationsCount = 5,
        StepSizeFactor = 0.2f,
        MinStepSize = 0.001f,
        MaxStepSize = 100f,
        VerbosityLevel = VerbosityLevel.Info
    };
}

Returns

RdOptimizerSettings

returns RDOptimizerSettings class instance

 English