img_bitplane
Extract and visualize a specific bit plane from an image channel to analyze hidden data or noise patterns. Shows dimensions, percentage of 1-bits, and ASCII art preview of first rows.
Instructions
Extract and visualize a specific bit plane from an image channel. Shows dimensions, percentage of 1-bits, and an ASCII art preview of the first rows.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>"
},
"name": "img_bitplane"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plane | No | Bit plane 0-7 (default: 0=LSB) | |
| channel | No | Channel: 0=R, 1=G, 2=B, 3=A (default: 0=Red) | |
| file_path | Yes | Path to image file |