Main Question or Discussion Point
Hi, the above image is from the Line Integral Convolution paper by Cabral and Leedom. However, I am having a hard time implementing it, and I am quite certain I am misreading it. It is supposed to give me the distances of the lines like in the example below, but I am not sure how it can. First of all, it looks like sbottom=stopsbottom=stop and sright=sleftsright=sleft. Also, it looks like the answer will always be zero since ⌊Pi⌋−Pi⌊Pi⌋−Pi will always be negative for an image. Any advice on how I can make progress?
My current implementation is:
Vxy = V(x,y)
And, it always returns 0 (yes, I know I have ignored the instance in which V is parallel to e, but first I have to fix the issues I wrote about above).