Homework Help Question & Answers
I need help with a Matlab assignment. Ignore step 5 please. Additional Notes: Gray scale images…
I need help with a Matlab assignment.
Ignore step 5 please.
Additional Notes:
Gray scale images are stored in unsigned 8 bit integers, so in order to multiply a B matrix with a factor 0.5, etc. you will need to change the B matrix to a double precision.
You can do this by B=double(A).^0.5
since your matrix B is now double precision, you need to change it back to unsigned 8 bit integer and display.
You can do this by imshow(uint8(B)).
Add a comment