How to make a grayscale image semi transparent?
8 views (last 30 days)
Show older comments
I have two grayscale images in which one of them is registered to the other.
How can I make the mapping image semitransparent and overlay it on the registered image?
Note both pictures are gray scale.
Thanks, Shayan
0 Comments
Accepted Answer
Walter Roberson
on 14 Jul 2011
Both image() and imagesc() construct objects of class "image"; "image" objects have an AlphaData property. You can either set() that property after the return from image() or imagesc(), or you can pass a name/value pair for AlphaData as part of the image() or imagesc() call
More Answers (1)
nishant
on 20 Jun 2012
thanks a lol. it works and its musch simpler than what I was trying to do.
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!