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 Ansicht (letzte 30 Tage)
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).

Antworten (1)

KSSV
KSSV am 12 Jul. 2022
iwant = squeeze(image(row,col,:))

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by