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 Solvers62
Suggested Problems
-
Remove the small words from a list of words.
1566 Solvers
-
Back to basics 25 - Valid variable names
339 Solvers
-
Convert from Base 10 to base 5
283 Solvers
-
Set the array elements whose value is 13 to 0
1451 Solvers
-
Matlab Basics - Set unwanted parts of a vector to zero
263 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!