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 天)
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 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