spread_patchwork
Detects patchwork watermarks in images by applying a statistical test to two pseudo-random pixel groups, identifying hidden modifications from steganographic embedding.
Instructions
Patchwork watermark detection using the patchwork statistical test. Splits pixel values into two pseudo-random groups and tests whether the mean difference between groups is statistically significant. A significant difference indicates a patchwork watermark was embedded by adding/subtracting a small value from selected pixels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | PRNG seed for group splitting (default: 42) | |
| channel | No | Color channel to test: 0=R, 1=G, 2=B (default: 0) | |
| file_path | Yes | Path to image file (PNG or JPEG) for patchwork detection |