Integrate Density over a 3d Vector
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello,
I want to be able to do a projected density integration for a 3d image (SNR Intensity lin or dB), vector size(x,y,z) = ( 1000, 1000, 1024) over the entire length of y. I've been told imagej can do something of this nature but honestly I can't work it out and would prefer to demonstrate that working with matlab would be the better option. Can anyone advise if there is a function available that can perhaps perform such an integration to obtain a resultant vector size (1000, 1, 1024)?
Very much appreciated for any help forthcoming!
2 commentaires
David Goodmanson
le 3 Juil 2019
Modifié(e) : David Goodmanson
le 3 Juil 2019
Hi Jason,
If delta_y is the spacing between the xz planes (assumed to be constant), then by a very simple integral approximation the projection of image A would be:
o If the units of A are intensity then
Aprojy = squeeze(sum(A,2))*delta_y
o If the units of A are dB (now call the matrix A_dB) relative to an reference intensity Int0 :
A = Int0*10.^(A_dB/10)
Aprojy = squeeze(sum(A,2))*delta_y
( Since intensity is a squared quantity (electric field squared for example) the dB calculatons use 10 instead of 20 ).
Then if you wanted it back in dB,
Aprojy_dB = 10*log10(Aprojy/Int0)
If this works out and later I need a couple of guys pushed over a guard rail at 100 mph, I will look you up.
Réponses (1)
Voir également
Catégories
En savoir plus sur Numerical Integration and Differentiation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
