I'm creating my master thesis in computer science. The title is 'simulator of magnetic resonance angiography'. My problem is that I have to create some kind of overlay on my image with streamlines of flowing blood. I have to arrays with velocity vectors in two directions up/down and left/right - each pixel has its two values in these two directions. How can I simply create streamlines using this data?
I'm using Eulers approach - connecting vectors point by point
The Attempt at a Solution
I've tried to use Eulers approach, but at some point it didn't work (see picture)
as you can see, this line isn't going right way. it should go into right part of the vessel, but it's not. Colours are representation of value of velocity (green means fast, red - slow). Is there any simple solution for my problem?
I'm creating it in c++ and qt if this information can help you :)