How to make gTruth objects from pixelLabelImageDatastore?
2 views (last 30 days)
Show older comments
Hellow all,
I 'm prepairing pixel-label data for a semantic segmentation.
I made png files (m*n uint8) as a pixelLabel data without using ImageLabelar app.
I semi-automatically made these files with an algolism including cutting off by threshold and watershed segmentation.
I was able to make a pixelLabelImageDatastore with the code below, but I want to modify the pixelLabel data now.
I want to use ImageLabelar app for the modification.
How can I make gTruth object from pixelLabelImageDatastore?
Or is there any substitution to modify the pixelLabelImageDatastore with ImageLabelar?
Any help will be appreciated.
location='C:\Users\000000\OneDrive\AI\Image2019\pixelLabelPH';
classNames='bone';
pixelLabelIDs=1;
pxds = pixelLabelDatastore(location,classNames,pixelLabelIDs);
location2='C:\Users\000000\OneDrive\AI\Image2019\PH';
imds = imageDatastore(location2);
pximds = pixelLabelImageDatastore(imds,pxds);
0 Comments
Answers (0)
See Also
Categories
Find more on Image and Video Ground Truth Labeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!