Why intensity of the image has changed, after masking out image area (using binary mask)?
Show older comments
Hello,
I have used following code:
new_im=im; % Size (80x84) Bytes(13440) Class (uint16)
bw_mask; % Size (80x84) Bytes(53760) Class (double)
new_im(~bw_mask) = 0; %
After masking out I have following results (zoomed).

As you can see the intensity of the images are different, could anyone tell me please, what I have done wrong?
MATLAB version [2015b]
Accepted Answer
More Answers (0)
Categories
Find more on Contrast Adjustment in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!