Convolution
Implementing Using the Accumulation Buffer
lowest = highest = 0.0;
for(i = 0; i < m; i++)
for(j = 0; j < n; j++) {
lowest = min(lowest, kernel[i][j]);
highest = max(highest, kernel[i][j]);
}
scale = 1.0/ max(-lowest, highest);
Previous slide
Next slide
Back to first slide
View graphic version