77 auto a_chunk =
m_image_a->getChunk(x, y, width, height);
78 auto b_chunk =
m_image_b->getChunk(x, y, width, height);
79 for (
int iy = 0; iy < height; ++iy) {
80 for (
int ix = 0; ix < width; ++ix) {
81 new_chunk_data[ix + iy * width] = P::process(a_chunk->getValue(ix, iy),
82 b_chunk->getValue(ix, iy));