Plotting 2D image with different slices in Multiple Figures by means of Loop

3 ビュー (過去 30 日間)
Amit Chakraborty
Amit Chakraborty 2022 年 7 月 13 日
For example I have a 3D image matrix but I want to plot it for some specific slices like following :
For 5 slices I want to draw 5 figures which will contain the 2D image of the specific slices and Intensity Profile (subplotting) and it should be plot through a LooP. Any kinds of suggestion would be appreciated.
Thanks in Advance !
i = 1:5; % Slice Number
RowProfile = squeeze(image3d(rowNumber, :, SliceNumber_total(i)));
img = image3d(:,:,SliceNumber_total(i));

回答 (0 件)

カテゴリ

Find more on Interactive Control and Callbacks 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!

Translated by