focus
Description
Add-On Required: This feature requires the Optical Design and Simulation Library for Image Processing Toolbox add-on.
places the image plane at a position that minimizes the RMS spot size.minSpot = focus(opsys)
Note
This functionality requires the Optical Design and Simulation Library for Image Processing Toolbox™. You can install the Optical Design and Simulation Library for Image Processing Toolbox from Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons.
specifies options using one or more name-value arguments. For example,
minSpot = focus(opsys,Name=Value)Wavelengths=[455 678] places the image plane at a position that
minimizes the RMS spot size at the 455 and 678 nanometer wavelengths.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
References
[1] #DevOptical Part 19: A Quick Focus Algorithm.” Accessed December 12, 2024. https://www.thepulsar.be/article/-devoptical-part-19--a-quick-focus-algorithm.
Version History
Introduced in R2026a
See Also
opticalSystem | spot | fieldPoint | halfFieldOfView | traceRays



