Basics on Practical Contour/Image Compression Techniques Using MATLAB