Skip to main content

Module analysis

Module analysis 

Source
Expand description

Capacity estimation and chi-square detectability analysis, plus spectral-domain detectability scoring.

Pure domain logic — no I/O, no file system, no async runtime.

Functions§

chi_square_score
Chi-square statistic on byte value distribution.
classify_risk
Classify detectability risk from a chi-square score in dB.
estimate_capacity
Estimate embedding capacity for a cover/technique pair.
pair_delta_chi_square_score
Compute a pair-delta chi-square score on data.
recommended_payload
Compute recommended max payload bytes for a given capacity and risk.
spectral_detectability_score
Run a spectral-domain detectability analysis comparing original to stego.