Main Content

read

Return image data captured with fisheye camera

Since R2024b

    Description

    image = read(fisheyeCamera) returns image data that is captured with the fisheye camera specified by fisheyeCamera in the 3D environment.

    Input Arguments

    collapse all

    Virtual camera that captures the image, specified as a sim3d.sensors.FisheyeCamera object.

    Example: fisheyeCamera = sim3d.sensors.FisheyeCamera

    Output Arguments

    collapse all

    Image data returned by camera, returned as an m-by-n-by-3 array of RGB triplet values. m is the vertical resolution of the image. n is the horizontal resolution of the image.

    Data Types: uint8

    Version History

    Introduced in R2024b