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