how to use imagedatastore with two different types of data in the same time

1 回表示 (過去 30 日間)
Ben Hur
Ben Hur 2017 年 10 月 25 日
コメント済み: SHIA yuhung 2019 年 4 月 2 日
I have a dataset that contains RGB and Depth images with 10 classes. At first, I used the RGB images with imagedatastore and build my deep learning system. Now, I want to use both depth and RGB images by feed each into four layers route. (four for depth and four for RGB)
The thing that I confused with is, how to use imagedatastore with both of them in the same time?
Should I mix them in one related class/folder, or separate them into different folders with same label name, and then use two imagedatastore (imds1 and imds2)?
If I mixed them, how can I recognise them (depth, RGB) as they need to be fed to the layers routes.
If I separated them or used two imgedatastore functions, how can I use the training and testing as there will be two TrainingSet and two TestingSet
Best Regards

回答 (1 件)

michael scheinfeild
michael scheinfeild 2017 年 11 月 7 日
i think read twice different images and then combine them

Community Treasure Hunt

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

Start Hunting!

Translated by