How to visualize fiber orientation tensors
Mostra commenti meno recenti
Hi people,
Let's say I have a huge amount of fiber orientation tensors showing the probability of fiber alignment in the specified principal direction within a part. Since the fiber orientation tensor in the first principal direction is the most useful result to view in my analysis, I am trying to find a way to visualize the tensors using a user-defined geometry (e.g. cylinders).
Many thanks in advance for any help!
5 Commenti
Matt Kindig
il 14 Lug 2013
Can you clarify what information you have? Do you have a length-3 vector describing the orientation of the fiber at each of several points in the lattice? If so, I think that quiver3() would work for you.
doc quiver3
If you could clarify what information you currently have, it would be much easier to offer a solution.
Matt Kindig
il 17 Lug 2013
Modificato: Matt Kindig
il 17 Lug 2013
Hi MrBlub,
Ok, these steps all seem fairly straightforward. One at a time:
1. I assume the export is in the form of a text file? If so, extracting the relevant data from the text file should be pretty easy--I'd use textscan() or regexp() to extract the point and tensor data.
2. Eigenvectors/values can be found using eig(). For 3x3 matrices, this should be plenty fast.
3. I'm not sure how the 3D ellipsoid is defined. I assume that the major/minor axes of the ellipsoid are aligned with two of the eigenvectors, but how is the volume defined? Rendering the ellipsoid might be the hardest point of this workflow.
EDIT: I just searched the File Exchange, and found this function that might help: http://www.mathworks.com/matlabcentral/fileexchange/27462-diffusion-tensor-field-dti-visualization
4. The cylinder rendering can be generated manually, or you can use one of several functions on the File Exchange (such as http://www.mathworks.com/matlabcentral/fileexchange/12285-3d-quiver-with-volumized-arrows) that renders vectors (like in quiver3) with cylinders (for the arrow shaft) and cones (for the head). You can set the head size to zero to render cylinders only.
Does this help?
Matt
Matt Kindig
il 24 Lug 2013
Do you want the projection numerically or visually? That is, do you want the coordinates of the outline of the projected ellipsoid onto the plane, or do you want to visualize the projection?
Mouni Kumar Chittem
il 27 Apr 2022
@Matt Kindig, Hi, I need exact what you said. But I need plot the tensor in xy coordinate by visualizing microscopic image of composite components.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Object Analysis in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!