Bit Plane Slicing In Image Processing Code