complement of an image
Show older comments
How to display an image like this:

Accepted Answer
More Answers (1)
Sushmita Dey
on 3 Apr 2020
0 votes
I=imread('https://picload.files.wordpress.com/2014/02/blissful-nature-rain-n-flower.jpg');
J=imcomplement(I);
imshow(I,J,'montage')
title('complement of image')
Categories
Find more on ROI-Based Processing 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!