I was working with a simple code (on qualcomm ardreno) which take an gray image of 1024x768 dim and and 100 to each of the pixel element. There might be different ways to cr