I have to take a image as an input. Resize it 256X256. Then convert it to binary. Use this binary image to calculate its affine moment invariant.