How to calculate the maximum intensity projection of a stack of images?
6 ビュー (過去 30 日間)
古いコメントを表示
I know we can use the A= max(image,[],3) to get the maximum intensity. But I wonder to know how I can calculate the 3D volume by using the maximum intensity projection. And then I can rotate the 3D volume. Thank you.
0 件のコメント
回答 (1 件)
Image Analyst
2017 年 5 月 5 日
Hopefully "image" is not the actual name of your image, but you can just use sum:
volume = sum(image(:));
7 件のコメント
Image Analyst
2017 年 5 月 10 日
Scan each pixel column in the image extracting the Z vector and sending it into max().
[rows, columns, numSlices] = size(Img);
outputImage = zeros(rows, columns, class(Img)); % Or whatever class you want.
for col = 1 : columns
for row = 1 : rows
thisZVector = Img(row, col, :);
maxValue = max(thisZVector);
outputImage(row, col) = maxValue;
end
end
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!