rgb - Matlab 'image processing' -


if pixel location black , white image [row, column] = find(bw2 == 1); want move location rgb image how remove location or put mask instead of location in rgb image. how this?

have tried this

[row, column] = find(bw2 == 1);  rgb_image(row,column) = 1; %assign value indices found in bw image; use 1 or whatever want  bw2(row,column) = nan; %or other value, next mask won't select these indices 

Comments

Popular posts from this blog

cookies - Yii2 Advanced - Share session between frontend and mainsite (duplicate of frontend for www) -

angular - password and confirm password field validation angular2 reactive forms -

php - Permission denied. Laravel linux server -