MATLAB: How to add images continuously to a imageDatastore
imagedatastore
Hi,
I'm new to the Matlab and using a imageDatastore object to store images comming from a camera, I want to update an existing image data store continuously. Is there a way to do that…?
Thanks..
Best Answer
Since the ‘Files’ and ‘Labels ‘ properties of the imageDatastore function return cell array of character vectors, you can directly use these to append/concatenate using the cat function.
There is no built option to do this. You will have to write custom function.splitEachValue method is works on ImageDataStore class. So, you can create a custom function and pass the ImageDataStore object into it and inside the function implementation you can access the IDS object and create new IDSs based on his requirement
Best Answer