Can we change color of the some particular pixel in binary image?

2 ビュー (過去 30 日間)
bamini thavarajah
bamini thavarajah 2017 年 12 月 5 日
回答済み: Image Analyst 2017 年 12 月 5 日
I have binary image. I want to set red color to 100 white pixel only. Is it possible?
  4 件のコメント
bamini thavarajah
bamini thavarajah 2017 年 12 月 5 日
I want to select 100 white pixel from binary image. Then I want to give red color for that 100 white pixel only.
bamini thavarajah
bamini thavarajah 2017 年 12 月 5 日
I'd not have to create a new integer or double image to have a value of 100. I have to select random pixel with that original image coordinate. When l use find function that give indices out of size of image.

サインインしてコメントする。

回答 (1 件)

Image Analyst
Image Analyst 2017 年 12 月 5 日
This is a duplicate of https://www.mathworks.com/matlabcentral/answers/370483-how-to-change-the-color-of-pixels-in-a-binary-image#comment_512650. A suitable answer was given there so you should not start a duplicate question when you already have a workable answer there.

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by