opticalMeritFunction
R2026bDescription
Add-On Required: This feature requires the Optical Design and Simulation Library for Image Processing Toolbox add-on.
An opticalMeritFunction object combines optical performance
metrics into a single weighted scalar score for use in optimization and tolerance
analysis.
Creation
Description
creates an
empty merit function with no metrics. Add metrics using the object functions.meritFcn = opticalMeritFunction
Properties
Object Functions
addSpot | Add spot RMS metric to merit function |
addWavefrontPeakToValley | Add peak‑to‑valley wavefront error metric to merit function |
addWavefrontRMS | Add RMS wavefront error metric to merit function |
addCustomMetric | Add custom metric to merit function |
evaluate | Evaluate merit function |
Examples
Version History
Introduced in R2026b