Clear Filters
Clear Filters

How to change the colour of the backgroud

2 views (last 30 days)
Hi, i rotate an image and i want to change the black background to white. Thanks in advance.

Accepted Answer

Laurent on 23 Aug 2013
It depends on what type of image you have, but let's say it is a 8-bit grayscale image. In that case you can do the following:
where thisim contains your image.
If you would like a more specific answer, please provide us your image.

More Answers (0)


Find more on Display Image 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!