Extracting the In-Focus Portion of an Image

    
In[1]:=
Click for copyable input
Click for copyable input
Click for copyable input
Click for copyable input
Click for copyable input
Click for copyable input
Clean the segmentation:
Click for copyable input
Click for copyable input
Click for copyable input
Set the alpha channel:
Click for copyable input
New to Mathematica? Find your learning path »
Have a question? Ask support »