Applying Medical Imaging Tractography Techniques to Painterly Rendering of Images
Alberto Di Biase
TL;DR
This work investigates cross-domain transfer by treating brush-stroke placement in painterly rendering as a tractography problem guided by image structure rather than diffusion alone. The method relies on the structural tensor to provide stable local orientation, propagating strokes along vector fields via a tractography-like process and rendering them through a four-layer painterly filter with coherence-controlled tract following and Bezier stroke conversion; a practical implementation is provided in the repository. Compared to gradient-based orientation, the structural-tensor–driven approach yields smoother, more coherent strokes that better follow image features, demonstrated qualitatively on NPRportrait and NPRgeneral datasets. The study emphasizes exploratory intent, discusses limitations (e.g., grayscale stroke selection, lack of formal evaluation), and invites cross-disciplinary collaboration between medical imaging and computer graphics, with code available at https://github.com/tito21/st-python.
Abstract
Doctors and researchers routinely use diffusion tensor imaging (DTI) and tractography to visualize the fibrous structure of tissues in the human body. This paper explores the connection of these techniques to the painterly rendering of images. Using a tractography algorithm the presented method can place brush strokes that mimic the painting process of human artists, analogously to how fibres are tracked in DTI. The analogue to the diffusion tensor for image orientation is the structural tensor, which can provide better local orientation information than the gradient alone. I demonstrate this technique in portraits and general images, and discuss the parallels between fibre tracking and brush stroke placement, and frame it in the language of tractography. This work presents an exploratory investigation into the cross-domain application of diffusion tensor imaging techniques to painterly rendering of images. All the code is available at https://github.com/tito21/st-python
