MATLAB: How to convert MATLAB binary feature matrix to decimal

binarycomputer visionComputer Vision ToolboxMATLAB

I have binary feature matrices from BRISK, FREAK and ORB descriptors with 512 number of bits.
I tried to use:
d = bi2de(featuresBRISK.Features(:,1),512);
But they are just converted to uint8. How can I convert them to decimal for image classification problem?

Best Answer

If you want/need d to be double instead of uint8, for other purposes like feature analysis, do this:
d = double(d);