index value in RGB image
8 次查看(过去 30 天)
显示 更早的评论
hi.i have a code that use indexedImage.output image is a RGB image with index.for each pixel i have R,G,B and index value.what is index?what show index value?
0 个评论
回答(1 个)
Image Analyst
2014-7-14
The first (left most) index is the row, the middle index is the column, and the last (right most) index is the color. Specify those to get the value of a certain color channel at a certain location:
blueValue = rgbImage(row, column, 3); % Extract the blue value at this row,column location.
12 个评论
Image Analyst
2021-3-4
I don't know. Just look around - there's medfilt2(), conv2(), imfilter(), etc.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!