Given two input first one is a number which is uint8, second one is image which is 8 bit gray scale image, the image has pixsels which are also uint8 for example
first input is 4 if we convert it binary we get 00000100
also each pixsel is converted to binary format in the image
00000100 & image(binary format) which produce output image that is the binary format
in the end output is converted to uint8.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers96
Suggested Problems
-
Find state names that start with the letter N
1510 Solvers
-
Construct a string from letters and counts
147 Solvers
-
Back to basics 25 - Valid variable names
340 Solvers
-
Getting the absolute index from a matrix
260 Solvers
-
Output any real number that is neither positive nor negative
411 Solvers
More from this Author21
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!