How to calculate the orientation/angle of a 3D gradient.
Show older comments
Hi,
For a project I need to calculate the average gradient angle of each 3x3x3 box in a volume. There are a lot answers to do this in 2D but I cannot find something to do this in a 3D volume.
Does somebody know if there is a possible solution for this?
4 Comments
R Bruggink
on 28 Nov 2014
Matt J
on 28 Nov 2014
I suppose the angle with (0,0,0).
(0,0,0) is 90 degrees to every vector, by convention...
I trying to reproduce the thin tissue detector as described by Schneider et al. [1]. In this alogrithm they calculate the average angle in a 3x3x3 neighbourhood in each voxel in a volume.
You'll need to tell us how they define that, so that we don't have to go read it ourselves.
R Bruggink
on 29 Nov 2014
Accepted Answer
More Answers (0)
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!