colormap using command line in implay()

2 ビュー (過去 30 日間)
gujax
gujax 2024 年 8 月 20 日
回答済み: Walter Roberson 2024 年 8 月 20 日
While I can change the colormap using the pull down menu, is there a way to use a command line to change the colormap?
So my images are grayscale uint16
implay sets it as gray(256)
From the pull down menu I change the settings to manually select 0-2000 or whatever other than 255.
Otherwise all the images are dark.
But is there a way to do this using commands?
I have stack of 200 frames i.e., the images are N x M x 1 x 200
Thanks

採用された回答

Walter Roberson
Walter Roberson 2024 年 8 月 20 日
fig = findall(0,'name', 'Movie Player');
ax = fig.CurrentAxes;
caxis(ax, [0 2000]);

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeRed についてさらに検索

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by