changed sequence of reading a ppm file. it is first converted into ycbcr and then filtered