What problem does it solve?
Camera images often suffer from poor quality—too dark, blurry, noisy, washed out, or color-cast—and users struggle to know whether to fix hardware settings or apply software corrections. This Skill diagnoses image quality issues from cameras connected via Image Acquisition Toolbox or the USB Webcams support package, then applies targeted fixes.
Core Features & Use Cases
- Automated Quality Diagnosis: Analyzes captured images across six metrics (brightness, clipping, contrast, sharpness, noise, color balance) plus backlight detection, with extended metrics for vignetting, banding, flicker, and chromatic aberration.
- Hardware-First Tuning: Discovers camera properties at runtime via
videoinput/webcam, maps diagnosed problems to safe property adjustments (exposure, gain, white balance, focus), and iterates one change at a time.
- Software Enhancement Pipeline: Applies Image Processing Toolbox functions in the correct order—brighten, contrast, sharpen—using
imlocalbrighten, locallapfilt, adapthisteq, and imsharpen.
- Use Case: A user complains their webcam image is too dark and grainy. The Skill captures a baseline, diagnoses underexposure and high noise, increases Exposure instead of Gain, applies
imlocalbrighten and imgaussfilt, then generates a reusable acquireEnhancedImage.m function for future captures.
Quick Start
Ask your AI agent to diagnose why the image from my connected camera looks dark and noisy and improve its quality.