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

2 Ansichten (letzte 30 Tage)
bamini thavarajah
bamini thavarajah am 5 Dez. 2017
Beantwortet: Image Analyst am 5 Dez. 2017
I have binary image. I want to set red color to 100 white pixel only. Is it possible?
  4 Kommentare
bamini thavarajah
bamini thavarajah am 5 Dez. 2017
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 am 5 Dez. 2017
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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Image Analyst
Image Analyst am 5 Dez. 2017
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.

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by