i have an image in double form , i want to read this image of(2918 ,49687,2) dimension rows and columbs like first row ,all colum one by one,

1 回表示 (過去 30 日間)
rishika yadav
rishika yadav 2022 年 7 月 12 日
回答済み: KSSV 2022 年 7 月 12 日
image of two band( image = [2917 49768 2] ),i want to call image(i,j,1:2) two value of one by one band of image, in a variable like A= iamge(row,columbs, bands).

回答 (1 件)

KSSV
KSSV 2022 年 7 月 12 日
iwant = squeeze(image(row,col,:))

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by