Changes

Jump to: navigation, search

GPU610/TeamKCM

214 bytes added, 21:06, 3 October 2014
Analysis
=====Analysis=====
The profile shows that filter function occupies the most of processing time.<codepre>
% cumulative self self total
time seconds seconds calls ns/call ns/call name
0.00 1.56 0.00 1 0.00 0.00 _GLOBAL__sub_I__Z7get_ppmP8_IO_FILE
0.00 1.56 0.00 1 0.00 0.00 get_ppm(_IO_FILE*)
</codepre>
In the filter function, 3 x 3 mask walk through all RGB pixels and calculate convolution of them.<codepre>
image filter(image im, double *K, int Ks, double divisor, double offset)
{
return oi;
}
return NULL;
}
</codepre>    {{Box-round|title=Title|Text goes here}}
====Taeyang's Findings====

Navigation menu