I have a Image.mat file with 2656 image samples.
It has 4 key elements, “img” key contains the data with size(2656, 4097), the last column is the class label.
How can I build a dataset based on this .mat file?