光学系统设计与分析
使用 Optical Design and Simulation Library for Image Processing Toolbox™ 设计和仿真光学系统。使用此库,您可以通过组合屈光透镜元件、图像平面、光阑和镜面等组件来设计自定义光学系统。从供应商目录的全面的玻璃材料库中选择组件材料,导入材料或创建自定义材料。该库提供可视化工具以在二维和三维中可视化光学设计。此外,您还可以通过从 ZMX 文件导入系统来与现有光学设计集成。
光学分析功能使您能够评估和优化光学设计。跟踪射线,计算光斑图,执行像差、镜头畸变和场曲分析,并可视化结果。
您可以从附加功能资源管理器安装 Optical Design and Simulation Library for Image Processing Toolbox。有关安装附加功能的详细信息,请参阅获取和管理附加功能。


函数
创建和操作系统组件
opticalSystem | Model components of optical system (自 R2026a 起) |
add | Add optical component to optical system (自 R2026a 起) |
addDiaphragm | Add physical diaphragm component to optical system (自 R2026a 起) |
addImagePlane | Add image plane component to optical system (自 R2026a 起) |
addMirror | Add mirror component to optical system (自 R2026a 起) |
addRefractiveSurface | Add refractive surface component to optical system (自 R2026a 起) |
addGap | Add gap between optical components (自 R2026a 起) |
changeGap | Change gap between components in optical system (自 R2026a 起) |
distanceAfter | Query distance after optical component (自 R2026a 起) |
distanceBefore | Query distance before optical component (自 R2026a 起) |
insert | Insert optical component into optical system (自 R2026a 起) |
remove | Remove component from optical system (自 R2026a 起) |
resolveMaterials | Resolve component materials in optical system against glass library (自 R2026a 起) |
setConstructionFrame | Set coordinate break for all subsequent components in optical system (自 R2026a 起) |
调节光学系统
focus | Position image plane of optical system to minimize RMS spot size (自 R2026a 起) |
updateSemiDiameters | Update semi-diameters of surfaces in optical system (自 R2026a 起) |
二维可视化
view2d | Visualize optical system in 2-D (自 R2026a 起) |
OpticalSystemViewer2D | Customize 2-D visualization of optical system (自 R2026a 起) |
三维可视化
view3d | Visualize optical system in 3-D (自 R2026a 起) |
OpticalSystemViewer3D | Customize 3-D visualization of optical system (自 R2026a 起) |
管理镜片库
glassLibrary | Glass material library for optical system components (自 R2026a 起) |
changePriority | Change priority of glass material catalog in glass library (自 R2026a 起) |
addGlassCatalog | Add new glass catalog to glass library (自 R2026a 起) |
removeGlassCatalog | Remove glass material catalog from glass library (自 R2026a 起) |
restoreDefaultGlassLibrary | Restore glass library to default settings (自 R2026a 起) |
选择和使用材料
pickGlass | Pick named glass material from glass library (自 R2026a 起) |
searchGlassLibrary | Search glass library for glass material (自 R2026a 起) |
resolveMaterials | Resolve component materials in optical system against glass library (自 R2026a 起) |
创建自定义光学材料
opticalMaterial | Create optical material (自 R2026a 起) |
射线追踪与分析
fieldPoint | Create field point representation of light source (自 R2026a 起) |
samplingGrid | Create ray sampling grid for entrance surface of optical system (自 R2026a 起) |
traceChiefRay | Trace chief ray through optical system (自 R2026a 起) |
traceMarginalRays | Trace marginal rays through optical system (自 R2026a 起) |
traceRays | Perform ray tracing through optical system (自 R2026a 起) |
光学系统设定
halfFieldOfView | Compute half field of view of optical system (自 R2026a 起) |
paraxialInfo | Compute paraxial information, including cardinal points, for optical system (自 R2026a 起) |
图像质量和像差分析
chromaticAberration | Compute lateral and longitudinal chromatic aberration of optical system (自 R2026a 起) |
fieldCurvature | Compute tangential and sagittal field curvature (自 R2026a 起) |
lensDistortion | Compute geometric lens distortion for optical system (自 R2026a 起) |
rayAberration | Compute tangential and sagittal ray aberration of optical system (自 R2026a 起) |
spot | Compute spot at which rays converge in image plane (自 R2026a 起) |
分析可视化
spotDiagram | Chart displaying spot diagram of optical system (自 R2026a 起) |
show | Plot analysis result (自 R2026a 起) |
主题
- Get Started with Optical Design and Simulation
Use optical design and analysis tools to simulate and tune optical system performance.
- Coordinate Systems in Optical Design
Understand coordinate systems to manipulate positions and orientation of optical systems and their components.
精选示例
Design Cooke Triplet
Design a Cooke triplet lens system. This example 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 获取和管理附加功能.
Modify Focal Length By Scaling Optical System
Modify the focal length of an optical system by appropriately scaling its individual components and gaps between components. Scale the optical system to adapt reference optical system designs to new focal length constraints, or to create reference designs which are normalized to a unit focal length.
Optimize Photographic Zoom Lens Component Positions
Demonstrates how to use numerical optimization techniques to optimize the positions of zoom groups and achieve a target focal length. A zoom group is a series of optical elements that have fixed positions relative to each other. Photographic zoom lenses are lenses that have a variable focal length, enabling photographers to zoom in or out on a subject without switching to a different lens. These lenses can contain multiple zoom groups that can be moved to change the focal length of a system.
Apply Configurations to Optical System Imported from ZMX File
To apply preset configurations from a ZMX file to the optical design stored in the ZMX file.
Create Lens Prescription Table for Optical System
Lens prescription tables are detailed specifications that describe the physical and optical properties of a lens or a lens system. These tables contain surface specifications such as the surface number and name, radius of curvature, lens thickness and spacing, and glass material properties such as the refractive index and Abbe number, which makes them crucial in the design and manufacturing of optical systems such as cameras, microscopes, and telescopes.
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)




