PCA Scanner
Decompose any image into its principal components. PCA reveals hidden color patterns, manipulation artifacts, and steganography traces invisible to the naked eye.
500+ images analyzed
Drag & drop a file here, Ctrl+V to paste, oror
3-Component Decomposition
Decomposes the RGB color space into three orthogonal principal components, revealing the dominant axes of color variation in the image.
Hidden Pattern Detection
The third principal component (PC3) can reveal manipulation artifacts, composite boundaries, and steganographic traces invisible in normal viewing.
100% Private
All PCA computation runs locally in your browser via Web Worker. Nothing is uploaded to any server. Your images never leave your device.
What is PCA for images
Principal Component Analysis (PCA) transforms the three correlated RGB color channels into three uncorrelated components ordered by how much image variation they capture. The first component (PC1) typically represents overall brightness and resembles a grayscale conversion. The second (PC2) captures the main chromatic contrast — often warm-vs-cool tones. The third (PC3) holds the residual variation, which in natural photos is mostly sensor noise. In manipulated images, PC3 often reveals structured artifacts invisible in normal viewing. For tonal distribution analysis, pair PCA with the Histogram Analyzer. For overall quality scoring, see the Quality Analyzer.
PCA in image forensics
PCA is a powerful forensic technique because it separates meaningful image content from noise and artifacts. When an image has been composited from multiple sources, PC3 often shows sharp boundaries between regions with different noise characteristics. AI-generated images may produce unusually clean or uniform PC3 components compared to photographs captured by real sensors. Color-graded or heavily filtered images show distinctive eigenvector orientations that differ from natural lighting. For dedicated AI detection, use the AI Detector. For noise pattern analysis, try the Noise Analysis Scanner.
Eigenvectors and variance
The eigenvectors describe the direction of each principal component in RGB color space — they tell you which mix of red, green, and blue makes up each component. The eigenvalues measure how much variance each direction captures. In a typical outdoor photo, PC1 might explain 90% of variance with an eigenvector close to equal RGB weights (luminance), while PC3 explains under 3%. Unusual variance distribution or eigenvector orientations can indicate non-standard color processing. For per-channel statistical breakdown, see the Histogram Analyzer. For bit-level channel inspection, try the Bit Plane Analyzer.
Steganography and hidden data
Steganographic techniques that embed data across color channels often disturb the natural correlation between RGB values. PCA is particularly effective at detecting these disturbances because the embedded data appears as structured noise in the minor components. When combined with contrast enhancement, even subtle steganographic modifications become visible as patterns in the PC3 view. For dedicated steganography detection, use the Stego Scanner. For LSB-level analysis, see the Bit Plane Analyzer. For compression-based detection, try the ELA Scanner.
The PCA Scanner processes your image entirely in the browser using a Web Worker for the matrix computations. The Jacobi eigenvalue algorithm decomposes the 3×3 covariance matrix to find the principal axes of color variation. Use the contrast slider to amplify subtle patterns in PC2 and PC3, and download any component as a PNG for further analysis. For a comprehensive forensic workflow, visit the photo forensics hub. To check full image metadata, start with the EXIF Checker. Learn more in our articles on image forensics guide and detecting edited photos.