How to label pixels in gray scale black and white image with only two classes for each pixel

1 view (last 30 days)
We have a gray scale image with two colors only. Complete black with pixel value of 0 and complete white with pixel value of 255 only. How we can create labels for such monochrome images in segmentation neural network.

Answers (0)

Categories

Find more on Modify Image Colors in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!