Hamming marker creation and conversion to image.