Contenu principal

isOrganized

R2026b

Determine whether point cloud is organized

Since R2026b

    Description

    tf = isOrganized(ptCloud) returns a logical value indicating whether the input point cloud ptCloud is organized.

    example

    Examples

    collapse all

    Load a point cloud and check whether it is organized.

    ptCloud = pcread("teapot.ply");
    tf = isOrganized(ptCloud)

    Input Arguments

    collapse all

    Point cloud, specified as a pointCloud object.

    Output Arguments

    collapse all

    Organized point cloud indicator, returned as a logical scalar. A value of true indicates that the input point cloud is organized. A value of false indicates that the input point cloud is unorganized.

    This function determines whether a point cloud is organized based on the shape of the point coordinate data. Organized point clouds store data as M-by-N-by-3 arrays, while unorganized point clouds store data as M-by-3 matrices. For more details, see What Are Organized and Unorganized Point Clouds?.

    Version History

    Introduced in R2026b