An Encoding Framework for Binarized Images using HyperDimensional Computing