New in Wolfram Mathematica 7: Built-in Image Processing & Analysis  previous | next 
Remove Text from an Image
A bottom-hat transform is used to detect the dark text in the image so its pixels can be replaced with suitable colors.
In[1]:=

Click for copyable input
In[2]:=

Click for copyable input
bht = BottomHatTransform[i, 2]
Out[2]=



In[3]:=

Click for copyable input
b = Dilation[Binarize[bht], 1]
Out[3]=



In[4]:=

Click for copyable input
m = ImageMultiply[b, bht]
Out[4]=



In[5]:=

Click for copyable input
Row[{i, ImageAdd[m, i]}]
Out[5]=