Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Diagnoses camera image quality issues and enhances captures using hardware setting adjustments and Image Processing Toolbox post-processing.
Use this skill ↓59% 64%+5 ptsof test cases passed
Passed 14 of 22 test cases with the skill, and 13 of 22 without it.
My camera snapshot has a brightly lit background and a dark subject in the center. I ran diagnoseImageQuality.m on the frame. Which specific metric field in the diagnostic output struct indicates backlit subject issues?
Evaluates the backlightRatio field within the diagnostic output structure.
3 of 3 safety checks passed
Metric: mean pixel intensity (0–255 scale after converting to grayscale).
| Range | Assessment | Interpretation |
|---|---|---|
| < 60 | Severe | Very underexposed — significant detail lost in shadows |
| 60–80 | Problem | Underexposed — dark but recoverable |
| 80–180 | OK | Acceptable exposure range |
| 180–200 | Problem | Overexposed — highlights starting to clip |
| > 200 | Severe | Very overexposed — significant detail lost in highlights |
Supporting metrics:
Metric: percentage of pixels at or near the maximum (≥ 250) or minimum (≤ 5) intensity.
| Max Clipping % | Assessment | Interpretation |
|---|---|---|
| < 5% | OK | Minimal clipping — full dynamic range preserved |
| 5–15% | Problem | Noticeable clipping — some highlight or shadow detail lost |
| > 15% | Severe | Heavy clipping — significant information loss, histogram crushed against rail |
Notes:
highPct) and shadows (lowPct); the worse of the two drives the assessmentMetric: standard deviation of pixel intensities (0–255 scale).
| Range | Assessment | Interpretation |
Next to this one in the catalogue, plus more from the same author.