finds the value of pixels in 3D images?

this code return the idx of 3d matrix, what about if i want to find the value of these pixels?
idx = find(tmis == name); [row,col,pag] = ind2sub(size(tmis),idx)
i need : [row,col,pag,val] = ind2sub(size(tmis),idx)
thanks

Answers (1)

BhaTTa
BhaTTa on 12 Sep 2024
@shuaa alharbi, refer to this answer to find pixel value for an image in Matlab.

Tags

Asked:

on 13 May 2016

Answered:

on 12 Sep 2024

Community Treasure Hunt

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

Start Hunting!