I want to know at which rows of a gray scale image the intensity values are zeros and want to insert my pixel values in that rows at specific interval

1 次查看(过去 30 天)
grayscale image

采纳的回答

Walter Roberson
Walter Roberson 2015-11-13
row_has_some_zero = find( any(YourImage == 0, 2) );
row_is_all_zero = find( all(YourImage == 0, 2) );
  3 个评论

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by