主要内容

本页翻译不是最新的。点击此处可查看最新英文版本。

光学系统设计与分析

光学设计、射线追踪、光斑图、像差、镜头畸变和场曲分析

使用 Optical Design and Simulation Library for Image Processing Toolbox™ 设计和仿真光学系统。使用此库,您可以通过组合屈光透镜元件、图像平面、光阑和镜面等组件来设计自定义光学系统。从供应商目录的全面的玻璃材料库中选择组件材料,导入材料或创建自定义材料。该库提供可视化工具以在二维和三维中可视化光学设计。此外,您还可以通过从 ZMX 文件导入系统来与现有光学设计集成。

光学分析功能使您能够评估和优化光学设计。跟踪射线,计算光斑图,执行像差、镜头畸变和场曲分析,并可视化结果。

您可以从附加功能资源管理器安装 Optical Design and Simulation Library for Image Processing Toolbox。有关安装附加功能的详细信息,请参阅获取和管理附加功能

Double Gauss lens system visualized in 2-D (top) and 3-D (bottom) using the Optical Design and Simulation Library.

函数

全部展开

创建和操作系统组件

opticalSystemModel components of optical system (自 R2026a 起)
addAdd optical component to optical system (自 R2026a 起)
addDiaphragmAdd physical diaphragm component to optical system (自 R2026a 起)
addImagePlaneAdd image plane component to optical system (自 R2026a 起)
addMirrorAdd mirror component to optical system (自 R2026a 起)
addRefractiveSurfaceAdd refractive surface component to optical system (自 R2026a 起)
addGapAdd gap between optical components (自 R2026a 起)
changeGapChange gap between components in optical system (自 R2026a 起)
distanceAfterQuery distance after optical component (自 R2026a 起)
distanceBeforeQuery distance before optical component (自 R2026a 起)
insertInsert optical component into optical system (自 R2026a 起)
removeRemove component from optical system (自 R2026a 起)
resolveMaterialsResolve component materials in optical system against glass library (自 R2026a 起)
setConstructionFrameSet coordinate break for all subsequent components in optical system (自 R2026a 起)

调节光学系统

focusPosition image plane of optical system to minimize RMS spot size (自 R2026a 起)
updateSemiDiametersUpdate semi-diameters of surfaces in optical system (自 R2026a 起)
zmxinfoRead metadata of ZMX file (自 R2026a 起)
importzmxImport optical system from ZMX file (自 R2026a 起)

二维可视化

view2dVisualize optical system in 2-D (自 R2026a 起)
OpticalSystemViewer2DCustomize 2-D visualization of optical system (自 R2026a 起)

三维可视化

view3dVisualize optical system in 3-D (自 R2026a 起)
OpticalSystemViewer3DCustomize 3-D visualization of optical system (自 R2026a 起)

管理镜片库

glassLibraryGlass material library for optical system components (自 R2026a 起)
changePriorityChange priority of glass material catalog in glass library (自 R2026a 起)
addGlassCatalogAdd new glass catalog to glass library (自 R2026a 起)
removeGlassCatalogRemove glass material catalog from glass library (自 R2026a 起)
restoreDefaultGlassLibraryRestore glass library to default settings (自 R2026a 起)

选择和使用材料

pickGlassPick named glass material from glass library (自 R2026a 起)
searchGlassLibrarySearch glass library for glass material (自 R2026a 起)
resolveMaterialsResolve component materials in optical system against glass library (自 R2026a 起)

创建自定义光学材料

opticalMaterialCreate optical material (自 R2026a 起)

射线追踪与分析

fieldPointCreate field point representation of light source (自 R2026a 起)
samplingGridCreate ray sampling grid for entrance surface of optical system (自 R2026a 起)
traceChiefRayTrace chief ray through optical system (自 R2026a 起)
traceMarginalRaysTrace marginal rays through optical system (自 R2026a 起)
traceRaysPerform ray tracing through optical system (自 R2026a 起)

光学系统设定

halfFieldOfViewCompute half field of view of optical system (自 R2026a 起)
paraxialInfoCompute paraxial information, including cardinal points, for optical system (自 R2026a 起)

图像质量和像差分析

chromaticAberrationCompute lateral and longitudinal chromatic aberration of optical system (自 R2026a 起)
fieldCurvatureCompute tangential and sagittal field curvature (自 R2026a 起)
lensDistortionCompute geometric lens distortion for optical system (自 R2026a 起)
rayAberrationCompute tangential and sagittal ray aberration of optical system (自 R2026a 起)
spotCompute spot at which rays converge in image plane (自 R2026a 起)

分析可视化

spotDiagramChart displaying spot diagram of optical system (自 R2026a 起)
showPlot analysis result (自 R2026a 起)

主题

精选示例