measure_ringing
Measures concentric oscillations around the brightest region by averaging radial luminance profiles over 36 angles, identifying derivative sign changes to count and quantify ringing artifacts.
Instructions
Measure concentric oscillation around the brightest region. The centre is the middle of the brightest 64 px block (mean luminance); the radial luminance profile is averaged over 36 angles for radii 1..150 px (held inside the image). Along the profile, derivatives within ±0.001 carry no sign; at each sign change the summed |derivative| of the run it ends is its amplitude, and it is counted when that amplitude is above min_amplitude. Returns JSON: oscillations, max_amplitude (of the counted ones), center [x, y], profile_sample (the profile at radii 1..30). luminance is 0.2126R + 0.7152G + 0.0722B.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view_id | Yes | View to measure | |
| min_amplitude | Yes | Amplitude (summed |derivative| of a run) above which a sign change is counted as an oscillation |