Removed useless variable
Update cl image check to pass plateform as parameter
Some reformatage
Switch to ushort array for opencl compliance
Unrolled pixel increment (for opencl compliance)