Rotational Cross-Section Average
Afficher commentaires plus anciens
Can someone helt me to figure this one out?
I have an grayscale image of concentric bright rings agains black. Using
A=double(imread('2H-CAR-C6_05.tif'));
[x,y]=meshgrid(1:size(A,1), 1:size(A,2));
result=[x(:),y(:),A(:)];
I can read convert the brightness to a z coordinate (the units of the coordinate system dont matter too much currently).
What I'd like to do now is to get an average cross section of the 3d image. Basically:
- Get cross section through the middle of the image
- Store values of that cross section
- Rotate the cross section around the center of the image by an angle (say 1 degree)
- Add these values to the values before
- Loop until 360° and then either show sum or average of this
As a bonus would be to ignore values outside a certain z-range :)
Ideas? Any help is greatly appreciated!
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Geometric Transformation and Image Registration dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!