My code works when I run each filter individually, i.e.

./filter -g images/yard.bmp gray.bmp
./filter -s images/yard.bmp sepia.bmp
./filter -r images/yard.bmp reflect.bmp
./filter -b images/yard.bmp blur.bmp

But when I run check50 it fails and only a few pass the 'check'

I don't know why.

Someone had a similar problem here and the solution was just to change int to float but I was already using a float (then rounding then int'ing).

Code here, at a loss and a standstill, any direction is appreciated.

You must log in to answer this question.

Browse other questions tagged .