Using pixelLabelDatastore with data obteined of lidarLabeler

2 views (last 30 days)
I have lebeled data from lidarLabeler and I want use the function pixelLabelDatastore with this, to get data to train a CNN. I am following the instructions for its use:
pxds = pixelLabelDatastore(gTruth)
But Matlab shows me the following error:
Error using pixelLabelDatastore (line 210)
Not enough input arguments.
I don't nknow what is the problem because the file that lidarLabeler create, is in gTruth format.

Answers (1)

Jayanti
Jayanti on 15 May 2025
Hi Jesus Garcia,
The error you're encountering is due to a mismatch between the type of ground truth object you are passing to the “pixelLabelDatastore” function and what it expects. The “pixelLabelDatastore” requires input in the form of a “groundTruth” object typically exported from the “Image Labeler” or “Video Labeler” apps.
In your case, it seems that the “gTruth” object was generated using the Lidar Labeler app, which creates a “groundTruthLidar” object.
For more information you can refer to the below documentation link on “groundTruth”:

Categories

Find more on Labeling, Segmentation, and Detection in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!