Skip to main content

Module stats

Module stats 

Source
Expand description

Statistical analysis and Pareto front calculation.

This module provides tools for analyzing codec comparison results, including Pareto front calculation for rate-distortion analysis.

§Core Statistics

§Rate-Distortion Analysis

  • bd_rate: Bjontegaard Delta Rate calculation
  • ParetoFront: Pareto-optimal points on RD curve

Re-exports§

pub use rd_knee::AngleBin;
pub use rd_knee::AxisRange;
pub use rd_knee::BinScheme;
pub use rd_knee::CodecConfig;
pub use rd_knee::ConfiguredParetoFront;
pub use rd_knee::ConfiguredRDPoint;
pub use rd_knee::CorpusAggregate;
pub use rd_knee::DualAngleBin;
pub use rd_knee::EncodeResult;
pub use rd_knee::FixedFrame;
pub use rd_knee::NormalizationContext;
pub use rd_knee::ParamValue;
pub use rd_knee::QualityDirection;
pub use rd_knee::RDCalibration;
pub use rd_knee::RDKnee;
pub use rd_knee::RDPosition;
pub use rd_knee::plot_rd_svg;

Modules§

rd_knee
Fixed-frame R-D curve parameterization with corner-based angles.

Structs§

ParetoFront
Pareto front of rate-distortion points.
RDPoint
A point on a rate-distortion curve.
Summary
Descriptive statistics for a set of measurements.

Functions§

bd_rate
Calculate BD-Rate (Bjontegaard Delta Rate).
iqr
Compute interquartile range (IQR = Q3 - Q1).
mean
Compute arithmetic mean.
median
Compute median of a slice.
percentile
Compute percentile using linear interpolation (R-7 method).
percentile_u32
Compute percentile for u32 values.
std_dev
Compute sample standard deviation.
trimmed_mean
Compute trimmed mean (removes top and bottom trim_pct of values).