First time here? Check out the FAQ!
answered 2014-07-31 09:03:50 -0600
Besides the code is formatted quite bad. This is obviously not all the code.
But maybe you are confusing inputImg with input (which is previously declared?).
inputImg
input