Seems like you used something like this: (http://originaltrilogy.com/forum/topic.cfm/Colour-matching-for-fan-edits/topic/7257/)
Because I implemented this method in Scilab and I get those grainy pictures as well.
http://screenshotcomparison.com/comparison/138463
However, if you look at the face, you'll see that the colors are matching the original more using the PDF method. But mine has more noise.