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 view (last 30 days)
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).

Answers (1)

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

Categories

Find more on Image Processing Toolbox 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!