Introduction - If you have any usage issues, please Google them yourself
The following codes a)convert an 8-grey scale image to a binary. b) convert a 24-bit colour image to its red channel image c)convert an 8-bit colour image to a grey-scale iamge.