查看单个帖子
旧 2019-11-24, 18:40   #1
poster
高级会员
 
注册日期: 2019-11-21
帖子: 3,006
声望力: 66
poster 正向着好的方向发展
默认 catch positions of some pixels in image from another matrix in matlab

I have a image named MYIMAGE with the size 400*500, and I have another matrix named mymat with size 19*500.
the values that are in the rows of my matrix is a vertical positions in each of the columns. how i can write a code that catch the position of pixeles from matrix and make the pixels with that positions in image white?
in other word, my image should have 19 white pixels in each rows that catch their positions from the matrix.





More...
poster 当前离线   回复时引用此帖