Fast fractal encoding algorithm using the law of cosines | IEEE Conference Publication | IEEE Xplore