Is it possible to make an alphamap for a figure based on its binary mask?
Here is a sample image and its binary:
I = imread('saturn.png');a = im2bw(I, graythresh(I));
I want the regions in black to be made transparent and white regions to be opaque. So the only area visible is the image itself without the background.
Is this possible in Matlab? I couldn't find any information or examples in the documentation.
Best Answer