Skip to content

Instantly share code, notes, and snippets.

@uploadcare-user
Created September 13, 2017 17:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uploadcare-user/b0d685c1177059b9a9a42b19d3ba66f0 to your computer and use it in GitHub Desktop.
Save uploadcare-user/b0d685c1177059b9a9a42b19d3ba66f0 to your computer and use it in GitHub Desktop.
Horizontal pass overview
for (xx = 0; xx < imOut->xsize; xx++) {
// Calculating coefficients
for (yy = 0; yy < imOut->ysize; yy++) {
// Convolution, row of pixels
// Saving pixel to imOut->image8[yy][xx]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment