-
Notifications
You must be signed in to change notification settings - Fork 0
Filter‐Based Testing
Lucky8boy edited this page Aug 25, 2025
·
1 revision
Panel 5 of SubSpectra focuses on visual and pixel-level analysis of images using a wide variety of filters. While not statistical in nature like Chi-square or RS, these effects help visually identify inconsistencies, compression artifacts, or steganographic alterations in LSB layers.
All filtered images are saved to a folder named:
[original_image_name]_filters
in the same directory as the source image.
- Removes a specific bit layer (0–7) from the chosen channel (Red, Green, Blue, Alpha)
- Example filename:
image_R_bit_0_removed.png
-
Red,Green,Blue: isolates one channel by zeroing the others -
Gray: average of R, G, B to produce grayscale -
BW: binary black-and-white using a brightness threshold -
Sepia: warm-toned retro effect (based on weighted average formula)
-
3x3and9x9block average filters replace each pixel with the average color of its neighborhood block - Highlights uniform or noisy areas
-
For every pixel:
- Computes average of surrounding 3x3 block
- If pixel's R / G / B > average → set to
255 - Else → leave unchanged
-
Emphasizes local anomalies that may suggest manipulation
-
Saved as:
image_special_3x3.png
- Filters help reveal hidden structure, such as uniform LSB layers
- Block filters expose macroblock compression or spatial inconsistencies
- BW / Sepia filters emphasize edge changes and unnatural transitions

Image.png
├── Image_filters/
│ ├── Image_R_bit_0_removed.png
│ ├── Image_G_bit_0_removed.png
│ ├── Image_B_bit_0_removed.png
│ ├── Image_A_bit_0_removed.png
│ ├── Image_R_bit_1_removed.png
│ ├── Image_G_bit_1_removed.png
│ ├── Image_B_bit_1_removed.png
│ ├── Image_A_bit_1_removed.png
......
│ ├── Image_R_bit_7_removed.png
│ ├── Image_G_bit_7_removed.png
│ ├── Image_B_bit_7_removed.png
│ ├── Image_A_bit_7_removed.png
│ ├── Image_red.png
│ ├── Image_gray.png
......
│ ├── Image_3x3.png
│ ├── Image_9x9.png
│ └── Image_special_3x3.png
- Best used in combination with bit layer visualizer from Panel 3
- Try removing suspected LSB layers and compare results
- Run filters after decoding stego image to identify tampering