DOC: example for imagesToMatrix.Rd