Can i use matlab labelled image dataset in python based deep learning algorithms?
Show older comments
Hi,
I have finished labelling all my images using Matlab Image labeler tool.
I am planning to use python based deep learning algorithm to train my model. Can the Matlab labelled images be used in python based deep learning algorithm??
Thanks,
Arun
3 Comments
KSSV
on 22 Jan 2019
If you provide the input in the format how Python read.....offcourse yes, you can use.
Arunpriyan J
on 22 Jan 2019
Alok Nimrani
on 22 Jan 2019
Hi Arun,
The following documentation represents an example regarding how to view the exported pixel label data in MATLAB: View exported pixel label data
You can follow a similar approach to use the label files in Python.
Please note that the pixel label data consists of label values which are basically the indices assigned to different objects in the image. Since these values are indices starting from 1, you will get a gray-scale image based on the maximum value of these indices. This is the reason as to why you are visualizing a black image in the above case. You can verify this from the pixel values of the blackish image shared by you.
You will need to overlay this pixel label image on the top of the actual image to visualize the different labels.
Hope this helps.
Accepted Answer
More Answers (1)
Myat Noe Su
on 11 Nov 2020
1 vote
Hi,
I have finished labelling all my images using Matlab Image labeler tool.
I am planning to use python based deep learning algorithm to train my model. Can the Matlab labelled images be used in python based deep learning algorithm??
Thanks,
Su
Categories
Find more on Deep Learning Toolbox 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!
