MATLAB: How to join or merge two Image Data Stores

Computer Vision Toolboxdatastoresimagedatastoremerge

If I have two image datastores and I wish to concatenate them. How can I do that?
Thanks

Best Answer

I know it is an ancient problem, but I just to make it a better reference for other people.
imds1 = imageDatastore('imds1 location', ...);
imds2 = imageDatastore('imds2 location', ...);
imds_combine = imageDatastore({'imds1 location', 'imds2 location'}, ...);
Just combine the address of these two locations. The following parameters are all the same.
Related Question