Replies: 1 comment 1 reply
-
Not sure if I understood correctly, but maybe this:
You would have to replace the '+' with whatever logic you need to combine/accumulate the renderings. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
first off: Halide is amazing!
But also complex if one is rather new to the knowledge domain. :)
Can somebody give me a hint on how to achieve the following type of pipeline in a feed forward fashion.
The attached image is for clarification of what I want to achieve.
The inputs are like this: We have an input image/buffer (8x8 example). We also have a tile that needs to be rendered a times b proportion. And the output ( x*y) depending on an arbitrary scale.
The algorithm should go like this:
For every pixel of the input image, render a render tile on the output multiplied by the color of the input pixel. Note that on the output the rendertile is bigger then the fraction of 'output width/input width(8)' thus resulting in overlapping of every next tile rendered.
If this overlap is not present it would be an easy one, but now I can not say output(x,y) = some expression with color value. Because the color could change depending on the next tile by tile rendering as explained.
Any hint would be great! :)
Thx!
Beta Was this translation helpful? Give feedback.
All reactions