opticalSystem
R2026bDescription
Add-On Required: This feature requires the Optical Design and Simulation Library for Image Processing Toolbox add-on.
An opticalSystem object models the components of a physical
optical system.
Create and add components to the optical system using these object functions.
addRefractiveSurface— Create and add at least two refractive surfaces, which comprise a lens, to the optical system. To apply a coating to all lenses in the optical system, use theaddCoatingobject function.addImagePlane— Create and add an image plane to the optical system.addImageSensor— Create and add an image sensor to the optical system. Use this object function when you want to render an eSFR or color checker test chart through an optical system.addDiaphragm— Create and add a diaphragm to the optical system.addMirror— Create and add a mirror to the optical system.add— Add an existing component or a set of components to the optical system. To add a gap after adding an optical component using this function, use theaddGapobject function.
Specify the coordinate system for the optical axis of the next component to be added, also
known as a coordinate break, using the setConstructionFrame object function.
To modify the components of an existing optical system, such as one imported using the
zmximport
function, use the changeGap,
insert, and
remove object
functions.
Analyze optical systems using the opticalSensitivity and opticalTolerance
object functions. (since R2026b)
Creation
Description
creates an empty
optical system.opsys = opticalSystem
sets writable properties using one or more name-value arguments.opsys = opticalSystem(PropertyName=Value)
Properties
Object Functions
Examples
Version History
Introduced in R2026aSee Also
addRefractiveSurface | addImageSensor | addImagePlane | addMirror | traceRays | psf | mtf | airyDiskRadius | fieldPoint | opticalMaterial
Topics
- Modify Focal Length By Scaling Optical System
- Optimize Photographic Zoom Lens Component Positions
- Design Cooke Triplet
- Create Lens Prescription Table for Optical System
- Apply Configurations to Optical System Imported from ZMX File
- Get Started with Optical Design and Simulation
- Coordinate Systems in Optics
- Create Field Points
