3dmatch-toolbox icon indicating copy to clipboard operation
3dmatch-toolbox copied to clipboard

how to read .mat files generated from the 'makeCorresDataset.m' matlab script in python

Open muhammadaly opened this issue 7 years ago • 2 comments

I want to read data generated from makeCorresDataset.m matlab script using python

muhammadaly avatar Nov 21 '18 21:11 muhammadaly

Does SciPy's loadmat work? Alternatively you could load the data in Matlab, then save it into something that's easily python-readable like HDF5.

andyzeng avatar Nov 21 '18 22:11 andyzeng

actually I successfully load the files, I'm trying to understand the object structure for mat['data'] . when reading mat['labels'][0][0] I got 1x1 array of float element which is donate the label , but in case of mat['data'][0][0] I found and 1x1 object that I couldn't understand .

what extactly I want is the TFD values in order to be able to train them in keras

muhammadaly avatar Nov 21 '18 22:11 muhammadaly