RS analysis
termKept in this browser · My desk
Stands for: regular-singular analysis, named after its regular and singular pixel groups
A steganalysis method by Fridrich, Goljan and Du (2001) that detects LSB replacement in randomly scattered pixels and estimates the message length by measuring how flipping the least significant bits changes the smoothness of small pixel groups.
Groups of pixels are classed as regular or singular depending on whether a flip increases or decreases their variation; in natural images the proportions are about the same for the ordinary flip and a shifted flip, and LSB embedding breaks that symmetry in a predictable way. Its authors put the experimentally safe LSB payload at 0.005 bits per pixel; the method was patented (US 6,831,991, granted 14 December 2004), and sample pair analysis (2003) gave it a formal basis.
The ingredients. A discrimination function, usually the sum of absolute differences between neighbouring pixels in a group; the flip F1 (0↔1, 2↔3, …), which is what LSB replacement does; the shifted flip F−1 (−1↔0, 1↔2, …), defined as F1(x + 1) − 1; and a mask saying which pixels are flipped. A group is regular if flipping increases the function, singular if it decreases it, unusable otherwise. The signal. As the message grows, regular and singular counts under F1 converge while under F−1 they diverge; fitting lines and parabolas through the measured points of the RS diagram and intersecting them estimates the share of pixels used. A toy group (100, 101, 103, 102) has variation 4; flipping the middle pixels with F1 gives 2 (singular), with F−1 gives 6 (regular). The patent states that messages as short as 1% of the pixels are detected reliably; Dumitrescu, Wu and Wang's sample pair analysis reached similar estimates with a quadratic equation and proved observations RS relied on.
Also known as: rs steganalysis, regular singular analysis, sample pair analysis, spa steganalysis, análise rs
Sources
- Fridrich, Goljan and Du, Reliable Detection of LSB Steganography in Color and Grayscale Images, 2001 (read 2026-11-17): discrimination function, flipping F1 and F−1, regular, singular and unusable groups, RS diagram, 0.005 bpp
- Google Patents, US6831991B2 (read 2026-11-17): filed 22 June 2001, granted 14 December 2004, Fridrich and Goljan, Research Foundation of SUNY, US Air Force grants, messages as short as 1% of pixels, expired
- Dumitrescu, Wu and Wang, Detection of LSB Steganography via Sample Pair Analysis, IEEE TSP 2003 (read 2026-11-17): trace multisets, quadratic estimate, 29 images, proofs of RS observations