Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Rotating workflow by 90 degrees
// Calculating the coefficients
for (yy = 0; yy < imOut->ysize; yy++) {
for (xx = 0; xx < imOut->xsize; xx++) {
k = &kk[xx * kmax];
xmin = xbounds[xx * 2 + 0];
xmax = xbounds[xx * 2 + 1];
// 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
You can’t perform that action at this time.