필터 지우기
필터 지우기

How to calculate the maximum intensity projection of a stack of images?

조회 수: 18 (최근 30일)
Penny
Penny 2017년 5월 5일
댓글: Image Analyst 2017년 5월 10일
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.

답변 (1개)

Image Analyst
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
Penny
Penny 2017년 5월 9일
Thank you Image Analyst. But I want to show the volume by using the MIP algorithm. Do you know how to implement?
Image Analyst
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 CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by