メインコンテンツ

ChromaticAberration

Chromatic aberration analysis result

Since R2026a

    Description

    Add-On Required: This feature requires the Optical Design and Simulation Library for Image Processing Toolbox add-on.

    A ChromaticAberration object stores a chromatic aberration analysis result that contains lateral and longitudinal aberration values. To display a 2-D visualization of the lateral and longitudinal aberration, use the show object function.

    Creation

    Create a ChromaticAberration object when you perform chromatic aberration analysis for an optical system using the chromaticAberration object function.

    Properties

    expand all

    This property is read-only.

    Lateral chromatic aberration results, represented as a structure with these fields.

    Field NameField Value

    FieldAngles

    N-by-1 vector, where each element is a field angle in the range [0, F]. F is the maximum field angle, in degrees, specified using the MaxFieldAngle name-value argument of the chromaticAberration function. N is the number of evenly spaced points, specified using the NumSamples name-value argument of chromaticAberration.

    Aberration

    N-by-M numeric matrix, where each element is the lateral chromatic aberration value. N is the number of evenly spaced points, specified using the NumSamples name-value argument of chromaticAberration, and M is the number of wavelengths specified using the Wavelengths name-value argument of chromaticAberration.

    This property is read-only.

    Longitudinal chromatic aberration results, represented as a structure with these fields.

    Field NameField Value

    PupilCoordinates

    N-by-1 vector, where each element represents a normalized y-coordinate at which the ray fan is computed in the entrance pupil plane. N is the number of evenly spaced points, specified using the NumSamples name-value argument of the chromaticAberration function.

    Aberration

    N-by-M numeric matrix, where each element is the longitudinal chromatic aberration value. N is the number of evenly spaced points, specified using the NumSamples name-value argument of chromaticAberration, and M is the number of wavelengths specified using the Wavelengths name-value argument of chromaticAberration.

    This property is read-only.

    Field point representation of the light source for which to compute chromatic aberration, represented as a FieldAngle object or a FieldPosition object.

    FieldPoint valueField Point Type

    FieldAngle object

    Field point represents a light source that is at an infinite distance.

    FieldPosition object

    Field point represents a light source that is at a finite distance.

    To set this property, use the FieldPoint name-value argument of the chromaticAberration function. To learn more about creating field points, see Create Field Points.

    This property is read-only.

    Wavelengths for which the chromatic aberration is computed, represented as an M-element numeric vector. M is the number of wavelengths specified using the Wavelengths name-value argument of the chromaticAberration function.

    This property is read-only.

    Index of the reference wavelength at which to compute the chromatic aberration, represented as a positive integer. To set this property, use the ReferenceWavelengthIndex name-value argument of the chromaticAberration function.

    Object Functions

    showPlot analysis result

    Version History

    Introduced in R2026a