Here is a link describes and provides MEX interface for MATLAB to the implementation for FREAK features in OpenCV. I haven't tried myself as yet. Will try it soon and share my thoughts. You may want to look at it.
STATS = regionprops(BW, properties) measures a set of properties for each connected component (object) in the binary image, BW. The image BW is a logical array; it can have any dimension.