how to Create an image of binary elements?

1 view (last 30 days)
how to Create an image of binary elements initialized to zero and which has the same size as the original picture.

Accepted Answer

Image Analyst
Image Analyst on 1 May 2022
[rows, columns, numberOfColorChannels] = size(originalPicture);
binaryImage = false(rows, columns);

More Answers (0)

Categories

Find more on Image Processing and Computer Vision 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!