PDA

查看完整版本 : catch positions of some pixels in image from another matrix in matlab


poster
2019-11-25, 00:00
<p>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.</p>



More... (https://stackoverflow.com/questions/59016722/catch-positions-of-some-pixels-in-image-from-another-matrix-in-matlab)